@bitgo/wasm-utxo 4.37.0 → 4.37.1
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 +4 -2
- package/dist/cjs/js/wasm/wasm_utxo.js +4 -2
- package/dist/cjs/js/wasm/wasm_utxo_bg.wasm +0 -0
- package/dist/cjs/js/wasm/wasm_utxo_bg.wasm.d.ts +57 -57
- package/dist/esm/js/wasm/wasm_utxo.d.ts +4 -2
- package/dist/esm/js/wasm/wasm_utxo_bg.js +4 -2
- package/dist/esm/js/wasm/wasm_utxo_bg.wasm +0 -0
- package/dist/esm/js/wasm/wasm_utxo_bg.wasm.d.ts +57 -57
- package/package.json +1 -1
|
@@ -1184,8 +1184,10 @@ export class WasmDimensions {
|
|
|
1184
1184
|
* Create dimensions from a BitGoPsbt
|
|
1185
1185
|
*
|
|
1186
1186
|
* Parses PSBT inputs and outputs to compute weight bounds without
|
|
1187
|
-
* requiring wallet keys.
|
|
1188
|
-
*
|
|
1187
|
+
* requiring wallet keys. Each input is classified by inspecting its
|
|
1188
|
+
* `witness_script` / `redeem_script` (and taproot metadata), so BitGo
|
|
1189
|
+
* wallet inputs, replay-protection inputs, and externally-signed inputs
|
|
1190
|
+
* are all detected correctly.
|
|
1189
1191
|
*/
|
|
1190
1192
|
static from_psbt(psbt: BitGoPsbt): WasmDimensions;
|
|
1191
1193
|
/**
|
|
@@ -3962,8 +3962,10 @@ class WasmDimensions {
|
|
|
3962
3962
|
* Create dimensions from a BitGoPsbt
|
|
3963
3963
|
*
|
|
3964
3964
|
* Parses PSBT inputs and outputs to compute weight bounds without
|
|
3965
|
-
* requiring wallet keys.
|
|
3966
|
-
*
|
|
3965
|
+
* requiring wallet keys. Each input is classified by inspecting its
|
|
3966
|
+
* `witness_script` / `redeem_script` (and taproot metadata), so BitGo
|
|
3967
|
+
* wallet inputs, replay-protection inputs, and externally-signed inputs
|
|
3968
|
+
* are all detected correctly.
|
|
3967
3969
|
* @param {BitGoPsbt} psbt
|
|
3968
3970
|
* @returns {WasmDimensions}
|
|
3969
3971
|
*/
|
|
Binary file
|
|
@@ -1,30 +1,20 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
|
|
5
|
+
export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6
|
+
export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
|
|
7
|
+
export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
|
|
4
8
|
export const __wbg_addressnamespace_free: (a: number, b: number) => void;
|
|
5
|
-
export const __wbg_bip322namespace_free: (a: number, b: number) => void;
|
|
6
|
-
export const __wbg_messagenamespace_free: (a: number, b: number) => void;
|
|
7
9
|
export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
|
|
8
10
|
export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
|
|
9
|
-
export const __wbg_wasmecpair_free: (a: number, b: number) => void;
|
|
10
11
|
export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
|
|
11
|
-
export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
|
|
12
12
|
export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
|
|
13
13
|
export const __wbg_wrappsbt_free: (a: number, b: number) => void;
|
|
14
14
|
export const __wbg_zcashunifiedaddress_free: (a: number, b: number) => void;
|
|
15
15
|
export const __wbg_zcashv6transaction_free: (a: number, b: number) => void;
|
|
16
16
|
export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
17
17
|
export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
18
|
-
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;
|
|
19
|
-
export const bip322namespace_get_bip322_message: (a: number, b: number, c: number) => void;
|
|
20
|
-
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;
|
|
21
|
-
export const bip322namespace_verify_bip322_psbt_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
22
|
-
export const bip322namespace_verify_bip322_tx_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) => void;
|
|
23
|
-
export const bip322namespace_verify_bip322_tx_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
24
|
-
export const isInspectEnabled: () => number;
|
|
25
|
-
export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
|
|
26
|
-
export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
27
|
-
export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
28
18
|
export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
29
19
|
export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
30
20
|
export const wasmdashtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
@@ -37,16 +27,6 @@ export const wasmdashtransaction_lock_time: (a: number) => number;
|
|
|
37
27
|
export const wasmdashtransaction_output_count: (a: number) => number;
|
|
38
28
|
export const wasmdashtransaction_to_bytes: (a: number, b: number) => void;
|
|
39
29
|
export const wasmdashtransaction_version: (a: number) => number;
|
|
40
|
-
export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
|
|
41
|
-
export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
|
|
42
|
-
export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
|
|
43
|
-
export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
|
|
44
|
-
export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
|
|
45
|
-
export const wasmecpair_private_key: (a: number) => number;
|
|
46
|
-
export const wasmecpair_public_key: (a: number) => number;
|
|
47
|
-
export const wasmecpair_to_wif: (a: number, b: number) => void;
|
|
48
|
-
export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
|
|
49
|
-
export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
|
|
50
30
|
export const wasmtransaction_add_input: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
51
31
|
export const wasmtransaction_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
52
32
|
export const wasmtransaction_add_output: (a: number, b: number, c: number, d: bigint) => number;
|
|
@@ -59,7 +39,6 @@ export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c:
|
|
|
59
39
|
export const wasmtransaction_get_txid: (a: number, b: number) => void;
|
|
60
40
|
export const wasmtransaction_get_vsize: (a: number) => number;
|
|
61
41
|
export const wasmtransaction_to_bytes: (a: number, b: number) => void;
|
|
62
|
-
export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
|
|
63
42
|
export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
64
43
|
export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
|
|
65
44
|
export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
|
|
@@ -132,21 +111,54 @@ export const wasmtransaction_input_count: (a: number) => number;
|
|
|
132
111
|
export const wasmtransaction_output_count: (a: number) => number;
|
|
133
112
|
export const wasmzcashtransaction_input_count: (a: number) => number;
|
|
134
113
|
export const wasmzcashtransaction_output_count: (a: number) => number;
|
|
135
|
-
export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
136
|
-
export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
137
114
|
export const wasmtransaction_lock_time: (a: number) => number;
|
|
138
115
|
export const wasmtransaction_version: (a: number) => number;
|
|
139
116
|
export const wasmzcashtransaction_lock_time: (a: number) => number;
|
|
140
117
|
export const wasmzcashtransaction_version: (a: number) => number;
|
|
141
118
|
export const wrappsbt_lock_time: (a: number) => number;
|
|
142
119
|
export const wrappsbt_version: (a: number) => number;
|
|
120
|
+
export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
|
|
121
|
+
export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
|
|
122
|
+
export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
|
|
123
|
+
export const wrapdescriptor_descType: (a: number, b: number) => void;
|
|
124
|
+
export const wrapdescriptor_encode: (a: number, b: number) => void;
|
|
125
|
+
export const wrapdescriptor_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
126
|
+
export const wrapdescriptor_fromStringDetectType: (a: number, b: number, c: number) => void;
|
|
127
|
+
export const wrapdescriptor_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
128
|
+
export const wrapdescriptor_hasWildcard: (a: number) => number;
|
|
129
|
+
export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
|
|
130
|
+
export const wrapdescriptor_node: (a: number, b: number) => void;
|
|
131
|
+
export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
|
|
132
|
+
export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
|
|
133
|
+
export const wrapdescriptor_toString: (a: number, b: number) => void;
|
|
134
|
+
export const wrapminiscript_encode: (a: number, b: number) => void;
|
|
135
|
+
export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
136
|
+
export const wrapminiscript_fromBitcoinScriptExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
137
|
+
export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
138
|
+
export const wrapminiscript_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
139
|
+
export const wrapminiscript_node: (a: number, b: number) => void;
|
|
140
|
+
export const wrapminiscript_toAsmString: (a: number, b: number) => void;
|
|
141
|
+
export const wrapminiscript_toString: (a: number, b: number) => void;
|
|
142
|
+
export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
|
|
143
|
+
export const __wbg_messagenamespace_free: (a: number, b: number) => void;
|
|
144
|
+
export const inscriptionsnamespace_create_inscription_reveal_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
145
|
+
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;
|
|
146
|
+
export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
|
|
147
|
+
export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
148
|
+
export const __wbg_bip322namespace_free: (a: number, b: number) => void;
|
|
143
149
|
export const __wbg_bitgopsbt_free: (a: number, b: number) => void;
|
|
144
150
|
export const __wbg_fixedscriptwalletnamespace_free: (a: number, b: number) => void;
|
|
145
|
-
export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
|
|
146
151
|
export const __wbg_wasmbip32_free: (a: number, b: number) => void;
|
|
147
152
|
export const __wbg_wasmdimensions_free: (a: number, b: number) => void;
|
|
148
|
-
export const
|
|
153
|
+
export const __wbg_wasmecpair_free: (a: number, b: number) => void;
|
|
149
154
|
export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
|
|
155
|
+
export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
|
|
156
|
+
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;
|
|
157
|
+
export const bip322namespace_get_bip322_message: (a: number, b: number, c: number) => void;
|
|
158
|
+
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;
|
|
159
|
+
export const bip322namespace_verify_bip322_psbt_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
160
|
+
export const bip322namespace_verify_bip322_tx_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) => void;
|
|
161
|
+
export const bip322namespace_verify_bip322_tx_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
150
162
|
export const bitgopsbt_add_input: (a: number, b: number, c: number, d: number, e: number, f: bigint, g: number, h: number, i: number, j: number, k: number) => void;
|
|
151
163
|
export const bitgopsbt_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint, h: number, i: number, j: number, k: number, l: number) => void;
|
|
152
164
|
export const bitgopsbt_add_ironwood_output: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
@@ -240,8 +252,8 @@ export const fixedscriptwalletnamespace_output_script_with_network_str: (a: numb
|
|
|
240
252
|
export const fixedscriptwalletnamespace_p2sh_p2pk_output_script: (a: number, b: number, c: number) => void;
|
|
241
253
|
export const fixedscriptwalletnamespace_supports_script_type: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
242
254
|
export const fixedscriptwalletnamespace_to_wallet_keys: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
243
|
-
export const
|
|
244
|
-
export const
|
|
255
|
+
export const isInspectEnabled: () => number;
|
|
256
|
+
export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
245
257
|
export const wasmbip32_chain_code: (a: number) => number;
|
|
246
258
|
export const wasmbip32_depth: (a: number) => number;
|
|
247
259
|
export const wasmbip32_derive: (a: number, b: number, c: number) => void;
|
|
@@ -279,40 +291,28 @@ export const wasmdimensions_get_weight: (a: number, b: number, c: number) => num
|
|
|
279
291
|
export const wasmdimensions_has_segwit: (a: number) => number;
|
|
280
292
|
export const wasmdimensions_plus: (a: number, b: number) => number;
|
|
281
293
|
export const wasmdimensions_times: (a: number, b: number) => number;
|
|
282
|
-
export const
|
|
283
|
-
export const
|
|
284
|
-
export const
|
|
294
|
+
export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
|
|
295
|
+
export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
|
|
296
|
+
export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
|
|
297
|
+
export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
|
|
298
|
+
export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
|
|
299
|
+
export const wasmecpair_private_key: (a: number) => number;
|
|
300
|
+
export const wasmecpair_public_key: (a: number) => number;
|
|
301
|
+
export const wasmecpair_to_wif: (a: number, b: number) => void;
|
|
302
|
+
export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
|
|
303
|
+
export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
|
|
285
304
|
export const wasmrootwalletkeys_backup_key: (a: number) => number;
|
|
286
305
|
export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
|
|
287
306
|
export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
|
|
288
307
|
export const wasmrootwalletkeys_user_key: (a: number) => number;
|
|
289
308
|
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;
|
|
309
|
+
export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
|
|
290
310
|
export const wasmbip32_from_bip32_properties: (a: number, b: number) => void;
|
|
291
|
-
export const
|
|
311
|
+
export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
312
|
+
export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
292
313
|
export const bitgopsbt_sign_wallet_input: (a: number, b: number, c: number, d: number) => void;
|
|
293
314
|
export const bitgopsbt_sign_all_with_xpriv: (a: number, b: number, c: number) => void;
|
|
294
|
-
export const
|
|
295
|
-
export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
|
|
296
|
-
export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
|
|
297
|
-
export const wrapdescriptor_descType: (a: number, b: number) => void;
|
|
298
|
-
export const wrapdescriptor_encode: (a: number, b: number) => void;
|
|
299
|
-
export const wrapdescriptor_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
300
|
-
export const wrapdescriptor_fromStringDetectType: (a: number, b: number, c: number) => void;
|
|
301
|
-
export const wrapdescriptor_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
302
|
-
export const wrapdescriptor_hasWildcard: (a: number) => number;
|
|
303
|
-
export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
|
|
304
|
-
export const wrapdescriptor_node: (a: number, b: number) => void;
|
|
305
|
-
export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
|
|
306
|
-
export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
|
|
307
|
-
export const wrapdescriptor_toString: (a: number, b: number) => void;
|
|
308
|
-
export const wrapminiscript_encode: (a: number, b: number) => void;
|
|
309
|
-
export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
310
|
-
export const wrapminiscript_fromBitcoinScriptExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
311
|
-
export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
312
|
-
export const wrapminiscript_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
313
|
-
export const wrapminiscript_node: (a: number, b: number) => void;
|
|
314
|
-
export const wrapminiscript_toAsmString: (a: number, b: number) => void;
|
|
315
|
-
export const wrapminiscript_toString: (a: number, b: number) => void;
|
|
315
|
+
export const bitgopsbt_sign_replay_protection_inputs: (a: number, b: number, c: number) => void;
|
|
316
316
|
export const rustsecp256k1_v0_10_0_context_create: (a: number) => number;
|
|
317
317
|
export const rustsecp256k1_v0_10_0_context_destroy: (a: number) => void;
|
|
318
318
|
export const rustsecp256k1_v0_10_0_default_error_callback_fn: (a: number, b: number) => void;
|
|
@@ -1184,8 +1184,10 @@ export class WasmDimensions {
|
|
|
1184
1184
|
* Create dimensions from a BitGoPsbt
|
|
1185
1185
|
*
|
|
1186
1186
|
* Parses PSBT inputs and outputs to compute weight bounds without
|
|
1187
|
-
* requiring wallet keys.
|
|
1188
|
-
*
|
|
1187
|
+
* requiring wallet keys. Each input is classified by inspecting its
|
|
1188
|
+
* `witness_script` / `redeem_script` (and taproot metadata), so BitGo
|
|
1189
|
+
* wallet inputs, replay-protection inputs, and externally-signed inputs
|
|
1190
|
+
* are all detected correctly.
|
|
1189
1191
|
*/
|
|
1190
1192
|
static from_psbt(psbt: BitGoPsbt): WasmDimensions;
|
|
1191
1193
|
/**
|
|
@@ -3951,8 +3951,10 @@ export class WasmDimensions {
|
|
|
3951
3951
|
* Create dimensions from a BitGoPsbt
|
|
3952
3952
|
*
|
|
3953
3953
|
* Parses PSBT inputs and outputs to compute weight bounds without
|
|
3954
|
-
* requiring wallet keys.
|
|
3955
|
-
*
|
|
3954
|
+
* requiring wallet keys. Each input is classified by inspecting its
|
|
3955
|
+
* `witness_script` / `redeem_script` (and taproot metadata), so BitGo
|
|
3956
|
+
* wallet inputs, replay-protection inputs, and externally-signed inputs
|
|
3957
|
+
* are all detected correctly.
|
|
3956
3958
|
* @param {BitGoPsbt} psbt
|
|
3957
3959
|
* @returns {WasmDimensions}
|
|
3958
3960
|
*/
|
|
Binary file
|
|
@@ -1,30 +1,20 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
|
|
5
|
+
export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6
|
+
export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
|
|
7
|
+
export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
|
|
4
8
|
export const __wbg_addressnamespace_free: (a: number, b: number) => void;
|
|
5
|
-
export const __wbg_bip322namespace_free: (a: number, b: number) => void;
|
|
6
|
-
export const __wbg_messagenamespace_free: (a: number, b: number) => void;
|
|
7
9
|
export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
|
|
8
10
|
export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
|
|
9
|
-
export const __wbg_wasmecpair_free: (a: number, b: number) => void;
|
|
10
11
|
export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
|
|
11
|
-
export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
|
|
12
12
|
export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
|
|
13
13
|
export const __wbg_wrappsbt_free: (a: number, b: number) => void;
|
|
14
14
|
export const __wbg_zcashunifiedaddress_free: (a: number, b: number) => void;
|
|
15
15
|
export const __wbg_zcashv6transaction_free: (a: number, b: number) => void;
|
|
16
16
|
export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
17
17
|
export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
18
|
-
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;
|
|
19
|
-
export const bip322namespace_get_bip322_message: (a: number, b: number, c: number) => void;
|
|
20
|
-
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;
|
|
21
|
-
export const bip322namespace_verify_bip322_psbt_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
22
|
-
export const bip322namespace_verify_bip322_tx_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) => void;
|
|
23
|
-
export const bip322namespace_verify_bip322_tx_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
24
|
-
export const isInspectEnabled: () => number;
|
|
25
|
-
export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
|
|
26
|
-
export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
27
|
-
export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
28
18
|
export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
29
19
|
export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
30
20
|
export const wasmdashtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
@@ -37,16 +27,6 @@ export const wasmdashtransaction_lock_time: (a: number) => number;
|
|
|
37
27
|
export const wasmdashtransaction_output_count: (a: number) => number;
|
|
38
28
|
export const wasmdashtransaction_to_bytes: (a: number, b: number) => void;
|
|
39
29
|
export const wasmdashtransaction_version: (a: number) => number;
|
|
40
|
-
export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
|
|
41
|
-
export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
|
|
42
|
-
export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
|
|
43
|
-
export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
|
|
44
|
-
export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
|
|
45
|
-
export const wasmecpair_private_key: (a: number) => number;
|
|
46
|
-
export const wasmecpair_public_key: (a: number) => number;
|
|
47
|
-
export const wasmecpair_to_wif: (a: number, b: number) => void;
|
|
48
|
-
export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
|
|
49
|
-
export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
|
|
50
30
|
export const wasmtransaction_add_input: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
51
31
|
export const wasmtransaction_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
52
32
|
export const wasmtransaction_add_output: (a: number, b: number, c: number, d: bigint) => number;
|
|
@@ -59,7 +39,6 @@ export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c:
|
|
|
59
39
|
export const wasmtransaction_get_txid: (a: number, b: number) => void;
|
|
60
40
|
export const wasmtransaction_get_vsize: (a: number) => number;
|
|
61
41
|
export const wasmtransaction_to_bytes: (a: number, b: number) => void;
|
|
62
|
-
export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
|
|
63
42
|
export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
64
43
|
export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
|
|
65
44
|
export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
|
|
@@ -132,21 +111,54 @@ export const wasmtransaction_input_count: (a: number) => number;
|
|
|
132
111
|
export const wasmtransaction_output_count: (a: number) => number;
|
|
133
112
|
export const wasmzcashtransaction_input_count: (a: number) => number;
|
|
134
113
|
export const wasmzcashtransaction_output_count: (a: number) => number;
|
|
135
|
-
export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
136
|
-
export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
137
114
|
export const wasmtransaction_lock_time: (a: number) => number;
|
|
138
115
|
export const wasmtransaction_version: (a: number) => number;
|
|
139
116
|
export const wasmzcashtransaction_lock_time: (a: number) => number;
|
|
140
117
|
export const wasmzcashtransaction_version: (a: number) => number;
|
|
141
118
|
export const wrappsbt_lock_time: (a: number) => number;
|
|
142
119
|
export const wrappsbt_version: (a: number) => number;
|
|
120
|
+
export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
|
|
121
|
+
export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
|
|
122
|
+
export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
|
|
123
|
+
export const wrapdescriptor_descType: (a: number, b: number) => void;
|
|
124
|
+
export const wrapdescriptor_encode: (a: number, b: number) => void;
|
|
125
|
+
export const wrapdescriptor_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
126
|
+
export const wrapdescriptor_fromStringDetectType: (a: number, b: number, c: number) => void;
|
|
127
|
+
export const wrapdescriptor_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
128
|
+
export const wrapdescriptor_hasWildcard: (a: number) => number;
|
|
129
|
+
export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
|
|
130
|
+
export const wrapdescriptor_node: (a: number, b: number) => void;
|
|
131
|
+
export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
|
|
132
|
+
export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
|
|
133
|
+
export const wrapdescriptor_toString: (a: number, b: number) => void;
|
|
134
|
+
export const wrapminiscript_encode: (a: number, b: number) => void;
|
|
135
|
+
export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
136
|
+
export const wrapminiscript_fromBitcoinScriptExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
137
|
+
export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
138
|
+
export const wrapminiscript_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
139
|
+
export const wrapminiscript_node: (a: number, b: number) => void;
|
|
140
|
+
export const wrapminiscript_toAsmString: (a: number, b: number) => void;
|
|
141
|
+
export const wrapminiscript_toString: (a: number, b: number) => void;
|
|
142
|
+
export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
|
|
143
|
+
export const __wbg_messagenamespace_free: (a: number, b: number) => void;
|
|
144
|
+
export const inscriptionsnamespace_create_inscription_reveal_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
145
|
+
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;
|
|
146
|
+
export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
|
|
147
|
+
export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
148
|
+
export const __wbg_bip322namespace_free: (a: number, b: number) => void;
|
|
143
149
|
export const __wbg_bitgopsbt_free: (a: number, b: number) => void;
|
|
144
150
|
export const __wbg_fixedscriptwalletnamespace_free: (a: number, b: number) => void;
|
|
145
|
-
export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
|
|
146
151
|
export const __wbg_wasmbip32_free: (a: number, b: number) => void;
|
|
147
152
|
export const __wbg_wasmdimensions_free: (a: number, b: number) => void;
|
|
148
|
-
export const
|
|
153
|
+
export const __wbg_wasmecpair_free: (a: number, b: number) => void;
|
|
149
154
|
export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
|
|
155
|
+
export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
|
|
156
|
+
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;
|
|
157
|
+
export const bip322namespace_get_bip322_message: (a: number, b: number, c: number) => void;
|
|
158
|
+
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;
|
|
159
|
+
export const bip322namespace_verify_bip322_psbt_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
160
|
+
export const bip322namespace_verify_bip322_tx_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) => void;
|
|
161
|
+
export const bip322namespace_verify_bip322_tx_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
150
162
|
export const bitgopsbt_add_input: (a: number, b: number, c: number, d: number, e: number, f: bigint, g: number, h: number, i: number, j: number, k: number) => void;
|
|
151
163
|
export const bitgopsbt_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint, h: number, i: number, j: number, k: number, l: number) => void;
|
|
152
164
|
export const bitgopsbt_add_ironwood_output: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
@@ -240,8 +252,8 @@ export const fixedscriptwalletnamespace_output_script_with_network_str: (a: numb
|
|
|
240
252
|
export const fixedscriptwalletnamespace_p2sh_p2pk_output_script: (a: number, b: number, c: number) => void;
|
|
241
253
|
export const fixedscriptwalletnamespace_supports_script_type: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
242
254
|
export const fixedscriptwalletnamespace_to_wallet_keys: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
243
|
-
export const
|
|
244
|
-
export const
|
|
255
|
+
export const isInspectEnabled: () => number;
|
|
256
|
+
export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
245
257
|
export const wasmbip32_chain_code: (a: number) => number;
|
|
246
258
|
export const wasmbip32_depth: (a: number) => number;
|
|
247
259
|
export const wasmbip32_derive: (a: number, b: number, c: number) => void;
|
|
@@ -279,40 +291,28 @@ export const wasmdimensions_get_weight: (a: number, b: number, c: number) => num
|
|
|
279
291
|
export const wasmdimensions_has_segwit: (a: number) => number;
|
|
280
292
|
export const wasmdimensions_plus: (a: number, b: number) => number;
|
|
281
293
|
export const wasmdimensions_times: (a: number, b: number) => number;
|
|
282
|
-
export const
|
|
283
|
-
export const
|
|
284
|
-
export const
|
|
294
|
+
export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
|
|
295
|
+
export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
|
|
296
|
+
export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
|
|
297
|
+
export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
|
|
298
|
+
export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
|
|
299
|
+
export const wasmecpair_private_key: (a: number) => number;
|
|
300
|
+
export const wasmecpair_public_key: (a: number) => number;
|
|
301
|
+
export const wasmecpair_to_wif: (a: number, b: number) => void;
|
|
302
|
+
export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
|
|
303
|
+
export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
|
|
285
304
|
export const wasmrootwalletkeys_backup_key: (a: number) => number;
|
|
286
305
|
export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
|
|
287
306
|
export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
|
|
288
307
|
export const wasmrootwalletkeys_user_key: (a: number) => number;
|
|
289
308
|
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;
|
|
309
|
+
export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
|
|
290
310
|
export const wasmbip32_from_bip32_properties: (a: number, b: number) => void;
|
|
291
|
-
export const
|
|
311
|
+
export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
312
|
+
export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
292
313
|
export const bitgopsbt_sign_wallet_input: (a: number, b: number, c: number, d: number) => void;
|
|
293
314
|
export const bitgopsbt_sign_all_with_xpriv: (a: number, b: number, c: number) => void;
|
|
294
|
-
export const
|
|
295
|
-
export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
|
|
296
|
-
export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
|
|
297
|
-
export const wrapdescriptor_descType: (a: number, b: number) => void;
|
|
298
|
-
export const wrapdescriptor_encode: (a: number, b: number) => void;
|
|
299
|
-
export const wrapdescriptor_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
300
|
-
export const wrapdescriptor_fromStringDetectType: (a: number, b: number, c: number) => void;
|
|
301
|
-
export const wrapdescriptor_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
302
|
-
export const wrapdescriptor_hasWildcard: (a: number) => number;
|
|
303
|
-
export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
|
|
304
|
-
export const wrapdescriptor_node: (a: number, b: number) => void;
|
|
305
|
-
export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
|
|
306
|
-
export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
|
|
307
|
-
export const wrapdescriptor_toString: (a: number, b: number) => void;
|
|
308
|
-
export const wrapminiscript_encode: (a: number, b: number) => void;
|
|
309
|
-
export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
310
|
-
export const wrapminiscript_fromBitcoinScriptExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
311
|
-
export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
312
|
-
export const wrapminiscript_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
313
|
-
export const wrapminiscript_node: (a: number, b: number) => void;
|
|
314
|
-
export const wrapminiscript_toAsmString: (a: number, b: number) => void;
|
|
315
|
-
export const wrapminiscript_toString: (a: number, b: number) => void;
|
|
315
|
+
export const bitgopsbt_sign_replay_protection_inputs: (a: number, b: number, c: number) => void;
|
|
316
316
|
export const rustsecp256k1_v0_10_0_context_create: (a: number) => number;
|
|
317
317
|
export const rustsecp256k1_v0_10_0_context_destroy: (a: number) => void;
|
|
318
318
|
export const rustsecp256k1_v0_10_0_default_error_callback_fn: (a: number, b: number) => void;
|