idmint 1.0.3 → 1.0.5

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.
package/dist/index.d.ts CHANGED
@@ -13,7 +13,7 @@ export declare function timeBasedId(size?: number): string;
13
13
  /**
14
14
  * Preset generators
15
15
  */
16
- export declare const trueid: {
16
+ export declare const idmint: {
17
17
  short: () => string;
18
18
  medium: () => string;
19
19
  long: () => string;
package/dist/index.js CHANGED
@@ -49,7 +49,7 @@ export function timeBasedId(size = 21) {
49
49
  /**
50
50
  * Preset generators
51
51
  */
52
- export const trueid = {
52
+ export const idmint = {
53
53
  short: () => generateId(8),
54
54
  medium: () => generateId(21),
55
55
  long: () => generateId(32),
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "idmint",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Enterprise-grade, collision-resistant unique ID generator",
5
5
  "type": "module",
6
- "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
8
9
  "files": [
9
10
  "dist"
10
11
  ],