@bitgo/wasm-utxo 4.4.0 → 4.6.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,151 +1,11 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
5
- export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
6
- export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
7
- export const wrapdescriptor_descType: (a: number, b: number) => void;
8
- export const wrapdescriptor_encode: (a: number, b: number) => void;
9
- export const wrapdescriptor_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
10
- export const wrapdescriptor_fromStringDetectType: (a: number, b: number, c: number) => void;
11
- export const wrapdescriptor_hasWildcard: (a: number) => number;
12
- export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
13
- export const wrapdescriptor_node: (a: number, b: number) => void;
14
- export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
15
- export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
16
- export const wrapdescriptor_toString: (a: number, b: number) => void;
17
- export const wrapminiscript_encode: (a: number, b: number) => void;
18
- export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
19
- export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
20
- export const wrapminiscript_node: (a: number, b: number) => void;
21
- export const wrapminiscript_toAsmString: (a: number, b: number) => void;
22
- export const wrapminiscript_toString: (a: number, b: number) => void;
23
- export const __wbg_addressnamespace_free: (a: number, b: number) => void;
24
- export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
25
- export const __wbg_wasmbip32_free: (a: number, b: number) => void;
26
- export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
27
- export const __wbg_wasmecpair_free: (a: number, b: number) => void;
28
- export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
29
- export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
30
- export const __wbg_wrappsbt_free: (a: number, b: number) => void;
31
- export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
32
- export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
33
- export const inscriptionsnamespace_create_inscription_reveal_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
34
- export const inscriptionsnamespace_sign_reveal_transaction: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: bigint) => void;
35
- export const wasmbip32_chain_code: (a: number) => number;
36
- export const wasmbip32_depth: (a: number) => number;
37
- export const wasmbip32_derive: (a: number, b: number, c: number) => void;
38
- export const wasmbip32_derive_hardened: (a: number, b: number, c: number) => void;
39
- export const wasmbip32_derive_path: (a: number, b: number, c: number, d: number) => void;
40
- export const wasmbip32_equals: (a: number, b: number) => number;
41
- export const wasmbip32_fingerprint: (a: number) => number;
42
- export const wasmbip32_from_base58: (a: number, b: number, c: number) => void;
43
- export const wasmbip32_from_bip32_interface: (a: number, b: number) => void;
44
- export const wasmbip32_from_seed: (a: number, b: number, c: number, d: number, e: number) => void;
45
- export const wasmbip32_from_seed_sha256: (a: number, b: number, c: number, d: number, e: number) => void;
46
- export const wasmbip32_from_xprv: (a: number, b: number, c: number) => void;
47
- export const wasmbip32_from_xpub: (a: number, b: number, c: number) => void;
48
- export const wasmbip32_identifier: (a: number) => number;
49
- export const wasmbip32_index: (a: number) => number;
50
- export const wasmbip32_is_neutered: (a: number) => number;
51
- export const wasmbip32_neutered: (a: number) => number;
52
- export const wasmbip32_parent_fingerprint: (a: number) => number;
53
- export const wasmbip32_private_key: (a: number) => number;
54
- export const wasmbip32_public_key: (a: number) => number;
55
- export const wasmbip32_to_base58: (a: number, b: number) => void;
56
- export const wasmbip32_to_wif: (a: number, b: number) => void;
57
- export const wasmdashtransaction_from_bytes: (a: number, b: number, c: number) => void;
58
- export const wasmdashtransaction_get_inputs: (a: number, b: number) => void;
59
- export const wasmdashtransaction_get_outputs: (a: number, b: number) => void;
60
- export const wasmdashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
61
- export const wasmdashtransaction_get_txid: (a: number, b: number) => void;
62
- export const wasmdashtransaction_input_count: (a: number) => number;
63
- export const wasmdashtransaction_lock_time: (a: number) => number;
64
- export const wasmdashtransaction_output_count: (a: number) => number;
65
- export const wasmdashtransaction_to_bytes: (a: number, b: number) => void;
66
- export const wasmdashtransaction_version: (a: number) => number;
67
- export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
68
- export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
69
- export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
70
- export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
71
- export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
72
- export const wasmecpair_private_key: (a: number) => number;
73
- export const wasmecpair_public_key: (a: number) => number;
74
- export const wasmecpair_to_wif: (a: number, b: number) => void;
75
- export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
76
- export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
77
- export const wasmtransaction_add_input: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
78
- export const wasmtransaction_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
79
- export const wasmtransaction_add_output: (a: number, b: number, c: number, d: bigint) => number;
80
- export const wasmtransaction_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
81
- export const wasmtransaction_create: () => number;
82
- export const wasmtransaction_from_bytes: (a: number, b: number, c: number) => void;
83
- export const wasmtransaction_get_inputs: (a: number, b: number) => void;
84
- export const wasmtransaction_get_outputs: (a: number, b: number) => void;
85
- export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
86
- export const wasmtransaction_get_txid: (a: number, b: number) => void;
87
- export const wasmtransaction_get_vsize: (a: number) => number;
88
- export const wasmtransaction_to_bytes: (a: number, b: number) => void;
89
- export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
90
- export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
91
- export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
92
- export const wasmzcashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
93
- export const wasmzcashtransaction_get_txid: (a: number, b: number) => void;
94
- export const wasmzcashtransaction_to_bytes: (a: number, b: number) => void;
95
- export const wrappsbt_add_input: (a: number, b: number, c: number, d: number, e: number, f: bigint, g: number, h: number, i: number) => void;
96
- 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;
97
- export const wrappsbt_add_output: (a: number, b: number, c: number, d: bigint) => number;
98
- export const wrappsbt_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
99
- export const wrappsbt_clone: (a: number) => number;
100
- export const wrappsbt_deserialize: (a: number, b: number, c: number) => void;
101
- export const wrappsbt_extract_transaction: (a: number, b: number) => void;
102
- export const wrappsbt_finalize_mut: (a: number, b: number) => void;
103
- export const wrappsbt_get_global_xpubs: (a: number) => number;
104
- export const wrappsbt_get_input_kv: (a: number, b: number, c: number, d: number) => void;
105
- export const wrappsbt_get_inputs: (a: number, b: number) => void;
106
- export const wrappsbt_get_kv: (a: number, b: number, c: number) => void;
107
- export const wrappsbt_get_output_kv: (a: number, b: number, c: number, d: number) => void;
108
- export const wrappsbt_get_outputs: (a: number, b: number) => void;
109
- export const wrappsbt_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
110
- export const wrappsbt_get_partial_signatures: (a: number, b: number, c: number) => void;
111
- export const wrappsbt_get_unsigned_tx: (a: number, b: number) => void;
112
- export const wrappsbt_has_partial_signatures: (a: number, b: number, c: number) => void;
113
- export const wrappsbt_input_count: (a: number) => number;
114
- export const wrappsbt_new: (a: number, b: number) => number;
115
- export const wrappsbt_output_count: (a: number) => number;
116
- export const wrappsbt_remove_input: (a: number, b: number, c: number) => void;
117
- export const wrappsbt_remove_output: (a: number, b: number, c: number) => void;
118
- export const wrappsbt_serialize: (a: number, b: number) => void;
119
- export const wrappsbt_set_input_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
120
- export const wrappsbt_set_kv: (a: number, b: number, c: number, d: number, e: number) => void;
121
- export const wrappsbt_set_output_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
122
- export const wrappsbt_sign_all: (a: number, b: number, c: number) => void;
123
- export const wrappsbt_sign_all_with_ecpair: (a: number, b: number, c: number) => void;
124
- export const wrappsbt_sign_with_prv: (a: number, b: number, c: number, d: number) => void;
125
- export const wrappsbt_sign_with_xprv: (a: number, b: number, c: number, d: number) => void;
126
- export const wrappsbt_unsigned_tx_id: (a: number, b: number) => void;
127
- export const wrappsbt_update_input_with_descriptor: (a: number, b: number, c: number, d: number) => void;
128
- export const wrappsbt_update_output_with_descriptor: (a: number, b: number, c: number, d: number) => void;
129
- export const wrappsbt_validate_signature_at_input: (a: number, b: number, c: number, d: number, e: number) => void;
130
- export const wrappsbt_verify_signature_with_key: (a: number, b: number, c: number, d: number) => void;
131
- export const wasmbip32_from_bip32_properties: (a: number, b: number) => void;
132
- export const wasmtransaction_input_count: (a: number) => number;
133
- export const wasmtransaction_output_count: (a: number) => number;
134
- export const wasmzcashtransaction_input_count: (a: number) => number;
135
- export const wasmzcashtransaction_output_count: (a: number) => number;
136
- export const wasmtransaction_lock_time: (a: number) => number;
137
- export const wasmtransaction_version: (a: number) => number;
138
- export const wasmzcashtransaction_lock_time: (a: number) => number;
139
- export const wasmzcashtransaction_version: (a: number) => number;
140
- export const wrappsbt_lock_time: (a: number) => number;
141
- export const wrappsbt_version: (a: number) => number;
142
4
  export const __wbg_bip322namespace_free: (a: number, b: number) => void;
143
5
  export const __wbg_bitgopsbt_free: (a: number, b: number) => void;
144
6
  export const __wbg_fixedscriptwalletnamespace_free: (a: number, b: number) => void;
145
- export const __wbg_messagenamespace_free: (a: number, b: number) => void;
146
- export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
147
- export const __wbg_wasmdimensions_free: (a: number, b: number) => void;
148
- export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
7
+ export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
8
+ export const __wbg_wasmbip32_free: (a: number, b: number) => void;
149
9
  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;
150
10
  export const bip322namespace_get_bip322_message: (a: number, b: number, c: number) => void;
151
11
  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;
@@ -169,6 +29,9 @@ export const bitgopsbt_combine_musig2_nonces: (a: number, b: number, c: number)
169
29
  export const bitgopsbt_create_empty: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
170
30
  export const bitgopsbt_create_empty_zcash: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
171
31
  export const bitgopsbt_create_empty_zcash_at_height: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
32
+ export const bitgopsbt_delete_input_kv: (a: number, b: number, c: number, d: number) => void;
33
+ export const bitgopsbt_delete_kv: (a: number, b: number, c: number) => void;
34
+ export const bitgopsbt_delete_output_kv: (a: number, b: number, c: number, d: number) => void;
172
35
  export const bitgopsbt_expiry_height: (a: number) => number;
173
36
  export const bitgopsbt_extract_bitcoin_transaction: (a: number, b: number) => void;
174
37
  export const bitgopsbt_extract_dash_transaction: (a: number, b: number) => void;
@@ -177,7 +40,10 @@ export const bitgopsbt_extract_transaction: (a: number, b: number) => void;
177
40
  export const bitgopsbt_extract_zcash_transaction: (a: number, b: number) => void;
178
41
  export const bitgopsbt_finalize_all_inputs: (a: number, b: number) => void;
179
42
  export const bitgopsbt_from_bytes: (a: number, b: number, c: number, d: number, e: number) => void;
180
- export const bitgopsbt_from_half_signed_legacy_transaction: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
43
+ export const bitgopsbt_from_half_signed_legacy_transaction: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
44
+ export const bitgopsbt_from_half_signed_legacy_transaction_dash: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
45
+ export const bitgopsbt_from_half_signed_legacy_transaction_zcash_with_block_height: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
46
+ export const bitgopsbt_from_half_signed_legacy_transaction_zcash_with_branch_id: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
181
47
  export const bitgopsbt_generate_musig2_nonces: (a: number, b: number, c: number, d: number, e: number) => void;
182
48
  export const bitgopsbt_get_global_xpubs: (a: number) => number;
183
49
  export const bitgopsbt_get_input_kv: (a: number, b: number, c: number, d: number) => void;
@@ -224,12 +90,101 @@ export const fixedscriptwalletnamespace_output_script_with_network_str: (a: numb
224
90
  export const fixedscriptwalletnamespace_p2sh_p2pk_output_script: (a: number, b: number, c: number) => void;
225
91
  export const fixedscriptwalletnamespace_supports_script_type: (a: number, b: number, c: number, d: number, e: number) => void;
226
92
  export const fixedscriptwalletnamespace_to_wallet_keys: (a: number, b: number, c: number, d: number, e: number) => void;
227
- export const isInspectEnabled: () => number;
93
+ export const inscriptionsnamespace_create_inscription_reveal_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
94
+ 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;
95
+ export const wasmbip32_chain_code: (a: number) => number;
96
+ export const wasmbip32_depth: (a: number) => number;
97
+ export const wasmbip32_derive: (a: number, b: number, c: number) => void;
98
+ export const wasmbip32_derive_hardened: (a: number, b: number, c: number) => void;
99
+ export const wasmbip32_derive_path: (a: number, b: number, c: number, d: number) => void;
100
+ export const wasmbip32_equals: (a: number, b: number) => number;
101
+ export const wasmbip32_fingerprint: (a: number) => number;
102
+ export const wasmbip32_from_base58: (a: number, b: number, c: number) => void;
103
+ export const wasmbip32_from_bip32_interface: (a: number, b: number) => void;
104
+ export const wasmbip32_from_seed: (a: number, b: number, c: number, d: number, e: number) => void;
105
+ export const wasmbip32_from_seed_sha256: (a: number, b: number, c: number, d: number, e: number) => void;
106
+ export const wasmbip32_from_xprv: (a: number, b: number, c: number) => void;
107
+ export const wasmbip32_from_xpub: (a: number, b: number, c: number) => void;
108
+ export const wasmbip32_identifier: (a: number) => number;
109
+ export const wasmbip32_index: (a: number) => number;
110
+ export const wasmbip32_is_neutered: (a: number) => number;
111
+ export const wasmbip32_neutered: (a: number) => number;
112
+ export const wasmbip32_parent_fingerprint: (a: number) => number;
113
+ export const wasmbip32_private_key: (a: number) => number;
114
+ export const wasmbip32_public_key: (a: number) => number;
115
+ export const wasmbip32_to_base58: (a: number, b: number) => void;
116
+ export const wasmbip32_to_wif: (a: number, b: number) => void;
117
+ export const wasmbip32_from_bip32_properties: (a: number, b: number) => void;
118
+ export const bitgopsbt_sign_wallet_input: (a: number, b: number, c: number, d: number) => void;
119
+ export const bitgopsbt_sign_all_with_xpriv: (a: number, b: number, c: number) => void;
120
+ export const bitgopsbt_sign_replay_protection_inputs: (a: number, b: number, c: number) => void;
121
+ export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
122
+ export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
123
+ export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
124
+ export const wrapdescriptor_descType: (a: number, b: number) => void;
125
+ export const wrapdescriptor_encode: (a: number, b: number) => void;
126
+ export const wrapdescriptor_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
127
+ export const wrapdescriptor_fromStringDetectType: (a: number, b: number, c: 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_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
137
+ export const wrapminiscript_node: (a: number, b: number) => void;
138
+ export const wrapminiscript_toAsmString: (a: number, b: number) => void;
139
+ export const wrapminiscript_toString: (a: number, b: number) => void;
140
+ export const __wbg_messagenamespace_free: (a: number, b: number) => void;
141
+ export const __wbg_wasmecpair_free: (a: number, b: number) => void;
142
+ export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
143
+ export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
228
144
  export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
229
145
  export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
146
+ export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
147
+ export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
148
+ export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
149
+ export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
150
+ export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
151
+ export const wasmecpair_private_key: (a: number) => number;
152
+ export const wasmecpair_public_key: (a: number) => number;
153
+ export const wasmecpair_to_wif: (a: number, b: number) => void;
154
+ export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
155
+ export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
156
+ export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
157
+ export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
158
+ export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
159
+ export const wasmrootwalletkeys_backup_key: (a: number) => number;
160
+ export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
161
+ export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
162
+ export const wasmrootwalletkeys_user_key: (a: number) => number;
163
+ 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;
164
+ export const __wbg_addressnamespace_free: (a: number, b: number) => void;
165
+ export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
166
+ export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
167
+ export const __wbg_wasmdimensions_free: (a: number, b: number) => void;
168
+ export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
169
+ export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
170
+ export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
171
+ export const __wbg_wrappsbt_free: (a: number, b: number) => void;
172
+ export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
173
+ export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
174
+ export const isInspectEnabled: () => number;
230
175
  export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
231
176
  export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
232
177
  export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
178
+ export const wasmdashtransaction_from_bytes: (a: number, b: number, c: number) => void;
179
+ export const wasmdashtransaction_get_inputs: (a: number, b: number) => void;
180
+ export const wasmdashtransaction_get_outputs: (a: number, b: number) => void;
181
+ export const wasmdashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
182
+ export const wasmdashtransaction_get_txid: (a: number, b: number) => void;
183
+ export const wasmdashtransaction_input_count: (a: number) => number;
184
+ export const wasmdashtransaction_lock_time: (a: number) => number;
185
+ export const wasmdashtransaction_output_count: (a: number) => number;
186
+ export const wasmdashtransaction_to_bytes: (a: number, b: number) => void;
187
+ export const wasmdashtransaction_version: (a: number) => number;
233
188
  export const wasmdimensions_empty: () => number;
234
189
  export const wasmdimensions_from_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
235
190
  export const wasmdimensions_from_input_script_type: (a: number, b: number, c: number, d: number) => void;
@@ -245,22 +200,76 @@ export const wasmdimensions_get_weight: (a: number, b: number, c: number) => num
245
200
  export const wasmdimensions_has_segwit: (a: number) => number;
246
201
  export const wasmdimensions_plus: (a: number, b: number) => number;
247
202
  export const wasmdimensions_times: (a: number, b: number) => number;
203
+ export const wasmtransaction_add_input: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
204
+ export const wasmtransaction_add_input_at_index: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
205
+ export const wasmtransaction_add_output: (a: number, b: number, c: number, d: bigint) => number;
206
+ export const wasmtransaction_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
207
+ export const wasmtransaction_create: () => number;
208
+ export const wasmtransaction_from_bytes: (a: number, b: number, c: number) => void;
209
+ export const wasmtransaction_get_inputs: (a: number, b: number) => void;
210
+ export const wasmtransaction_get_outputs: (a: number, b: number) => void;
211
+ export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
212
+ export const wasmtransaction_get_txid: (a: number, b: number) => void;
213
+ export const wasmtransaction_get_vsize: (a: number) => number;
214
+ export const wasmtransaction_to_bytes: (a: number, b: number) => void;
248
215
  export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
249
- export const bitgopsbt_sign_all_with_xpriv: (a: number, b: number, c: number) => void;
216
+ export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
217
+ export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
218
+ export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
219
+ export const wasmzcashtransaction_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
220
+ export const wasmzcashtransaction_get_txid: (a: number, b: number) => void;
221
+ export const wasmzcashtransaction_to_bytes: (a: number, b: number) => void;
222
+ export const wrappsbt_add_input: (a: number, b: number, c: number, d: number, e: number, f: bigint, g: number, h: number, i: number) => void;
223
+ 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;
224
+ export const wrappsbt_add_output: (a: number, b: number, c: number, d: bigint) => number;
225
+ export const wrappsbt_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
226
+ export const wrappsbt_clone: (a: number) => number;
227
+ export const wrappsbt_delete_input_kv: (a: number, b: number, c: number, d: number) => void;
228
+ export const wrappsbt_delete_kv: (a: number, b: number, c: number) => void;
229
+ export const wrappsbt_delete_output_kv: (a: number, b: number, c: number, d: number) => void;
230
+ export const wrappsbt_deserialize: (a: number, b: number, c: number) => void;
231
+ export const wrappsbt_extract_transaction: (a: number, b: number) => void;
232
+ export const wrappsbt_finalize_mut: (a: number, b: number) => void;
233
+ export const wrappsbt_get_global_xpubs: (a: number) => number;
234
+ export const wrappsbt_get_input_kv: (a: number, b: number, c: number, d: number) => void;
235
+ export const wrappsbt_get_inputs: (a: number, b: number) => void;
236
+ export const wrappsbt_get_kv: (a: number, b: number, c: number) => void;
237
+ export const wrappsbt_get_output_kv: (a: number, b: number, c: number, d: number) => void;
238
+ export const wrappsbt_get_outputs: (a: number, b: number) => void;
239
+ export const wrappsbt_get_outputs_with_address: (a: number, b: number, c: number, d: number) => void;
240
+ export const wrappsbt_get_partial_signatures: (a: number, b: number, c: number) => void;
241
+ export const wrappsbt_get_unsigned_tx: (a: number, b: number) => void;
242
+ export const wrappsbt_has_partial_signatures: (a: number, b: number, c: number) => void;
243
+ export const wrappsbt_input_count: (a: number) => number;
244
+ export const wrappsbt_new: (a: number, b: number) => number;
245
+ export const wrappsbt_output_count: (a: number) => number;
246
+ export const wrappsbt_remove_input: (a: number, b: number, c: number) => void;
247
+ export const wrappsbt_remove_output: (a: number, b: number, c: number) => void;
248
+ export const wrappsbt_serialize: (a: number, b: number) => void;
249
+ export const wrappsbt_set_input_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
250
+ export const wrappsbt_set_kv: (a: number, b: number, c: number, d: number, e: number) => void;
251
+ export const wrappsbt_set_output_kv: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
252
+ export const wrappsbt_sign_all: (a: number, b: number, c: number) => void;
253
+ export const wrappsbt_sign_all_with_ecpair: (a: number, b: number, c: number) => void;
254
+ export const wrappsbt_sign_with_prv: (a: number, b: number, c: number, d: number) => void;
255
+ export const wrappsbt_sign_with_xprv: (a: number, b: number, c: number, d: number) => void;
256
+ export const wrappsbt_unsigned_tx_id: (a: number, b: number) => void;
257
+ export const wrappsbt_update_input_with_descriptor: (a: number, b: number, c: number, d: number) => void;
258
+ export const wrappsbt_update_output_with_descriptor: (a: number, b: number, c: number, d: number) => void;
259
+ export const wrappsbt_validate_signature_at_input: (a: number, b: number, c: number, d: number, e: number) => void;
260
+ export const wrappsbt_verify_signature_with_key: (a: number, b: number, c: number, d: number) => void;
261
+ export const wasmtransaction_input_count: (a: number) => number;
262
+ export const wasmtransaction_output_count: (a: number) => number;
263
+ export const wasmzcashtransaction_input_count: (a: number) => number;
264
+ export const wasmzcashtransaction_output_count: (a: number) => number;
250
265
  export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
251
266
  export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
252
- export const bitgopsbt_sign_wallet_input: (a: number, b: number, c: number, d: number) => void;
253
- export const bitgopsbt_sign_replay_protection_inputs: (a: number, b: number, c: number) => void;
254
- export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
255
- export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
256
- export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
257
- export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
258
- export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
259
- export const wasmrootwalletkeys_backup_key: (a: number) => number;
260
- export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
261
- export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
262
- export const wasmrootwalletkeys_user_key: (a: number) => number;
263
- export const wasmrootwalletkeys_with_derivation_prefixes: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
267
+ export const wasmtransaction_lock_time: (a: number) => number;
268
+ export const wasmtransaction_version: (a: number) => number;
269
+ export const wasmzcashtransaction_lock_time: (a: number) => number;
270
+ export const wasmzcashtransaction_version: (a: number) => number;
271
+ export const wrappsbt_lock_time: (a: number) => number;
272
+ export const wrappsbt_version: (a: number) => number;
264
273
  export const rustsecp256k1_v0_10_0_context_create: (a: number) => number;
265
274
  export const rustsecp256k1_v0_10_0_context_destroy: (a: number) => void;
266
275
  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.4.0",
4
+ "version": "4.6.0",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",