base60-codec 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +7 -6
package/README.md CHANGED
@@ -95,7 +95,7 @@ compareAsBigInt(a: Base60String, b: Base60String): -1 | 0 | 1
95
95
  ### ✅ Type-safe Base60 string guard
96
96
 
97
97
  ```javascript
98
- if (base60.isValidBase60(text)) {
98
+ if (isValidBase60(text)) {
99
99
  // text is now typed as Base60String
100
100
  }
101
101
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "base60-codec",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "A tiny, deterministic Base60 encoder/decoder for UUID, ULID, Int64, and BigInt.",
5
5
  "author": "Shinnosuke Hagiwara <hagiwara000@gmail.com>",
6
6
  "license": "MIT",
@@ -12,12 +12,10 @@
12
12
  ".": {
13
13
  "types": "./dist/index.d.ts",
14
14
  "import": {
15
- "default": "./dist/index.js",
16
- "base60": "./dist/index.js"
15
+ "default": "./dist/index.js"
17
16
  },
18
17
  "require": {
19
- "default": "./dist/index.cjs",
20
- "base60": "./dist/index.cjs"
18
+ "default": "./dist/index.cjs"
21
19
  }
22
20
  }
23
21
  },
@@ -34,5 +32,8 @@
34
32
  "typescript": "^5.7.0",
35
33
  "vitest": "^1.5.0"
36
34
  },
37
- "repository": "github:hagiwara000/base60-codec"
35
+ "repository": {
36
+ "type": "git",
37
+ "url": "git+https://github.com/hagiwara000/base60-codec.git"
38
+ }
38
39
  }