@bitgo/wasm-utxo 4.2.0 → 4.4.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/fixedScriptWallet/chains.d.ts +1 -1
- package/dist/cjs/js/fixedScriptWallet/chains.js +1 -1
- package/dist/cjs/js/wasm/wasm_utxo_bg.wasm +0 -0
- package/dist/cjs/js/wasm/wasm_utxo_bg.wasm.d.ts +36 -36
- package/dist/esm/js/fixedScriptWallet/chains.d.ts +1 -1
- package/dist/esm/js/fixedScriptWallet/chains.js +1 -1
- package/dist/esm/js/wasm/wasm_utxo_bg.wasm +0 -0
- package/dist/esm/js/wasm/wasm_utxo_bg.wasm.d.ts +36 -36
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { OutputScriptType } from "./scriptType.js";
|
|
2
2
|
/** All valid chain codes as a const tuple */
|
|
3
|
-
export declare const chainCodes: readonly [0, 1, 10, 11, 20, 21, 30, 31, 40, 41];
|
|
3
|
+
export declare const chainCodes: readonly [0, 1, 10, 11, 20, 21, 30, 31, 40, 41, 360, 361];
|
|
4
4
|
/** A valid chain code value */
|
|
5
5
|
export type ChainCode = (typeof chainCodes)[number];
|
|
6
6
|
/** Whether a chain is for receiving (external) or change (internal) addresses */
|
|
@@ -10,7 +10,7 @@ exports.assertChainCode = assertChainCode;
|
|
|
10
10
|
*/
|
|
11
11
|
const wasm_utxo_js_1 = require("../wasm/wasm_utxo.js");
|
|
12
12
|
/** All valid chain codes as a const tuple */
|
|
13
|
-
exports.chainCodes = [0, 1, 10, 11, 20, 21, 30, 31, 40, 41];
|
|
13
|
+
exports.chainCodes = [0, 1, 10, 11, 20, 21, 30, 31, 40, 41, 360, 361];
|
|
14
14
|
// Build static lookup tables once at module load time
|
|
15
15
|
const chainCodeSet = new Set(exports.chainCodes);
|
|
16
16
|
const chainToMeta = new Map();
|
|
Binary file
|
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
|
|
5
|
+
export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
|
|
6
|
+
export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
|
|
7
|
+
export const wrapdescriptor_descType: (a: number, b: number) => void;
|
|
8
|
+
export const wrapdescriptor_encode: (a: number, b: number) => void;
|
|
9
|
+
export const wrapdescriptor_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
10
|
+
export const wrapdescriptor_fromStringDetectType: (a: number, b: number, c: number) => void;
|
|
11
|
+
export const wrapdescriptor_hasWildcard: (a: number) => number;
|
|
12
|
+
export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
|
|
13
|
+
export const wrapdescriptor_node: (a: number, b: number) => void;
|
|
14
|
+
export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
|
|
15
|
+
export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
|
|
16
|
+
export const wrapdescriptor_toString: (a: number, b: number) => void;
|
|
17
|
+
export const wrapminiscript_encode: (a: number, b: number) => void;
|
|
18
|
+
export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
19
|
+
export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
20
|
+
export const wrapminiscript_node: (a: number, b: number) => void;
|
|
21
|
+
export const wrapminiscript_toAsmString: (a: number, b: number) => void;
|
|
22
|
+
export const wrapminiscript_toString: (a: number, b: number) => void;
|
|
4
23
|
export const __wbg_addressnamespace_free: (a: number, b: number) => void;
|
|
5
24
|
export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
|
|
6
25
|
export const __wbg_wasmbip32_free: (a: number, b: number) => void;
|
|
@@ -13,8 +32,6 @@ export const addressnamespace_from_output_script_with_coin: (a: number, b: numbe
|
|
|
13
32
|
export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
14
33
|
export const inscriptionsnamespace_create_inscription_reveal_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
15
34
|
export const inscriptionsnamespace_sign_reveal_transaction: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: bigint) => void;
|
|
16
|
-
export const isInspectEnabled: () => number;
|
|
17
|
-
export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
18
35
|
export const wasmbip32_chain_code: (a: number) => number;
|
|
19
36
|
export const wasmbip32_depth: (a: number) => number;
|
|
20
37
|
export const wasmbip32_derive: (a: number, b: number, c: number) => void;
|
|
@@ -116,51 +133,19 @@ export const wasmtransaction_input_count: (a: number) => number;
|
|
|
116
133
|
export const wasmtransaction_output_count: (a: number) => number;
|
|
117
134
|
export const wasmzcashtransaction_input_count: (a: number) => number;
|
|
118
135
|
export const wasmzcashtransaction_output_count: (a: number) => number;
|
|
119
|
-
export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
120
|
-
export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
121
136
|
export const wasmtransaction_lock_time: (a: number) => number;
|
|
122
137
|
export const wasmtransaction_version: (a: number) => number;
|
|
123
138
|
export const wasmzcashtransaction_lock_time: (a: number) => number;
|
|
124
139
|
export const wasmzcashtransaction_version: (a: number) => number;
|
|
125
140
|
export const wrappsbt_lock_time: (a: number) => number;
|
|
126
141
|
export const wrappsbt_version: (a: number) => number;
|
|
127
|
-
export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
|
|
128
|
-
export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
|
|
129
|
-
export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
|
|
130
|
-
export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
131
|
-
export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
|
|
132
|
-
export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
|
|
133
|
-
export const wasmrootwalletkeys_backup_key: (a: number) => number;
|
|
134
|
-
export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
|
|
135
|
-
export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
|
|
136
|
-
export const wasmrootwalletkeys_user_key: (a: number) => number;
|
|
137
|
-
export const wasmrootwalletkeys_with_derivation_prefixes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
138
|
-
export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
|
|
139
|
-
export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
|
|
140
|
-
export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
|
|
141
|
-
export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
|
|
142
|
-
export const wrapdescriptor_descType: (a: number, b: number) => void;
|
|
143
|
-
export const wrapdescriptor_encode: (a: number, b: number) => void;
|
|
144
|
-
export const wrapdescriptor_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
145
|
-
export const wrapdescriptor_fromStringDetectType: (a: number, b: number, c: number) => void;
|
|
146
|
-
export const wrapdescriptor_hasWildcard: (a: number) => number;
|
|
147
|
-
export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
|
|
148
|
-
export const wrapdescriptor_node: (a: number, b: number) => void;
|
|
149
|
-
export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
|
|
150
|
-
export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
|
|
151
|
-
export const wrapdescriptor_toString: (a: number, b: number) => void;
|
|
152
|
-
export const wrapminiscript_encode: (a: number, b: number) => void;
|
|
153
|
-
export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
154
|
-
export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
155
|
-
export const wrapminiscript_node: (a: number, b: number) => void;
|
|
156
|
-
export const wrapminiscript_toAsmString: (a: number, b: number) => void;
|
|
157
|
-
export const wrapminiscript_toString: (a: number, b: number) => void;
|
|
158
142
|
export const __wbg_bip322namespace_free: (a: number, b: number) => void;
|
|
159
143
|
export const __wbg_bitgopsbt_free: (a: number, b: number) => void;
|
|
160
144
|
export const __wbg_fixedscriptwalletnamespace_free: (a: number, b: number) => void;
|
|
161
145
|
export const __wbg_messagenamespace_free: (a: number, b: number) => void;
|
|
162
146
|
export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
|
|
163
147
|
export const __wbg_wasmdimensions_free: (a: number, b: number) => void;
|
|
148
|
+
export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
|
|
164
149
|
export const bip322namespace_add_bip322_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
|
|
165
150
|
export const bip322namespace_get_bip322_message: (a: number, b: number, c: number) => void;
|
|
166
151
|
export const bip322namespace_verify_bip322_psbt_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
@@ -239,8 +224,10 @@ export const fixedscriptwalletnamespace_output_script_with_network_str: (a: numb
|
|
|
239
224
|
export const fixedscriptwalletnamespace_p2sh_p2pk_output_script: (a: number, b: number, c: number) => void;
|
|
240
225
|
export const fixedscriptwalletnamespace_supports_script_type: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
241
226
|
export const fixedscriptwalletnamespace_to_wallet_keys: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
227
|
+
export const isInspectEnabled: () => number;
|
|
242
228
|
export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
|
|
243
229
|
export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
230
|
+
export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
244
231
|
export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
245
232
|
export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
246
233
|
export const wasmdimensions_empty: () => number;
|
|
@@ -258,9 +245,22 @@ export const wasmdimensions_get_weight: (a: number, b: number, c: number) => num
|
|
|
258
245
|
export const wasmdimensions_has_segwit: (a: number) => number;
|
|
259
246
|
export const wasmdimensions_plus: (a: number, b: number) => number;
|
|
260
247
|
export const wasmdimensions_times: (a: number, b: number) => number;
|
|
248
|
+
export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
|
|
249
|
+
export const bitgopsbt_sign_all_with_xpriv: (a: number, b: number, c: number) => void;
|
|
250
|
+
export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
251
|
+
export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
261
252
|
export const bitgopsbt_sign_wallet_input: (a: number, b: number, c: number, d: number) => void;
|
|
262
253
|
export const bitgopsbt_sign_replay_protection_inputs: (a: number, b: number, c: number) => void;
|
|
263
|
-
export const
|
|
254
|
+
export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
|
|
255
|
+
export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
|
|
256
|
+
export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
257
|
+
export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
|
|
258
|
+
export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
|
|
259
|
+
export const wasmrootwalletkeys_backup_key: (a: number) => number;
|
|
260
|
+
export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
|
|
261
|
+
export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
|
|
262
|
+
export const wasmrootwalletkeys_user_key: (a: number) => number;
|
|
263
|
+
export const wasmrootwalletkeys_with_derivation_prefixes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
264
264
|
export const rustsecp256k1_v0_10_0_context_create: (a: number) => number;
|
|
265
265
|
export const rustsecp256k1_v0_10_0_context_destroy: (a: number) => void;
|
|
266
266
|
export const rustsecp256k1_v0_10_0_default_error_callback_fn: (a: number, b: number) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { OutputScriptType } from "./scriptType.js";
|
|
2
2
|
/** All valid chain codes as a const tuple */
|
|
3
|
-
export declare const chainCodes: readonly [0, 1, 10, 11, 20, 21, 30, 31, 40, 41];
|
|
3
|
+
export declare const chainCodes: readonly [0, 1, 10, 11, 20, 21, 30, 31, 40, 41, 360, 361];
|
|
4
4
|
/** A valid chain code value */
|
|
5
5
|
export type ChainCode = (typeof chainCodes)[number];
|
|
6
6
|
/** Whether a chain is for receiving (external) or change (internal) addresses */
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { FixedScriptWalletNamespace } from "../wasm/wasm_utxo.js";
|
|
8
8
|
/** All valid chain codes as a const tuple */
|
|
9
|
-
export const chainCodes = [0, 1, 10, 11, 20, 21, 30, 31, 40, 41];
|
|
9
|
+
export const chainCodes = [0, 1, 10, 11, 20, 21, 30, 31, 40, 41, 360, 361];
|
|
10
10
|
// Build static lookup tables once at module load time
|
|
11
11
|
const chainCodeSet = new Set(chainCodes);
|
|
12
12
|
const chainToMeta = new Map();
|
|
Binary file
|
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
|
|
5
|
+
export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
|
|
6
|
+
export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
|
|
7
|
+
export const wrapdescriptor_descType: (a: number, b: number) => void;
|
|
8
|
+
export const wrapdescriptor_encode: (a: number, b: number) => void;
|
|
9
|
+
export const wrapdescriptor_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
10
|
+
export const wrapdescriptor_fromStringDetectType: (a: number, b: number, c: number) => void;
|
|
11
|
+
export const wrapdescriptor_hasWildcard: (a: number) => number;
|
|
12
|
+
export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
|
|
13
|
+
export const wrapdescriptor_node: (a: number, b: number) => void;
|
|
14
|
+
export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
|
|
15
|
+
export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
|
|
16
|
+
export const wrapdescriptor_toString: (a: number, b: number) => void;
|
|
17
|
+
export const wrapminiscript_encode: (a: number, b: number) => void;
|
|
18
|
+
export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
19
|
+
export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
20
|
+
export const wrapminiscript_node: (a: number, b: number) => void;
|
|
21
|
+
export const wrapminiscript_toAsmString: (a: number, b: number) => void;
|
|
22
|
+
export const wrapminiscript_toString: (a: number, b: number) => void;
|
|
4
23
|
export const __wbg_addressnamespace_free: (a: number, b: number) => void;
|
|
5
24
|
export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
|
|
6
25
|
export const __wbg_wasmbip32_free: (a: number, b: number) => void;
|
|
@@ -13,8 +32,6 @@ export const addressnamespace_from_output_script_with_coin: (a: number, b: numbe
|
|
|
13
32
|
export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
14
33
|
export const inscriptionsnamespace_create_inscription_reveal_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
15
34
|
export const inscriptionsnamespace_sign_reveal_transaction: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: bigint) => void;
|
|
16
|
-
export const isInspectEnabled: () => number;
|
|
17
|
-
export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
18
35
|
export const wasmbip32_chain_code: (a: number) => number;
|
|
19
36
|
export const wasmbip32_depth: (a: number) => number;
|
|
20
37
|
export const wasmbip32_derive: (a: number, b: number, c: number) => void;
|
|
@@ -116,51 +133,19 @@ export const wasmtransaction_input_count: (a: number) => number;
|
|
|
116
133
|
export const wasmtransaction_output_count: (a: number) => number;
|
|
117
134
|
export const wasmzcashtransaction_input_count: (a: number) => number;
|
|
118
135
|
export const wasmzcashtransaction_output_count: (a: number) => number;
|
|
119
|
-
export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
120
|
-
export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
121
136
|
export const wasmtransaction_lock_time: (a: number) => number;
|
|
122
137
|
export const wasmtransaction_version: (a: number) => number;
|
|
123
138
|
export const wasmzcashtransaction_lock_time: (a: number) => number;
|
|
124
139
|
export const wasmzcashtransaction_version: (a: number) => number;
|
|
125
140
|
export const wrappsbt_lock_time: (a: number) => number;
|
|
126
141
|
export const wrappsbt_version: (a: number) => number;
|
|
127
|
-
export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
|
|
128
|
-
export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
|
|
129
|
-
export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
|
|
130
|
-
export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
131
|
-
export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
|
|
132
|
-
export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
|
|
133
|
-
export const wasmrootwalletkeys_backup_key: (a: number) => number;
|
|
134
|
-
export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
|
|
135
|
-
export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
|
|
136
|
-
export const wasmrootwalletkeys_user_key: (a: number) => number;
|
|
137
|
-
export const wasmrootwalletkeys_with_derivation_prefixes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
138
|
-
export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
|
|
139
|
-
export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
|
|
140
|
-
export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
|
|
141
|
-
export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
|
|
142
|
-
export const wrapdescriptor_descType: (a: number, b: number) => void;
|
|
143
|
-
export const wrapdescriptor_encode: (a: number, b: number) => void;
|
|
144
|
-
export const wrapdescriptor_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
145
|
-
export const wrapdescriptor_fromStringDetectType: (a: number, b: number, c: number) => void;
|
|
146
|
-
export const wrapdescriptor_hasWildcard: (a: number) => number;
|
|
147
|
-
export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
|
|
148
|
-
export const wrapdescriptor_node: (a: number, b: number) => void;
|
|
149
|
-
export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
|
|
150
|
-
export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
|
|
151
|
-
export const wrapdescriptor_toString: (a: number, b: number) => void;
|
|
152
|
-
export const wrapminiscript_encode: (a: number, b: number) => void;
|
|
153
|
-
export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
154
|
-
export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
155
|
-
export const wrapminiscript_node: (a: number, b: number) => void;
|
|
156
|
-
export const wrapminiscript_toAsmString: (a: number, b: number) => void;
|
|
157
|
-
export const wrapminiscript_toString: (a: number, b: number) => void;
|
|
158
142
|
export const __wbg_bip322namespace_free: (a: number, b: number) => void;
|
|
159
143
|
export const __wbg_bitgopsbt_free: (a: number, b: number) => void;
|
|
160
144
|
export const __wbg_fixedscriptwalletnamespace_free: (a: number, b: number) => void;
|
|
161
145
|
export const __wbg_messagenamespace_free: (a: number, b: number) => void;
|
|
162
146
|
export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
|
|
163
147
|
export const __wbg_wasmdimensions_free: (a: number, b: number) => void;
|
|
148
|
+
export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
|
|
164
149
|
export const bip322namespace_add_bip322_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
|
|
165
150
|
export const bip322namespace_get_bip322_message: (a: number, b: number, c: number) => void;
|
|
166
151
|
export const bip322namespace_verify_bip322_psbt_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
@@ -239,8 +224,10 @@ export const fixedscriptwalletnamespace_output_script_with_network_str: (a: numb
|
|
|
239
224
|
export const fixedscriptwalletnamespace_p2sh_p2pk_output_script: (a: number, b: number, c: number) => void;
|
|
240
225
|
export const fixedscriptwalletnamespace_supports_script_type: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
241
226
|
export const fixedscriptwalletnamespace_to_wallet_keys: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
227
|
+
export const isInspectEnabled: () => number;
|
|
242
228
|
export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
|
|
243
229
|
export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
230
|
+
export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
244
231
|
export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
245
232
|
export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
246
233
|
export const wasmdimensions_empty: () => number;
|
|
@@ -258,9 +245,22 @@ export const wasmdimensions_get_weight: (a: number, b: number, c: number) => num
|
|
|
258
245
|
export const wasmdimensions_has_segwit: (a: number) => number;
|
|
259
246
|
export const wasmdimensions_plus: (a: number, b: number) => number;
|
|
260
247
|
export const wasmdimensions_times: (a: number, b: number) => number;
|
|
248
|
+
export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
|
|
249
|
+
export const bitgopsbt_sign_all_with_xpriv: (a: number, b: number, c: number) => void;
|
|
250
|
+
export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
251
|
+
export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
261
252
|
export const bitgopsbt_sign_wallet_input: (a: number, b: number, c: number, d: number) => void;
|
|
262
253
|
export const bitgopsbt_sign_replay_protection_inputs: (a: number, b: number, c: number) => void;
|
|
263
|
-
export const
|
|
254
|
+
export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
|
|
255
|
+
export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
|
|
256
|
+
export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
257
|
+
export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
|
|
258
|
+
export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
|
|
259
|
+
export const wasmrootwalletkeys_backup_key: (a: number) => number;
|
|
260
|
+
export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
|
|
261
|
+
export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
|
|
262
|
+
export const wasmrootwalletkeys_user_key: (a: number) => number;
|
|
263
|
+
export const wasmrootwalletkeys_with_derivation_prefixes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
264
264
|
export const rustsecp256k1_v0_10_0_context_create: (a: number) => number;
|
|
265
265
|
export const rustsecp256k1_v0_10_0_context_destroy: (a: number) => void;
|
|
266
266
|
export const rustsecp256k1_v0_10_0_default_error_callback_fn: (a: number, b: number) => void;
|