@cdlab996/genid 1.2.0 → 1.2.1

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 (1) hide show
  1. package/package.json +6 -6
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cdlab996/genid",
3
3
  "type": "module",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "description": "基于 Snowflake 算法的高性能分布式唯一 ID 生成器",
6
6
  "author": "wudi <wuchendi96@gmail.com>",
7
7
  "license": "MIT",
@@ -30,14 +30,14 @@
30
30
  "default": "./dist/index.cjs"
31
31
  },
32
32
  "import": {
33
- "types": "./dist/index.d.ts",
34
- "default": "./dist/index.js"
33
+ "types": "./dist/index.d.mts",
34
+ "default": "./dist/index.mjs"
35
35
  }
36
36
  }
37
37
  },
38
- "main": "./dist/index.js",
39
- "module": "./dist/index.js",
40
- "types": "./dist/index.d.ts",
38
+ "main": "./dist/index.cjs",
39
+ "module": "./dist/index.mjs",
40
+ "types": "./dist/index.d.mts",
41
41
  "files": [
42
42
  "dist",
43
43
  "README.md",