@bsv/sdk 1.8.1 → 1.8.2

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.
@@ -36,8 +36,6 @@ export interface BasketDefinitionData {
36
36
  }
37
37
  ```
38
38
 
39
- See also: [PubKeyHex](./wallet.md#type-pubkeyhex)
40
-
41
39
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
42
40
 
43
41
  ---
@@ -76,7 +74,7 @@ export interface CertificateDefinitionData {
76
74
  }
77
75
  ```
78
76
 
79
- See also: [CertificateFieldDescriptor](./registry.md#interface-certificatefielddescriptor), [PubKeyHex](./wallet.md#type-pubkeyhex)
77
+ See also: [CertificateFieldDescriptor](#interface-certificatefielddescriptor)
80
78
 
81
79
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
82
80
 
@@ -131,8 +129,6 @@ export interface ProtocolDefinitionData {
131
129
  }
132
130
  ```
133
131
 
134
- See also: [PubKeyHex](./wallet.md#type-pubkeyhex), [WalletProtocol](./wallet.md#type-walletprotocol)
135
-
136
132
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
137
133
 
138
134
  ---
@@ -151,8 +147,6 @@ export interface ProtocolQuery {
151
147
  }
152
148
  ```
153
149
 
154
- See also: [WalletProtocol](./wallet.md#type-walletprotocol)
155
-
156
150
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
157
151
 
158
152
  ---
@@ -168,7 +162,7 @@ export interface RegistryQueryMapping {
168
162
  }
169
163
  ```
170
164
 
171
- See also: [BasketQuery](./registry.md#interface-basketquery), [CertificateQuery](./registry.md#interface-certificatequery), [ProtocolQuery](./registry.md#interface-protocolquery)
165
+ See also: [BasketQuery](#interface-basketquery), [CertificateQuery](#interface-certificatequery), [ProtocolQuery](#interface-protocolquery)
172
166
 
173
167
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
174
168
 
@@ -187,8 +181,6 @@ export interface TokenData {
187
181
  }
188
182
  ```
189
183
 
190
- See also: [BEEF](./wallet.md#type-beef)
191
-
192
184
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
193
185
 
194
186
  ---
@@ -220,7 +212,7 @@ export class RegistryClient {
220
212
  }
221
213
  ```
222
214
 
223
- See also: [BroadcastFailure](./transaction.md#interface-broadcastfailure), [BroadcastResponse](./transaction.md#interface-broadcastresponse), [DefinitionData](./registry.md#type-definitiondata), [DefinitionType](./registry.md#type-definitiontype), [RegistryQueryMapping](./registry.md#interface-registryquerymapping), [RegistryRecord](./registry.md#type-registryrecord), [WalletClient](./wallet.md#class-walletclient), [WalletInterface](./wallet.md#interface-walletinterface)
215
+ See also: [DefinitionData](#type-definitiondata), [DefinitionType](#type-definitiontype), [RegistryQueryMapping](#interface-registryquerymapping), [RegistryRecord](#type-registryrecord)
224
216
 
225
217
  #### Method listOwnRegistryEntries
226
218
 
@@ -231,7 +223,7 @@ Returns parsed registry records including transaction details such as txid, outp
231
223
  ```ts
232
224
  async listOwnRegistryEntries(definitionType: DefinitionType): Promise<RegistryRecord[]>
233
225
  ```
234
- See also: [DefinitionType](./registry.md#type-definitiontype), [RegistryRecord](./registry.md#type-registryrecord)
226
+ See also: [DefinitionType](#type-definitiontype), [RegistryRecord](#type-registryrecord)
235
227
 
236
228
  Returns
237
229
 
@@ -253,7 +245,7 @@ to establish canonical references for basket IDs, protocol specs, or certificate
253
245
  ```ts
254
246
  async registerDefinition(data: DefinitionData): Promise<BroadcastResponse | BroadcastFailure>
255
247
  ```
256
- See also: [BroadcastFailure](./transaction.md#interface-broadcastfailure), [BroadcastResponse](./transaction.md#interface-broadcastresponse), [DefinitionData](./registry.md#type-definitiondata)
248
+ See also: [DefinitionData](#type-definitiondata)
257
249
 
258
250
  Returns
259
251
 
@@ -279,7 +271,7 @@ The query object shape depends on the registry type:
279
271
  ```ts
280
272
  async resolve<T extends DefinitionType>(definitionType: T, query: RegistryQueryMapping[T]): Promise<DefinitionData[]>
281
273
  ```
282
- See also: [DefinitionData](./registry.md#type-definitiondata), [DefinitionType](./registry.md#type-definitiontype), [RegistryQueryMapping](./registry.md#interface-registryquerymapping)
274
+ See also: [DefinitionData](#type-definitiondata), [DefinitionType](#type-definitiontype), [RegistryQueryMapping](#interface-registryquerymapping)
283
275
 
284
276
  Returns
285
277
 
@@ -299,7 +291,7 @@ Revokes a registry record by spending its associated UTXO.
299
291
  ```ts
300
292
  async revokeOwnRegistryEntry(registryRecord: RegistryRecord): Promise<BroadcastResponse | BroadcastFailure>
301
293
  ```
302
- See also: [BroadcastFailure](./transaction.md#interface-broadcastfailure), [BroadcastResponse](./transaction.md#interface-broadcastresponse), [RegistryRecord](./registry.md#type-registryrecord)
294
+ See also: [RegistryRecord](#type-registryrecord)
303
295
 
304
296
  Returns
305
297
 
@@ -321,8 +313,6 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
321
313
  export function deserializeWalletProtocol(str: string): WalletProtocol
322
314
  ```
323
315
 
324
- See also: [WalletProtocol](./wallet.md#type-walletprotocol)
325
-
326
316
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
327
317
 
328
318
  ---
@@ -346,7 +336,7 @@ Union of all possible definition data objects.
346
336
  export type DefinitionData = BasketDefinitionData | ProtocolDefinitionData | CertificateDefinitionData
347
337
  ```
348
338
 
349
- See also: [BasketDefinitionData](./registry.md#interface-basketdefinitiondata), [CertificateDefinitionData](./registry.md#interface-certificatedefinitiondata), [ProtocolDefinitionData](./registry.md#interface-protocoldefinitiondata)
339
+ See also: [BasketDefinitionData](#interface-basketdefinitiondata), [CertificateDefinitionData](#interface-certificatedefinitiondata), [ProtocolDefinitionData](#interface-protocoldefinitiondata)
350
340
 
351
341
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
352
342
 
@@ -372,7 +362,7 @@ plus the on-chain token data for the UTXO holding it.
372
362
  export type RegistryRecord = DefinitionData & TokenData
373
363
  ```
374
364
 
375
- See also: [DefinitionData](./registry.md#type-definitiondata), [TokenData](./registry.md#interface-tokendata)
365
+ See also: [DefinitionData](#type-definitiondata), [TokenData](#interface-tokendata)
376
366
 
377
367
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
378
368
 
@@ -37,7 +37,7 @@ export default interface ScriptTemplate {
37
37
  }
38
38
  ```
39
39
 
40
- See also: [LockingScript](./script.md#class-lockingscript), [ScriptTemplateUnlock](./script.md#interface-scripttemplateunlock)
40
+ See also: [LockingScript](#class-lockingscript), [ScriptTemplateUnlock](#interface-scripttemplateunlock)
41
41
 
42
42
  #### Property lock
43
43
 
@@ -46,7 +46,7 @@ Creates a locking script with the given parameters.
46
46
  ```ts
47
47
  lock: (...params: any[]) => LockingScript | Promise<LockingScript>
48
48
  ```
49
- See also: [LockingScript](./script.md#class-lockingscript)
49
+ See also: [LockingScript](#class-lockingscript)
50
50
 
51
51
  #### Property unlock
52
52
 
@@ -59,7 +59,7 @@ This method returns an object containing two functions:
59
59
  ```ts
60
60
  unlock: (...params: any[]) => ScriptTemplateUnlock
61
61
  ```
62
- See also: [ScriptTemplateUnlock](./script.md#interface-scripttemplateunlock)
62
+ See also: [ScriptTemplateUnlock](#interface-scripttemplateunlock)
63
63
 
64
64
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
65
65
 
@@ -73,7 +73,7 @@ export default interface ScriptTemplateUnlock {
73
73
  }
74
74
  ```
75
75
 
76
- See also: [Transaction](./transaction.md#class-transaction), [UnlockingScript](./script.md#class-unlockingscript), [sign](./compat.md#variable-sign)
76
+ See also: [UnlockingScript](#class-unlockingscript)
77
77
 
78
78
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
79
79
 
@@ -109,7 +109,7 @@ export default class LockingScript extends Script {
109
109
  }
110
110
  ```
111
111
 
112
- See also: [Script](./script.md#class-script)
112
+ See also: [Script](#class-script)
113
113
 
114
114
  #### Method isLockingScript
115
115
 
@@ -150,7 +150,7 @@ export default class P2PKH implements ScriptTemplate {
150
150
  }
151
151
  ```
152
152
 
153
- See also: [LockingScript](./script.md#class-lockingscript), [PrivateKey](./primitives.md#class-privatekey), [Script](./script.md#class-script), [ScriptTemplate](./script.md#interface-scripttemplate), [Transaction](./transaction.md#class-transaction), [UnlockingScript](./script.md#class-unlockingscript), [sign](./compat.md#variable-sign)
153
+ See also: [LockingScript](#class-lockingscript), [Script](#class-script), [ScriptTemplate](#interface-scripttemplate), [UnlockingScript](#class-unlockingscript)
154
154
 
155
155
  #### Method lock
156
156
 
@@ -159,7 +159,7 @@ Creates a P2PKH locking script for a given public key hash or address string
159
159
  ```ts
160
160
  lock(pubkeyhash: string | number[]): LockingScript
161
161
  ```
162
- See also: [LockingScript](./script.md#class-lockingscript)
162
+ See also: [LockingScript](#class-lockingscript)
163
163
 
164
164
  Returns
165
165
 
@@ -185,7 +185,7 @@ unlock(privateKey: PrivateKey, signOutputs: "all" | "none" | "single" = "all", a
185
185
  estimateLength: () => Promise<108>;
186
186
  }
187
187
  ```
188
- See also: [PrivateKey](./primitives.md#class-privatekey), [Script](./script.md#class-script), [Transaction](./transaction.md#class-transaction), [UnlockingScript](./script.md#class-unlockingscript), [sign](./compat.md#variable-sign)
188
+ See also: [Script](#class-script), [UnlockingScript](#class-unlockingscript)
189
189
 
190
190
  Returns
191
191
 
@@ -226,7 +226,7 @@ export default class PushDrop implements ScriptTemplate {
226
226
  }
227
227
  ```
228
228
 
229
- See also: [LockingScript](./script.md#class-lockingscript), [PublicKey](./primitives.md#class-publickey), [ScriptTemplate](./script.md#interface-scripttemplate), [Transaction](./transaction.md#class-transaction), [UnlockingScript](./script.md#class-unlockingscript), [WalletInterface](./wallet.md#interface-walletinterface), [WalletProtocol](./wallet.md#type-walletprotocol), [sign](./compat.md#variable-sign)
229
+ See also: [LockingScript](#class-lockingscript), [ScriptTemplate](#interface-scripttemplate), [UnlockingScript](#class-unlockingscript)
230
230
 
231
231
  #### Constructor
232
232
 
@@ -235,7 +235,6 @@ Constructs a new instance of the PushDrop class.
235
235
  ```ts
236
236
  constructor(wallet: WalletInterface, originator?: string)
237
237
  ```
238
- See also: [WalletInterface](./wallet.md#interface-walletinterface)
239
238
 
240
239
  Argument Details
241
240
 
@@ -255,7 +254,7 @@ static decode(script: LockingScript): {
255
254
  fields: number[][];
256
255
  }
257
256
  ```
258
- See also: [LockingScript](./script.md#class-lockingscript), [PublicKey](./primitives.md#class-publickey)
257
+ See also: [LockingScript](#class-lockingscript)
259
258
 
260
259
  Returns
261
260
 
@@ -273,7 +272,7 @@ Creates a PushDrop locking script with arbitrary data fields and a public key lo
273
272
  ```ts
274
273
  async lock(fields: number[][], protocolID: WalletProtocol, keyID: string, counterparty: string, forSelf = false, includeSignature = true, lockPosition: "before" | "after" = "before"): Promise<LockingScript>
275
274
  ```
276
- See also: [LockingScript](./script.md#class-lockingscript), [WalletProtocol](./wallet.md#type-walletprotocol)
275
+ See also: [LockingScript](#class-lockingscript)
277
276
 
278
277
  Returns
279
278
 
@@ -304,7 +303,7 @@ unlock(protocolID: WalletProtocol, keyID: string, counterparty: string, signOutp
304
303
  estimateLength: () => Promise<73>;
305
304
  }
306
305
  ```
307
- See also: [LockingScript](./script.md#class-lockingscript), [Transaction](./transaction.md#class-transaction), [UnlockingScript](./script.md#class-unlockingscript), [WalletProtocol](./wallet.md#type-walletprotocol), [sign](./compat.md#variable-sign)
306
+ See also: [LockingScript](#class-lockingscript), [UnlockingScript](#class-unlockingscript)
308
307
 
309
308
  Returns
310
309
 
@@ -350,7 +349,7 @@ export default class RPuzzle implements ScriptTemplate {
350
349
  }
351
350
  ```
352
351
 
353
- See also: [BigNumber](./primitives.md#class-bignumber), [LockingScript](./script.md#class-lockingscript), [PrivateKey](./primitives.md#class-privatekey), [ScriptTemplate](./script.md#interface-scripttemplate), [Transaction](./transaction.md#class-transaction), [UnlockingScript](./script.md#class-unlockingscript), [sign](./compat.md#variable-sign)
352
+ See also: [LockingScript](#class-lockingscript), [ScriptTemplate](#interface-scripttemplate), [UnlockingScript](#class-unlockingscript)
354
353
 
355
354
  #### Constructor
356
355
 
@@ -370,7 +369,7 @@ Creates an R puzzle locking script for a given R value or R value hash.
370
369
  ```ts
371
370
  lock(value: number[]): LockingScript
372
371
  ```
373
- See also: [LockingScript](./script.md#class-lockingscript)
372
+ See also: [LockingScript](#class-lockingscript)
374
373
 
375
374
  Returns
376
375
 
@@ -396,7 +395,7 @@ unlock(k: BigNumber, privateKey: PrivateKey, signOutputs: "all" | "none" | "sing
396
395
  estimateLength: () => Promise<108>;
397
396
  }
398
397
  ```
399
- See also: [BigNumber](./primitives.md#class-bignumber), [PrivateKey](./primitives.md#class-privatekey), [Transaction](./transaction.md#class-transaction), [UnlockingScript](./script.md#class-unlockingscript), [sign](./compat.md#variable-sign)
398
+ See also: [UnlockingScript](#class-unlockingscript)
400
399
 
401
400
  Returns
402
401
 
@@ -446,14 +445,14 @@ export default class Script {
446
445
  }
447
446
  ```
448
447
 
449
- See also: [BigNumber](./primitives.md#class-bignumber), [ScriptChunk](./script.md#interface-scriptchunk), [toHex](./primitives.md#variable-tohex)
448
+ See also: [ScriptChunk](#interface-scriptchunk)
450
449
 
451
450
  #### Constructor
452
451
 
453
452
  ```ts
454
453
  constructor(chunks: ScriptChunk[] = [])
455
454
  ```
456
- See also: [ScriptChunk](./script.md#interface-scriptchunk)
455
+ See also: [ScriptChunk](#interface-scriptchunk)
457
456
 
458
457
  Argument Details
459
458
 
@@ -467,7 +466,7 @@ Deletes the given item wherever it appears in the current script.
467
466
  ```ts
468
467
  findAndDelete(script: Script): Script
469
468
  ```
470
- See also: [Script](./script.md#class-script)
469
+ See also: [Script](#class-script)
471
470
 
472
471
  Returns
473
472
 
@@ -483,7 +482,7 @@ Argument Details
483
482
  ```ts
484
483
  static fromASM(asm: string): Script
485
484
  ```
486
- See also: [Script](./script.md#class-script)
485
+ See also: [Script](#class-script)
487
486
 
488
487
  Returns
489
488
 
@@ -505,7 +504,7 @@ const script = Script.fromASM("OP_DUP OP_HASH160 abcd... OP_EQUALVERIFY OP_CHECK
505
504
  ```ts
506
505
  static fromBinary(bin: number[]): Script
507
506
  ```
508
- See also: [Script](./script.md#class-script)
507
+ See also: [Script](#class-script)
509
508
 
510
509
  Returns
511
510
 
@@ -527,7 +526,7 @@ const script = Script.fromBinary([0x76, 0xa9, ...])
527
526
  ```ts
528
527
  static fromHex(hex: string): Script
529
528
  ```
530
- See also: [Script](./script.md#class-script)
529
+ See also: [Script](#class-script)
531
530
 
532
531
  Returns
533
532
 
@@ -579,7 +578,7 @@ True if the script is an unlocking script, otherwise false.
579
578
  ```ts
580
579
  removeCodeseparators(): Script
581
580
  ```
582
- See also: [Script](./script.md#class-script)
581
+ See also: [Script](#class-script)
583
582
 
584
583
  Returns
585
584
 
@@ -590,7 +589,7 @@ This script instance for chaining.
590
589
  ```ts
591
590
  setChunkOpCode(i: number, op: number): Script
592
591
  ```
593
- See also: [Script](./script.md#class-script)
592
+ See also: [Script](#class-script)
594
593
 
595
594
  Returns
596
595
 
@@ -638,7 +637,7 @@ The script in hexadecimal format.
638
637
  ```ts
639
638
  writeBin(bin: number[]): Script
640
639
  ```
641
- See also: [Script](./script.md#class-script)
640
+ See also: [Script](#class-script)
642
641
 
643
642
  Returns
644
643
 
@@ -658,7 +657,7 @@ Throws an error if the data is too large to be pushed.
658
657
  ```ts
659
658
  writeBn(bn: BigNumber): Script
660
659
  ```
661
- See also: [BigNumber](./primitives.md#class-bignumber), [Script](./script.md#class-script)
660
+ See also: [Script](#class-script)
662
661
 
663
662
  Returns
664
663
 
@@ -674,7 +673,7 @@ Argument Details
674
673
  ```ts
675
674
  writeNumber(num: number): Script
676
675
  ```
677
- See also: [Script](./script.md#class-script)
676
+ See also: [Script](#class-script)
678
677
 
679
678
  Returns
680
679
 
@@ -690,7 +689,7 @@ Argument Details
690
689
  ```ts
691
690
  writeOpCode(op: number): Script
692
691
  ```
693
- See also: [Script](./script.md#class-script)
692
+ See also: [Script](#class-script)
694
693
 
695
694
  Returns
696
695
 
@@ -706,7 +705,7 @@ Argument Details
706
705
  ```ts
707
706
  writeScript(script: Script): Script
708
707
  ```
709
- See also: [Script](./script.md#class-script)
708
+ See also: [Script](#class-script)
710
709
 
711
710
  Returns
712
711
 
@@ -799,7 +798,7 @@ export default class Spend {
799
798
  }
800
799
  ```
801
800
 
802
- See also: [LockingScript](./script.md#class-lockingscript), [TransactionInput](./transaction.md#interface-transactioninput), [TransactionOutput](./transaction.md#interface-transactionoutput), [UnlockingScript](./script.md#class-unlockingscript)
801
+ See also: [LockingScript](#class-lockingscript), [UnlockingScript](#class-unlockingscript)
803
802
 
804
803
  #### Constructor
805
804
 
@@ -819,7 +818,7 @@ constructor(params: {
819
818
  memoryLimit?: number;
820
819
  })
821
820
  ```
822
- See also: [LockingScript](./script.md#class-lockingscript), [TransactionInput](./transaction.md#interface-transactioninput), [TransactionOutput](./transaction.md#interface-transactionoutput), [UnlockingScript](./script.md#class-unlockingscript)
821
+ See also: [LockingScript](#class-lockingscript), [UnlockingScript](#class-unlockingscript)
823
822
 
824
823
  Argument Details
825
824
 
@@ -903,7 +902,7 @@ export default class UnlockingScript extends Script {
903
902
  }
904
903
  ```
905
904
 
906
- See also: [Script](./script.md#class-script)
905
+ See also: [Script](#class-script)
907
906
 
908
907
  #### Method isLockingScript
909
908
 
@@ -102,8 +102,6 @@ export interface UploaderConfig {
102
102
  }
103
103
  ```
104
104
 
105
- See also: [WalletInterface](./wallet.md#interface-walletinterface)
106
-
107
105
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
108
106
 
109
107
  ---
@@ -128,7 +126,7 @@ export class StorageDownloader {
128
126
  }
129
127
  ```
130
128
 
131
- See also: [DownloadResult](./storage.md#interface-downloadresult), [DownloaderConfig](./storage.md#interface-downloaderconfig)
129
+ See also: [DownloadResult](#interface-downloadresult), [DownloaderConfig](#interface-downloaderconfig)
132
130
 
133
131
  #### Method download
134
132
 
@@ -137,7 +135,7 @@ Downloads the content from the UHRP URL after validating the hash for integrity.
137
135
  ```ts
138
136
  public async download(uhrpUrl: string): Promise<DownloadResult>
139
137
  ```
140
- See also: [DownloadResult](./storage.md#interface-downloadresult)
138
+ See also: [DownloadResult](#interface-downloadresult)
141
139
 
142
140
  Returns
143
141
 
@@ -189,7 +187,7 @@ export class StorageUploader {
189
187
  }
190
188
  ```
191
189
 
192
- See also: [FindFileData](./storage.md#interface-findfiledata), [RenewFileResult](./storage.md#interface-renewfileresult), [UploadFileResult](./storage.md#interface-uploadfileresult), [UploadableFile](./storage.md#interface-uploadablefile), [UploaderConfig](./storage.md#interface-uploaderconfig)
190
+ See also: [FindFileData](#interface-findfiledata), [RenewFileResult](#interface-renewfileresult), [UploadFileResult](#interface-uploadfileresult), [UploadableFile](#interface-uploadablefile), [UploaderConfig](#interface-uploaderconfig)
193
191
 
194
192
  #### Constructor
195
193
 
@@ -198,7 +196,7 @@ Creates a new StorageUploader instance.
198
196
  ```ts
199
197
  constructor(config: UploaderConfig)
200
198
  ```
201
- See also: [UploaderConfig](./storage.md#interface-uploaderconfig)
199
+ See also: [UploaderConfig](#interface-uploaderconfig)
202
200
 
203
201
  Argument Details
204
202
 
@@ -212,7 +210,7 @@ Retrieves metadata for a file matching the given UHRP URL from the `/find` route
212
210
  ```ts
213
211
  public async findFile(uhrpUrl: string): Promise<FindFileData>
214
212
  ```
215
- See also: [FindFileData](./storage.md#interface-findfiledata)
213
+ See also: [FindFileData](#interface-findfiledata)
216
214
 
217
215
  Returns
218
216
 
@@ -258,7 +256,7 @@ public async publishFile(params: {
258
256
  retentionPeriod: number;
259
257
  }): Promise<UploadFileResult>
260
258
  ```
261
- See also: [UploadFileResult](./storage.md#interface-uploadfileresult), [UploadableFile](./storage.md#interface-uploadablefile)
259
+ See also: [UploadFileResult](#interface-uploadfileresult), [UploadableFile](#interface-uploadablefile)
262
260
 
263
261
  Returns
264
262
 
@@ -277,7 +275,7 @@ and re-mint the advertisement token on-chain.
277
275
  ```ts
278
276
  public async renewFile(uhrpUrl: string, additionalMinutes: number): Promise<RenewFileResult>
279
277
  ```
280
- See also: [RenewFileResult](./storage.md#interface-renewfileresult)
278
+ See also: [RenewFileResult](#interface-renewfileresult)
281
279
 
282
280
  Returns
283
281
 
@@ -333,7 +331,7 @@ getHashFromURL = (URL: string): number[] => {
333
331
  }
334
332
  ```
335
333
 
336
- See also: [fromBase58Check](./primitives.md#variable-frombase58check), [normalizeURL](./storage.md#variable-normalizeurl), [toHex](./primitives.md#variable-tohex)
334
+ See also: [normalizeURL](#variable-normalizeurl)
337
335
 
338
336
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
339
337
 
@@ -354,7 +352,7 @@ getURLForFile = (file: Uint8Array | number[]): string => {
354
352
  }
355
353
  ```
356
354
 
357
- See also: [SHA256](./primitives.md#class-sha256), [getURLForHash](./storage.md#variable-geturlforhash)
355
+ See also: [getURLForHash](#variable-geturlforhash)
358
356
 
359
357
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
360
358
 
@@ -370,8 +368,6 @@ getURLForHash = (hash: number[]): string => {
370
368
  }
371
369
  ```
372
370
 
373
- See also: [toArray](./primitives.md#variable-toarray), [toBase58Check](./primitives.md#variable-tobase58check)
374
-
375
371
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
376
372
 
377
373
  ---
@@ -389,7 +385,7 @@ isValidURL = (URL: string): boolean => {
389
385
  }
390
386
  ```
391
387
 
392
- See also: [getHashFromURL](./storage.md#variable-gethashfromurl)
388
+ See also: [getHashFromURL](#variable-gethashfromurl)
393
389
 
394
390
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Enums](#enums), [Variables](#variables)
395
391
 
@@ -17,7 +17,7 @@ export interface TOTPOptions {
17
17
  }
18
18
  ```
19
19
 
20
- See also: [TOTPAlgorithm](./totp.md#type-totpalgorithm)
20
+ See also: [TOTPAlgorithm](#type-totpalgorithm)
21
21
 
22
22
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
23
23
 
@@ -33,7 +33,7 @@ export class TOTP {
33
33
  }
34
34
  ```
35
35
 
36
- See also: [TOTPOptions](./totp.md#interface-totpoptions), [TOTPValidateOptions](./totp.md#type-totpvalidateoptions)
36
+ See also: [TOTPOptions](#interface-totpoptions), [TOTPValidateOptions](#type-totpvalidateoptions)
37
37
 
38
38
  #### Method generate
39
39
 
@@ -42,7 +42,7 @@ Generates a Time-based One-Time Password (TOTP).
42
42
  ```ts
43
43
  static generate(secret: number[], options?: TOTPOptions): string
44
44
  ```
45
- See also: [TOTPOptions](./totp.md#interface-totpoptions)
45
+ See also: [TOTPOptions](#interface-totpoptions)
46
46
 
47
47
  Returns
48
48
 
@@ -62,7 +62,7 @@ Validates a Time-based One-Time Password (TOTP).
62
62
  ```ts
63
63
  static validate(secret: number[], passcode: string, options?: TOTPValidateOptions): boolean
64
64
  ```
65
- See also: [TOTPValidateOptions](./totp.md#type-totpvalidateoptions)
65
+ See also: [TOTPValidateOptions](#type-totpvalidateoptions)
66
66
 
67
67
  Returns
68
68
 
@@ -112,7 +112,7 @@ export type TOTPValidateOptions = TOTPOptions & {
112
112
  }
113
113
  ```
114
114
 
115
- See also: [TOTPOptions](./totp.md#interface-totpoptions)
115
+ See also: [TOTPOptions](#interface-totpoptions)
116
116
 
117
117
  Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
118
118