@bitgo/wasm-utxo 1.34.0 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/js/fixedScriptWallet/BitGoPsbt.js +8 -6
- package/dist/cjs/js/index.d.ts +1 -0
- package/dist/cjs/js/wasm/wasm_utxo.d.ts +1384 -1331
- package/dist/cjs/js/wasm/wasm_utxo.js +2021 -2036
- package/dist/cjs/js/wasm/wasm_utxo_bg.wasm +0 -0
- package/dist/cjs/js/wasm/wasm_utxo_bg.wasm.d.ts +49 -48
- package/dist/esm/js/fixedScriptWallet/BitGoPsbt.js +8 -6
- package/dist/esm/js/index.d.ts +1 -0
- package/dist/esm/js/wasm/wasm_utxo.d.ts +1384 -1331
- package/dist/esm/js/wasm/wasm_utxo.js +7 -2
- package/dist/esm/js/wasm/wasm_utxo_bg.js +1990 -2013
- package/dist/esm/js/wasm/wasm_utxo_bg.wasm +0 -0
- package/dist/esm/js/wasm/wasm_utxo_bg.wasm.d.ts +49 -48
- package/package.json +1 -1
|
Binary file
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
+
export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
|
|
5
|
+
export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
|
|
6
|
+
export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
7
|
+
export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
|
|
8
|
+
export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
|
|
9
|
+
export const wasmrootwalletkeys_backup_key: (a: number) => number;
|
|
10
|
+
export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
|
|
11
|
+
export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
|
|
12
|
+
export const wasmrootwalletkeys_user_key: (a: number) => number;
|
|
13
|
+
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;
|
|
4
14
|
export const __wbg_bip322namespace_free: (a: number, b: number) => void;
|
|
5
15
|
export const __wbg_bitgopsbt_free: (a: number, b: number) => void;
|
|
6
16
|
export const __wbg_fixedscriptwalletnamespace_free: (a: number, b: number) => void;
|
|
7
17
|
export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
|
|
8
18
|
export const __wbg_wasmdimensions_free: (a: number, b: number) => void;
|
|
9
|
-
export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
|
|
10
|
-
export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
|
|
11
|
-
export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
|
|
12
19
|
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;
|
|
13
20
|
export const bip322namespace_verify_bip322_psbt_input: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
14
21
|
export const bip322namespace_verify_bip322_psbt_input_with_pubkeys: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
@@ -80,26 +87,15 @@ export const wasmdimensions_get_weight: (a: number, b: number, c: number) => num
|
|
|
80
87
|
export const wasmdimensions_has_segwit: (a: number) => number;
|
|
81
88
|
export const wasmdimensions_plus: (a: number, b: number) => number;
|
|
82
89
|
export const wasmdimensions_times: (a: number, b: number) => number;
|
|
83
|
-
export const wasmrootwalletkeys_backup_key: (a: number) => number;
|
|
84
|
-
export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
|
|
85
|
-
export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
|
|
86
|
-
export const wasmrootwalletkeys_user_key: (a: number) => number;
|
|
87
|
-
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;
|
|
88
|
-
export const wasmtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
89
|
-
export const wasmtransaction_get_txid: (a: number, b: number) => void;
|
|
90
|
-
export const wasmtransaction_get_vsize: (a: number) => number;
|
|
91
|
-
export const wasmtransaction_to_bytes: (a: number, b: number) => void;
|
|
92
|
-
export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: 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
90
|
export const bitgopsbt_sign_wallet_input: (a: number, b: number, c: number, d: number) => void;
|
|
96
|
-
export const bitgopsbt_sign_replay_protection_inputs: (a: number, b: number, c: number) => void;
|
|
97
91
|
export const bitgopsbt_sign_all_with_xpriv: (a: number, b: number, c: number) => void;
|
|
92
|
+
export const bitgopsbt_sign_replay_protection_inputs: (a: number, b: number, c: number) => void;
|
|
98
93
|
export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
|
|
99
94
|
export const __wbg_wasmbip32_free: (a: number, b: number) => void;
|
|
100
|
-
export const
|
|
101
|
-
export const
|
|
102
|
-
export const
|
|
95
|
+
export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
|
|
96
|
+
export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
|
|
97
|
+
export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
|
|
98
|
+
export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
|
|
103
99
|
export const inscriptionsnamespace_create_inscription_reveal_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
104
100
|
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;
|
|
105
101
|
export const wasmbip32_chain_code: (a: number) => number;
|
|
@@ -123,6 +119,39 @@ export const wasmbip32_private_key: (a: number) => number;
|
|
|
123
119
|
export const wasmbip32_public_key: (a: number) => number;
|
|
124
120
|
export const wasmbip32_to_base58: (a: number, b: number) => void;
|
|
125
121
|
export const wasmbip32_to_wif: (a: number, b: number) => void;
|
|
122
|
+
export const wasmtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
123
|
+
export const wasmtransaction_get_txid: (a: number, b: number) => void;
|
|
124
|
+
export const wasmtransaction_get_vsize: (a: number) => number;
|
|
125
|
+
export const wasmtransaction_to_bytes: (a: number, b: number) => void;
|
|
126
|
+
export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
|
|
127
|
+
export const wasmzcashtransaction_get_txid: (a: number, b: number) => void;
|
|
128
|
+
export const wasmzcashtransaction_to_bytes: (a: number, b: number) => void;
|
|
129
|
+
export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
|
|
130
|
+
export const wrapdescriptor_descType: (a: number, b: number) => void;
|
|
131
|
+
export const wrapdescriptor_encode: (a: number, b: number) => void;
|
|
132
|
+
export const wrapdescriptor_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
133
|
+
export const wrapdescriptor_fromStringDetectType: (a: number, b: number, c: number) => void;
|
|
134
|
+
export const wrapdescriptor_hasWildcard: (a: number) => number;
|
|
135
|
+
export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
|
|
136
|
+
export const wrapdescriptor_node: (a: number, b: number) => void;
|
|
137
|
+
export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
|
|
138
|
+
export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
|
|
139
|
+
export const wrapdescriptor_toString: (a: number, b: number) => void;
|
|
140
|
+
export const wrapminiscript_encode: (a: number, b: number) => void;
|
|
141
|
+
export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
142
|
+
export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
143
|
+
export const wrapminiscript_node: (a: number, b: number) => void;
|
|
144
|
+
export const wrapminiscript_toAsmString: (a: number, b: number) => void;
|
|
145
|
+
export const wrapminiscript_toString: (a: number, b: number) => void;
|
|
146
|
+
export const wasmbip32_from_bip32_properties: (a: number, b: number) => void;
|
|
147
|
+
export const __wbg_addressnamespace_free: (a: number, b: number) => void;
|
|
148
|
+
export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
|
|
149
|
+
export const __wbg_wasmecpair_free: (a: number, b: number) => void;
|
|
150
|
+
export const __wbg_wrappsbt_free: (a: number, b: number) => void;
|
|
151
|
+
export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
152
|
+
export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
153
|
+
export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
154
|
+
export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
126
155
|
export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
|
|
127
156
|
export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
|
|
128
157
|
export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
|
|
@@ -133,13 +162,11 @@ export const wasmecpair_public_key: (a: number) => number;
|
|
|
133
162
|
export const wasmecpair_to_wif: (a: number, b: number) => void;
|
|
134
163
|
export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
|
|
135
164
|
export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
|
|
136
|
-
export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
137
|
-
export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
|
|
138
|
-
export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
|
|
139
165
|
export const wrappsbt_addInput: (a: number, b: number, c: number, d: number, e: number, f: bigint, g: number, h: number, i: number) => void;
|
|
140
166
|
export const wrappsbt_addOutput: (a: number, b: number, c: number, d: bigint) => number;
|
|
141
167
|
export const wrappsbt_clone: (a: number) => number;
|
|
142
168
|
export const wrappsbt_deserialize: (a: number, b: number, c: number) => void;
|
|
169
|
+
export const wrappsbt_extractTransaction: (a: number, b: number) => void;
|
|
143
170
|
export const wrappsbt_finalize: (a: number, b: number) => void;
|
|
144
171
|
export const wrappsbt_getInputs: (a: number, b: number) => void;
|
|
145
172
|
export const wrappsbt_getOutputs: (a: number, b: number) => void;
|
|
@@ -161,32 +188,6 @@ export const wrappsbt_updateOutputWithDescriptor: (a: number, b: number, c: numb
|
|
|
161
188
|
export const wrappsbt_validateSignatureAtInput: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
162
189
|
export const wrappsbt_verifySignatureWithKey: (a: number, b: number, c: number, d: number) => void;
|
|
163
190
|
export const wrappsbt_version: (a: number) => number;
|
|
164
|
-
export const wasmbip32_from_bip32_properties: (a: number, b: number) => void;
|
|
165
|
-
export const __wbg_addressnamespace_free: (a: number, b: number) => void;
|
|
166
|
-
export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
|
|
167
|
-
export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
|
|
168
|
-
export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
|
|
169
|
-
export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
170
|
-
export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
171
|
-
export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
172
|
-
export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
173
|
-
export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
|
|
174
|
-
export const wrapdescriptor_descType: (a: number, b: number) => void;
|
|
175
|
-
export const wrapdescriptor_encode: (a: number, b: number) => void;
|
|
176
|
-
export const wrapdescriptor_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
177
|
-
export const wrapdescriptor_fromStringDetectType: (a: number, b: number, c: number) => void;
|
|
178
|
-
export const wrapdescriptor_hasWildcard: (a: number) => number;
|
|
179
|
-
export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
|
|
180
|
-
export const wrapdescriptor_node: (a: number, b: number) => void;
|
|
181
|
-
export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
|
|
182
|
-
export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
|
|
183
|
-
export const wrapdescriptor_toString: (a: number, b: number) => void;
|
|
184
|
-
export const wrapminiscript_encode: (a: number, b: number) => void;
|
|
185
|
-
export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
186
|
-
export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
187
|
-
export const wrapminiscript_node: (a: number, b: number) => void;
|
|
188
|
-
export const wrapminiscript_toAsmString: (a: number, b: number) => void;
|
|
189
|
-
export const wrapminiscript_toString: (a: number, b: number) => void;
|
|
190
191
|
export const rustsecp256k1_v0_10_0_context_create: (a: number) => number;
|
|
191
192
|
export const rustsecp256k1_v0_10_0_context_destroy: (a: number) => void;
|
|
192
193
|
export const rustsecp256k1_v0_10_0_default_error_callback_fn: (a: number, b: number) => void;
|