@bitgo/wasm-utxo 4.25.0 → 4.27.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.
@@ -1,26 +1,16 @@
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
4
  export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
6
- export const __wbg_messagenamespace_free: (a: number, b: number) => void;
7
- export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
8
5
  export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
9
- export const __wbg_wasmdimensions_free: (a: number, b: number) => void;
6
+ export const __wbg_wasmecpair_free: (a: number, b: number) => void;
10
7
  export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
11
- export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
12
8
  export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
13
9
  export const __wbg_wrappsbt_free: (a: number, b: number) => void;
14
- export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
15
- export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
10
+ export const __wbg_zcashunifiedaddress_free: (a: number, b: number) => void;
11
+ export const __wbg_zcashv6transaction_free: (a: number, b: number) => void;
16
12
  export const inscriptionsnamespace_create_inscription_reveal_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
17
13
  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;
18
- export const isInspectEnabled: () => number;
19
- export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
20
- export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
21
- export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
22
- export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
23
- export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
24
14
  export const wasmdashtransaction_from_bytes: (a: number, b: number, c: number) => void;
25
15
  export const wasmdashtransaction_get_inputs: (a: number, b: number) => void;
26
16
  export const wasmdashtransaction_get_outputs: (a: number, b: number) => void;
@@ -31,21 +21,16 @@ export const wasmdashtransaction_lock_time: (a: number) => number;
31
21
  export const wasmdashtransaction_output_count: (a: number) => number;
32
22
  export const wasmdashtransaction_to_bytes: (a: number, b: number) => void;
33
23
  export const wasmdashtransaction_version: (a: number) => number;
34
- export const wasmdimensions_empty: () => number;
35
- export const wasmdimensions_from_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
36
- export const wasmdimensions_from_input_script_type: (a: number, b: number, c: number, d: number) => void;
37
- export const wasmdimensions_from_output_script_length: (a: number) => number;
38
- export const wasmdimensions_from_output_script_type: (a: number, b: number, c: number) => void;
39
- export const wasmdimensions_from_psbt: (a: number, b: number) => void;
40
- export const wasmdimensions_get_input_vsize: (a: number, b: number, c: number) => number;
41
- export const wasmdimensions_get_input_weight: (a: number, b: number, c: number) => number;
42
- export const wasmdimensions_get_output_vsize: (a: number) => number;
43
- export const wasmdimensions_get_output_weight: (a: number) => number;
44
- export const wasmdimensions_get_vsize: (a: number, b: number, c: number) => number;
45
- export const wasmdimensions_get_weight: (a: number, b: number, c: number) => number;
46
- export const wasmdimensions_has_segwit: (a: number) => number;
47
- export const wasmdimensions_plus: (a: number, b: number) => number;
48
- export const wasmdimensions_times: (a: number, b: number) => number;
24
+ export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
25
+ export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
26
+ export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
27
+ export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
28
+ export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
29
+ export const wasmecpair_private_key: (a: number) => number;
30
+ export const wasmecpair_public_key: (a: number) => number;
31
+ export const wasmecpair_to_wif: (a: number, b: number) => void;
32
+ export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
33
+ export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
49
34
  export const wasmtransaction_add_input: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
50
35
  export const wasmtransaction_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
51
36
  export const wasmtransaction_add_output: (a: number, b: number, c: number, d: bigint) => number;
@@ -58,7 +43,6 @@ export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c:
58
43
  export const wasmtransaction_get_txid: (a: number, b: number) => void;
59
44
  export const wasmtransaction_get_vsize: (a: number) => number;
60
45
  export const wasmtransaction_to_bytes: (a: number, b: number) => void;
61
- export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
62
46
  export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
63
47
  export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
64
48
  export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
@@ -108,12 +92,26 @@ export const wrappsbt_update_input_with_descriptor: (a: number, b: number, c: nu
108
92
  export const wrappsbt_update_output_with_descriptor: (a: number, b: number, c: number, d: number) => void;
109
93
  export const wrappsbt_validate_signature_at_input: (a: number, b: number, c: number, d: number, e: number) => void;
110
94
  export const wrappsbt_verify_signature_with_key: (a: number, b: number, c: number, d: number) => void;
95
+ export const zcash_branch_id_for_height: (a: number, b: number, c: number, d: number) => void;
96
+ export const zcashunifiedaddress_contains: (a: number, b: number, c: number, d: number) => void;
97
+ export const zcashunifiedaddress_orchardReceiver: (a: number, b: number) => void;
98
+ export const zcashunifiedaddress_parse: (a: number, b: number, c: number, d: number, e: number) => void;
99
+ export const zcashunifiedaddress_saplingReceiver: (a: number, b: number) => void;
100
+ export const zcashunifiedaddress_transparentScript: (a: number, b: number) => void;
101
+ export const zcashv6transaction_consensusBranchId: (a: number) => number;
102
+ export const zcashv6transaction_expiryHeight: (a: number) => number;
103
+ export const zcashv6transaction_fromBytes: (a: number, b: number, c: number) => void;
104
+ export const zcashv6transaction_getId: (a: number, b: number) => void;
105
+ export const zcashv6transaction_ironwoodActionCount: (a: number) => number;
106
+ export const zcashv6transaction_ironwoodAnchor: (a: number, b: number) => void;
107
+ export const zcashv6transaction_ironwoodFlags: (a: number) => number;
108
+ export const zcashv6transaction_ironwoodValueBalance: (a: number) => bigint;
109
+ export const zcashv6transaction_toBytes: (a: number, b: number) => void;
110
+ export const zcashv6transaction_txidBytes: (a: number, b: number) => void;
111
111
  export const wasmtransaction_input_count: (a: number) => number;
112
112
  export const wasmtransaction_output_count: (a: number) => number;
113
113
  export const wasmzcashtransaction_input_count: (a: number) => number;
114
114
  export const wasmzcashtransaction_output_count: (a: number) => number;
115
- export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
116
- export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
117
115
  export const wasmtransaction_lock_time: (a: number) => number;
118
116
  export const wasmtransaction_version: (a: number) => number;
119
117
  export const wasmzcashtransaction_lock_time: (a: number) => number;
@@ -145,8 +143,8 @@ export const wrapminiscript_toString: (a: number, b: number) => void;
145
143
  export const __wbg_bip322namespace_free: (a: number, b: number) => void;
146
144
  export const __wbg_bitgopsbt_free: (a: number, b: number) => void;
147
145
  export const __wbg_fixedscriptwalletnamespace_free: (a: number, b: number) => void;
146
+ export const __wbg_messagenamespace_free: (a: number, b: number) => void;
148
147
  export const __wbg_wasmbip32_free: (a: number, b: number) => void;
149
- export const __wbg_wasmecpair_free: (a: number, b: number) => void;
150
148
  export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
151
149
  export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
152
150
  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;
@@ -238,6 +236,8 @@ export const fixedscriptwalletnamespace_output_script_with_network_str: (a: numb
238
236
  export const fixedscriptwalletnamespace_p2sh_p2pk_output_script: (a: number, b: number, c: number) => void;
239
237
  export const fixedscriptwalletnamespace_supports_script_type: (a: number, b: number, c: number, d: number, e: number) => void;
240
238
  export const fixedscriptwalletnamespace_to_wallet_keys: (a: number, b: number, c: number, d: number, e: number) => void;
239
+ export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
240
+ export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
241
241
  export const wasmbip32_chain_code: (a: number) => number;
242
242
  export const wasmbip32_depth: (a: number) => number;
243
243
  export const wasmbip32_derive: (a: number, b: number, c: number) => void;
@@ -260,16 +260,6 @@ export const wasmbip32_private_key: (a: number) => number;
260
260
  export const wasmbip32_public_key: (a: number) => number;
261
261
  export const wasmbip32_to_base58: (a: number, b: number) => void;
262
262
  export const wasmbip32_to_wif: (a: number, b: number) => void;
263
- export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
264
- export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
265
- export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
266
- export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
267
- export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
268
- export const wasmecpair_private_key: (a: number) => number;
269
- export const wasmecpair_public_key: (a: number) => number;
270
- export const wasmecpair_to_wif: (a: number, b: number) => void;
271
- export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
272
- export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
273
263
  export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
274
264
  export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
275
265
  export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
@@ -278,11 +268,38 @@ export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
278
268
  export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
279
269
  export const wasmrootwalletkeys_user_key: (a: number) => number;
280
270
  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;
281
- export const zcash_branch_id_for_height: (a: number, b: number, c: number, d: number) => void;
282
271
  export const wasmbip32_from_bip32_properties: (a: number, b: number) => void;
272
+ export const bitgopsbt_sign_replay_protection_inputs: (a: number, b: number, c: number) => void;
283
273
  export const bitgopsbt_sign_wallet_input: (a: number, b: number, c: number, d: number) => void;
284
274
  export const bitgopsbt_sign_all_with_xpriv: (a: number, b: number, c: number) => void;
285
- export const bitgopsbt_sign_replay_protection_inputs: (a: number, b: number, c: number) => void;
275
+ export const __wbg_addressnamespace_free: (a: number, b: number) => void;
276
+ export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
277
+ export const __wbg_wasmdimensions_free: (a: number, b: number) => void;
278
+ export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
279
+ export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
280
+ export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
281
+ export const isInspectEnabled: () => number;
282
+ export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
283
+ export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
284
+ export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
285
+ export const wasmdimensions_empty: () => number;
286
+ export const wasmdimensions_from_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
287
+ export const wasmdimensions_from_input_script_type: (a: number, b: number, c: number, d: number) => void;
288
+ export const wasmdimensions_from_output_script_length: (a: number) => number;
289
+ export const wasmdimensions_from_output_script_type: (a: number, b: number, c: number) => void;
290
+ export const wasmdimensions_from_psbt: (a: number, b: number) => void;
291
+ export const wasmdimensions_get_input_vsize: (a: number, b: number, c: number) => number;
292
+ export const wasmdimensions_get_input_weight: (a: number, b: number, c: number) => number;
293
+ export const wasmdimensions_get_output_vsize: (a: number) => number;
294
+ export const wasmdimensions_get_output_weight: (a: number) => number;
295
+ export const wasmdimensions_get_vsize: (a: number, b: number, c: number) => number;
296
+ export const wasmdimensions_get_weight: (a: number, b: number, c: number) => number;
297
+ export const wasmdimensions_has_segwit: (a: number) => number;
298
+ export const wasmdimensions_plus: (a: number, b: number) => number;
299
+ export const wasmdimensions_times: (a: number, b: number) => number;
300
+ export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
301
+ export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
302
+ export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
286
303
  export const rustsecp256k1_v0_10_0_context_create: (a: number) => number;
287
304
  export const rustsecp256k1_v0_10_0_context_destroy: (a: number) => void;
288
305
  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.25.0",
4
+ "version": "4.27.0",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",