@bitgo/wasm-utxo 4.4.0 → 4.5.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.
@@ -916,6 +916,56 @@ export class BitGoPsbt {
916
916
  wasm.__wbindgen_add_to_stack_pointer(16);
917
917
  }
918
918
  }
919
+ /**
920
+ * @param {number} index
921
+ * @param {any} key
922
+ */
923
+ delete_input_kv(index, key) {
924
+ try {
925
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
926
+ wasm.bitgopsbt_delete_input_kv(retptr, this.__wbg_ptr, index, addHeapObject(key));
927
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
928
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
929
+ if (r1) {
930
+ throw takeObject(r0);
931
+ }
932
+ } finally {
933
+ wasm.__wbindgen_add_to_stack_pointer(16);
934
+ }
935
+ }
936
+ /**
937
+ * @param {any} key
938
+ */
939
+ delete_kv(key) {
940
+ try {
941
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
942
+ wasm.bitgopsbt_delete_kv(retptr, this.__wbg_ptr, addHeapObject(key));
943
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
944
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
945
+ if (r1) {
946
+ throw takeObject(r0);
947
+ }
948
+ } finally {
949
+ wasm.__wbindgen_add_to_stack_pointer(16);
950
+ }
951
+ }
952
+ /**
953
+ * @param {number} index
954
+ * @param {any} key
955
+ */
956
+ delete_output_kv(index, key) {
957
+ try {
958
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
959
+ wasm.bitgopsbt_delete_output_kv(retptr, this.__wbg_ptr, index, addHeapObject(key));
960
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
961
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
962
+ if (r1) {
963
+ throw takeObject(r0);
964
+ }
965
+ } finally {
966
+ wasm.__wbindgen_add_to_stack_pointer(16);
967
+ }
968
+ }
919
969
  /**
920
970
  * Get the Zcash expiry height (returns None for non-Zcash PSBTs)
921
971
  * @returns {number | undefined}
@@ -1108,25 +1158,128 @@ export class BitGoPsbt {
1108
1158
  * Convert a half-signed legacy transaction to a psbt-lite.
1109
1159
  *
1110
1160
  * # Arguments
1111
- * * `tx_bytes` - The serialized half-signed legacy transaction
1161
+ * * `tx` - The decoded half-signed legacy transaction
1112
1162
  * * `network` - Network name (utxolib or coin name)
1113
1163
  * * `wallet_keys` - The wallet's root keys
1114
1164
  * * `unspents` - Array of `{ chain: number, index: number, value: bigint }` for each input
1115
- * @param {Uint8Array} tx_bytes
1165
+ * @param {WasmTransaction} tx
1116
1166
  * @param {string} network
1117
1167
  * @param {WasmRootWalletKeys} wallet_keys
1118
1168
  * @param {any} unspents
1119
1169
  * @returns {BitGoPsbt}
1120
1170
  */
1121
- static from_half_signed_legacy_transaction(tx_bytes, network, wallet_keys, unspents) {
1171
+ static from_half_signed_legacy_transaction(tx, network, wallet_keys, unspents) {
1122
1172
  try {
1123
1173
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1124
- const ptr0 = passArray8ToWasm0(tx_bytes, wasm.__wbindgen_export);
1174
+ _assertClass(tx, WasmTransaction);
1175
+ const ptr0 = passStringToWasm0(network, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1125
1176
  const len0 = WASM_VECTOR_LEN;
1126
- const ptr1 = passStringToWasm0(network, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1127
- const len1 = WASM_VECTOR_LEN;
1128
1177
  _assertClass(wallet_keys, WasmRootWalletKeys);
1129
- wasm.bitgopsbt_from_half_signed_legacy_transaction(retptr, ptr0, len0, ptr1, len1, wallet_keys.__wbg_ptr, addHeapObject(unspents));
1178
+ wasm.bitgopsbt_from_half_signed_legacy_transaction(retptr, tx.__wbg_ptr, ptr0, len0, wallet_keys.__wbg_ptr, addHeapObject(unspents));
1179
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1180
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1181
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1182
+ if (r2) {
1183
+ throw takeObject(r1);
1184
+ }
1185
+ return BitGoPsbt.__wrap(r0);
1186
+ } finally {
1187
+ wasm.__wbindgen_add_to_stack_pointer(16);
1188
+ }
1189
+ }
1190
+ /**
1191
+ * Convert a half-signed legacy Dash transaction to a psbt-lite.
1192
+ *
1193
+ * # Arguments
1194
+ * * `tx` - The decoded Dash transaction
1195
+ * * `network` - Network name ("dash" or "tdash")
1196
+ * * `wallet_keys` - The wallet's root keys
1197
+ * * `unspents` - Array of `{ chain: number, index: number, value: bigint }` for each input
1198
+ * @param {WasmDashTransaction} tx
1199
+ * @param {string} network
1200
+ * @param {WasmRootWalletKeys} wallet_keys
1201
+ * @param {any} unspents
1202
+ * @returns {BitGoPsbt}
1203
+ */
1204
+ static from_half_signed_legacy_transaction_dash(tx, network, wallet_keys, unspents) {
1205
+ try {
1206
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1207
+ _assertClass(tx, WasmDashTransaction);
1208
+ const ptr0 = passStringToWasm0(network, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1209
+ const len0 = WASM_VECTOR_LEN;
1210
+ _assertClass(wallet_keys, WasmRootWalletKeys);
1211
+ wasm.bitgopsbt_from_half_signed_legacy_transaction_dash(retptr, tx.__wbg_ptr, ptr0, len0, wallet_keys.__wbg_ptr, addHeapObject(unspents));
1212
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1213
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1214
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1215
+ if (r2) {
1216
+ throw takeObject(r1);
1217
+ }
1218
+ return BitGoPsbt.__wrap(r0);
1219
+ } finally {
1220
+ wasm.__wbindgen_add_to_stack_pointer(16);
1221
+ }
1222
+ }
1223
+ /**
1224
+ * Convert a half-signed legacy Zcash transaction to a psbt-lite (with block height).
1225
+ * Thin wrapper: resolves block_height → consensus_branch_id and delegates to the explicit variant.
1226
+ *
1227
+ * # Arguments
1228
+ * * `tx` - The decoded Zcash transaction
1229
+ * * `network` - Network name ("zec" or "tzec")
1230
+ * * `wallet_keys` - The wallet's root keys
1231
+ * * `unspents` - Array of `{ chain: number, index: number, value: bigint }` for each input
1232
+ * * `block_height` - Block height to determine consensus branch ID
1233
+ * @param {WasmZcashTransaction} tx
1234
+ * @param {string} network
1235
+ * @param {WasmRootWalletKeys} wallet_keys
1236
+ * @param {any} unspents
1237
+ * @param {number} block_height
1238
+ * @returns {BitGoPsbt}
1239
+ */
1240
+ static from_half_signed_legacy_transaction_zcash_with_block_height(tx, network, wallet_keys, unspents, block_height) {
1241
+ try {
1242
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1243
+ _assertClass(tx, WasmZcashTransaction);
1244
+ const ptr0 = passStringToWasm0(network, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1245
+ const len0 = WASM_VECTOR_LEN;
1246
+ _assertClass(wallet_keys, WasmRootWalletKeys);
1247
+ wasm.bitgopsbt_from_half_signed_legacy_transaction_zcash_with_block_height(retptr, tx.__wbg_ptr, ptr0, len0, wallet_keys.__wbg_ptr, addHeapObject(unspents), block_height);
1248
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1249
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1250
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1251
+ if (r2) {
1252
+ throw takeObject(r1);
1253
+ }
1254
+ return BitGoPsbt.__wrap(r0);
1255
+ } finally {
1256
+ wasm.__wbindgen_add_to_stack_pointer(16);
1257
+ }
1258
+ }
1259
+ /**
1260
+ * Convert a half-signed legacy Zcash transaction to a psbt-lite (with consensus branch ID).
1261
+ *
1262
+ * # Arguments
1263
+ * * `tx` - The decoded Zcash transaction
1264
+ * * `network` - Network name ("zec" or "tzec")
1265
+ * * `wallet_keys` - The wallet's root keys
1266
+ * * `unspents` - Array of `{ chain: number, index: number, value: bigint }` for each input
1267
+ * * `consensus_branch_id` - Zcash consensus branch ID
1268
+ * @param {WasmZcashTransaction} tx
1269
+ * @param {string} network
1270
+ * @param {WasmRootWalletKeys} wallet_keys
1271
+ * @param {any} unspents
1272
+ * @param {number} consensus_branch_id
1273
+ * @returns {BitGoPsbt}
1274
+ */
1275
+ static from_half_signed_legacy_transaction_zcash_with_branch_id(tx, network, wallet_keys, unspents, consensus_branch_id) {
1276
+ try {
1277
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1278
+ _assertClass(tx, WasmZcashTransaction);
1279
+ const ptr0 = passStringToWasm0(network, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1280
+ const len0 = WASM_VECTOR_LEN;
1281
+ _assertClass(wallet_keys, WasmRootWalletKeys);
1282
+ wasm.bitgopsbt_from_half_signed_legacy_transaction_zcash_with_branch_id(retptr, tx.__wbg_ptr, ptr0, len0, wallet_keys.__wbg_ptr, addHeapObject(unspents), consensus_branch_id);
1130
1283
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1131
1284
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1132
1285
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
@@ -5029,6 +5182,56 @@ export class WrapPsbt {
5029
5182
  const ret = wasm.wrappsbt_clone(this.__wbg_ptr);
5030
5183
  return WrapPsbt.__wrap(ret);
5031
5184
  }
5185
+ /**
5186
+ * @param {number} index
5187
+ * @param {any} key
5188
+ */
5189
+ delete_input_kv(index, key) {
5190
+ try {
5191
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5192
+ wasm.wrappsbt_delete_input_kv(retptr, this.__wbg_ptr, index, addHeapObject(key));
5193
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5194
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5195
+ if (r1) {
5196
+ throw takeObject(r0);
5197
+ }
5198
+ } finally {
5199
+ wasm.__wbindgen_add_to_stack_pointer(16);
5200
+ }
5201
+ }
5202
+ /**
5203
+ * @param {any} key
5204
+ */
5205
+ delete_kv(key) {
5206
+ try {
5207
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5208
+ wasm.wrappsbt_delete_kv(retptr, this.__wbg_ptr, addHeapObject(key));
5209
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5210
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5211
+ if (r1) {
5212
+ throw takeObject(r0);
5213
+ }
5214
+ } finally {
5215
+ wasm.__wbindgen_add_to_stack_pointer(16);
5216
+ }
5217
+ }
5218
+ /**
5219
+ * @param {number} index
5220
+ * @param {any} key
5221
+ */
5222
+ delete_output_kv(index, key) {
5223
+ try {
5224
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
5225
+ wasm.wrappsbt_delete_output_kv(retptr, this.__wbg_ptr, index, addHeapObject(key));
5226
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
5227
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
5228
+ if (r1) {
5229
+ throw takeObject(r0);
5230
+ }
5231
+ } finally {
5232
+ wasm.__wbindgen_add_to_stack_pointer(16);
5233
+ }
5234
+ }
5032
5235
  /**
5033
5236
  * @param {Uint8Array} psbt
5034
5237
  * @returns {WrapPsbt}
Binary file
@@ -1,25 +1,16 @@
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;
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;
23
14
  export const __wbg_addressnamespace_free: (a: number, b: number) => void;
24
15
  export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
25
16
  export const __wbg_wasmbip32_free: (a: number, b: number) => void;
@@ -97,6 +88,9 @@ export const wrappsbt_add_input_at_index: (a: number, b: number, c: number, d: n
97
88
  export const wrappsbt_add_output: (a: number, b: number, c: number, d: bigint) => number;
98
89
  export const wrappsbt_add_output_at_index: (a: number, b: number, c: number, d: number, e: number, f: bigint) => void;
99
90
  export const wrappsbt_clone: (a: number) => number;
91
+ export const wrappsbt_delete_input_kv: (a: number, b: number, c: number, d: number) => void;
92
+ export const wrappsbt_delete_kv: (a: number, b: number, c: number) => void;
93
+ export const wrappsbt_delete_output_kv: (a: number, b: number, c: number, d: number) => void;
100
94
  export const wrappsbt_deserialize: (a: number, b: number, c: number) => void;
101
95
  export const wrappsbt_extract_transaction: (a: number, b: number) => void;
102
96
  export const wrappsbt_finalize_mut: (a: number, b: number) => void;
@@ -139,6 +133,25 @@ export const wasmzcashtransaction_lock_time: (a: number) => number;
139
133
  export const wasmzcashtransaction_version: (a: number) => number;
140
134
  export const wrappsbt_lock_time: (a: number) => number;
141
135
  export const wrappsbt_version: (a: number) => number;
136
+ export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
137
+ export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
138
+ export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
139
+ export const wrapdescriptor_descType: (a: number, b: number) => void;
140
+ export const wrapdescriptor_encode: (a: number, b: number) => void;
141
+ export const wrapdescriptor_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
142
+ export const wrapdescriptor_fromStringDetectType: (a: number, b: number, c: number) => void;
143
+ export const wrapdescriptor_hasWildcard: (a: number) => number;
144
+ export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
145
+ export const wrapdescriptor_node: (a: number, b: number) => void;
146
+ export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
147
+ export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
148
+ export const wrapdescriptor_toString: (a: number, b: number) => void;
149
+ export const wrapminiscript_encode: (a: number, b: number) => void;
150
+ export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
151
+ export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
152
+ export const wrapminiscript_node: (a: number, b: number) => void;
153
+ export const wrapminiscript_toAsmString: (a: number, b: number) => void;
154
+ export const wrapminiscript_toString: (a: number, b: number) => void;
142
155
  export const __wbg_bip322namespace_free: (a: number, b: number) => void;
143
156
  export const __wbg_bitgopsbt_free: (a: number, b: number) => void;
144
157
  export const __wbg_fixedscriptwalletnamespace_free: (a: number, b: number) => void;
@@ -169,6 +182,9 @@ export const bitgopsbt_combine_musig2_nonces: (a: number, b: number, c: number)
169
182
  export const bitgopsbt_create_empty: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
170
183
  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
184
  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;
185
+ export const bitgopsbt_delete_input_kv: (a: number, b: number, c: number, d: number) => void;
186
+ export const bitgopsbt_delete_kv: (a: number, b: number, c: number) => void;
187
+ export const bitgopsbt_delete_output_kv: (a: number, b: number, c: number, d: number) => void;
172
188
  export const bitgopsbt_expiry_height: (a: number) => number;
173
189
  export const bitgopsbt_extract_bitcoin_transaction: (a: number, b: number) => void;
174
190
  export const bitgopsbt_extract_dash_transaction: (a: number, b: number) => void;
@@ -177,7 +193,10 @@ export const bitgopsbt_extract_transaction: (a: number, b: number) => void;
177
193
  export const bitgopsbt_extract_zcash_transaction: (a: number, b: number) => void;
178
194
  export const bitgopsbt_finalize_all_inputs: (a: number, b: number) => void;
179
195
  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;
196
+ export const bitgopsbt_from_half_signed_legacy_transaction: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
197
+ export const bitgopsbt_from_half_signed_legacy_transaction_dash: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
198
+ 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;
199
+ 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
200
  export const bitgopsbt_generate_musig2_nonces: (a: number, b: number, c: number, d: number, e: number) => void;
182
201
  export const bitgopsbt_get_global_xpubs: (a: number) => number;
183
202
  export const bitgopsbt_get_input_kv: (a: number, b: number, c: number, d: number) => void;
@@ -246,21 +265,11 @@ export const wasmdimensions_has_segwit: (a: number) => number;
246
265
  export const wasmdimensions_plus: (a: number, b: number) => number;
247
266
  export const wasmdimensions_times: (a: number, b: number) => number;
248
267
  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;
268
+ export const bitgopsbt_sign_wallet_input: (a: number, b: number, c: number, d: number) => void;
250
269
  export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
251
270
  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
271
  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;
272
+ export const bitgopsbt_sign_all_with_xpriv: (a: number, b: number, c: number) => void;
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.5.0",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",