@totemsdk/core 1.0.10 → 1.0.11

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/dist/wots.d.ts +2 -2
  2. package/package.json +20 -1
package/dist/wots.d.ts CHANGED
@@ -31,14 +31,14 @@ export declare function disableWotsLogger(): void;
31
31
  * Check if WOTS debug logging is enabled
32
32
  */
33
33
  export declare function isWotsDebugEnabled(): boolean;
34
- export declare const F: (x: Uint8Array) => Uint8Array<ArrayBufferLike>;
34
+ export declare const F: (x: Uint8Array) => Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>;
35
35
  export declare const hex: (u: Uint8Array) => string;
36
36
  export declare const fromHex: (h: string) => Uint8Array;
37
37
  export declare const concatBytes: (...arrs: Uint8Array[]) => Uint8Array<ArrayBuffer>;
38
38
  export declare const u16be: (n: number) => Uint8Array<ArrayBuffer>;
39
39
  export declare const u32be: (n: number) => Uint8Array<ArrayBuffer>;
40
40
  export declare function assert32(u: Uint8Array, label?: string): void;
41
- export declare const h: (x: Uint8Array) => Uint8Array<ArrayBufferLike>;
41
+ export declare const h: (x: Uint8Array) => Uint8Array<ArrayBufferLike> & Uint8Array<ArrayBuffer>;
42
42
  /**
43
43
  * GMSSRandom - BouncyCastle's stateful PRNG for WOTS chain seed derivation
44
44
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@totemsdk/core",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Core cryptographic primitives for Totem SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -37,6 +37,25 @@
37
37
  },
38
38
  "./test-vectors.json": "./test-vectors.json"
39
39
  },
40
+ "typesVersions": {
41
+ "*": {
42
+ "adapters": [
43
+ "./dist/adapters/index.d.ts"
44
+ ],
45
+ "adapters/types": [
46
+ "./dist/adapters/types.d.ts"
47
+ ],
48
+ "lease": [
49
+ "./dist/lease/index.d.ts"
50
+ ],
51
+ "tx": [
52
+ "./dist/tx/index.d.ts"
53
+ ],
54
+ "scripts": [
55
+ "./dist/scripts/index.d.ts"
56
+ ]
57
+ }
58
+ },
40
59
  "files": [
41
60
  "dist",
42
61
  "README.md",