Skip to content

Commit

Permalink
feat: update url alphabet
Browse files Browse the repository at this point in the history
  • Loading branch information
Tienisto committed Sep 24, 2024
1 parent 6d67c0e commit 4407a93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tempoid",
"version": "0.1.0",
"version": "0.2.0",
"description": "A library to generate URL-friendly, unique, and short IDs that are sortable by time. Inspired by nanoid and UUIDv7.",
"main": "./src/tempoId.js",
"types": "./src/tempoId.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/tempoId.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Alphabet = {
return this.numbers + 'AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz';
},
get url() {
return this.alphanumeric + '_-';
return this.alphanumeric + '-_';
},
get base64() {
return this.alphanumeric + '+/';
Expand Down

0 comments on commit 4407a93

Please sign in to comment.