@xyo-network/bip39 2.75.18 → 2.76.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/dist/docs.json +0 -1057
package/package.json CHANGED
@@ -61,5 +61,5 @@
61
61
  },
62
62
  "sideEffects": false,
63
63
  "types": "dist/node/index.d.ts",
64
- "version": "2.75.18"
64
+ "version": "2.76.0"
65
65
  }
package/dist/docs.json DELETED
@@ -1,1057 +0,0 @@
1
- {
2
- "id": 0,
3
- "name": "@xyo-network/bip39",
4
- "variant": "project",
5
- "kind": 1,
6
- "flags": {},
7
- "children": [
8
- {
9
- "id": 25,
10
- "name": "wordlists",
11
- "variant": "declaration",
12
- "kind": 32,
13
- "flags": {
14
- "isConst": true
15
- },
16
- "sources": [
17
- {
18
- "fileName": "wordlists/index.ts",
19
- "line": 11,
20
- "character": 13,
21
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/wordlists/index.ts#L11"
22
- }
23
- ],
24
- "type": {
25
- "type": "reflection",
26
- "declaration": {
27
- "id": 26,
28
- "name": "__type",
29
- "variant": "declaration",
30
- "kind": 65536,
31
- "flags": {},
32
- "children": [
33
- {
34
- "id": 27,
35
- "name": "czech",
36
- "variant": "declaration",
37
- "kind": 1024,
38
- "flags": {},
39
- "sources": [
40
- {
41
- "fileName": "wordlists/index.ts",
42
- "line": 12,
43
- "character": 2,
44
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/wordlists/index.ts#L12"
45
- }
46
- ],
47
- "type": {
48
- "type": "array",
49
- "elementType": {
50
- "type": "intrinsic",
51
- "name": "string"
52
- }
53
- }
54
- },
55
- {
56
- "id": 28,
57
- "name": "english",
58
- "variant": "declaration",
59
- "kind": 1024,
60
- "flags": {},
61
- "sources": [
62
- {
63
- "fileName": "wordlists/index.ts",
64
- "line": 13,
65
- "character": 2,
66
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/wordlists/index.ts#L13"
67
- }
68
- ],
69
- "type": {
70
- "type": "array",
71
- "elementType": {
72
- "type": "intrinsic",
73
- "name": "string"
74
- }
75
- }
76
- },
77
- {
78
- "id": 29,
79
- "name": "french",
80
- "variant": "declaration",
81
- "kind": 1024,
82
- "flags": {},
83
- "sources": [
84
- {
85
- "fileName": "wordlists/index.ts",
86
- "line": 14,
87
- "character": 2,
88
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/wordlists/index.ts#L14"
89
- }
90
- ],
91
- "type": {
92
- "type": "array",
93
- "elementType": {
94
- "type": "intrinsic",
95
- "name": "string"
96
- }
97
- }
98
- },
99
- {
100
- "id": 30,
101
- "name": "italian",
102
- "variant": "declaration",
103
- "kind": 1024,
104
- "flags": {},
105
- "sources": [
106
- {
107
- "fileName": "wordlists/index.ts",
108
- "line": 15,
109
- "character": 2,
110
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/wordlists/index.ts#L15"
111
- }
112
- ],
113
- "type": {
114
- "type": "array",
115
- "elementType": {
116
- "type": "intrinsic",
117
- "name": "string"
118
- }
119
- }
120
- },
121
- {
122
- "id": 31,
123
- "name": "japanese",
124
- "variant": "declaration",
125
- "kind": 1024,
126
- "flags": {},
127
- "sources": [
128
- {
129
- "fileName": "wordlists/index.ts",
130
- "line": 16,
131
- "character": 2,
132
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/wordlists/index.ts#L16"
133
- }
134
- ],
135
- "type": {
136
- "type": "array",
137
- "elementType": {
138
- "type": "intrinsic",
139
- "name": "string"
140
- }
141
- }
142
- },
143
- {
144
- "id": 32,
145
- "name": "korean",
146
- "variant": "declaration",
147
- "kind": 1024,
148
- "flags": {},
149
- "sources": [
150
- {
151
- "fileName": "wordlists/index.ts",
152
- "line": 17,
153
- "character": 2,
154
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/wordlists/index.ts#L17"
155
- }
156
- ],
157
- "type": {
158
- "type": "array",
159
- "elementType": {
160
- "type": "intrinsic",
161
- "name": "string"
162
- }
163
- }
164
- },
165
- {
166
- "id": 33,
167
- "name": "simplifiedChinese",
168
- "variant": "declaration",
169
- "kind": 1024,
170
- "flags": {},
171
- "sources": [
172
- {
173
- "fileName": "wordlists/index.ts",
174
- "line": 18,
175
- "character": 2,
176
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/wordlists/index.ts#L18"
177
- }
178
- ],
179
- "type": {
180
- "type": "array",
181
- "elementType": {
182
- "type": "intrinsic",
183
- "name": "string"
184
- }
185
- }
186
- },
187
- {
188
- "id": 34,
189
- "name": "spanish",
190
- "variant": "declaration",
191
- "kind": 1024,
192
- "flags": {},
193
- "sources": [
194
- {
195
- "fileName": "wordlists/index.ts",
196
- "line": 19,
197
- "character": 2,
198
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/wordlists/index.ts#L19"
199
- }
200
- ],
201
- "type": {
202
- "type": "array",
203
- "elementType": {
204
- "type": "intrinsic",
205
- "name": "string"
206
- }
207
- }
208
- },
209
- {
210
- "id": 35,
211
- "name": "traditionalChinese",
212
- "variant": "declaration",
213
- "kind": 1024,
214
- "flags": {},
215
- "sources": [
216
- {
217
- "fileName": "wordlists/index.ts",
218
- "line": 20,
219
- "character": 2,
220
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/wordlists/index.ts#L20"
221
- }
222
- ],
223
- "type": {
224
- "type": "array",
225
- "elementType": {
226
- "type": "intrinsic",
227
- "name": "string"
228
- }
229
- }
230
- }
231
- ],
232
- "groups": [
233
- {
234
- "title": "Properties",
235
- "children": [
236
- 27,
237
- 28,
238
- 29,
239
- 30,
240
- 31,
241
- 32,
242
- 33,
243
- 34,
244
- 35
245
- ]
246
- }
247
- ],
248
- "sources": [
249
- {
250
- "fileName": "wordlists/index.ts",
251
- "line": 11,
252
- "character": 25,
253
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/wordlists/index.ts#L11"
254
- }
255
- ]
256
- }
257
- },
258
- "defaultValue": "..."
259
- },
260
- {
261
- "id": 9,
262
- "name": "entropyToMnemonic",
263
- "variant": "declaration",
264
- "kind": 64,
265
- "flags": {},
266
- "sources": [
267
- {
268
- "fileName": "index.ts",
269
- "line": 99,
270
- "character": 16,
271
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/index.ts#L99"
272
- }
273
- ],
274
- "signatures": [
275
- {
276
- "id": 10,
277
- "name": "entropyToMnemonic",
278
- "variant": "signature",
279
- "kind": 4096,
280
- "flags": {},
281
- "comment": {
282
- "summary": [
283
- {
284
- "kind": "text",
285
- "text": "Reversible: Converts raw entropy in form of byte array to mnemonic string."
286
- }
287
- ],
288
- "blockTags": [
289
- {
290
- "tag": "@returns",
291
- "content": [
292
- {
293
- "kind": "text",
294
- "text": "12-24 words"
295
- }
296
- ]
297
- },
298
- {
299
- "tag": "@example",
300
- "content": [
301
- {
302
- "kind": "code",
303
- "text": "```ts\nconst ent = new Uint8Array([\n 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f,\n 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f\n]);\nentropyToMnemonic(ent, wordlist);\n// 'legal winner thank year wave sausage worth useful legal winner thank yellow'\n```"
304
- }
305
- ]
306
- }
307
- ]
308
- },
309
- "sources": [
310
- {
311
- "fileName": "index.ts",
312
- "line": 99,
313
- "character": 16,
314
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/index.ts#L99"
315
- }
316
- ],
317
- "parameters": [
318
- {
319
- "id": 11,
320
- "name": "entropy",
321
- "variant": "param",
322
- "kind": 32768,
323
- "flags": {},
324
- "comment": {
325
- "summary": [
326
- {
327
- "kind": "text",
328
- "text": "byte array"
329
- }
330
- ]
331
- },
332
- "type": {
333
- "type": "reference",
334
- "target": {
335
- "sourceFileName": "../../../../node_modules/typescript/lib/lib.es5.d.ts",
336
- "qualifiedName": "Uint8Array"
337
- },
338
- "name": "Uint8Array",
339
- "package": "typescript"
340
- }
341
- },
342
- {
343
- "id": 12,
344
- "name": "wordlist",
345
- "variant": "param",
346
- "kind": 32768,
347
- "flags": {},
348
- "comment": {
349
- "summary": [
350
- {
351
- "kind": "text",
352
- "text": "imported wordlist for specific language"
353
- }
354
- ]
355
- },
356
- "type": {
357
- "type": "array",
358
- "elementType": {
359
- "type": "intrinsic",
360
- "name": "string"
361
- }
362
- }
363
- }
364
- ],
365
- "type": {
366
- "type": "intrinsic",
367
- "name": "string"
368
- }
369
- }
370
- ]
371
- },
372
- {
373
- "id": 1,
374
- "name": "generateMnemonic",
375
- "variant": "declaration",
376
- "kind": 64,
377
- "flags": {},
378
- "sources": [
379
- {
380
- "fileName": "index.ts",
381
- "line": 43,
382
- "character": 16,
383
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/index.ts#L43"
384
- }
385
- ],
386
- "signatures": [
387
- {
388
- "id": 2,
389
- "name": "generateMnemonic",
390
- "variant": "signature",
391
- "kind": 4096,
392
- "flags": {},
393
- "comment": {
394
- "summary": [
395
- {
396
- "kind": "text",
397
- "text": "Generate x random words. Uses Cryptographically-Secure Random Number Generator."
398
- }
399
- ],
400
- "blockTags": [
401
- {
402
- "tag": "@example",
403
- "content": [
404
- {
405
- "kind": "code",
406
- "text": "```ts\ngenerateMnemonic(wordlist, 128)\n// 'legal winner thank year wave sausage worth useful legal winner thank yellow'\n```"
407
- }
408
- ]
409
- }
410
- ]
411
- },
412
- "sources": [
413
- {
414
- "fileName": "index.ts",
415
- "line": 43,
416
- "character": 16,
417
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/index.ts#L43"
418
- }
419
- ],
420
- "parameters": [
421
- {
422
- "id": 3,
423
- "name": "wordlist",
424
- "variant": "param",
425
- "kind": 32768,
426
- "flags": {},
427
- "comment": {
428
- "summary": [
429
- {
430
- "kind": "text",
431
- "text": "imported wordlist for specific language"
432
- }
433
- ]
434
- },
435
- "type": {
436
- "type": "array",
437
- "elementType": {
438
- "type": "intrinsic",
439
- "name": "string"
440
- }
441
- }
442
- },
443
- {
444
- "id": 4,
445
- "name": "strength",
446
- "variant": "param",
447
- "kind": 32768,
448
- "flags": {},
449
- "comment": {
450
- "summary": [
451
- {
452
- "kind": "text",
453
- "text": "mnemonic strength 128-256 bits"
454
- }
455
- ]
456
- },
457
- "type": {
458
- "type": "intrinsic",
459
- "name": "number"
460
- },
461
- "defaultValue": "128"
462
- }
463
- ],
464
- "type": {
465
- "type": "intrinsic",
466
- "name": "string"
467
- }
468
- }
469
- ]
470
- },
471
- {
472
- "id": 5,
473
- "name": "mnemonicToEntropy",
474
- "variant": "declaration",
475
- "kind": 64,
476
- "flags": {},
477
- "sources": [
478
- {
479
- "fileName": "index.ts",
480
- "line": 79,
481
- "character": 16,
482
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/index.ts#L79"
483
- }
484
- ],
485
- "signatures": [
486
- {
487
- "id": 6,
488
- "name": "mnemonicToEntropy",
489
- "variant": "signature",
490
- "kind": 4096,
491
- "flags": {},
492
- "comment": {
493
- "summary": [
494
- {
495
- "kind": "text",
496
- "text": "Reversible: Converts mnemonic string to raw entropy in form of byte array."
497
- }
498
- ],
499
- "blockTags": [
500
- {
501
- "tag": "@example",
502
- "content": [
503
- {
504
- "kind": "code",
505
- "text": "```ts\nconst mnem = 'legal winner thank year wave sausage worth useful legal winner thank yellow';\nmnemonicToEntropy(mnem, wordlist)\n// Produces\nnew Uint8Array([\n 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f,\n 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f\n])\n```"
506
- }
507
- ]
508
- }
509
- ]
510
- },
511
- "sources": [
512
- {
513
- "fileName": "index.ts",
514
- "line": 79,
515
- "character": 16,
516
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/index.ts#L79"
517
- }
518
- ],
519
- "parameters": [
520
- {
521
- "id": 7,
522
- "name": "mnemonic",
523
- "variant": "param",
524
- "kind": 32768,
525
- "flags": {},
526
- "comment": {
527
- "summary": [
528
- {
529
- "kind": "text",
530
- "text": "12-24 words"
531
- }
532
- ]
533
- },
534
- "type": {
535
- "type": "intrinsic",
536
- "name": "string"
537
- }
538
- },
539
- {
540
- "id": 8,
541
- "name": "wordlist",
542
- "variant": "param",
543
- "kind": 32768,
544
- "flags": {},
545
- "comment": {
546
- "summary": [
547
- {
548
- "kind": "text",
549
- "text": "imported wordlist for specific language"
550
- }
551
- ]
552
- },
553
- "type": {
554
- "type": "array",
555
- "elementType": {
556
- "type": "intrinsic",
557
- "name": "string"
558
- }
559
- }
560
- }
561
- ],
562
- "type": {
563
- "type": "reference",
564
- "target": {
565
- "sourceFileName": "../../../../node_modules/typescript/lib/lib.es5.d.ts",
566
- "qualifiedName": "Uint8Array"
567
- },
568
- "name": "Uint8Array",
569
- "package": "typescript"
570
- }
571
- }
572
- ]
573
- },
574
- {
575
- "id": 17,
576
- "name": "mnemonicToSeed",
577
- "variant": "declaration",
578
- "kind": 64,
579
- "flags": {},
580
- "sources": [
581
- {
582
- "fileName": "index.ts",
583
- "line": 129,
584
- "character": 16,
585
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/index.ts#L129"
586
- }
587
- ],
588
- "signatures": [
589
- {
590
- "id": 18,
591
- "name": "mnemonicToSeed",
592
- "variant": "signature",
593
- "kind": 4096,
594
- "flags": {},
595
- "comment": {
596
- "summary": [
597
- {
598
- "kind": "text",
599
- "text": "Irreversible: Uses KDF to derive 64 bytes of key data from mnemonic + optional password."
600
- }
601
- ],
602
- "blockTags": [
603
- {
604
- "tag": "@returns",
605
- "content": [
606
- {
607
- "kind": "text",
608
- "text": "64 bytes of key data"
609
- }
610
- ]
611
- },
612
- {
613
- "tag": "@example",
614
- "content": [
615
- {
616
- "kind": "code",
617
- "text": "```ts\nconst mnem = 'legal winner thank year wave sausage worth useful legal winner thank yellow';\nawait mnemonicToSeed(mnem, 'password');\n// new Uint8Array([...64 bytes])\n```"
618
- }
619
- ]
620
- }
621
- ]
622
- },
623
- "sources": [
624
- {
625
- "fileName": "index.ts",
626
- "line": 129,
627
- "character": 16,
628
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/index.ts#L129"
629
- }
630
- ],
631
- "parameters": [
632
- {
633
- "id": 19,
634
- "name": "mnemonic",
635
- "variant": "param",
636
- "kind": 32768,
637
- "flags": {},
638
- "comment": {
639
- "summary": [
640
- {
641
- "kind": "text",
642
- "text": "12-24 words"
643
- }
644
- ]
645
- },
646
- "type": {
647
- "type": "intrinsic",
648
- "name": "string"
649
- }
650
- },
651
- {
652
- "id": 20,
653
- "name": "passphrase",
654
- "variant": "param",
655
- "kind": 32768,
656
- "flags": {},
657
- "comment": {
658
- "summary": [
659
- {
660
- "kind": "text",
661
- "text": "string that will additionally protect the key"
662
- }
663
- ]
664
- },
665
- "type": {
666
- "type": "intrinsic",
667
- "name": "string"
668
- },
669
- "defaultValue": "''"
670
- }
671
- ],
672
- "type": {
673
- "type": "reference",
674
- "target": {
675
- "sourceFileName": "../../../../node_modules/typescript/lib/lib.es5.d.ts",
676
- "qualifiedName": "Promise"
677
- },
678
- "typeArguments": [
679
- {
680
- "type": "reference",
681
- "target": {
682
- "sourceFileName": "../../../../node_modules/typescript/lib/lib.es5.d.ts",
683
- "qualifiedName": "Uint8Array"
684
- },
685
- "name": "Uint8Array",
686
- "package": "typescript"
687
- }
688
- ],
689
- "name": "Promise",
690
- "package": "typescript"
691
- }
692
- }
693
- ]
694
- },
695
- {
696
- "id": 21,
697
- "name": "mnemonicToSeedSync",
698
- "variant": "declaration",
699
- "kind": 64,
700
- "flags": {},
701
- "sources": [
702
- {
703
- "fileName": "index.ts",
704
- "line": 143,
705
- "character": 16,
706
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/index.ts#L143"
707
- }
708
- ],
709
- "signatures": [
710
- {
711
- "id": 22,
712
- "name": "mnemonicToSeedSync",
713
- "variant": "signature",
714
- "kind": 4096,
715
- "flags": {},
716
- "comment": {
717
- "summary": [
718
- {
719
- "kind": "text",
720
- "text": "Irreversible: Uses KDF to derive 64 bytes of key data from mnemonic + optional password."
721
- }
722
- ],
723
- "blockTags": [
724
- {
725
- "tag": "@returns",
726
- "content": [
727
- {
728
- "kind": "text",
729
- "text": "64 bytes of key data"
730
- }
731
- ]
732
- },
733
- {
734
- "tag": "@example",
735
- "content": [
736
- {
737
- "kind": "code",
738
- "text": "```ts\nconst mnem = 'legal winner thank year wave sausage worth useful legal winner thank yellow';\nmnemonicToSeedSync(mnem, 'password');\n// new Uint8Array([...64 bytes])\n```"
739
- }
740
- ]
741
- }
742
- ]
743
- },
744
- "sources": [
745
- {
746
- "fileName": "index.ts",
747
- "line": 143,
748
- "character": 16,
749
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/index.ts#L143"
750
- }
751
- ],
752
- "parameters": [
753
- {
754
- "id": 23,
755
- "name": "mnemonic",
756
- "variant": "param",
757
- "kind": 32768,
758
- "flags": {},
759
- "comment": {
760
- "summary": [
761
- {
762
- "kind": "text",
763
- "text": "12-24 words"
764
- }
765
- ]
766
- },
767
- "type": {
768
- "type": "intrinsic",
769
- "name": "string"
770
- }
771
- },
772
- {
773
- "id": 24,
774
- "name": "passphrase",
775
- "variant": "param",
776
- "kind": 32768,
777
- "flags": {},
778
- "comment": {
779
- "summary": [
780
- {
781
- "kind": "text",
782
- "text": "string that will additionally protect the key"
783
- }
784
- ]
785
- },
786
- "type": {
787
- "type": "intrinsic",
788
- "name": "string"
789
- },
790
- "defaultValue": "''"
791
- }
792
- ],
793
- "type": {
794
- "type": "reference",
795
- "target": {
796
- "sourceFileName": "../../../../node_modules/typescript/lib/lib.es5.d.ts",
797
- "qualifiedName": "Uint8Array"
798
- },
799
- "name": "Uint8Array",
800
- "package": "typescript"
801
- }
802
- }
803
- ]
804
- },
805
- {
806
- "id": 13,
807
- "name": "validateMnemonic",
808
- "variant": "declaration",
809
- "kind": 64,
810
- "flags": {},
811
- "sources": [
812
- {
813
- "fileName": "index.ts",
814
- "line": 108,
815
- "character": 16,
816
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/index.ts#L108"
817
- }
818
- ],
819
- "signatures": [
820
- {
821
- "id": 14,
822
- "name": "validateMnemonic",
823
- "variant": "signature",
824
- "kind": 4096,
825
- "flags": {},
826
- "comment": {
827
- "summary": [
828
- {
829
- "kind": "text",
830
- "text": "Validates mnemonic for being 12-24 words contained in "
831
- },
832
- {
833
- "kind": "code",
834
- "text": "`wordlist`"
835
- },
836
- {
837
- "kind": "text",
838
- "text": "."
839
- }
840
- ]
841
- },
842
- "sources": [
843
- {
844
- "fileName": "index.ts",
845
- "line": 108,
846
- "character": 16,
847
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/blob/2b898a637c/packages/protocol/packages/bip39/src/index.ts#L108"
848
- }
849
- ],
850
- "parameters": [
851
- {
852
- "id": 15,
853
- "name": "mnemonic",
854
- "variant": "param",
855
- "kind": 32768,
856
- "flags": {},
857
- "type": {
858
- "type": "intrinsic",
859
- "name": "string"
860
- }
861
- },
862
- {
863
- "id": 16,
864
- "name": "wordlist",
865
- "variant": "param",
866
- "kind": 32768,
867
- "flags": {},
868
- "type": {
869
- "type": "array",
870
- "elementType": {
871
- "type": "intrinsic",
872
- "name": "string"
873
- }
874
- }
875
- }
876
- ],
877
- "type": {
878
- "type": "intrinsic",
879
- "name": "boolean"
880
- }
881
- }
882
- ]
883
- }
884
- ],
885
- "groups": [
886
- {
887
- "title": "Variables",
888
- "children": [
889
- 25
890
- ]
891
- },
892
- {
893
- "title": "Functions",
894
- "children": [
895
- 9,
896
- 1,
897
- 5,
898
- 17,
899
- 21,
900
- 13
901
- ]
902
- }
903
- ],
904
- "packageName": "@xyo-network/bip39",
905
- "readme": [
906
- {
907
- "kind": "text",
908
- "text": "[![logo][]](https://xyo.network)\n\nPart of [sdk-xyo-clint-js](https://www.npmjs.com/package/@xyo-network/sdk-xyo-client-js)\n\n## License\n\n> See the [LICENSE](LICENSE) file for license details\n\n## Credits\n\n[Made with 🔥 and ❄️ by XYO](https://xyo.network)\n\n[logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png"
909
- }
910
- ],
911
- "symbolIdMap": {
912
- "0": {
913
- "sourceFileName": "src/index.ts",
914
- "qualifiedName": ""
915
- },
916
- "1": {
917
- "sourceFileName": "src/index.ts",
918
- "qualifiedName": "generateMnemonic"
919
- },
920
- "2": {
921
- "sourceFileName": "src/index.ts",
922
- "qualifiedName": "generateMnemonic"
923
- },
924
- "3": {
925
- "sourceFileName": "src/index.ts",
926
- "qualifiedName": "wordlist"
927
- },
928
- "4": {
929
- "sourceFileName": "src/index.ts",
930
- "qualifiedName": "strength"
931
- },
932
- "5": {
933
- "sourceFileName": "src/index.ts",
934
- "qualifiedName": "mnemonicToEntropy"
935
- },
936
- "6": {
937
- "sourceFileName": "src/index.ts",
938
- "qualifiedName": "mnemonicToEntropy"
939
- },
940
- "7": {
941
- "sourceFileName": "src/index.ts",
942
- "qualifiedName": "mnemonic"
943
- },
944
- "8": {
945
- "sourceFileName": "src/index.ts",
946
- "qualifiedName": "wordlist"
947
- },
948
- "9": {
949
- "sourceFileName": "src/index.ts",
950
- "qualifiedName": "entropyToMnemonic"
951
- },
952
- "10": {
953
- "sourceFileName": "src/index.ts",
954
- "qualifiedName": "entropyToMnemonic"
955
- },
956
- "11": {
957
- "sourceFileName": "src/index.ts",
958
- "qualifiedName": "entropy"
959
- },
960
- "12": {
961
- "sourceFileName": "src/index.ts",
962
- "qualifiedName": "wordlist"
963
- },
964
- "13": {
965
- "sourceFileName": "src/index.ts",
966
- "qualifiedName": "validateMnemonic"
967
- },
968
- "14": {
969
- "sourceFileName": "src/index.ts",
970
- "qualifiedName": "validateMnemonic"
971
- },
972
- "15": {
973
- "sourceFileName": "src/index.ts",
974
- "qualifiedName": "mnemonic"
975
- },
976
- "16": {
977
- "sourceFileName": "src/index.ts",
978
- "qualifiedName": "wordlist"
979
- },
980
- "17": {
981
- "sourceFileName": "src/index.ts",
982
- "qualifiedName": "mnemonicToSeed"
983
- },
984
- "18": {
985
- "sourceFileName": "src/index.ts",
986
- "qualifiedName": "mnemonicToSeed"
987
- },
988
- "19": {
989
- "sourceFileName": "src/index.ts",
990
- "qualifiedName": "mnemonic"
991
- },
992
- "20": {
993
- "sourceFileName": "src/index.ts",
994
- "qualifiedName": "passphrase"
995
- },
996
- "21": {
997
- "sourceFileName": "src/index.ts",
998
- "qualifiedName": "mnemonicToSeedSync"
999
- },
1000
- "22": {
1001
- "sourceFileName": "src/index.ts",
1002
- "qualifiedName": "mnemonicToSeedSync"
1003
- },
1004
- "23": {
1005
- "sourceFileName": "src/index.ts",
1006
- "qualifiedName": "mnemonic"
1007
- },
1008
- "24": {
1009
- "sourceFileName": "src/index.ts",
1010
- "qualifiedName": "passphrase"
1011
- },
1012
- "25": {
1013
- "sourceFileName": "src/wordlists/index.ts",
1014
- "qualifiedName": "wordlists"
1015
- },
1016
- "26": {
1017
- "sourceFileName": "src/wordlists/index.ts",
1018
- "qualifiedName": "__object"
1019
- },
1020
- "27": {
1021
- "sourceFileName": "src/wordlists/index.ts",
1022
- "qualifiedName": "__object.czech"
1023
- },
1024
- "28": {
1025
- "sourceFileName": "src/wordlists/index.ts",
1026
- "qualifiedName": "__object.english"
1027
- },
1028
- "29": {
1029
- "sourceFileName": "src/wordlists/index.ts",
1030
- "qualifiedName": "__object.french"
1031
- },
1032
- "30": {
1033
- "sourceFileName": "src/wordlists/index.ts",
1034
- "qualifiedName": "__object.italian"
1035
- },
1036
- "31": {
1037
- "sourceFileName": "src/wordlists/index.ts",
1038
- "qualifiedName": "__object.japanese"
1039
- },
1040
- "32": {
1041
- "sourceFileName": "src/wordlists/index.ts",
1042
- "qualifiedName": "__object.korean"
1043
- },
1044
- "33": {
1045
- "sourceFileName": "src/wordlists/index.ts",
1046
- "qualifiedName": "__object.simplifiedChinese"
1047
- },
1048
- "34": {
1049
- "sourceFileName": "src/wordlists/index.ts",
1050
- "qualifiedName": "__object.spanish"
1051
- },
1052
- "35": {
1053
- "sourceFileName": "src/wordlists/index.ts",
1054
- "qualifiedName": "__object.traditionalChinese"
1055
- }
1056
- }
1057
- }