@bsv/sdk 1.4.22 → 1.4.24

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 (62) hide show
  1. package/dist/cjs/package.json +1 -1
  2. package/dist/cjs/src/auth/certificates/VerifiableCertificate.js +10 -0
  3. package/dist/cjs/src/auth/certificates/VerifiableCertificate.js.map +1 -1
  4. package/dist/cjs/src/auth/clients/AuthFetch.js.map +1 -1
  5. package/dist/cjs/src/transaction/broadcasters/Teranode.js +64 -0
  6. package/dist/cjs/src/transaction/broadcasters/Teranode.js.map +1 -0
  7. package/dist/cjs/src/transaction/broadcasters/index.js +3 -1
  8. package/dist/cjs/src/transaction/broadcasters/index.js.map +1 -1
  9. package/dist/cjs/src/transaction/http/BinaryFetchClient.js +94 -0
  10. package/dist/cjs/src/transaction/http/BinaryFetchClient.js.map +1 -0
  11. package/dist/cjs/src/transaction/http/NodejsHttpClient.js.map +1 -1
  12. package/dist/cjs/src/transaction/http/index.js +3 -1
  13. package/dist/cjs/src/transaction/http/index.js.map +1 -1
  14. package/dist/cjs/tsconfig.cjs.tsbuildinfo +1 -1
  15. package/dist/esm/src/auth/certificates/VerifiableCertificate.js +10 -0
  16. package/dist/esm/src/auth/certificates/VerifiableCertificate.js.map +1 -1
  17. package/dist/esm/src/auth/clients/AuthFetch.js.map +1 -1
  18. package/dist/esm/src/transaction/broadcasters/Teranode.js +62 -0
  19. package/dist/esm/src/transaction/broadcasters/Teranode.js.map +1 -0
  20. package/dist/esm/src/transaction/broadcasters/index.js +1 -0
  21. package/dist/esm/src/transaction/broadcasters/index.js.map +1 -1
  22. package/dist/esm/src/transaction/http/BinaryFetchClient.js +90 -0
  23. package/dist/esm/src/transaction/http/BinaryFetchClient.js.map +1 -0
  24. package/dist/esm/src/transaction/http/NodejsHttpClient.js.map +1 -1
  25. package/dist/esm/src/transaction/http/index.js +1 -0
  26. package/dist/esm/src/transaction/http/index.js.map +1 -1
  27. package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
  28. package/dist/types/src/auth/certificates/VerifiableCertificate.d.ts +9 -1
  29. package/dist/types/src/auth/certificates/VerifiableCertificate.d.ts.map +1 -1
  30. package/dist/types/src/auth/clients/AuthFetch.d.ts.map +1 -1
  31. package/dist/types/src/transaction/broadcasters/Teranode.d.ts +25 -0
  32. package/dist/types/src/transaction/broadcasters/Teranode.d.ts.map +1 -0
  33. package/dist/types/src/transaction/broadcasters/index.d.ts +1 -0
  34. package/dist/types/src/transaction/broadcasters/index.d.ts.map +1 -1
  35. package/dist/types/src/transaction/http/BinaryFetchClient.d.ts +50 -0
  36. package/dist/types/src/transaction/http/BinaryFetchClient.d.ts.map +1 -0
  37. package/dist/types/src/transaction/http/index.d.ts +1 -0
  38. package/dist/types/src/transaction/http/index.d.ts.map +1 -1
  39. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  40. package/dist/umd/bundle.js +1 -1
  41. package/docs/auth.md +120 -46
  42. package/docs/compat.md +48 -24
  43. package/docs/identity.md +14 -8
  44. package/docs/kvstore.md +9 -3
  45. package/docs/messages.md +4 -4
  46. package/docs/overlay-tools.md +69 -21
  47. package/docs/primitives.md +379 -235
  48. package/docs/registry.md +20 -14
  49. package/docs/script.md +87 -33
  50. package/docs/storage.md +17 -11
  51. package/docs/totp.md +11 -5
  52. package/docs/transaction.md +145 -67
  53. package/docs/wallet.md +169 -133
  54. package/package.json +1 -1
  55. package/src/auth/certificates/VerifiableCertificate.ts +24 -0
  56. package/src/auth/certificates/__tests/VerifiableCertificate.test.ts +28 -1
  57. package/src/auth/clients/AuthFetch.ts +2 -0
  58. package/src/transaction/broadcasters/Teranode.ts +77 -0
  59. package/src/transaction/broadcasters/index.ts +1 -0
  60. package/src/transaction/http/BinaryFetchClient.ts +141 -0
  61. package/src/transaction/http/NodejsHttpClient.ts +1 -1
  62. package/src/transaction/http/index.ts +1 -0
package/docs/compat.md CHANGED
@@ -32,7 +32,11 @@ export default class ECIES {
32
32
  }
33
33
  ```
34
34
 
35
- See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
35
+ See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey)
36
+
37
+ <details>
38
+
39
+ <summary>Class ECIES Details</summary>
36
40
 
37
41
  #### Method bitcoreDecrypt
38
42
 
@@ -41,7 +45,7 @@ Decrypts a message encrypted using the Bitcore variant of ECIES.
41
45
  ```ts
42
46
  public static bitcoreDecrypt(encBuf: number[], toPrivateKey: PrivateKey): number[]
43
47
  ```
44
- See also: [PrivateKey](./primitives.md#class-privatekey)
48
+ See also: [PrivateKey](#class-privatekey)
45
49
 
46
50
  Returns
47
51
 
@@ -61,7 +65,7 @@ Encrypts a given message using the Bitcore variant of ECIES.
61
65
  ```ts
62
66
  public static bitcoreEncrypt(messageBuf: number[], toPublicKey: PublicKey, fromPrivateKey?: PrivateKey, ivBuf?: number[]): number[]
63
67
  ```
64
- See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
68
+ See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey)
65
69
 
66
70
  Returns
67
71
 
@@ -85,7 +89,7 @@ Decrypts a message encrypted using the Electrum ECIES method.
85
89
  ```ts
86
90
  public static electrumDecrypt(encBuf: number[], toPrivateKey: PrivateKey, fromPublicKey?: PublicKey): number[]
87
91
  ```
88
- See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
92
+ See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey)
89
93
 
90
94
  Returns
91
95
 
@@ -107,7 +111,7 @@ Encrypts a given message using the Electrum ECIES method.
107
111
  ```ts
108
112
  public static electrumEncrypt(messageBuf: number[], toPublicKey: PublicKey, fromPrivateKey?: PrivateKey, noKey = false): number[]
109
113
  ```
110
- See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
114
+ See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey)
111
115
 
112
116
  Returns
113
117
 
@@ -136,7 +140,7 @@ public static ivkEkM(privKey: PrivateKey, pubKey: PublicKey): {
136
140
  kM: number[];
137
141
  }
138
142
  ```
139
- See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
143
+ See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey)
140
144
 
141
145
  Returns
142
146
 
@@ -149,6 +153,8 @@ Argument Details
149
153
  + **pubKey**
150
154
  + The receiver's public key.
151
155
 
156
+ </details>
157
+
152
158
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
153
159
 
154
160
  ---
@@ -185,7 +191,11 @@ export default class HD {
185
191
  }
186
192
  ```
187
193
 
188
- See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
194
+ See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey)
195
+
196
+ <details>
197
+
198
+ <summary>Class HD Details</summary>
189
199
 
190
200
  #### Constructor
191
201
 
@@ -195,7 +205,7 @@ Initializes an HD wallet with optional parameters for version bytes, depth, pare
195
205
  ```ts
196
206
  constructor(versionBytesNum?: number, depth?: number, parentFingerPrint?: number[], childIndex?: number, chainCode?: number[], privKey?: PrivateKey, pubKey?: PublicKey)
197
207
  ```
198
- See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey)
208
+ See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey)
199
209
 
200
210
  Argument Details
201
211
 
@@ -222,7 +232,7 @@ The path specifies the hierarchy of the child key to be derived.
222
232
  ```ts
223
233
  public derive(path: string): HD
224
234
  ```
225
- See also: [HD](./compat.md#class-hd)
235
+ See also: [HD](#class-hd)
226
236
 
227
237
  Returns
228
238
 
@@ -241,7 +251,7 @@ This method generates either a private or public child key depending on the curr
241
251
  ```ts
242
252
  public deriveChild(i: number): HD
243
253
  ```
244
- See also: [HD](./compat.md#class-hd)
254
+ See also: [HD](#class-hd)
245
255
 
246
256
  Returns
247
257
 
@@ -260,7 +270,7 @@ Parses a binary buffer to set up the wallet's properties.
260
270
  ```ts
261
271
  public static fromBinary(buf: number[]): HD
262
272
  ```
263
- See also: [HD](./compat.md#class-hd)
273
+ See also: [HD](#class-hd)
264
274
 
265
275
  Returns
266
276
 
@@ -310,7 +320,7 @@ This method creates a root HD wallet with randomly generated private and public
310
320
  ```ts
311
321
  public static fromRandom(): HD
312
322
  ```
313
- See also: [HD](./compat.md#class-hd)
323
+ See also: [HD](#class-hd)
314
324
 
315
325
  Returns
316
326
 
@@ -324,7 +334,7 @@ This method generates keys and other properties from a given seed, conforming to
324
334
  ```ts
325
335
  public static fromSeed(bytes: number[]): HD
326
336
  ```
327
- See also: [HD](./compat.md#class-hd)
337
+ See also: [HD](#class-hd)
328
338
 
329
339
  Returns
330
340
 
@@ -361,7 +371,7 @@ This method decodes a provided string to set up the HD wallet's properties.
361
371
  ```ts
362
372
  public static fromString(str: string): HD
363
373
  ```
364
- See also: [HD](./compat.md#class-hd)
374
+ See also: [HD](#class-hd)
365
375
 
366
376
  Returns
367
377
 
@@ -424,7 +434,7 @@ This method strips away the private key information, leaving only the public par
424
434
  ```ts
425
435
  public toPublic(): HD
426
436
  ```
427
- See also: [HD](./compat.md#class-hd)
437
+ See also: [HD](#class-hd)
428
438
 
429
439
  Returns
430
440
 
@@ -445,6 +455,8 @@ Returns
445
455
 
446
456
  A base58 encoded string of the HD wallet.
447
457
 
458
+ </details>
459
+
448
460
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
449
461
 
450
462
  ---
@@ -477,7 +489,11 @@ export default class Mnemonic {
477
489
  }
478
490
  ```
479
491
 
480
- See also: [wordList](./compat.md#variable-wordlist)
492
+ See also: [wordList](#variable-wordlist)
493
+
494
+ <details>
495
+
496
+ <summary>Class Mnemonic Details</summary>
481
497
 
482
498
  #### Constructor
483
499
 
@@ -486,7 +502,7 @@ Constructs a Mnemonic object.
486
502
  ```ts
487
503
  constructor(mnemonic?: string, seed?: number[], wordlist = wordList)
488
504
  ```
489
- See also: [wordList](./compat.md#variable-wordlist)
505
+ See also: [wordList](#variable-wordlist)
490
506
 
491
507
  Argument Details
492
508
 
@@ -584,7 +600,7 @@ Static method to create a Mnemonic instance from a given entropy.
584
600
  ```ts
585
601
  public static fromEntropy(buf: number[]): Mnemonic
586
602
  ```
587
- See also: [Mnemonic](./compat.md#class-mnemonic)
603
+ See also: [Mnemonic](#class-mnemonic)
588
604
 
589
605
  Returns
590
606
 
@@ -623,7 +639,7 @@ Static method to generate a Mnemonic instance with a random mnemonic.
623
639
  ```ts
624
640
  public static fromRandom(bits?: number): Mnemonic
625
641
  ```
626
- See also: [Mnemonic](./compat.md#class-mnemonic)
642
+ See also: [Mnemonic](#class-mnemonic)
627
643
 
628
644
  Returns
629
645
 
@@ -658,7 +674,7 @@ Static method to create a Mnemonic instance from a mnemonic string.
658
674
  ```ts
659
675
  public static fromString(str: string): Mnemonic
660
676
  ```
661
- See also: [Mnemonic](./compat.md#class-mnemonic)
677
+ See also: [Mnemonic](#class-mnemonic)
662
678
 
663
679
  Returns
664
680
 
@@ -778,6 +794,8 @@ Returns
778
794
 
779
795
  The mnemonic phrase as a string.
780
796
 
797
+ </details>
798
+
781
799
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
782
800
 
783
801
  ---
@@ -805,7 +823,11 @@ export default function fromUtxo(utxo: jsonUtxo, unlockingScriptTemplate: {
805
823
  }): TransactionInput
806
824
  ```
807
825
 
808
- See also: [Transaction](./transaction.md#class-transaction), [TransactionInput](./transaction.md#interface-transactioninput), [UnlockingScript](./script.md#class-unlockingscript), [sign](./compat.md#variable-sign)
826
+ See also: [Transaction](#class-transaction), [TransactionInput](#interface-transactioninput), [UnlockingScript](#class-unlockingscript), [sign](#variable-sign)
827
+
828
+ <details>
829
+
830
+ <summary>Function fromUtxo Details</summary>
809
831
 
810
832
  Argument Details
811
833
 
@@ -814,6 +836,8 @@ Argument Details
814
836
  + **unlockingScriptTemplate**
815
837
  + : { sign: (tx: Transaction, inputIndex: number) => Promise<UnlockingScript>, estimateLength: (tx: Transaction, inputIndex: number) => Promise<number> }
816
838
 
839
+ </details>
840
+
817
841
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
818
842
 
819
843
  ---
@@ -849,7 +873,7 @@ magicHash = (messageBuf: number[]): number[] => {
849
873
  }
850
874
  ```
851
875
 
852
- See also: [Writer](./primitives.md#class-writer), [hash256](./primitives.md#variable-hash256), [toArray](./primitives.md#variable-toarray)
876
+ See also: [Writer](#class-writer), [hash256](#variable-hash256), [toArray](#variable-toarray)
853
877
 
854
878
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
855
879
 
@@ -869,7 +893,7 @@ sign = (message: number[], privateKey: PrivateKey, mode: "raw" | "base64" = "bas
869
893
  }
870
894
  ```
871
895
 
872
- See also: [BigNumber](./primitives.md#class-bignumber), [PrivateKey](./primitives.md#class-privatekey), [Signature](./primitives.md#class-signature), [magicHash](./compat.md#variable-magichash)
896
+ See also: [BigNumber](#class-bignumber), [PrivateKey](#class-privatekey), [Signature](#class-signature), [magicHash](#variable-magichash)
873
897
 
874
898
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
875
899
 
@@ -883,7 +907,7 @@ verify = (message: number[], sig: Signature, pubKey: PublicKey): boolean => {
883
907
  }
884
908
  ```
885
909
 
886
- See also: [BigNumber](./primitives.md#class-bignumber), [PublicKey](./primitives.md#class-publickey), [Signature](./primitives.md#class-signature), [magicHash](./compat.md#variable-magichash)
910
+ See also: [BigNumber](#class-bignumber), [PublicKey](#class-publickey), [Signature](#class-signature), [magicHash](#variable-magichash)
887
911
 
888
912
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
889
913
 
package/docs/identity.md CHANGED
@@ -41,7 +41,7 @@ export interface IdentityClientOptions {
41
41
  }
42
42
  ```
43
43
 
44
- See also: [WalletProtocol](./wallet.md#type-walletprotocol)
44
+ See also: [WalletProtocol](#type-walletprotocol)
45
45
 
46
46
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
47
47
 
@@ -62,7 +62,11 @@ export class IdentityClient {
62
62
  }
63
63
  ```
64
64
 
65
- See also: [BroadcastFailure](./transaction.md#interface-broadcastfailure), [BroadcastResponse](./transaction.md#interface-broadcastresponse), [CertificateFieldNameUnder50Bytes](./wallet.md#type-certificatefieldnameunder50bytes), [DEFAULT_IDENTITY_CLIENT_OPTIONS](./identity.md#variable-default_identity_client_options), [DiscoverByAttributesArgs](./wallet.md#interface-discoverbyattributesargs), [DiscoverByIdentityKeyArgs](./wallet.md#interface-discoverbyidentitykeyargs), [DisplayableIdentity](./identity.md#interface-displayableidentity), [IdentityCertificate](./wallet.md#interface-identitycertificate), [OriginatorDomainNameStringUnder250Bytes](./wallet.md#type-originatordomainnamestringunder250bytes), [WalletCertificate](./wallet.md#interface-walletcertificate), [WalletInterface](./wallet.md#interface-walletinterface)
65
+ See also: [BroadcastFailure](#interface-broadcastfailure), [BroadcastResponse](#interface-broadcastresponse), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [DEFAULT_IDENTITY_CLIENT_OPTIONS](#variable-default_identity_client_options), [DiscoverByAttributesArgs](#interface-discoverbyattributesargs), [DiscoverByIdentityKeyArgs](#interface-discoverbyidentitykeyargs), [DisplayableIdentity](#interface-displayableidentity), [IdentityCertificate](#interface-identitycertificate), [OriginatorDomainNameStringUnder250Bytes](#type-originatordomainnamestringunder250bytes), [WalletCertificate](#interface-walletcertificate), [WalletInterface](#interface-walletinterface)
66
+
67
+ <details>
68
+
69
+ <summary>Class IdentityClient Details</summary>
66
70
 
67
71
  #### Method parseIdentity
68
72
 
@@ -74,7 +78,7 @@ Parse out identity and certifier attributes to display from an IdentityCertifica
74
78
  ```ts
75
79
  static parseIdentity(identityToParse: IdentityCertificate): DisplayableIdentity
76
80
  ```
77
- See also: [DisplayableIdentity](./identity.md#interface-displayableidentity), [IdentityCertificate](./wallet.md#interface-identitycertificate)
81
+ See also: [DisplayableIdentity](#interface-displayableidentity), [IdentityCertificate](#interface-identitycertificate)
78
82
 
79
83
  Returns
80
84
 
@@ -95,7 +99,7 @@ The publicly revealed certificate is included in a blockchain transaction and br
95
99
  ```ts
96
100
  async publiclyRevealAttributes(certificate: WalletCertificate, fieldsToReveal: CertificateFieldNameUnder50Bytes[]): Promise<BroadcastResponse | BroadcastFailure>
97
101
  ```
98
- See also: [BroadcastFailure](./transaction.md#interface-broadcastfailure), [BroadcastResponse](./transaction.md#interface-broadcastresponse), [CertificateFieldNameUnder50Bytes](./wallet.md#type-certificatefieldnameunder50bytes), [WalletCertificate](./wallet.md#interface-walletcertificate)
102
+ See also: [BroadcastFailure](#interface-broadcastfailure), [BroadcastResponse](#interface-broadcastresponse), [CertificateFieldNameUnder50Bytes](#type-certificatefieldnameunder50bytes), [WalletCertificate](#interface-walletcertificate)
99
103
 
100
104
  Returns
101
105
 
@@ -119,7 +123,7 @@ Resolves displayable identity certificates by specific identity attributes, issu
119
123
  ```ts
120
124
  async resolveByAttributes(args: DiscoverByAttributesArgs): Promise<DisplayableIdentity[]>
121
125
  ```
122
- See also: [DiscoverByAttributesArgs](./wallet.md#interface-discoverbyattributesargs), [DisplayableIdentity](./identity.md#interface-displayableidentity)
126
+ See also: [DiscoverByAttributesArgs](#interface-discoverbyattributesargs), [DisplayableIdentity](#interface-displayableidentity)
123
127
 
124
128
  Returns
125
129
 
@@ -137,7 +141,7 @@ Resolves displayable identity certificates, issued to a given identity key by a
137
141
  ```ts
138
142
  async resolveByIdentityKey(args: DiscoverByIdentityKeyArgs): Promise<DisplayableIdentity[]>
139
143
  ```
140
- See also: [DiscoverByIdentityKeyArgs](./wallet.md#interface-discoverbyidentitykeyargs), [DisplayableIdentity](./identity.md#interface-displayableidentity)
144
+ See also: [DiscoverByIdentityKeyArgs](#interface-discoverbyidentitykeyargs), [DisplayableIdentity](#interface-displayableidentity)
141
145
 
142
146
  Returns
143
147
 
@@ -148,6 +152,8 @@ Argument Details
148
152
  + **args**
149
153
  + Arguments for requesting the discovery based on the identity key.
150
154
 
155
+ </details>
156
+
151
157
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
152
158
 
153
159
  ---
@@ -180,7 +186,7 @@ DEFAULT_IDENTITY_CLIENT_OPTIONS: IdentityClientOptions = {
180
186
  }
181
187
  ```
182
188
 
183
- See also: [IdentityClientOptions](./identity.md#interface-identityclientoptions)
189
+ See also: [IdentityClientOptions](#interface-identityclientoptions)
184
190
 
185
191
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
186
192
 
@@ -218,7 +224,7 @@ defaultIdentity: DisplayableIdentity = {
218
224
  }
219
225
  ```
220
226
 
221
- See also: [DisplayableIdentity](./identity.md#interface-displayableidentity)
227
+ See also: [DisplayableIdentity](#interface-displayableidentity)
222
228
 
223
229
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
224
230
 
package/docs/kvstore.md CHANGED
@@ -21,7 +21,11 @@ export default class LocalKVStore {
21
21
  }
22
22
  ```
23
23
 
24
- See also: [OutpointString](./wallet.md#type-outpointstring), [WalletClient](./wallet.md#class-walletclient), [WalletInterface](./wallet.md#interface-walletinterface), [encrypt](./messages.md#variable-encrypt)
24
+ See also: [OutpointString](#type-outpointstring), [WalletClient](#class-walletclient), [WalletInterface](#interface-walletinterface)
25
+
26
+ <details>
27
+
28
+ <summary>Class LocalKVStore Details</summary>
25
29
 
26
30
  #### Constructor
27
31
 
@@ -30,7 +34,7 @@ Creates an instance of the localKVStore.
30
34
  ```ts
31
35
  constructor(wallet: WalletInterface = new WalletClient(), context = "kvstore default", encrypt = true, originator?: string)
32
36
  ```
33
- See also: [WalletClient](./wallet.md#class-walletclient), [WalletInterface](./wallet.md#interface-walletinterface), [encrypt](./messages.md#variable-encrypt)
37
+ See also: [WalletClient](#class-walletclient), [WalletInterface](#interface-walletinterface)
34
38
 
35
39
  Argument Details
36
40
 
@@ -107,7 +111,7 @@ If signing the update/collapse transaction fails, it relinquishes the original o
107
111
  ```ts
108
112
  async set(key: string, value: string): Promise<OutpointString>
109
113
  ```
110
- See also: [OutpointString](./wallet.md#type-outpointstring)
114
+ See also: [OutpointString](#type-outpointstring)
111
115
 
112
116
  Returns
113
117
 
@@ -120,6 +124,8 @@ Argument Details
120
124
  + **value**
121
125
  + The value to associate with the key.
122
126
 
127
+ </details>
128
+
123
129
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
124
130
 
125
131
  ---
package/docs/messages.md CHANGED
@@ -47,7 +47,7 @@ decrypt = (message: number[], recipient: PrivateKey): number[] => {
47
47
  }
48
48
  ```
49
49
 
50
- See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey), [Reader](./primitives.md#class-reader), [SymmetricKey](./primitives.md#class-symmetrickey), [encode](./primitives.md#variable-encode), [toBase64](./primitives.md#function-tobase64), [toHex](./primitives.md#variable-tohex)
50
+ See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey), [Reader](#class-reader), [SymmetricKey](#class-symmetrickey), [encode](#variable-encode), [toBase64](#function-tobase64), [toHex](#variable-tohex)
51
51
 
52
52
  Links: [API](#api), [Classes](#classes), [Functions](#functions), [Variables](#variables)
53
53
 
@@ -76,7 +76,7 @@ encrypt = (message: number[], sender: PrivateKey, recipient: PublicKey): number[
76
76
  }
77
77
  ```
78
78
 
79
- See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey), [SymmetricKey](./primitives.md#class-symmetrickey), [encode](./primitives.md#variable-encode), [toArray](./primitives.md#variable-toarray), [toBase64](./primitives.md#function-tobase64)
79
+ See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey), [SymmetricKey](#class-symmetrickey), [encode](#variable-encode), [toArray](#variable-toarray), [toBase64](#function-tobase64)
80
80
 
81
81
  Links: [API](#api), [Classes](#classes), [Functions](#functions), [Variables](#variables)
82
82
 
@@ -109,7 +109,7 @@ sign = (message: number[], signer: PrivateKey, verifier?: PublicKey): number[] =
109
109
  }
110
110
  ```
111
111
 
112
- See also: [Curve](./primitives.md#class-curve), [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey), [encode](./primitives.md#variable-encode), [toArray](./primitives.md#variable-toarray), [toBase64](./primitives.md#function-tobase64)
112
+ See also: [Curve](#class-curve), [PrivateKey](#class-privatekey), [PublicKey](#class-publickey), [encode](#variable-encode), [toArray](#variable-toarray), [toBase64](#function-tobase64)
113
113
 
114
114
  Links: [API](#api), [Classes](#classes), [Functions](#functions), [Variables](#variables)
115
115
 
@@ -149,7 +149,7 @@ verify = (message: number[], sig: number[], recipient?: PrivateKey): boolean =>
149
149
  }
150
150
  ```
151
151
 
152
- See also: [PrivateKey](./primitives.md#class-privatekey), [PublicKey](./primitives.md#class-publickey), [Reader](./primitives.md#class-reader), [Signature](./primitives.md#class-signature), [encode](./primitives.md#variable-encode), [toBase64](./primitives.md#function-tobase64), [toHex](./primitives.md#variable-tohex)
152
+ See also: [PrivateKey](#class-privatekey), [PublicKey](#class-publickey), [Reader](#class-reader), [Signature](#class-signature), [encode](#variable-encode), [toBase64](#function-tobase64), [toHex](#variable-tohex)
153
153
 
154
154
  Links: [API](#api), [Classes](#classes), [Functions](#functions), [Variables](#variables)
155
155