@digitaldefiance/node-ecies-lib 4.19.5 → 4.19.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitaldefiance/node-ecies-lib",
3
- "version": "4.19.5",
3
+ "version": "4.19.6",
4
4
  "description": "Digital Defiance Node ECIES Library",
5
5
  "homepage": "https://github.com/Digital-Defiance/node-ecies-lib",
6
6
  "repository": {
@@ -2,6 +2,7 @@
2
2
  * Library utilities and helpers for the Node ECIES library.
3
3
  */
4
4
  export * from './crypto-container';
5
+ export * from './guid';
5
6
  export * from './id-providers/buffer-provider';
6
7
  export * from './id-providers/guidv4-provider';
7
8
  export * from './invariant-validator';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-node-ecies-lib/src/lib/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-node-ecies-lib/src/lib/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,oBAAoB,CAAC;AACnC,cAAc,QAAQ,CAAC;AACvB,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
package/src/lib/index.js CHANGED
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
5
5
  * Library utilities and helpers for the Node ECIES library.
6
6
  */
7
7
  tslib_1.__exportStar(require("./crypto-container"), exports);
8
+ tslib_1.__exportStar(require("./guid"), exports);
8
9
  tslib_1.__exportStar(require("./id-providers/buffer-provider"), exports);
9
10
  tslib_1.__exportStar(require("./id-providers/guidv4-provider"), exports);
10
11
  tslib_1.__exportStar(require("./invariant-validator"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-node-ecies-lib/src/lib/index.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,6DAAmC;AACnC,yEAA+C;AAC/C,yEAA+C;AAC/C,gEAAsC;AACtC,uDAA6B;AAC7B,mDAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-node-ecies-lib/src/lib/index.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,6DAAmC;AACnC,iDAAuB;AACvB,yEAA+C;AAC/C,yEAA+C;AAC/C,gEAAsC;AACtC,uDAA6B;AAC7B,mDAAyB"}
@@ -28,7 +28,15 @@ export type GuidV5Buffer = GuidBuffer & {
28
28
  readonly __version: 5;
29
29
  };
30
30
  /**
31
- * Union type of all versioned GUIDs
31
+ * Brand for v6 GUIDs
32
32
  */
33
- export type VersionedGuidBuffer = GuidV1Buffer | GuidV3Buffer | GuidV4Buffer | GuidV5Buffer;
33
+ export type GuidV6Buffer = GuidBuffer & {
34
+ readonly __version: 6;
35
+ };
36
+ /**
37
+ * Brand for v7 GUIDs
38
+ */
39
+ export type GuidV7Buffer = GuidBuffer & {
40
+ readonly __version: 7;
41
+ };
34
42
  //# sourceMappingURL=guid-versions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"guid-versions.d.ts","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-node-ecies-lib/src/types/guid-versions.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG;IAAE,QAAQ,CAAC,SAAS,EAAE,CAAC,CAAA;CAA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AS,EAAE,CAAC,CAAA;CAAE,CAAC"}
@@ -4,4 +4,5 @@
4
4
  * These types ensure compile-time safety when working with specific UUID versions.
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
+ // Note: VersionedGuidBuffer is exported from ../lib/guid.ts to avoid conflicts
7
8
  //# sourceMappingURL=guid-versions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"guid-versions.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-node-ecies-lib/src/types/guid-versions.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
1
+ {"version":3,"file":"guid-versions.js","sourceRoot":"","sources":["../../../../../packages/digitaldefiance-node-ecies-lib/src/types/guid-versions.ts"],"names":[],"mappings":";AAAA;;;GAGG;;AAkCH,+EAA+E"}