@xyo-network/bip39 3.4.1 → 3.5.0
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/neutral/index.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare function entropyToMnemonic(entropy: Uint8Array, wordlist: string[
|
|
|
40
40
|
* // new Uint8Array([...64 bytes])
|
|
41
41
|
*/
|
|
42
42
|
/** @deprecated use @scure/bip39 instead */
|
|
43
|
-
export declare function mnemonicToSeed(mnemonic: string, passphrase?: string): Promise<Uint8Array
|
|
43
|
+
export declare function mnemonicToSeed(mnemonic: string, passphrase?: string): Promise<Uint8Array<ArrayBufferLike>>;
|
|
44
44
|
/**
|
|
45
45
|
* Irreversible: Uses KDF to derive 64 bytes of key data from mnemonic + optional password.
|
|
46
46
|
* @param mnemonic 12-24 words
|
|
@@ -52,5 +52,5 @@ export declare function mnemonicToSeed(mnemonic: string, passphrase?: string): P
|
|
|
52
52
|
* // new Uint8Array([...64 bytes])
|
|
53
53
|
*/
|
|
54
54
|
/** @deprecated use @scure/bip39 instead */
|
|
55
|
-
export declare function mnemonicToSeedSync(mnemonic: string, passphrase?: string): Uint8Array
|
|
55
|
+
export declare function mnemonicToSeedSync(mnemonic: string, passphrase?: string): Uint8Array<ArrayBufferLike>;
|
|
56
56
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAOA,cAAc,sBAAsB,CAAA;AAyCpC;;;;;;;;;;;;GAYG;AAEH,2CAA2C;AAC3C,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,UAAU,CAKlF;AAED;;;;;;;;;;;;GAYG;AAEH,2CAA2C;AAC3C,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,CAIjF;AAID;;;;;;;;;GASG;AAEH,2CAA2C;AAC3C,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,SAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAOA,cAAc,sBAAsB,CAAA;AAyCpC;;;;;;;;;;;;GAYG;AAEH,2CAA2C;AAC3C,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,UAAU,CAKlF;AAED;;;;;;;;;;;;GAYG;AAEH,2CAA2C;AAC3C,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,CAIjF;AAID;;;;;;;;;GASG;AAEH,2CAA2C;AAC3C,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,SAAK,wCAE/D;AAED;;;;;;;;;GASG;AAEH,2CAA2C;AAC3C,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,SAAK,+BAEnE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/bip39",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@noble/hashes": "^1.
|
|
33
|
-
"@scure/base": "^1.1
|
|
34
|
-
"@scure/bip39": "^1.
|
|
32
|
+
"@noble/hashes": "^1.6.1",
|
|
33
|
+
"@scure/base": "^1.2.1",
|
|
34
|
+
"@scure/bip39": "^1.5.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@xylabs/ts-scripts-yarn3": "^4.2.4",
|
|
38
38
|
"@xylabs/tsconfig": "^4.2.4",
|
|
39
|
-
"typescript": "^5.
|
|
39
|
+
"typescript": "^5.7.2"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|