@bsv/sdk 1.6.14 → 1.6.16

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 (68) hide show
  1. package/dist/cjs/package.json +1 -1
  2. package/dist/cjs/src/auth/certificates/__tests/CompletedProtoWallet.js +1 -1
  3. package/dist/cjs/src/auth/certificates/__tests/CompletedProtoWallet.js.map +1 -1
  4. package/dist/cjs/src/primitives/Point.js +123 -6
  5. package/dist/cjs/src/primitives/Point.js.map +1 -1
  6. package/dist/cjs/src/primitives/PrivateKey.js +19 -2
  7. package/dist/cjs/src/primitives/PrivateKey.js.map +1 -1
  8. package/dist/cjs/src/primitives/PublicKey.js +19 -2
  9. package/dist/cjs/src/primitives/PublicKey.js.map +1 -1
  10. package/dist/cjs/src/wallet/CachedKeyDeriver.js +12 -1
  11. package/dist/cjs/src/wallet/CachedKeyDeriver.js.map +1 -1
  12. package/dist/cjs/src/wallet/KeyDeriver.js +8 -5
  13. package/dist/cjs/src/wallet/KeyDeriver.js.map +1 -1
  14. package/dist/cjs/src/wallet/ProtoWallet.js +5 -2
  15. package/dist/cjs/src/wallet/ProtoWallet.js.map +1 -1
  16. package/dist/cjs/tsconfig.cjs.tsbuildinfo +1 -1
  17. package/dist/esm/src/auth/certificates/__tests/CompletedProtoWallet.js +2 -2
  18. package/dist/esm/src/auth/certificates/__tests/CompletedProtoWallet.js.map +1 -1
  19. package/dist/esm/src/primitives/Point.js +123 -6
  20. package/dist/esm/src/primitives/Point.js.map +1 -1
  21. package/dist/esm/src/primitives/PrivateKey.js +19 -2
  22. package/dist/esm/src/primitives/PrivateKey.js.map +1 -1
  23. package/dist/esm/src/primitives/PublicKey.js +19 -2
  24. package/dist/esm/src/primitives/PublicKey.js.map +1 -1
  25. package/dist/esm/src/wallet/CachedKeyDeriver.js +20 -1
  26. package/dist/esm/src/wallet/CachedKeyDeriver.js.map +1 -1
  27. package/dist/esm/src/wallet/KeyDeriver.js +11 -5
  28. package/dist/esm/src/wallet/KeyDeriver.js.map +1 -1
  29. package/dist/esm/src/wallet/ProtoWallet.js +2 -2
  30. package/dist/esm/src/wallet/ProtoWallet.js.map +1 -1
  31. package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
  32. package/dist/types/src/auth/certificates/__tests/CompletedProtoWallet.d.ts.map +1 -1
  33. package/dist/types/src/primitives/Point.d.ts.map +1 -1
  34. package/dist/types/src/primitives/PrivateKey.d.ts +3 -1
  35. package/dist/types/src/primitives/PrivateKey.d.ts.map +1 -1
  36. package/dist/types/src/primitives/PublicKey.d.ts +3 -1
  37. package/dist/types/src/primitives/PublicKey.d.ts.map +1 -1
  38. package/dist/types/src/transaction/http/HttpClient.d.ts +2 -0
  39. package/dist/types/src/transaction/http/HttpClient.d.ts.map +1 -1
  40. package/dist/types/src/wallet/CachedKeyDeriver.d.ts +10 -2
  41. package/dist/types/src/wallet/CachedKeyDeriver.d.ts.map +1 -1
  42. package/dist/types/src/wallet/KeyDeriver.d.ts +5 -2
  43. package/dist/types/src/wallet/KeyDeriver.d.ts.map +1 -1
  44. package/dist/types/src/wallet/ProtoWallet.d.ts.map +1 -1
  45. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  46. package/dist/umd/bundle.js +1 -1
  47. package/docs/reference/auth.md +159 -212
  48. package/docs/reference/compat.md +96 -120
  49. package/docs/reference/identity.md +12 -21
  50. package/docs/reference/kvstore.md +19 -21
  51. package/docs/reference/messages.md +0 -3
  52. package/docs/reference/overlay-tools.md +18 -46
  53. package/docs/reference/primitives.md +404 -577
  54. package/docs/reference/registry.md +20 -43
  55. package/docs/reference/script.md +105 -140
  56. package/docs/reference/storage.md +12 -32
  57. package/docs/reference/totp.md +11 -16
  58. package/docs/reference/transaction.md +129 -201
  59. package/docs/reference/wallet.md +89 -247
  60. package/package.json +1 -1
  61. package/src/auth/certificates/__tests/CompletedProtoWallet.ts +3 -2
  62. package/src/primitives/Point.ts +152 -5
  63. package/src/primitives/PrivateKey.ts +22 -2
  64. package/src/primitives/PublicKey.ts +22 -2
  65. package/src/transaction/http/HttpClient.ts +2 -0
  66. package/src/wallet/CachedKeyDeriver.ts +32 -8
  67. package/src/wallet/KeyDeriver.ts +22 -6
  68. package/src/wallet/ProtoWallet.ts +3 -2
@@ -41,7 +41,6 @@ Decrypts a message encrypted using the Bitcore variant of ECIES.
41
41
  ```ts
42
42
  public static bitcoreDecrypt(encBuf: number[], toPrivateKey: PrivateKey): number[]
43
43
  ```
44
-
45
44
  See also: [PrivateKey](./primitives.md#class-privatekey)
46
45
 
47
46
  Returns
@@ -50,10 +49,10 @@ The decrypted message as a number array.
50
49
 
51
50
  Argument Details
52
51
 
53
- - **encBuf**
54
- - The encrypted message buffer.
55
- - **toPrivateKey**
56
- - The private key of the recipient.
52
+ + **encBuf**
53
+ + The encrypted message buffer.
54
+ + **toPrivateKey**
55
+ + The private key of the recipient.
57
56
 
58
57
  #### Method bitcoreEncrypt
59
58
 
@@ -62,7 +61,6 @@ Encrypts a given message using the Bitcore variant of ECIES.
62
61
  ```ts
63
62
  public static bitcoreEncrypt(messageBuf: number[], toPublicKey: PublicKey, fromPrivateKey?: PrivateKey, ivBuf?: number[]): number[]
64
63
  ```
65
-
66
64
  See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
67
65
 
68
66
  Returns
@@ -71,14 +69,14 @@ The encrypted message as a number array.
71
69
 
72
70
  Argument Details
73
71
 
74
- - **messageBuf**
75
- - The message to be encrypted, in number array format.
76
- - **toPublicKey**
77
- - The public key of the recipient.
78
- - **fromPrivateKey**
79
- - The private key of the sender. If not provided, a random private key is used.
80
- - **ivBuf**
81
- - The initialization vector for encryption. If not provided, a random IV is used.
72
+ + **messageBuf**
73
+ + The message to be encrypted, in number array format.
74
+ + **toPublicKey**
75
+ + The public key of the recipient.
76
+ + **fromPrivateKey**
77
+ + The private key of the sender. If not provided, a random private key is used.
78
+ + **ivBuf**
79
+ + The initialization vector for encryption. If not provided, a random IV is used.
82
80
 
83
81
  #### Method electrumDecrypt
84
82
 
@@ -87,7 +85,6 @@ Decrypts a message encrypted using the Electrum ECIES method.
87
85
  ```ts
88
86
  public static electrumDecrypt(encBuf: number[], toPrivateKey: PrivateKey, fromPublicKey?: PublicKey): number[]
89
87
  ```
90
-
91
88
  See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
92
89
 
93
90
  Returns
@@ -96,12 +93,12 @@ The decrypted message as a number array.
96
93
 
97
94
  Argument Details
98
95
 
99
- - **encBuf**
100
- - The encrypted message buffer.
101
- - **toPrivateKey**
102
- - The private key of the recipient.
103
- - **fromPublicKey**
104
- - The public key of the sender. If not provided, it is extracted from the message.
96
+ + **encBuf**
97
+ + The encrypted message buffer.
98
+ + **toPrivateKey**
99
+ + The private key of the recipient.
100
+ + **fromPublicKey**
101
+ + The public key of the sender. If not provided, it is extracted from the message.
105
102
 
106
103
  #### Method electrumEncrypt
107
104
 
@@ -110,7 +107,6 @@ Encrypts a given message using the Electrum ECIES method.
110
107
  ```ts
111
108
  public static electrumEncrypt(messageBuf: number[], toPublicKey: PublicKey, fromPrivateKey?: PrivateKey, noKey = false): number[]
112
109
  ```
113
-
114
110
  See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
115
111
 
116
112
  Returns
@@ -119,14 +115,14 @@ The encrypted message as a number array.
119
115
 
120
116
  Argument Details
121
117
 
122
- - **messageBuf**
123
- - The message to be encrypted, in number array format.
124
- - **toPublicKey**
125
- - The public key of the recipient.
126
- - **fromPrivateKey**
127
- - The private key of the sender. If not provided, a random private key is used.
128
- - **noKey**
129
- - If true, does not include the sender's public key in the encrypted message.
118
+ + **messageBuf**
119
+ + The message to be encrypted, in number array format.
120
+ + **toPublicKey**
121
+ + The public key of the recipient.
122
+ + **fromPrivateKey**
123
+ + The private key of the sender. If not provided, a random private key is used.
124
+ + **noKey**
125
+ + If true, does not include the sender's public key in the encrypted message.
130
126
 
131
127
  #### Method ivkEkM
132
128
 
@@ -140,7 +136,6 @@ public static ivkEkM(privKey: PrivateKey, pubKey: PublicKey): {
140
136
  kM: number[];
141
137
  }
142
138
  ```
143
-
144
139
  See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
145
140
 
146
141
  Returns
@@ -149,15 +144,14 @@ An object containing the iv, kE, and kM as number arrays.
149
144
 
150
145
  Argument Details
151
146
 
152
- - **privKey**
153
- - The sender's private key.
154
- - **pubKey**
155
- - The receiver's public key.
147
+ + **privKey**
148
+ + The sender's private key.
149
+ + **pubKey**
150
+ + The receiver's public key.
156
151
 
157
152
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
158
153
 
159
154
  ---
160
-
161
155
  ### Class: HD
162
156
 
163
157
  ```ts
@@ -201,25 +195,24 @@ Initializes an HD wallet with optional parameters for version bytes, depth, pare
201
195
  ```ts
202
196
  constructor(versionBytesNum?: number, depth?: number, parentFingerPrint?: number[], childIndex?: number, chainCode?: number[], privKey?: PrivateKey, pubKey?: PublicKey)
203
197
  ```
204
-
205
198
  See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
206
199
 
207
200
  Argument Details
208
201
 
209
- - **versionBytesNum**
210
- - Version bytes number for the wallet.
211
- - **depth**
212
- - Depth of the key in the hierarchy.
213
- - **parentFingerPrint**
214
- - Fingerprint of the parent key.
215
- - **childIndex**
216
- - Index of the child key.
217
- - **chainCode**
218
- - Chain code for key derivation.
219
- - **privKey**
220
- - Private key of the wallet.
221
- - **pubKey**
222
- - Public key of the wallet.
202
+ + **versionBytesNum**
203
+ + Version bytes number for the wallet.
204
+ + **depth**
205
+ + Depth of the key in the hierarchy.
206
+ + **parentFingerPrint**
207
+ + Fingerprint of the parent key.
208
+ + **childIndex**
209
+ + Index of the child key.
210
+ + **chainCode**
211
+ + Chain code for key derivation.
212
+ + **privKey**
213
+ + Private key of the wallet.
214
+ + **pubKey**
215
+ + Public key of the wallet.
223
216
 
224
217
  #### Method derive
225
218
 
@@ -229,7 +222,6 @@ The path specifies the hierarchy of the child key to be derived.
229
222
  ```ts
230
223
  public derive(path: string): HD
231
224
  ```
232
-
233
225
  See also: [HD](./compat.md#class-hd)
234
226
 
235
227
  Returns
@@ -238,8 +230,8 @@ A new HD instance representing the derived child wallet.
238
230
 
239
231
  Argument Details
240
232
 
241
- - **path**
242
- - A string representing the derivation path (e.g., 'm/0'/1).
233
+ + **path**
234
+ + A string representing the derivation path (e.g., 'm/0'/1).
243
235
 
244
236
  #### Method deriveChild
245
237
 
@@ -249,7 +241,6 @@ This method generates either a private or public child key depending on the curr
249
241
  ```ts
250
242
  public deriveChild(i: number): HD
251
243
  ```
252
-
253
244
  See also: [HD](./compat.md#class-hd)
254
245
 
255
246
  Returns
@@ -258,8 +249,8 @@ A new HD instance representing the derived child wallet.
258
249
 
259
250
  Argument Details
260
251
 
261
- - **i**
262
- - The index of the child key to derive.
252
+ + **i**
253
+ + The index of the child key to derive.
263
254
 
264
255
  #### Method fromBinary
265
256
 
@@ -269,7 +260,6 @@ Parses a binary buffer to set up the wallet's properties.
269
260
  ```ts
270
261
  public static fromBinary(buf: number[]): HD
271
262
  ```
272
-
273
263
  See also: [HD](./compat.md#class-hd)
274
264
 
275
265
  Returns
@@ -278,8 +268,8 @@ The new instance with properties set from the buffer.
278
268
 
279
269
  Argument Details
280
270
 
281
- - **buf**
282
- - A buffer containing the wallet data.
271
+ + **buf**
272
+ + A buffer containing the wallet data.
283
273
 
284
274
  #### Method fromBinary
285
275
 
@@ -296,8 +286,8 @@ The current instance with properties set from the buffer.
296
286
 
297
287
  Argument Details
298
288
 
299
- - **buf**
300
- - A buffer containing the wallet data.
289
+ + **buf**
290
+ + A buffer containing the wallet data.
301
291
 
302
292
  #### Method fromRandom
303
293
 
@@ -320,7 +310,6 @@ This method creates a root HD wallet with randomly generated private and public
320
310
  ```ts
321
311
  public static fromRandom(): HD
322
312
  ```
323
-
324
313
  See also: [HD](./compat.md#class-hd)
325
314
 
326
315
  Returns
@@ -335,7 +324,6 @@ This method generates keys and other properties from a given seed, conforming to
335
324
  ```ts
336
325
  public static fromSeed(bytes: number[]): HD
337
326
  ```
338
-
339
327
  See also: [HD](./compat.md#class-hd)
340
328
 
341
329
  Returns
@@ -344,8 +332,8 @@ The current instance with properties set from the seed.
344
332
 
345
333
  Argument Details
346
334
 
347
- - **bytes**
348
- - An array of bytes representing the seed.
335
+ + **bytes**
336
+ + An array of bytes representing the seed.
349
337
 
350
338
  #### Method fromSeed
351
339
 
@@ -362,8 +350,8 @@ The current instance with properties set from the seed.
362
350
 
363
351
  Argument Details
364
352
 
365
- - **bytes**
366
- - An array of bytes representing the seed.
353
+ + **bytes**
354
+ + An array of bytes representing the seed.
367
355
 
368
356
  #### Method fromString
369
357
 
@@ -373,7 +361,6 @@ This method decodes a provided string to set up the HD wallet's properties.
373
361
  ```ts
374
362
  public static fromString(str: string): HD
375
363
  ```
376
-
377
364
  See also: [HD](./compat.md#class-hd)
378
365
 
379
366
  Returns
@@ -382,8 +369,8 @@ The new instance with properties set from the string.
382
369
 
383
370
  Argument Details
384
371
 
385
- - **str**
386
- - A base58 encoded string representing the wallet.
372
+ + **str**
373
+ + A base58 encoded string representing the wallet.
387
374
 
388
375
  #### Method fromString
389
376
 
@@ -400,8 +387,8 @@ The current instance with properties set from the string.
400
387
 
401
388
  Argument Details
402
389
 
403
- - **str**
404
- - A base58 encoded string representing the wallet.
390
+ + **str**
391
+ + A base58 encoded string representing the wallet.
405
392
 
406
393
  #### Method isPrivate
407
394
 
@@ -437,7 +424,6 @@ This method strips away the private key information, leaving only the public par
437
424
  ```ts
438
425
  public toPublic(): HD
439
426
  ```
440
-
441
427
  See also: [HD](./compat.md#class-hd)
442
428
 
443
429
  Returns
@@ -462,7 +448,6 @@ A base58 encoded string of the HD wallet.
462
448
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
463
449
 
464
450
  ---
465
-
466
451
  ### Class: Mnemonic
467
452
 
468
453
  ```ts
@@ -501,17 +486,16 @@ Constructs a Mnemonic object.
501
486
  ```ts
502
487
  constructor(mnemonic?: string, seed?: number[], wordlist = wordList)
503
488
  ```
504
-
505
489
  See also: [wordList](./compat.md#variable-wordlist)
506
490
 
507
491
  Argument Details
508
492
 
509
- - **mnemonic**
510
- - An optional mnemonic phrase.
511
- - **seed**
512
- - An optional seed derived from the mnemonic.
513
- - **wordlist**
514
- - An object containing a list of words and space character used in the mnemonic.
493
+ + **mnemonic**
494
+ + An optional mnemonic phrase.
495
+ + **seed**
496
+ + An optional seed derived from the mnemonic.
497
+ + **wordlist**
498
+ + An object containing a list of words and space character used in the mnemonic.
515
499
 
516
500
  #### Method check
517
501
 
@@ -547,8 +531,8 @@ The Mnemonic instance with the mnemonic set from the entropy.
547
531
 
548
532
  Argument Details
549
533
 
550
- - **buf**
551
- - The entropy buffer to convert. Must be at least 128 bits.
534
+ + **buf**
535
+ + The entropy buffer to convert. Must be at least 128 bits.
552
536
 
553
537
  Throws
554
538
 
@@ -568,8 +552,8 @@ The Mnemonic instance with loaded mnemonic and seed.
568
552
 
569
553
  Argument Details
570
554
 
571
- - **bin**
572
- - The binary representation of a mnemonic and seed.
555
+ + **bin**
556
+ + The binary representation of a mnemonic and seed.
573
557
 
574
558
  #### Method fromEntropy
575
559
 
@@ -586,8 +570,8 @@ The Mnemonic instance with the mnemonic set from the given entropy.
586
570
 
587
571
  Argument Details
588
572
 
589
- - **buf**
590
- - The entropy buffer, must be at least 128 bits.
573
+ + **buf**
574
+ + The entropy buffer, must be at least 128 bits.
591
575
 
592
576
  Throws
593
577
 
@@ -600,7 +584,6 @@ Static method to create a Mnemonic instance from a given entropy.
600
584
  ```ts
601
585
  public static fromEntropy(buf: number[]): Mnemonic
602
586
  ```
603
-
604
587
  See also: [Mnemonic](./compat.md#class-mnemonic)
605
588
 
606
589
  Returns
@@ -609,8 +592,8 @@ A new Mnemonic instance.
609
592
 
610
593
  Argument Details
611
594
 
612
- - **buf**
613
- - The entropy buffer.
595
+ + **buf**
596
+ + The entropy buffer.
614
597
 
615
598
  #### Method fromRandom
616
599
 
@@ -626,8 +609,8 @@ The Mnemonic instance with the new random mnemonic.
626
609
 
627
610
  Argument Details
628
611
 
629
- - **bits**
630
- - The bit length for the random mnemonic (must be a multiple of 32 and at least 128).
612
+ + **bits**
613
+ + The bit length for the random mnemonic (must be a multiple of 32 and at least 128).
631
614
 
632
615
  Throws
633
616
 
@@ -640,7 +623,6 @@ Static method to generate a Mnemonic instance with a random mnemonic.
640
623
  ```ts
641
624
  public static fromRandom(bits?: number): Mnemonic
642
625
  ```
643
-
644
626
  See also: [Mnemonic](./compat.md#class-mnemonic)
645
627
 
646
628
  Returns
@@ -649,8 +631,8 @@ A new Mnemonic instance.
649
631
 
650
632
  Argument Details
651
633
 
652
- - **bits**
653
- - The bit length for the random mnemonic.
634
+ + **bits**
635
+ + The bit length for the random mnemonic.
654
636
 
655
637
  #### Method fromString
656
638
 
@@ -666,8 +648,8 @@ The Mnemonic instance with the set mnemonic.
666
648
 
667
649
  Argument Details
668
650
 
669
- - **mnemonic**
670
- - The mnemonic phrase as a string.
651
+ + **mnemonic**
652
+ + The mnemonic phrase as a string.
671
653
 
672
654
  #### Method fromString
673
655
 
@@ -676,7 +658,6 @@ Static method to create a Mnemonic instance from a mnemonic string.
676
658
  ```ts
677
659
  public static fromString(str: string): Mnemonic
678
660
  ```
679
-
680
661
  See also: [Mnemonic](./compat.md#class-mnemonic)
681
662
 
682
663
  Returns
@@ -685,8 +666,8 @@ A new Mnemonic instance.
685
666
 
686
667
  Argument Details
687
668
 
688
- - **str**
689
- - The mnemonic phrase.
669
+ + **str**
670
+ + The mnemonic phrase.
690
671
 
691
672
  #### Method isValid
692
673
 
@@ -703,8 +684,8 @@ True if the mnemonic and passphrase combination is valid, false otherwise.
703
684
 
704
685
  Argument Details
705
686
 
706
- - **passphrase**
707
- - The passphrase to validate.
687
+ + **passphrase**
688
+ + The passphrase to validate.
708
689
 
709
690
  #### Method isValid
710
691
 
@@ -720,10 +701,10 @@ True if the combination is valid, false otherwise.
720
701
 
721
702
  Argument Details
722
703
 
723
- - **mnemonic**
724
- - The mnemonic phrase.
725
- - **passphrase**
726
- - The passphrase to validate.
704
+ + **mnemonic**
705
+ + The mnemonic phrase.
706
+ + **passphrase**
707
+ + The passphrase to validate.
727
708
 
728
709
  #### Method mnemonic2Seed
729
710
 
@@ -742,8 +723,8 @@ The Mnemonic instance with the seed generated from the mnemonic.
742
723
 
743
724
  Argument Details
744
725
 
745
- - **passphrase**
746
- - An optional passphrase for added security.
726
+ + **passphrase**
727
+ + An optional passphrase for added security.
747
728
 
748
729
  Throws
749
730
 
@@ -776,8 +757,8 @@ The generated seed.
776
757
 
777
758
  Argument Details
778
759
 
779
- - **passphrase**
780
- - An optional passphrase for additional security.
760
+ + **passphrase**
761
+ + An optional passphrase for additional security.
781
762
 
782
763
  Throws
783
764
 
@@ -800,7 +781,6 @@ The mnemonic phrase as a string.
800
781
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
801
782
 
802
783
  ---
803
-
804
784
  ## Functions
805
785
 
806
786
  ### Function: fromUtxo
@@ -829,15 +809,14 @@ See also: [Transaction](./transaction.md#class-transaction), [TransactionInput](
829
809
 
830
810
  Argument Details
831
811
 
832
- - **utxo**
833
- - : jsonUtxo
834
- - **unlockingScriptTemplate**
835
- - : { sign: (tx: Transaction, inputIndex: number) => Promise<UnlockingScript>, estimateLength: (tx: Transaction, inputIndex: number) => Promise<number> }
812
+ + **utxo**
813
+ + : jsonUtxo
814
+ + **unlockingScriptTemplate**
815
+ + : { sign: (tx: Transaction, inputIndex: number) => Promise<UnlockingScript>, estimateLength: (tx: Transaction, inputIndex: number) => Promise<number> }
836
816
 
837
817
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
838
818
 
839
819
  ---
840
-
841
820
  ## Types
842
821
 
843
822
  ## Enums
@@ -875,7 +854,6 @@ See also: [Writer](./primitives.md#class-writer), [hash256](./primitives.md#vari
875
854
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
876
855
 
877
856
  ---
878
-
879
857
  ### Variable: sign
880
858
 
881
859
  ```ts
@@ -896,7 +874,6 @@ See also: [BigNumber](./primitives.md#class-bignumber), [PrivateKey](./primitive
896
874
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
897
875
 
898
876
  ---
899
-
900
877
  ### Variable: verify
901
878
 
902
879
  ```ts
@@ -911,7 +888,6 @@ See also: [BigNumber](./primitives.md#class-bignumber), [PublicKey](./primitives
911
888
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
912
889
 
913
890
  ---
914
-
915
891
  ### Variable: wordList
916
892
 
917
893
  ```ts
@@ -30,7 +30,6 @@ export interface DisplayableIdentity {
30
30
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
31
31
 
32
32
  ---
33
-
34
33
  ### Interface: IdentityClientOptions
35
34
 
36
35
  ```ts
@@ -47,7 +46,6 @@ See also: [WalletProtocol](./wallet.md#type-walletprotocol)
47
46
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
48
47
 
49
48
  ---
50
-
51
49
  ## Classes
52
50
 
53
51
  ### Class: IdentityClient
@@ -76,7 +74,6 @@ Parse out identity and certifier attributes to display from an IdentityCertifica
76
74
  ```ts
77
75
  static parseIdentity(identityToParse: IdentityCertificate): DisplayableIdentity
78
76
  ```
79
-
80
77
  See also: [DisplayableIdentity](./identity.md#interface-displayableidentity), [IdentityCertificate](./wallet.md#interface-identitycertificate)
81
78
 
82
79
  Returns
@@ -85,10 +82,10 @@ Returns
85
82
 
86
83
  Argument Details
87
84
 
88
- - **serialNumber**
89
- - Unique serial number of the certificate to revoke revelation
90
- - **identityToParse**
91
- - The Identity Certificate to parse
85
+ + **serialNumber**
86
+ + Unique serial number of the certificate to revoke revelation
87
+ + **identityToParse**
88
+ + The Identity Certificate to parse
92
89
 
93
90
  #### Method publiclyRevealAttributes
94
91
 
@@ -98,7 +95,6 @@ The publicly revealed certificate is included in a blockchain transaction and br
98
95
  ```ts
99
96
  async publiclyRevealAttributes(certificate: WalletCertificate, fieldsToReveal: CertificateFieldNameUnder50Bytes[]): Promise<BroadcastResponse | BroadcastFailure>
100
97
  ```
101
-
102
98
  See also: [BroadcastFailure](./transaction.md#interface-broadcastfailure), [BroadcastResponse](./transaction.md#interface-broadcastresponse), [CertificateFieldNameUnder50Bytes](./wallet.md#type-certificatefieldnameunder50bytes), [WalletCertificate](./wallet.md#interface-walletcertificate)
103
99
 
104
100
  Returns
@@ -107,10 +103,10 @@ A promise that resolves with the broadcast result from the overlay network.
107
103
 
108
104
  Argument Details
109
105
 
110
- - **certificate**
111
- - The master certificate to selectively reveal.
112
- - **fieldsToReveal**
113
- - An array of certificate field names to reveal. Only these fields will be included in the public certificate.
106
+ + **certificate**
107
+ + The master certificate to selectively reveal.
108
+ + **fieldsToReveal**
109
+ + An array of certificate field names to reveal. Only these fields will be included in the public certificate.
114
110
 
115
111
  Throws
116
112
 
@@ -123,7 +119,6 @@ Resolves displayable identity certificates by specific identity attributes, issu
123
119
  ```ts
124
120
  async resolveByAttributes(args: DiscoverByAttributesArgs): Promise<DisplayableIdentity[]>
125
121
  ```
126
-
127
122
  See also: [DiscoverByAttributesArgs](./wallet.md#interface-discoverbyattributesargs), [DisplayableIdentity](./identity.md#interface-displayableidentity)
128
123
 
129
124
  Returns
@@ -132,8 +127,8 @@ The promise resolves to displayable identities.
132
127
 
133
128
  Argument Details
134
129
 
135
- - **args**
136
- - Attributes and optional parameters used to discover certificates.
130
+ + **args**
131
+ + Attributes and optional parameters used to discover certificates.
137
132
 
138
133
  #### Method resolveByIdentityKey
139
134
 
@@ -142,7 +137,6 @@ Resolves displayable identity certificates, issued to a given identity key by a
142
137
  ```ts
143
138
  async resolveByIdentityKey(args: DiscoverByIdentityKeyArgs): Promise<DisplayableIdentity[]>
144
139
  ```
145
-
146
140
  See also: [DiscoverByIdentityKeyArgs](./wallet.md#interface-discoverbyidentitykeyargs), [DisplayableIdentity](./identity.md#interface-displayableidentity)
147
141
 
148
142
  Returns
@@ -151,13 +145,12 @@ The promise resolves to displayable identities.
151
145
 
152
146
  Argument Details
153
147
 
154
- - **args**
155
- - Arguments for requesting the discovery based on the identity key.
148
+ + **args**
149
+ + Arguments for requesting the discovery based on the identity key.
156
150
 
157
151
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
158
152
 
159
153
  ---
160
-
161
154
  ## Functions
162
155
 
163
156
  ## Types
@@ -192,7 +185,6 @@ See also: [IdentityClientOptions](./identity.md#interface-identityclientoptions)
192
185
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
193
186
 
194
187
  ---
195
-
196
188
  ### Variable: KNOWN_IDENTITY_TYPES
197
189
 
198
190
  ```ts
@@ -212,7 +204,6 @@ KNOWN_IDENTITY_TYPES = {
212
204
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
213
205
 
214
206
  ---
215
-
216
207
  ### Variable: defaultIdentity
217
208
 
218
209
  ```ts