@bitgo/wasm-utxo 4.7.0 → 4.8.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.
Binary file
@@ -1,109 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_addressnamespace_free: (a: number, b: number) => void;
5
- export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
6
- export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
7
- export const __wbg_wasmdimensions_free: (a: number, b: number) => void;
8
- export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
9
- export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
10
- export const __wbg_wrappsbt_free: (a: number, b: number) => void;
11
- export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
12
- export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
13
- export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
14
- export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
15
- export const wasmdashtransaction_from_bytes: (a: number, b: number, c: number) => void;
16
- export const wasmdashtransaction_get_inputs: (a: number, b: number) => void;
17
- export const wasmdashtransaction_get_outputs: (a: number, b: number) => void;
18
- export const wasmdashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
19
- export const wasmdashtransaction_get_txid: (a: number, b: number) => void;
20
- export const wasmdashtransaction_input_count: (a: number) => number;
21
- export const wasmdashtransaction_lock_time: (a: number) => number;
22
- export const wasmdashtransaction_output_count: (a: number) => number;
23
- export const wasmdashtransaction_to_bytes: (a: number, b: number) => void;
24
- export const wasmdashtransaction_version: (a: number) => number;
25
- export const wasmdimensions_empty: () => number;
26
- export const wasmdimensions_from_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
27
- export const wasmdimensions_from_input_script_type: (a: number, b: number, c: number, d: number) => void;
28
- export const wasmdimensions_from_output_script_length: (a: number) => number;
29
- export const wasmdimensions_from_output_script_type: (a: number, b: number, c: number) => void;
30
- export const wasmdimensions_from_psbt: (a: number, b: number) => void;
31
- export const wasmdimensions_get_input_vsize: (a: number, b: number, c: number) => number;
32
- export const wasmdimensions_get_input_weight: (a: number, b: number, c: number) => number;
33
- export const wasmdimensions_get_output_vsize: (a: number) => number;
34
- export const wasmdimensions_get_output_weight: (a: number) => number;
35
- export const wasmdimensions_get_vsize: (a: number, b: number, c: number) => number;
36
- export const wasmdimensions_get_weight: (a: number, b: number, c: number) => number;
37
- export const wasmdimensions_has_segwit: (a: number) => number;
38
- export const wasmdimensions_plus: (a: number, b: number) => number;
39
- export const wasmdimensions_times: (a: number, b: number) => number;
40
- export const wasmtransaction_add_input: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
41
- export const wasmtransaction_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
42
- export const wasmtransaction_add_output: (a: number, b: number, c: number, d: bigint) => number;
43
- export const wasmtransaction_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
44
- export const wasmtransaction_create: () => number;
45
- export const wasmtransaction_from_bytes: (a: number, b: number, c: number) => void;
46
- export const wasmtransaction_get_inputs: (a: number, b: number) => void;
47
- export const wasmtransaction_get_outputs: (a: number, b: number) => void;
48
- export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
49
- export const wasmtransaction_get_txid: (a: number, b: number) => void;
50
- export const wasmtransaction_get_vsize: (a: number) => number;
51
- export const wasmtransaction_to_bytes: (a: number, b: number) => void;
52
- export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
53
- export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
54
- export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
55
- export const wasmzcashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
56
- export const wasmzcashtransaction_get_txid: (a: number, b: number) => void;
57
- export const wasmzcashtransaction_to_bytes: (a: number, b: number) => void;
58
- export const wrappsbt_add_input: (a: number, b: number, c: number, d: number, e: number, f: bigint, g: number, h: number, i: number) => void;
59
- export const wrappsbt_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint, h: number, i: number, j: number) => void;
60
- export const wrappsbt_add_output: (a: number, b: number, c: number, d: bigint) => number;
61
- export const wrappsbt_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
62
- export const wrappsbt_clone: (a: number) => number;
63
- export const wrappsbt_delete_input_kv: (a: number, b: number, c: number, d: number) => void;
64
- export const wrappsbt_delete_kv: (a: number, b: number, c: number) => void;
65
- export const wrappsbt_delete_output_kv: (a: number, b: number, c: number, d: number) => void;
66
- export const wrappsbt_deserialize: (a: number, b: number, c: number) => void;
67
- export const wrappsbt_extract_transaction: (a: number, b: number) => void;
68
- export const wrappsbt_finalize_mut: (a: number, b: number) => void;
69
- export const wrappsbt_get_global_xpubs: (a: number) => number;
70
- export const wrappsbt_get_input_kv: (a: number, b: number, c: number, d: number) => void;
71
- export const wrappsbt_get_inputs: (a: number, b: number) => void;
72
- export const wrappsbt_get_kv: (a: number, b: number, c: number) => void;
73
- export const wrappsbt_get_output_kv: (a: number, b: number, c: number, d: number) => void;
74
- export const wrappsbt_get_outputs: (a: number, b: number) => void;
75
- export const wrappsbt_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
76
- export const wrappsbt_get_partial_signatures: (a: number, b: number, c: number) => void;
77
- export const wrappsbt_get_unsigned_tx: (a: number, b: number) => void;
78
- export const wrappsbt_has_partial_signatures: (a: number, b: number, c: number) => void;
79
- export const wrappsbt_input_count: (a: number) => number;
80
- export const wrappsbt_new: (a: number, b: number) => number;
81
- export const wrappsbt_output_count: (a: number) => number;
82
- export const wrappsbt_remove_input: (a: number, b: number, c: number) => void;
83
- export const wrappsbt_remove_output: (a: number, b: number, c: number) => void;
84
- export const wrappsbt_serialize: (a: number, b: number) => void;
85
- export const wrappsbt_set_input_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
86
- export const wrappsbt_set_kv: (a: number, b: number, c: number, d: number, e: number) => void;
87
- export const wrappsbt_set_output_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
88
- export const wrappsbt_sign_all: (a: number, b: number, c: number) => void;
89
- export const wrappsbt_sign_all_with_ecpair: (a: number, b: number, c: number) => void;
90
- export const wrappsbt_sign_with_prv: (a: number, b: number, c: number, d: number) => void;
91
- export const wrappsbt_sign_with_xprv: (a: number, b: number, c: number, d: number) => void;
92
- export const wrappsbt_unsigned_tx_id: (a: number, b: number) => void;
93
- export const wrappsbt_update_input_with_descriptor: (a: number, b: number, c: number, d: number) => void;
94
- export const wrappsbt_update_output_with_descriptor: (a: number, b: number, c: number, d: number) => void;
95
- export const wrappsbt_validate_signature_at_input: (a: number, b: number, c: number, d: number, e: number) => void;
96
- export const wrappsbt_verify_signature_with_key: (a: number, b: number, c: number, d: number) => void;
97
- export const wasmtransaction_input_count: (a: number) => number;
98
- export const wasmtransaction_output_count: (a: number) => number;
99
- export const wasmzcashtransaction_input_count: (a: number) => number;
100
- export const wasmzcashtransaction_output_count: (a: number) => number;
101
- export const wasmtransaction_lock_time: (a: number) => number;
102
- export const wasmtransaction_version: (a: number) => number;
103
- export const wasmzcashtransaction_lock_time: (a: number) => number;
104
- export const wasmzcashtransaction_version: (a: number) => number;
105
- export const wrappsbt_lock_time: (a: number) => number;
106
- export const wrappsbt_version: (a: number) => number;
107
4
  export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
108
5
  export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
109
6
  export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
@@ -247,13 +144,10 @@ export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
247
144
  export const __wbg_messagenamespace_free: (a: number, b: number) => void;
248
145
  export const __wbg_wasmecpair_free: (a: number, b: number) => void;
249
146
  export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
250
- export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
251
147
  export const inscriptionsnamespace_create_inscription_reveal_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
252
148
  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;
253
- export const isInspectEnabled: () => number;
254
149
  export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
255
150
  export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
256
- export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
257
151
  export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
258
152
  export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
259
153
  export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
@@ -269,9 +163,115 @@ export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
269
163
  export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
270
164
  export const wasmrootwalletkeys_user_key: (a: number) => number;
271
165
  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;
166
+ export const __wbg_addressnamespace_free: (a: number, b: number) => void;
167
+ export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
168
+ export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
169
+ export const __wbg_wasmdimensions_free: (a: number, b: number) => void;
170
+ export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
171
+ export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
172
+ export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
173
+ export const __wbg_wrappsbt_free: (a: number, b: number) => void;
174
+ export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
175
+ export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
176
+ export const isInspectEnabled: () => number;
177
+ export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
178
+ export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
179
+ export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
180
+ export const wasmdashtransaction_from_bytes: (a: number, b: number, c: number) => void;
181
+ export const wasmdashtransaction_get_inputs: (a: number, b: number) => void;
182
+ export const wasmdashtransaction_get_outputs: (a: number, b: number) => void;
183
+ export const wasmdashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
184
+ export const wasmdashtransaction_get_txid: (a: number, b: number) => void;
185
+ export const wasmdashtransaction_input_count: (a: number) => number;
186
+ export const wasmdashtransaction_lock_time: (a: number) => number;
187
+ export const wasmdashtransaction_output_count: (a: number) => number;
188
+ export const wasmdashtransaction_to_bytes: (a: number, b: number) => void;
189
+ export const wasmdashtransaction_version: (a: number) => number;
190
+ export const wasmdimensions_empty: () => number;
191
+ export const wasmdimensions_from_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
192
+ export const wasmdimensions_from_input_script_type: (a: number, b: number, c: number, d: number) => void;
193
+ export const wasmdimensions_from_output_script_length: (a: number) => number;
194
+ export const wasmdimensions_from_output_script_type: (a: number, b: number, c: number) => void;
195
+ export const wasmdimensions_from_psbt: (a: number, b: number) => void;
196
+ export const wasmdimensions_get_input_vsize: (a: number, b: number, c: number) => number;
197
+ export const wasmdimensions_get_input_weight: (a: number, b: number, c: number) => number;
198
+ export const wasmdimensions_get_output_vsize: (a: number) => number;
199
+ export const wasmdimensions_get_output_weight: (a: number) => number;
200
+ export const wasmdimensions_get_vsize: (a: number, b: number, c: number) => number;
201
+ export const wasmdimensions_get_weight: (a: number, b: number, c: number) => number;
202
+ export const wasmdimensions_has_segwit: (a: number) => number;
203
+ export const wasmdimensions_plus: (a: number, b: number) => number;
204
+ export const wasmdimensions_times: (a: number, b: number) => number;
205
+ export const wasmtransaction_add_input: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
206
+ export const wasmtransaction_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
207
+ export const wasmtransaction_add_output: (a: number, b: number, c: number, d: bigint) => number;
208
+ export const wasmtransaction_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
209
+ export const wasmtransaction_create: () => number;
210
+ export const wasmtransaction_from_bytes: (a: number, b: number, c: number) => void;
211
+ export const wasmtransaction_get_inputs: (a: number, b: number) => void;
212
+ export const wasmtransaction_get_outputs: (a: number, b: number) => void;
213
+ export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
214
+ export const wasmtransaction_get_txid: (a: number, b: number) => void;
215
+ export const wasmtransaction_get_vsize: (a: number) => number;
216
+ export const wasmtransaction_to_bytes: (a: number, b: number) => void;
272
217
  export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
218
+ export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
219
+ export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
220
+ export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
221
+ export const wasmzcashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
222
+ export const wasmzcashtransaction_get_txid: (a: number, b: number) => void;
223
+ export const wasmzcashtransaction_to_bytes: (a: number, b: number) => void;
224
+ export const wrappsbt_add_input: (a: number, b: number, c: number, d: number, e: number, f: bigint, g: number, h: number, i: number) => void;
225
+ export const wrappsbt_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint, h: number, i: number, j: number) => void;
226
+ export const wrappsbt_add_output: (a: number, b: number, c: number, d: bigint) => number;
227
+ export const wrappsbt_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
228
+ export const wrappsbt_clone: (a: number) => number;
229
+ export const wrappsbt_delete_input_kv: (a: number, b: number, c: number, d: number) => void;
230
+ export const wrappsbt_delete_kv: (a: number, b: number, c: number) => void;
231
+ export const wrappsbt_delete_output_kv: (a: number, b: number, c: number, d: number) => void;
232
+ export const wrappsbt_deserialize: (a: number, b: number, c: number) => void;
233
+ export const wrappsbt_extract_transaction: (a: number, b: number) => void;
234
+ export const wrappsbt_finalize_mut: (a: number, b: number) => void;
235
+ export const wrappsbt_get_global_xpubs: (a: number) => number;
236
+ export const wrappsbt_get_input_kv: (a: number, b: number, c: number, d: number) => void;
237
+ export const wrappsbt_get_inputs: (a: number, b: number) => void;
238
+ export const wrappsbt_get_kv: (a: number, b: number, c: number) => void;
239
+ export const wrappsbt_get_output_kv: (a: number, b: number, c: number, d: number) => void;
240
+ export const wrappsbt_get_outputs: (a: number, b: number) => void;
241
+ export const wrappsbt_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
242
+ export const wrappsbt_get_partial_signatures: (a: number, b: number, c: number) => void;
243
+ export const wrappsbt_get_unsigned_tx: (a: number, b: number) => void;
244
+ export const wrappsbt_has_partial_signatures: (a: number, b: number, c: number) => void;
245
+ export const wrappsbt_input_count: (a: number) => number;
246
+ export const wrappsbt_new: (a: number, b: number) => number;
247
+ export const wrappsbt_output_count: (a: number) => number;
248
+ export const wrappsbt_remove_input: (a: number, b: number, c: number) => void;
249
+ export const wrappsbt_remove_output: (a: number, b: number, c: number) => void;
250
+ export const wrappsbt_serialize: (a: number, b: number) => void;
251
+ export const wrappsbt_set_input_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
252
+ export const wrappsbt_set_kv: (a: number, b: number, c: number, d: number, e: number) => void;
253
+ export const wrappsbt_set_output_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
254
+ export const wrappsbt_sign_all: (a: number, b: number, c: number) => void;
255
+ export const wrappsbt_sign_all_with_ecpair: (a: number, b: number, c: number) => void;
256
+ export const wrappsbt_sign_with_prv: (a: number, b: number, c: number, d: number) => void;
257
+ export const wrappsbt_sign_with_xprv: (a: number, b: number, c: number, d: number) => void;
258
+ export const wrappsbt_unsigned_tx_id: (a: number, b: number) => void;
259
+ export const wrappsbt_update_input_with_descriptor: (a: number, b: number, c: number, d: number) => void;
260
+ export const wrappsbt_update_output_with_descriptor: (a: number, b: number, c: number, d: number) => void;
261
+ export const wrappsbt_validate_signature_at_input: (a: number, b: number, c: number, d: number, e: number) => void;
262
+ export const wrappsbt_verify_signature_with_key: (a: number, b: number, c: number, d: number) => void;
263
+ export const wasmtransaction_input_count: (a: number) => number;
264
+ export const wasmtransaction_output_count: (a: number) => number;
265
+ export const wasmzcashtransaction_input_count: (a: number) => number;
266
+ export const wasmzcashtransaction_output_count: (a: number) => number;
273
267
  export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
274
268
  export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
269
+ export const wasmtransaction_lock_time: (a: number) => number;
270
+ export const wasmtransaction_version: (a: number) => number;
271
+ export const wasmzcashtransaction_lock_time: (a: number) => number;
272
+ export const wasmzcashtransaction_version: (a: number) => number;
273
+ export const wrappsbt_lock_time: (a: number) => number;
274
+ export const wrappsbt_version: (a: number) => number;
275
275
  export const rustsecp256k1_v0_10_0_context_create: (a: number) => number;
276
276
  export const rustsecp256k1_v0_10_0_context_destroy: (a: number) => void;
277
277
  export const rustsecp256k1_v0_10_0_default_error_callback_fn: (a: number, b: number) => void;
Binary file
@@ -1,109 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_addressnamespace_free: (a: number, b: number) => void;
5
- export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
6
- export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
7
- export const __wbg_wasmdimensions_free: (a: number, b: number) => void;
8
- export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
9
- export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
10
- export const __wbg_wrappsbt_free: (a: number, b: number) => void;
11
- export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
12
- export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
13
- export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
14
- export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
15
- export const wasmdashtransaction_from_bytes: (a: number, b: number, c: number) => void;
16
- export const wasmdashtransaction_get_inputs: (a: number, b: number) => void;
17
- export const wasmdashtransaction_get_outputs: (a: number, b: number) => void;
18
- export const wasmdashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
19
- export const wasmdashtransaction_get_txid: (a: number, b: number) => void;
20
- export const wasmdashtransaction_input_count: (a: number) => number;
21
- export const wasmdashtransaction_lock_time: (a: number) => number;
22
- export const wasmdashtransaction_output_count: (a: number) => number;
23
- export const wasmdashtransaction_to_bytes: (a: number, b: number) => void;
24
- export const wasmdashtransaction_version: (a: number) => number;
25
- export const wasmdimensions_empty: () => number;
26
- export const wasmdimensions_from_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
27
- export const wasmdimensions_from_input_script_type: (a: number, b: number, c: number, d: number) => void;
28
- export const wasmdimensions_from_output_script_length: (a: number) => number;
29
- export const wasmdimensions_from_output_script_type: (a: number, b: number, c: number) => void;
30
- export const wasmdimensions_from_psbt: (a: number, b: number) => void;
31
- export const wasmdimensions_get_input_vsize: (a: number, b: number, c: number) => number;
32
- export const wasmdimensions_get_input_weight: (a: number, b: number, c: number) => number;
33
- export const wasmdimensions_get_output_vsize: (a: number) => number;
34
- export const wasmdimensions_get_output_weight: (a: number) => number;
35
- export const wasmdimensions_get_vsize: (a: number, b: number, c: number) => number;
36
- export const wasmdimensions_get_weight: (a: number, b: number, c: number) => number;
37
- export const wasmdimensions_has_segwit: (a: number) => number;
38
- export const wasmdimensions_plus: (a: number, b: number) => number;
39
- export const wasmdimensions_times: (a: number, b: number) => number;
40
- export const wasmtransaction_add_input: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
41
- export const wasmtransaction_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
42
- export const wasmtransaction_add_output: (a: number, b: number, c: number, d: bigint) => number;
43
- export const wasmtransaction_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
44
- export const wasmtransaction_create: () => number;
45
- export const wasmtransaction_from_bytes: (a: number, b: number, c: number) => void;
46
- export const wasmtransaction_get_inputs: (a: number, b: number) => void;
47
- export const wasmtransaction_get_outputs: (a: number, b: number) => void;
48
- export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
49
- export const wasmtransaction_get_txid: (a: number, b: number) => void;
50
- export const wasmtransaction_get_vsize: (a: number) => number;
51
- export const wasmtransaction_to_bytes: (a: number, b: number) => void;
52
- export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
53
- export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
54
- export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
55
- export const wasmzcashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
56
- export const wasmzcashtransaction_get_txid: (a: number, b: number) => void;
57
- export const wasmzcashtransaction_to_bytes: (a: number, b: number) => void;
58
- export const wrappsbt_add_input: (a: number, b: number, c: number, d: number, e: number, f: bigint, g: number, h: number, i: number) => void;
59
- export const wrappsbt_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint, h: number, i: number, j: number) => void;
60
- export const wrappsbt_add_output: (a: number, b: number, c: number, d: bigint) => number;
61
- export const wrappsbt_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
62
- export const wrappsbt_clone: (a: number) => number;
63
- export const wrappsbt_delete_input_kv: (a: number, b: number, c: number, d: number) => void;
64
- export const wrappsbt_delete_kv: (a: number, b: number, c: number) => void;
65
- export const wrappsbt_delete_output_kv: (a: number, b: number, c: number, d: number) => void;
66
- export const wrappsbt_deserialize: (a: number, b: number, c: number) => void;
67
- export const wrappsbt_extract_transaction: (a: number, b: number) => void;
68
- export const wrappsbt_finalize_mut: (a: number, b: number) => void;
69
- export const wrappsbt_get_global_xpubs: (a: number) => number;
70
- export const wrappsbt_get_input_kv: (a: number, b: number, c: number, d: number) => void;
71
- export const wrappsbt_get_inputs: (a: number, b: number) => void;
72
- export const wrappsbt_get_kv: (a: number, b: number, c: number) => void;
73
- export const wrappsbt_get_output_kv: (a: number, b: number, c: number, d: number) => void;
74
- export const wrappsbt_get_outputs: (a: number, b: number) => void;
75
- export const wrappsbt_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
76
- export const wrappsbt_get_partial_signatures: (a: number, b: number, c: number) => void;
77
- export const wrappsbt_get_unsigned_tx: (a: number, b: number) => void;
78
- export const wrappsbt_has_partial_signatures: (a: number, b: number, c: number) => void;
79
- export const wrappsbt_input_count: (a: number) => number;
80
- export const wrappsbt_new: (a: number, b: number) => number;
81
- export const wrappsbt_output_count: (a: number) => number;
82
- export const wrappsbt_remove_input: (a: number, b: number, c: number) => void;
83
- export const wrappsbt_remove_output: (a: number, b: number, c: number) => void;
84
- export const wrappsbt_serialize: (a: number, b: number) => void;
85
- export const wrappsbt_set_input_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
86
- export const wrappsbt_set_kv: (a: number, b: number, c: number, d: number, e: number) => void;
87
- export const wrappsbt_set_output_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
88
- export const wrappsbt_sign_all: (a: number, b: number, c: number) => void;
89
- export const wrappsbt_sign_all_with_ecpair: (a: number, b: number, c: number) => void;
90
- export const wrappsbt_sign_with_prv: (a: number, b: number, c: number, d: number) => void;
91
- export const wrappsbt_sign_with_xprv: (a: number, b: number, c: number, d: number) => void;
92
- export const wrappsbt_unsigned_tx_id: (a: number, b: number) => void;
93
- export const wrappsbt_update_input_with_descriptor: (a: number, b: number, c: number, d: number) => void;
94
- export const wrappsbt_update_output_with_descriptor: (a: number, b: number, c: number, d: number) => void;
95
- export const wrappsbt_validate_signature_at_input: (a: number, b: number, c: number, d: number, e: number) => void;
96
- export const wrappsbt_verify_signature_with_key: (a: number, b: number, c: number, d: number) => void;
97
- export const wasmtransaction_input_count: (a: number) => number;
98
- export const wasmtransaction_output_count: (a: number) => number;
99
- export const wasmzcashtransaction_input_count: (a: number) => number;
100
- export const wasmzcashtransaction_output_count: (a: number) => number;
101
- export const wasmtransaction_lock_time: (a: number) => number;
102
- export const wasmtransaction_version: (a: number) => number;
103
- export const wasmzcashtransaction_lock_time: (a: number) => number;
104
- export const wasmzcashtransaction_version: (a: number) => number;
105
- export const wrappsbt_lock_time: (a: number) => number;
106
- export const wrappsbt_version: (a: number) => number;
107
4
  export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
108
5
  export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
109
6
  export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
@@ -247,13 +144,10 @@ export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
247
144
  export const __wbg_messagenamespace_free: (a: number, b: number) => void;
248
145
  export const __wbg_wasmecpair_free: (a: number, b: number) => void;
249
146
  export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
250
- export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
251
147
  export const inscriptionsnamespace_create_inscription_reveal_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
252
148
  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;
253
- export const isInspectEnabled: () => number;
254
149
  export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
255
150
  export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
256
- export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
257
151
  export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
258
152
  export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
259
153
  export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
@@ -269,9 +163,115 @@ export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
269
163
  export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
270
164
  export const wasmrootwalletkeys_user_key: (a: number) => number;
271
165
  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;
166
+ export const __wbg_addressnamespace_free: (a: number, b: number) => void;
167
+ export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
168
+ export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
169
+ export const __wbg_wasmdimensions_free: (a: number, b: number) => void;
170
+ export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
171
+ export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
172
+ export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
173
+ export const __wbg_wrappsbt_free: (a: number, b: number) => void;
174
+ export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
175
+ export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
176
+ export const isInspectEnabled: () => number;
177
+ export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
178
+ export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
179
+ export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
180
+ export const wasmdashtransaction_from_bytes: (a: number, b: number, c: number) => void;
181
+ export const wasmdashtransaction_get_inputs: (a: number, b: number) => void;
182
+ export const wasmdashtransaction_get_outputs: (a: number, b: number) => void;
183
+ export const wasmdashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
184
+ export const wasmdashtransaction_get_txid: (a: number, b: number) => void;
185
+ export const wasmdashtransaction_input_count: (a: number) => number;
186
+ export const wasmdashtransaction_lock_time: (a: number) => number;
187
+ export const wasmdashtransaction_output_count: (a: number) => number;
188
+ export const wasmdashtransaction_to_bytes: (a: number, b: number) => void;
189
+ export const wasmdashtransaction_version: (a: number) => number;
190
+ export const wasmdimensions_empty: () => number;
191
+ export const wasmdimensions_from_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
192
+ export const wasmdimensions_from_input_script_type: (a: number, b: number, c: number, d: number) => void;
193
+ export const wasmdimensions_from_output_script_length: (a: number) => number;
194
+ export const wasmdimensions_from_output_script_type: (a: number, b: number, c: number) => void;
195
+ export const wasmdimensions_from_psbt: (a: number, b: number) => void;
196
+ export const wasmdimensions_get_input_vsize: (a: number, b: number, c: number) => number;
197
+ export const wasmdimensions_get_input_weight: (a: number, b: number, c: number) => number;
198
+ export const wasmdimensions_get_output_vsize: (a: number) => number;
199
+ export const wasmdimensions_get_output_weight: (a: number) => number;
200
+ export const wasmdimensions_get_vsize: (a: number, b: number, c: number) => number;
201
+ export const wasmdimensions_get_weight: (a: number, b: number, c: number) => number;
202
+ export const wasmdimensions_has_segwit: (a: number) => number;
203
+ export const wasmdimensions_plus: (a: number, b: number) => number;
204
+ export const wasmdimensions_times: (a: number, b: number) => number;
205
+ export const wasmtransaction_add_input: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
206
+ export const wasmtransaction_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
207
+ export const wasmtransaction_add_output: (a: number, b: number, c: number, d: bigint) => number;
208
+ export const wasmtransaction_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
209
+ export const wasmtransaction_create: () => number;
210
+ export const wasmtransaction_from_bytes: (a: number, b: number, c: number) => void;
211
+ export const wasmtransaction_get_inputs: (a: number, b: number) => void;
212
+ export const wasmtransaction_get_outputs: (a: number, b: number) => void;
213
+ export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
214
+ export const wasmtransaction_get_txid: (a: number, b: number) => void;
215
+ export const wasmtransaction_get_vsize: (a: number) => number;
216
+ export const wasmtransaction_to_bytes: (a: number, b: number) => void;
272
217
  export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
218
+ export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
219
+ export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
220
+ export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
221
+ export const wasmzcashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
222
+ export const wasmzcashtransaction_get_txid: (a: number, b: number) => void;
223
+ export const wasmzcashtransaction_to_bytes: (a: number, b: number) => void;
224
+ export const wrappsbt_add_input: (a: number, b: number, c: number, d: number, e: number, f: bigint, g: number, h: number, i: number) => void;
225
+ export const wrappsbt_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint, h: number, i: number, j: number) => void;
226
+ export const wrappsbt_add_output: (a: number, b: number, c: number, d: bigint) => number;
227
+ export const wrappsbt_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
228
+ export const wrappsbt_clone: (a: number) => number;
229
+ export const wrappsbt_delete_input_kv: (a: number, b: number, c: number, d: number) => void;
230
+ export const wrappsbt_delete_kv: (a: number, b: number, c: number) => void;
231
+ export const wrappsbt_delete_output_kv: (a: number, b: number, c: number, d: number) => void;
232
+ export const wrappsbt_deserialize: (a: number, b: number, c: number) => void;
233
+ export const wrappsbt_extract_transaction: (a: number, b: number) => void;
234
+ export const wrappsbt_finalize_mut: (a: number, b: number) => void;
235
+ export const wrappsbt_get_global_xpubs: (a: number) => number;
236
+ export const wrappsbt_get_input_kv: (a: number, b: number, c: number, d: number) => void;
237
+ export const wrappsbt_get_inputs: (a: number, b: number) => void;
238
+ export const wrappsbt_get_kv: (a: number, b: number, c: number) => void;
239
+ export const wrappsbt_get_output_kv: (a: number, b: number, c: number, d: number) => void;
240
+ export const wrappsbt_get_outputs: (a: number, b: number) => void;
241
+ export const wrappsbt_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
242
+ export const wrappsbt_get_partial_signatures: (a: number, b: number, c: number) => void;
243
+ export const wrappsbt_get_unsigned_tx: (a: number, b: number) => void;
244
+ export const wrappsbt_has_partial_signatures: (a: number, b: number, c: number) => void;
245
+ export const wrappsbt_input_count: (a: number) => number;
246
+ export const wrappsbt_new: (a: number, b: number) => number;
247
+ export const wrappsbt_output_count: (a: number) => number;
248
+ export const wrappsbt_remove_input: (a: number, b: number, c: number) => void;
249
+ export const wrappsbt_remove_output: (a: number, b: number, c: number) => void;
250
+ export const wrappsbt_serialize: (a: number, b: number) => void;
251
+ export const wrappsbt_set_input_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
252
+ export const wrappsbt_set_kv: (a: number, b: number, c: number, d: number, e: number) => void;
253
+ export const wrappsbt_set_output_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
254
+ export const wrappsbt_sign_all: (a: number, b: number, c: number) => void;
255
+ export const wrappsbt_sign_all_with_ecpair: (a: number, b: number, c: number) => void;
256
+ export const wrappsbt_sign_with_prv: (a: number, b: number, c: number, d: number) => void;
257
+ export const wrappsbt_sign_with_xprv: (a: number, b: number, c: number, d: number) => void;
258
+ export const wrappsbt_unsigned_tx_id: (a: number, b: number) => void;
259
+ export const wrappsbt_update_input_with_descriptor: (a: number, b: number, c: number, d: number) => void;
260
+ export const wrappsbt_update_output_with_descriptor: (a: number, b: number, c: number, d: number) => void;
261
+ export const wrappsbt_validate_signature_at_input: (a: number, b: number, c: number, d: number, e: number) => void;
262
+ export const wrappsbt_verify_signature_with_key: (a: number, b: number, c: number, d: number) => void;
263
+ export const wasmtransaction_input_count: (a: number) => number;
264
+ export const wasmtransaction_output_count: (a: number) => number;
265
+ export const wasmzcashtransaction_input_count: (a: number) => number;
266
+ export const wasmzcashtransaction_output_count: (a: number) => number;
273
267
  export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
274
268
  export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
269
+ export const wasmtransaction_lock_time: (a: number) => number;
270
+ export const wasmtransaction_version: (a: number) => number;
271
+ export const wasmzcashtransaction_lock_time: (a: number) => number;
272
+ export const wasmzcashtransaction_version: (a: number) => number;
273
+ export const wrappsbt_lock_time: (a: number) => number;
274
+ export const wrappsbt_version: (a: number) => number;
275
275
  export const rustsecp256k1_v0_10_0_context_create: (a: number) => number;
276
276
  export const rustsecp256k1_v0_10_0_context_destroy: (a: number) => void;
277
277
  export const rustsecp256k1_v0_10_0_default_error_callback_fn: (a: number, b: number) => void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bitgo/wasm-utxo",
3
3
  "description": "WebAssembly wrapper for rust-bitcoin (beta)",
4
- "version": "4.7.0",
4
+ "version": "4.8.0",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",