@bsv/sdk 1.0.34 → 1.0.36

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.
@@ -1,6 +1,6 @@
1
1
  # API
2
2
 
3
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
3
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
4
4
 
5
5
  ## Interfaces
6
6
 
@@ -21,7 +21,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
21
21
  | [PublicKey](#class-publickey) | [Writer](#class-writer) |
22
22
  | [RIPEMD160](#class-ripemd160) | |
23
23
 
24
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
24
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
25
25
 
26
26
  ---
27
27
 
@@ -169,7 +169,7 @@ mersenne.split(new BigNumber('2345', 16), new BigNumber());
169
169
 
170
170
  </details>
171
171
 
172
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
172
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
173
173
 
174
174
  ---
175
175
  ### Class: K256
@@ -262,7 +262,7 @@ k256.split(input, output);
262
262
 
263
263
  </details>
264
264
 
265
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
265
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
266
266
 
267
267
  ---
268
268
  ### Class: ReductionContext
@@ -795,7 +795,7 @@ this.verify2(new BigNumber(10).toRed(this), new BigNumber(20)); //throws an Erro
795
795
 
796
796
  </details>
797
797
 
798
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
798
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
799
799
 
800
800
  ---
801
801
  ### Class: BigNumber
@@ -4181,7 +4181,7 @@ const zeroBits = bn.zeroBits(); // 3
4181
4181
 
4182
4182
  </details>
4183
4183
 
4184
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
4184
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
4185
4185
 
4186
4186
  ---
4187
4187
  ### Class: MontgomoryMethod
@@ -4392,7 +4392,7 @@ const product = montMethod.mul(a, b);
4392
4392
 
4393
4393
  </details>
4394
4394
 
4395
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
4395
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
4396
4396
 
4397
4397
  ---
4398
4398
  ### Class: BasePoint
@@ -4419,7 +4419,7 @@ export default abstract class BasePoint {
4419
4419
  }
4420
4420
  ```
4421
4421
 
4422
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
4422
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
4423
4423
 
4424
4424
  ---
4425
4425
  ### Class: JacobianPoint
@@ -4746,7 +4746,7 @@ const pointP = pointJ.toP(); // The point in affine coordinates.
4746
4746
 
4747
4747
  </details>
4748
4748
 
4749
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
4749
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
4750
4750
 
4751
4751
  ---
4752
4752
  ### Class: RIPEMD160
@@ -4786,7 +4786,7 @@ h: number[]
4786
4786
 
4787
4787
  </details>
4788
4788
 
4789
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
4789
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
4790
4790
 
4791
4791
  ---
4792
4792
  ### Class: SHA256
@@ -4845,7 +4845,7 @@ k: number[]
4845
4845
 
4846
4846
  </details>
4847
4847
 
4848
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
4848
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
4849
4849
 
4850
4850
  ---
4851
4851
  ### Class: SHA1
@@ -4903,7 +4903,7 @@ k: number[]
4903
4903
 
4904
4904
  </details>
4905
4905
 
4906
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
4906
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
4907
4907
 
4908
4908
  ---
4909
4909
  ### Class: SHA512
@@ -4962,7 +4962,7 @@ k: number[]
4962
4962
 
4963
4963
  </details>
4964
4964
 
4965
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
4965
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
4966
4966
 
4967
4967
  ---
4968
4968
  ### Class: SHA256HMAC
@@ -5108,7 +5108,7 @@ myHMAC.update('deadbeef', 'hex');
5108
5108
 
5109
5109
  </details>
5110
5110
 
5111
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
5111
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
5112
5112
 
5113
5113
  ---
5114
5114
  ### Class: SHA512HMAC
@@ -5254,7 +5254,7 @@ myHMAC.update('deadbeef', 'hex');
5254
5254
 
5255
5255
  </details>
5256
5256
 
5257
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
5257
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
5258
5258
 
5259
5259
  ---
5260
5260
  ### Class: Writer
@@ -5287,7 +5287,7 @@ export class Writer {
5287
5287
  }
5288
5288
  ```
5289
5289
 
5290
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
5290
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
5291
5291
 
5292
5292
  ---
5293
5293
  ### Class: Reader
@@ -5318,7 +5318,7 @@ export class Reader {
5318
5318
  }
5319
5319
  ```
5320
5320
 
5321
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
5321
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
5322
5322
 
5323
5323
  ---
5324
5324
  ### Class: Point
@@ -5899,7 +5899,7 @@ const isValid = aPoint.validate();
5899
5899
 
5900
5900
  </details>
5901
5901
 
5902
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
5902
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
5903
5903
 
5904
5904
  ---
5905
5905
  ### Class: Curve
@@ -5967,7 +5967,7 @@ export default class Curve {
5967
5967
  }
5968
5968
  ```
5969
5969
 
5970
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
5970
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
5971
5971
 
5972
5972
  ---
5973
5973
  ### Class: DRBG
@@ -6063,7 +6063,7 @@ drbg.update('e13af...');
6063
6063
 
6064
6064
  </details>
6065
6065
 
6066
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
6066
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
6067
6067
 
6068
6068
  ---
6069
6069
  ### Class: Signature
@@ -6349,7 +6349,7 @@ const isVerified = signature.verify(msg, publicKey);
6349
6349
 
6350
6350
  </details>
6351
6351
 
6352
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
6352
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
6353
6353
 
6354
6354
  ---
6355
6355
  ### Class: PrivateKey
@@ -6685,7 +6685,7 @@ const isSignatureValid = privateKey.verify('Hello, World!', signature);
6685
6685
 
6686
6686
  </details>
6687
6687
 
6688
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
6688
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
6689
6689
 
6690
6690
  ---
6691
6691
  ### Class: PublicKey
@@ -6954,7 +6954,7 @@ const isVerified = myPubKey.verify(myMessage, mySignature)
6954
6954
 
6955
6955
  </details>
6956
6956
 
6957
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
6957
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
6958
6958
 
6959
6959
  ---
6960
6960
  ### Class: SymmetricKey
@@ -7055,7 +7055,7 @@ const symmetricKey = SymmetricKey.fromRandom();
7055
7055
 
7056
7056
  </details>
7057
7057
 
7058
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7058
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7059
7059
 
7060
7060
  ---
7061
7061
  ### Class: TransactionSignature
@@ -7104,7 +7104,7 @@ public hasLowS(): boolean
7104
7104
 
7105
7105
  </details>
7106
7106
 
7107
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7107
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7108
7108
 
7109
7109
  ---
7110
7110
  ## Functions
@@ -7119,7 +7119,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
7119
7119
  | [toArray](#function-toarray) |
7120
7120
  | [toBase64](#function-tobase64) |
7121
7121
 
7122
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7122
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7123
7123
 
7124
7124
  ---
7125
7125
 
@@ -7144,7 +7144,7 @@ Argument Details
7144
7144
 
7145
7145
  </details>
7146
7146
 
7147
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7147
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7148
7148
 
7149
7149
  ---
7150
7150
  ### Function: pbkdf2
@@ -7178,7 +7178,7 @@ Argument Details
7178
7178
 
7179
7179
  </details>
7180
7180
 
7181
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7181
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7182
7182
 
7183
7183
  ---
7184
7184
  ### Function: toBase64
@@ -7211,7 +7211,7 @@ Argument Details
7211
7211
 
7212
7212
  </details>
7213
7213
 
7214
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7214
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7215
7215
 
7216
7216
  ---
7217
7217
  ### Function: AES
@@ -7220,7 +7220,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
7220
7220
  export function AES(input: number[], key: number[]): number[]
7221
7221
  ```
7222
7222
 
7223
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7223
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7224
7224
 
7225
7225
  ---
7226
7226
  ### Function: ghash
@@ -7229,7 +7229,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
7229
7229
  export function ghash(input: number[], hashSubKey: number[]): number[]
7230
7230
  ```
7231
7231
 
7232
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7232
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7233
7233
 
7234
7234
  ---
7235
7235
  ### Function: AESGCM
@@ -7241,7 +7241,7 @@ export function AESGCM(plainText: number[], additionalAuthenticatedData: number[
7241
7241
  }
7242
7242
  ```
7243
7243
 
7244
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7244
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7245
7245
 
7246
7246
  ---
7247
7247
  ### Function: AESGCMDecrypt
@@ -7250,9 +7250,11 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
7250
7250
  export function AESGCMDecrypt(cipherText: number[], additionalAuthenticatedData: number[], initializationVector: number[], authenticationTag: number[], key: number[]): number[] | null
7251
7251
  ```
7252
7252
 
7253
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7253
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7254
7254
 
7255
7255
  ---
7256
+ ## Types
7257
+
7256
7258
  ## Variables
7257
7259
 
7258
7260
  | | | |
@@ -7267,7 +7269,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
7267
7269
  | [hash256](#variable-hash256) | [sha512hmac](#variable-sha512hmac) | |
7268
7270
  | [incrementLeastSignificantThirtyTwoBits](#variable-incrementleastsignificantthirtytwobits) | [sign](#variable-sign) | |
7269
7271
 
7270
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7272
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7271
7273
 
7272
7274
  ---
7273
7275
 
@@ -7279,7 +7281,7 @@ ripemd160 = (msg: number[] | string, enc?: "hex" | "utf8"): number[] => {
7279
7281
  }
7280
7282
  ```
7281
7283
 
7282
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7284
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7283
7285
 
7284
7286
  ---
7285
7287
  ### Variable: sha1
@@ -7290,7 +7292,7 @@ sha1 = (msg: number[] | string, enc?: "hex" | "utf8"): number[] => {
7290
7292
  }
7291
7293
  ```
7292
7294
 
7293
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7295
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7294
7296
 
7295
7297
  ---
7296
7298
  ### Variable: sha256
@@ -7301,7 +7303,7 @@ sha256 = (msg: number[] | string, enc?: "hex" | "utf8"): number[] => {
7301
7303
  }
7302
7304
  ```
7303
7305
 
7304
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7306
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7305
7307
 
7306
7308
  ---
7307
7309
  ### Variable: sha512
@@ -7312,7 +7314,7 @@ sha512 = (msg: number[] | string, enc?: "hex" | "utf8"): number[] => {
7312
7314
  }
7313
7315
  ```
7314
7316
 
7315
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7317
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7316
7318
 
7317
7319
  ---
7318
7320
  ### Variable: hash256
@@ -7324,7 +7326,7 @@ hash256 = (msg: number[] | string, enc?: "hex" | "utf8"): number[] => {
7324
7326
  }
7325
7327
  ```
7326
7328
 
7327
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7329
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7328
7330
 
7329
7331
  ---
7330
7332
  ### Variable: hash160
@@ -7336,7 +7338,7 @@ hash160 = (msg: number[] | string, enc?: "hex" | "utf8"): number[] => {
7336
7338
  }
7337
7339
  ```
7338
7340
 
7339
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7341
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7340
7342
 
7341
7343
  ---
7342
7344
  ### Variable: sha256hmac
@@ -7347,7 +7349,7 @@ sha256hmac = (key: number[] | string, msg: number[] | string, enc?: "hex"): numb
7347
7349
  }
7348
7350
  ```
7349
7351
 
7350
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7352
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7351
7353
 
7352
7354
  ---
7353
7355
  ### Variable: sha512hmac
@@ -7358,7 +7360,7 @@ sha512hmac = (key: number[] | string, msg: number[] | string, enc?: "hex"): numb
7358
7360
  }
7359
7361
  ```
7360
7362
 
7361
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7363
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7362
7364
 
7363
7365
  ---
7364
7366
  ### Variable: zero2
@@ -7374,7 +7376,7 @@ zero2 = (word: string): string => {
7374
7376
  }
7375
7377
  ```
7376
7378
 
7377
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7379
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7378
7380
 
7379
7381
  ---
7380
7382
  ### Variable: toHex
@@ -7389,7 +7391,7 @@ toHex = (msg: number[]): string => {
7389
7391
  }
7390
7392
  ```
7391
7393
 
7392
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7394
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7393
7395
 
7394
7396
  ---
7395
7397
  ### Variable: toArray
@@ -7451,7 +7453,7 @@ toArray = (msg: any, enc?: "hex" | "utf8" | "base64"): any[] => {
7451
7453
  }
7452
7454
  ```
7453
7455
 
7454
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7456
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7455
7457
 
7456
7458
  ---
7457
7459
  ### Variable: toUTF8
@@ -7489,7 +7491,7 @@ toUTF8 = (arr: number[]): string => {
7489
7491
  }
7490
7492
  ```
7491
7493
 
7492
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7494
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7493
7495
 
7494
7496
  ---
7495
7497
  ### Variable: encode
@@ -7507,7 +7509,7 @@ encode = (arr: number[], enc?: "hex" | "utf8"): string | number[] => {
7507
7509
  }
7508
7510
  ```
7509
7511
 
7510
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7512
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7511
7513
 
7512
7514
  ---
7513
7515
  ### Variable: fromBase58
@@ -7543,7 +7545,7 @@ fromBase58 = (str: string): number[] => {
7543
7545
  }
7544
7546
  ```
7545
7547
 
7546
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7548
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7547
7549
 
7548
7550
  ---
7549
7551
  ### Variable: toBase58
@@ -7578,7 +7580,7 @@ toBase58 = (bin: number[]): string => {
7578
7580
  }
7579
7581
  ```
7580
7582
 
7581
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7583
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7582
7584
 
7583
7585
  ---
7584
7586
  ### Variable: toBase58Check
@@ -7591,7 +7593,7 @@ toBase58Check = (bin: number[], prefix: number[] = [0]) => {
7591
7593
  }
7592
7594
  ```
7593
7595
 
7594
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7596
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7595
7597
 
7596
7598
  ---
7597
7599
  ### Variable: fromBase58Check
@@ -7616,7 +7618,7 @@ fromBase58Check = (str: string, enc?: "hex", prefixLength: number = 1) => {
7616
7618
  }
7617
7619
  ```
7618
7620
 
7619
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7621
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7620
7622
 
7621
7623
  ---
7622
7624
  ### Variable: sign
@@ -7682,7 +7684,7 @@ sign = (msg: BigNumber, key: BigNumber, forceLowS: boolean = false, customK?: Bi
7682
7684
  }
7683
7685
  ```
7684
7686
 
7685
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7687
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7686
7688
 
7687
7689
  ---
7688
7690
  ### Variable: verify
@@ -7710,7 +7712,7 @@ verify = (msg: BigNumber, sig: Signature, key: Point): boolean => {
7710
7712
  }
7711
7713
  ```
7712
7714
 
7713
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7715
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7714
7716
 
7715
7717
  ---
7716
7718
  ### Variable: checkBit
@@ -7721,7 +7723,7 @@ checkBit = function (byteArray: number[], byteIndex: number, bitIndex: number):
7721
7723
  }
7722
7724
  ```
7723
7725
 
7724
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7726
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7725
7727
 
7726
7728
  ---
7727
7729
  ### Variable: getBytes
@@ -7737,7 +7739,7 @@ getBytes = function (numericValue: number): number[] {
7737
7739
  }
7738
7740
  ```
7739
7741
 
7740
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7742
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7741
7743
 
7742
7744
  ---
7743
7745
  ### Variable: exclusiveOR
@@ -7753,7 +7755,7 @@ exclusiveOR = function (block0: number[], block1: number[]): number[] {
7753
7755
  }
7754
7756
  ```
7755
7757
 
7756
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7758
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7757
7759
 
7758
7760
  ---
7759
7761
  ### Variable: rightShift
@@ -7775,7 +7777,7 @@ rightShift = function (block: number[]): number[] {
7775
7777
  }
7776
7778
  ```
7777
7779
 
7778
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7780
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7779
7781
 
7780
7782
  ---
7781
7783
  ### Variable: multiply
@@ -7803,7 +7805,7 @@ multiply = function (block0: number[], block1: number[]): number[] {
7803
7805
  }
7804
7806
  ```
7805
7807
 
7806
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7808
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7807
7809
 
7808
7810
  ---
7809
7811
  ### Variable: incrementLeastSignificantThirtyTwoBits
@@ -7825,6 +7827,6 @@ incrementLeastSignificantThirtyTwoBits = function (block: number[]): number[] {
7825
7827
  }
7826
7828
  ```
7827
7829
 
7828
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
7830
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
7829
7831
 
7830
7832
  ---
package/docs/script.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # API
2
2
 
3
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
3
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
4
4
 
5
5
  ## Interfaces
6
6
 
@@ -9,7 +9,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
9
9
  | [ScriptChunk](#interface-scriptchunk) |
10
10
  | [ScriptTemplate](#interface-scripttemplate) |
11
11
 
12
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
12
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
13
13
 
14
14
  ---
15
15
 
@@ -24,7 +24,7 @@ export default interface ScriptChunk {
24
24
  }
25
25
  ```
26
26
 
27
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
27
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
28
28
 
29
29
  ---
30
30
  ### Interface: ScriptTemplate
@@ -68,7 +68,7 @@ unlock: (...params: any) => {
68
68
 
69
69
  </details>
70
70
 
71
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
71
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
72
72
 
73
73
  ---
74
74
  ## Classes
@@ -82,7 +82,7 @@ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](
82
82
  | [Spend](#class-spend) |
83
83
  | [UnlockingScript](#class-unlockingscript) |
84
84
 
85
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
85
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
86
86
 
87
87
  ---
88
88
 
@@ -379,7 +379,7 @@ Argument Details
379
379
 
380
380
  </details>
381
381
 
382
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
382
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
383
383
 
384
384
  ---
385
385
  ### Class: LockingScript
@@ -422,7 +422,7 @@ Always returns false for a LockingScript instance.
422
422
 
423
423
  </details>
424
424
 
425
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
425
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
426
426
 
427
427
  ---
428
428
  ### Class: UnlockingScript
@@ -465,7 +465,7 @@ Always returns true for an UnlockingScript instance.
465
465
 
466
466
  </details>
467
467
 
468
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
468
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
469
469
 
470
470
  ---
471
471
  ### Class: Spend
@@ -600,7 +600,7 @@ if (spend.validate()) {
600
600
 
601
601
  </details>
602
602
 
603
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
603
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
604
604
 
605
605
  ---
606
606
  ### Class: P2PKH
@@ -675,7 +675,7 @@ Argument Details
675
675
 
676
676
  </details>
677
677
 
678
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
678
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
679
679
 
680
680
  ---
681
681
  ### Class: RPuzzle
@@ -761,10 +761,12 @@ Argument Details
761
761
 
762
762
  </details>
763
763
 
764
- Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Variables](#variables)
764
+ Links: [API](#api), [Interfaces](#interfaces), [Classes](#classes), [Functions](#functions), [Types](#types), [Variables](#variables)
765
765
 
766
766
  ---
767
767
  ## Functions
768
768
 
769
+ ## Types
770
+
769
771
  ## Variables
770
772