@bitgo/wasm-utxo 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/js/wasm/wasm_utxo.d.ts +11 -14
- package/dist/cjs/js/wasm/wasm_utxo.js +252 -298
- package/dist/cjs/js/wasm/wasm_utxo_bg.wasm +0 -0
- package/dist/cjs/js/wasm/wasm_utxo_bg.wasm.d.ts +53 -53
- package/dist/esm/js/wasm/wasm_utxo.d.ts +11 -14
- package/dist/esm/js/wasm/wasm_utxo_bg.js +257 -293
- package/dist/esm/js/wasm/wasm_utxo_bg.wasm +0 -0
- package/dist/esm/js/wasm/wasm_utxo_bg.wasm.d.ts +53 -53
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
|
|
3
4
|
export class AddressNamespace {
|
|
4
5
|
private constructor();
|
|
5
6
|
free(): void;
|
|
@@ -7,6 +8,7 @@ export class AddressNamespace {
|
|
|
7
8
|
static to_output_script_with_coin(address: string, coin: string): Uint8Array;
|
|
8
9
|
static from_output_script_with_coin(script: Uint8Array, coin: string, format?: string | null): string;
|
|
9
10
|
}
|
|
11
|
+
|
|
10
12
|
export class BitGoPsbt {
|
|
11
13
|
private constructor();
|
|
12
14
|
free(): void;
|
|
@@ -219,6 +221,7 @@ export class BitGoPsbt {
|
|
|
219
221
|
*/
|
|
220
222
|
serialize(): Uint8Array;
|
|
221
223
|
}
|
|
224
|
+
|
|
222
225
|
export class FixedScriptWalletNamespace {
|
|
223
226
|
private constructor();
|
|
224
227
|
free(): void;
|
|
@@ -226,6 +229,7 @@ export class FixedScriptWalletNamespace {
|
|
|
226
229
|
static output_script(keys: WasmRootWalletKeys, chain: number, index: number, network: any): Uint8Array;
|
|
227
230
|
static address(keys: WasmRootWalletKeys, chain: number, index: number, network: any, address_format?: string | null): string;
|
|
228
231
|
}
|
|
232
|
+
|
|
229
233
|
export class UtxolibCompatNamespace {
|
|
230
234
|
private constructor();
|
|
231
235
|
free(): void;
|
|
@@ -249,10 +253,7 @@ export class UtxolibCompatNamespace {
|
|
|
249
253
|
*/
|
|
250
254
|
static from_output_script(script: Uint8Array, network: any, format?: string | null): string;
|
|
251
255
|
}
|
|
252
|
-
|
|
253
|
-
* WASM wrapper for BIP32 extended keys (Xpub/Xpriv)
|
|
254
|
-
* Implements the BIP32Interface TypeScript interface
|
|
255
|
-
*/
|
|
256
|
+
|
|
256
257
|
export class WasmBIP32 {
|
|
257
258
|
private constructor();
|
|
258
259
|
free(): void;
|
|
@@ -345,9 +346,7 @@ export class WasmBIP32 {
|
|
|
345
346
|
*/
|
|
346
347
|
readonly index: number;
|
|
347
348
|
}
|
|
348
|
-
|
|
349
|
-
* WASM wrapper for elliptic curve key pairs (always uses compressed keys)
|
|
350
|
-
*/
|
|
349
|
+
|
|
351
350
|
export class WasmECPair {
|
|
352
351
|
private constructor();
|
|
353
352
|
free(): void;
|
|
@@ -393,9 +392,7 @@ export class WasmECPair {
|
|
|
393
392
|
*/
|
|
394
393
|
readonly private_key: Uint8Array | undefined;
|
|
395
394
|
}
|
|
396
|
-
|
|
397
|
-
* WASM wrapper for ReplayProtection
|
|
398
|
-
*/
|
|
395
|
+
|
|
399
396
|
export class WasmReplayProtection {
|
|
400
397
|
private constructor();
|
|
401
398
|
free(): void;
|
|
@@ -413,10 +410,7 @@ export class WasmReplayProtection {
|
|
|
413
410
|
*/
|
|
414
411
|
static from_output_scripts(output_scripts: Uint8Array[]): WasmReplayProtection;
|
|
415
412
|
}
|
|
416
|
-
|
|
417
|
-
* WASM wrapper for RootWalletKeys
|
|
418
|
-
* Represents a set of three extended public keys with their derivation prefixes
|
|
419
|
-
*/
|
|
413
|
+
|
|
420
414
|
export class WasmRootWalletKeys {
|
|
421
415
|
free(): void;
|
|
422
416
|
[Symbol.dispose](): void;
|
|
@@ -455,6 +449,7 @@ export class WasmRootWalletKeys {
|
|
|
455
449
|
*/
|
|
456
450
|
bitgo_key(): WasmBIP32;
|
|
457
451
|
}
|
|
452
|
+
|
|
458
453
|
export class WrapDescriptor {
|
|
459
454
|
private constructor();
|
|
460
455
|
free(): void;
|
|
@@ -469,6 +464,7 @@ export class WrapDescriptor {
|
|
|
469
464
|
descType(): any;
|
|
470
465
|
toString(): string;
|
|
471
466
|
}
|
|
467
|
+
|
|
472
468
|
export class WrapMiniscript {
|
|
473
469
|
private constructor();
|
|
474
470
|
free(): void;
|
|
@@ -478,6 +474,7 @@ export class WrapMiniscript {
|
|
|
478
474
|
encode(): Uint8Array;
|
|
479
475
|
toString(): string;
|
|
480
476
|
}
|
|
477
|
+
|
|
481
478
|
export class WrapPsbt {
|
|
482
479
|
private constructor();
|
|
483
480
|
free(): void;
|