@xyo-network/bip39 2.83.4 → 2.83.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.
Files changed (148) hide show
  1. package/dist/browser/index.cjs.map +1 -1
  2. package/dist/browser/index.d.cts +6 -0
  3. package/dist/browser/index.d.cts.map +1 -1
  4. package/dist/browser/index.d.mts +6 -0
  5. package/dist/browser/index.d.mts.map +1 -1
  6. package/dist/browser/index.d.ts +6 -0
  7. package/dist/browser/index.d.ts.map +1 -1
  8. package/dist/browser/index.js.map +1 -1
  9. package/dist/browser/wordlists/czech.d.cts +1 -0
  10. package/dist/browser/wordlists/czech.d.cts.map +1 -1
  11. package/dist/browser/wordlists/czech.d.mts +1 -0
  12. package/dist/browser/wordlists/czech.d.mts.map +1 -1
  13. package/dist/browser/wordlists/czech.d.ts +1 -0
  14. package/dist/browser/wordlists/czech.d.ts.map +1 -1
  15. package/dist/browser/wordlists/english.d.cts +1 -0
  16. package/dist/browser/wordlists/english.d.cts.map +1 -1
  17. package/dist/browser/wordlists/english.d.mts +1 -0
  18. package/dist/browser/wordlists/english.d.mts.map +1 -1
  19. package/dist/browser/wordlists/english.d.ts +1 -0
  20. package/dist/browser/wordlists/english.d.ts.map +1 -1
  21. package/dist/browser/wordlists/french.d.cts +1 -0
  22. package/dist/browser/wordlists/french.d.cts.map +1 -1
  23. package/dist/browser/wordlists/french.d.mts +1 -0
  24. package/dist/browser/wordlists/french.d.mts.map +1 -1
  25. package/dist/browser/wordlists/french.d.ts +1 -0
  26. package/dist/browser/wordlists/french.d.ts.map +1 -1
  27. package/dist/browser/wordlists/index.d.cts +1 -0
  28. package/dist/browser/wordlists/index.d.cts.map +1 -1
  29. package/dist/browser/wordlists/index.d.mts +1 -0
  30. package/dist/browser/wordlists/index.d.mts.map +1 -1
  31. package/dist/browser/wordlists/index.d.ts +1 -0
  32. package/dist/browser/wordlists/index.d.ts.map +1 -1
  33. package/dist/browser/wordlists/italian.d.cts +1 -0
  34. package/dist/browser/wordlists/italian.d.cts.map +1 -1
  35. package/dist/browser/wordlists/italian.d.mts +1 -0
  36. package/dist/browser/wordlists/italian.d.mts.map +1 -1
  37. package/dist/browser/wordlists/italian.d.ts +1 -0
  38. package/dist/browser/wordlists/italian.d.ts.map +1 -1
  39. package/dist/browser/wordlists/japanese.d.cts +1 -0
  40. package/dist/browser/wordlists/japanese.d.cts.map +1 -1
  41. package/dist/browser/wordlists/japanese.d.mts +1 -0
  42. package/dist/browser/wordlists/japanese.d.mts.map +1 -1
  43. package/dist/browser/wordlists/japanese.d.ts +1 -0
  44. package/dist/browser/wordlists/japanese.d.ts.map +1 -1
  45. package/dist/browser/wordlists/korean.d.cts +1 -0
  46. package/dist/browser/wordlists/korean.d.cts.map +1 -1
  47. package/dist/browser/wordlists/korean.d.mts +1 -0
  48. package/dist/browser/wordlists/korean.d.mts.map +1 -1
  49. package/dist/browser/wordlists/korean.d.ts +1 -0
  50. package/dist/browser/wordlists/korean.d.ts.map +1 -1
  51. package/dist/browser/wordlists/simplified-chinese.d.cts +1 -0
  52. package/dist/browser/wordlists/simplified-chinese.d.cts.map +1 -1
  53. package/dist/browser/wordlists/simplified-chinese.d.mts +1 -0
  54. package/dist/browser/wordlists/simplified-chinese.d.mts.map +1 -1
  55. package/dist/browser/wordlists/simplified-chinese.d.ts +1 -0
  56. package/dist/browser/wordlists/simplified-chinese.d.ts.map +1 -1
  57. package/dist/browser/wordlists/spanish.d.cts +1 -0
  58. package/dist/browser/wordlists/spanish.d.cts.map +1 -1
  59. package/dist/browser/wordlists/spanish.d.mts +1 -0
  60. package/dist/browser/wordlists/spanish.d.mts.map +1 -1
  61. package/dist/browser/wordlists/spanish.d.ts +1 -0
  62. package/dist/browser/wordlists/spanish.d.ts.map +1 -1
  63. package/dist/browser/wordlists/traditional-chinese.d.cts +1 -0
  64. package/dist/browser/wordlists/traditional-chinese.d.cts.map +1 -1
  65. package/dist/browser/wordlists/traditional-chinese.d.mts +1 -0
  66. package/dist/browser/wordlists/traditional-chinese.d.mts.map +1 -1
  67. package/dist/browser/wordlists/traditional-chinese.d.ts +1 -0
  68. package/dist/browser/wordlists/traditional-chinese.d.ts.map +1 -1
  69. package/dist/node/index.cjs.map +1 -1
  70. package/dist/node/index.d.cts +6 -0
  71. package/dist/node/index.d.cts.map +1 -1
  72. package/dist/node/index.d.mts +6 -0
  73. package/dist/node/index.d.mts.map +1 -1
  74. package/dist/node/index.d.ts +6 -0
  75. package/dist/node/index.d.ts.map +1 -1
  76. package/dist/node/index.js.map +1 -1
  77. package/dist/node/wordlists/czech.d.cts +1 -0
  78. package/dist/node/wordlists/czech.d.cts.map +1 -1
  79. package/dist/node/wordlists/czech.d.mts +1 -0
  80. package/dist/node/wordlists/czech.d.mts.map +1 -1
  81. package/dist/node/wordlists/czech.d.ts +1 -0
  82. package/dist/node/wordlists/czech.d.ts.map +1 -1
  83. package/dist/node/wordlists/english.d.cts +1 -0
  84. package/dist/node/wordlists/english.d.cts.map +1 -1
  85. package/dist/node/wordlists/english.d.mts +1 -0
  86. package/dist/node/wordlists/english.d.mts.map +1 -1
  87. package/dist/node/wordlists/english.d.ts +1 -0
  88. package/dist/node/wordlists/english.d.ts.map +1 -1
  89. package/dist/node/wordlists/french.d.cts +1 -0
  90. package/dist/node/wordlists/french.d.cts.map +1 -1
  91. package/dist/node/wordlists/french.d.mts +1 -0
  92. package/dist/node/wordlists/french.d.mts.map +1 -1
  93. package/dist/node/wordlists/french.d.ts +1 -0
  94. package/dist/node/wordlists/french.d.ts.map +1 -1
  95. package/dist/node/wordlists/index.d.cts +1 -0
  96. package/dist/node/wordlists/index.d.cts.map +1 -1
  97. package/dist/node/wordlists/index.d.mts +1 -0
  98. package/dist/node/wordlists/index.d.mts.map +1 -1
  99. package/dist/node/wordlists/index.d.ts +1 -0
  100. package/dist/node/wordlists/index.d.ts.map +1 -1
  101. package/dist/node/wordlists/italian.d.cts +1 -0
  102. package/dist/node/wordlists/italian.d.cts.map +1 -1
  103. package/dist/node/wordlists/italian.d.mts +1 -0
  104. package/dist/node/wordlists/italian.d.mts.map +1 -1
  105. package/dist/node/wordlists/italian.d.ts +1 -0
  106. package/dist/node/wordlists/italian.d.ts.map +1 -1
  107. package/dist/node/wordlists/japanese.d.cts +1 -0
  108. package/dist/node/wordlists/japanese.d.cts.map +1 -1
  109. package/dist/node/wordlists/japanese.d.mts +1 -0
  110. package/dist/node/wordlists/japanese.d.mts.map +1 -1
  111. package/dist/node/wordlists/japanese.d.ts +1 -0
  112. package/dist/node/wordlists/japanese.d.ts.map +1 -1
  113. package/dist/node/wordlists/korean.d.cts +1 -0
  114. package/dist/node/wordlists/korean.d.cts.map +1 -1
  115. package/dist/node/wordlists/korean.d.mts +1 -0
  116. package/dist/node/wordlists/korean.d.mts.map +1 -1
  117. package/dist/node/wordlists/korean.d.ts +1 -0
  118. package/dist/node/wordlists/korean.d.ts.map +1 -1
  119. package/dist/node/wordlists/simplified-chinese.d.cts +1 -0
  120. package/dist/node/wordlists/simplified-chinese.d.cts.map +1 -1
  121. package/dist/node/wordlists/simplified-chinese.d.mts +1 -0
  122. package/dist/node/wordlists/simplified-chinese.d.mts.map +1 -1
  123. package/dist/node/wordlists/simplified-chinese.d.ts +1 -0
  124. package/dist/node/wordlists/simplified-chinese.d.ts.map +1 -1
  125. package/dist/node/wordlists/spanish.d.cts +1 -0
  126. package/dist/node/wordlists/spanish.d.cts.map +1 -1
  127. package/dist/node/wordlists/spanish.d.mts +1 -0
  128. package/dist/node/wordlists/spanish.d.mts.map +1 -1
  129. package/dist/node/wordlists/spanish.d.ts +1 -0
  130. package/dist/node/wordlists/spanish.d.ts.map +1 -1
  131. package/dist/node/wordlists/traditional-chinese.d.cts +1 -0
  132. package/dist/node/wordlists/traditional-chinese.d.cts.map +1 -1
  133. package/dist/node/wordlists/traditional-chinese.d.mts +1 -0
  134. package/dist/node/wordlists/traditional-chinese.d.mts.map +1 -1
  135. package/dist/node/wordlists/traditional-chinese.d.ts +1 -0
  136. package/dist/node/wordlists/traditional-chinese.d.ts.map +1 -1
  137. package/package.json +1 -1
  138. package/src/index.ts +11 -0
  139. package/src/wordlists/czech.ts +1 -0
  140. package/src/wordlists/english.ts +1 -0
  141. package/src/wordlists/french.ts +1 -0
  142. package/src/wordlists/index.ts +1 -0
  143. package/src/wordlists/italian.ts +1 -0
  144. package/src/wordlists/japanese.ts +1 -0
  145. package/src/wordlists/korean.ts +1 -0
  146. package/src/wordlists/simplified-chinese.ts +1 -0
  147. package/src/wordlists/spanish.ts +1 -0
  148. package/src/wordlists/traditional-chinese.ts +1 -0
@@ -7,6 +7,7 @@ export * from './wordlists';
7
7
  * generateMnemonic(wordlist, 128)
8
8
  * // 'legal winner thank year wave sausage worth useful legal winner thank yellow'
9
9
  */
10
+ /** @deprecated use @scure/bip39 instead */
10
11
  export declare function generateMnemonic(wordlist: string[], strength?: number): string;
11
12
  /**
12
13
  * Reversible: Converts mnemonic string to raw entropy in form of byte array.
@@ -21,6 +22,7 @@ export declare function generateMnemonic(wordlist: string[], strength?: number):
21
22
  * 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f
22
23
  * ])
23
24
  */
25
+ /** @deprecated use @scure/bip39 instead */
24
26
  export declare function mnemonicToEntropy(mnemonic: string, wordlist: string[]): Uint8Array;
25
27
  /**
26
28
  * Reversible: Converts raw entropy in form of byte array to mnemonic string.
@@ -35,10 +37,12 @@ export declare function mnemonicToEntropy(mnemonic: string, wordlist: string[]):
35
37
  * entropyToMnemonic(ent, wordlist);
36
38
  * // 'legal winner thank year wave sausage worth useful legal winner thank yellow'
37
39
  */
40
+ /** @deprecated use @scure/bip39 instead */
38
41
  export declare function entropyToMnemonic(entropy: Uint8Array, wordlist: string[]): string;
39
42
  /**
40
43
  * Validates mnemonic for being 12-24 words contained in `wordlist`.
41
44
  */
45
+ /** @deprecated use @scure/bip39 instead */
42
46
  export declare function validateMnemonic(mnemonic: string, wordlist: string[]): boolean;
43
47
  /**
44
48
  * Irreversible: Uses KDF to derive 64 bytes of key data from mnemonic + optional password.
@@ -50,6 +54,7 @@ export declare function validateMnemonic(mnemonic: string, wordlist: string[]):
50
54
  * await mnemonicToSeed(mnem, 'password');
51
55
  * // new Uint8Array([...64 bytes])
52
56
  */
57
+ /** @deprecated use @scure/bip39 instead */
53
58
  export declare function mnemonicToSeed(mnemonic: string, passphrase?: string): Promise<Uint8Array>;
54
59
  /**
55
60
  * Irreversible: Uses KDF to derive 64 bytes of key data from mnemonic + optional password.
@@ -61,5 +66,6 @@ export declare function mnemonicToSeed(mnemonic: string, passphrase?: string): P
61
66
  * mnemonicToSeedSync(mnem, 'password');
62
67
  * // new Uint8Array([...64 bytes])
63
68
  */
69
+ /** @deprecated use @scure/bip39 instead */
64
70
  export declare function mnemonicToSeedSync(mnemonic: string, passphrase?: string): Uint8Array;
65
71
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAUA,cAAc,aAAa,CAAA;AAwB3B;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,QAAQ,SAAM,GAAG,MAAM,CAI3E;AAmBD;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,UAAU,CAKlF;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,CAIjF;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAO9E;AAID;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,SAAK,uBAE/D;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,SAAK,cAEnE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAUA,cAAc,aAAa,CAAA;AAwB3B;;;;;;;GAOG;AACH,2CAA2C;AAC3C,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,QAAQ,SAAM,GAAG,MAAM,CAI3E;AAmBD;;;;;;;;;;;;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;AAED;;GAEG;AAEH,2CAA2C;AAC3C,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAO9E;AAID;;;;;;;;;GASG;AAEH,2CAA2C;AAC3C,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,SAAK,uBAE/D;AAED;;;;;;;;;GASG;AAEH,2CAA2C;AAC3C,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,SAAK,cAEnE"}
@@ -7,6 +7,7 @@ export * from './wordlists';
7
7
  * generateMnemonic(wordlist, 128)
8
8
  * // 'legal winner thank year wave sausage worth useful legal winner thank yellow'
9
9
  */
10
+ /** @deprecated use @scure/bip39 instead */
10
11
  export declare function generateMnemonic(wordlist: string[], strength?: number): string;
11
12
  /**
12
13
  * Reversible: Converts mnemonic string to raw entropy in form of byte array.
@@ -21,6 +22,7 @@ export declare function generateMnemonic(wordlist: string[], strength?: number):
21
22
  * 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f
22
23
  * ])
23
24
  */
25
+ /** @deprecated use @scure/bip39 instead */
24
26
  export declare function mnemonicToEntropy(mnemonic: string, wordlist: string[]): Uint8Array;
25
27
  /**
26
28
  * Reversible: Converts raw entropy in form of byte array to mnemonic string.
@@ -35,10 +37,12 @@ export declare function mnemonicToEntropy(mnemonic: string, wordlist: string[]):
35
37
  * entropyToMnemonic(ent, wordlist);
36
38
  * // 'legal winner thank year wave sausage worth useful legal winner thank yellow'
37
39
  */
40
+ /** @deprecated use @scure/bip39 instead */
38
41
  export declare function entropyToMnemonic(entropy: Uint8Array, wordlist: string[]): string;
39
42
  /**
40
43
  * Validates mnemonic for being 12-24 words contained in `wordlist`.
41
44
  */
45
+ /** @deprecated use @scure/bip39 instead */
42
46
  export declare function validateMnemonic(mnemonic: string, wordlist: string[]): boolean;
43
47
  /**
44
48
  * Irreversible: Uses KDF to derive 64 bytes of key data from mnemonic + optional password.
@@ -50,6 +54,7 @@ export declare function validateMnemonic(mnemonic: string, wordlist: string[]):
50
54
  * await mnemonicToSeed(mnem, 'password');
51
55
  * // new Uint8Array([...64 bytes])
52
56
  */
57
+ /** @deprecated use @scure/bip39 instead */
53
58
  export declare function mnemonicToSeed(mnemonic: string, passphrase?: string): Promise<Uint8Array>;
54
59
  /**
55
60
  * Irreversible: Uses KDF to derive 64 bytes of key data from mnemonic + optional password.
@@ -61,5 +66,6 @@ export declare function mnemonicToSeed(mnemonic: string, passphrase?: string): P
61
66
  * mnemonicToSeedSync(mnem, 'password');
62
67
  * // new Uint8Array([...64 bytes])
63
68
  */
69
+ /** @deprecated use @scure/bip39 instead */
64
70
  export declare function mnemonicToSeedSync(mnemonic: string, passphrase?: string): Uint8Array;
65
71
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAUA,cAAc,aAAa,CAAA;AAwB3B;;;;;;;GAOG;A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GAAG,OAAO,CAO9E;AAID;;;;;;;;;GASG;AAEH,2CAA2C;AAC3C,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,SAAK,uBAE/D;AAED;;;;;;;;;GASG;AAEH,2CAA2C;AAC3C,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,SAAK,cAEnE"}
@@ -7,6 +7,7 @@ export * from './wordlists';
7
7
  * generateMnemonic(wordlist, 128)
8
8
  * // 'legal winner thank year wave sausage worth useful legal winner thank yellow'
9
9
  */
10
+ /** @deprecated use @scure/bip39 instead */
10
11
  export declare function generateMnemonic(wordlist: string[], strength?: number): string;
11
12
  /**
12
13
  * Reversible: Converts mnemonic string to raw entropy in form of byte array.
@@ -21,6 +22,7 @@ export declare function generateMnemonic(wordlist: string[], strength?: number):
21
22
  * 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f
22
23
  * ])
23
24
  */
25
+ /** @deprecated use @scure/bip39 instead */
24
26
  export declare function mnemonicToEntropy(mnemonic: string, wordlist: string[]): Uint8Array;
25
27
  /**
26
28
  * Reversible: Converts raw entropy in form of byte array to mnemonic string.
@@ -35,10 +37,12 @@ export declare function mnemonicToEntropy(mnemonic: string, wordlist: string[]):
35
37
  * entropyToMnemonic(ent, wordlist);
36
38
  * // 'legal winner thank year wave sausage worth useful legal winner thank yellow'
37
39
  */
40
+ /** @deprecated use @scure/bip39 instead */
38
41
  export declare function entropyToMnemonic(entropy: Uint8Array, wordlist: string[]): string;
39
42
  /**
40
43
  * Validates mnemonic for being 12-24 words contained in `wordlist`.
41
44
  */
45
+ /** @deprecated use @scure/bip39 instead */
42
46
  export declare function validateMnemonic(mnemonic: string, wordlist: string[]): boolean;
43
47
  /**
44
48
  * Irreversible: Uses KDF to derive 64 bytes of key data from mnemonic + optional password.
@@ -50,6 +54,7 @@ export declare function validateMnemonic(mnemonic: string, wordlist: string[]):
50
54
  * await mnemonicToSeed(mnem, 'password');
51
55
  * // new Uint8Array([...64 bytes])
52
56
  */
57
+ /** @deprecated use @scure/bip39 instead */
53
58
  export declare function mnemonicToSeed(mnemonic: string, passphrase?: string): Promise<Uint8Array>;
54
59
  /**
55
60
  * Irreversible: Uses KDF to derive 64 bytes of key data from mnemonic + optional password.
@@ -61,5 +66,6 @@ export declare function mnemonicToSeed(mnemonic: string, passphrase?: string): P
61
66
  * mnemonicToSeedSync(mnem, 'password');
62
67
  * // new Uint8Array([...64 bytes])
63
68
  */
69
+ /** @deprecated use @scure/bip39 instead */
64
70
  export declare function mnemonicToSeedSync(mnemonic: string, passphrase?: string): Uint8Array;
65
71
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAUA,cAAc,aAAa,CAAA;AAwB3B;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,QAAQ,SAAM,GAAG,MAAM,CAI3E;AAmBD;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,UAAU,CAKlF;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,CAIjF;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAO9E;AAID;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,SAAK,uBAE/D;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,SAAK,cAEnE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.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