@bitgo/wasm-utxo 4.33.0 → 4.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.
@@ -230,4 +230,18 @@ export declare class ZcashIronwoodBitGoPsbt extends ZcashBitGoPsbt {
230
230
  * errors (bad proof, unsigned input) leaves the PSBT retryable.
231
231
  */
232
232
  combineProof(proof: Uint8Array): Uint8Array;
233
+ /**
234
+ * The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in this
235
+ * PSBT, or `undefined` if none is present.
236
+ *
237
+ * A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
238
+ * (spend + output), the ZIP-244-committed `out_ciphertext`, and — once {@link combineProof} has
239
+ * run — the Halo2 `zkproof` and binding signature, bridging this PSBT to the external proof
240
+ * service and back.
241
+ *
242
+ * Present only after {@link addShieldedOutput} has been called; `undefined` beforehand, and
243
+ * `undefined` again after {@link combineProof} succeeds, since that call drops the stored PCZT
244
+ * to make extraction terminal (see its doc comment).
245
+ */
246
+ getPczt(): Uint8Array | undefined;
233
247
  }
@@ -223,5 +223,21 @@ class ZcashIronwoodBitGoPsbt extends ZcashBitGoPsbt_js_1.ZcashBitGoPsbt {
223
223
  combineProof(proof) {
224
224
  return this.wasm.combine_ironwood_proof(proof);
225
225
  }
226
+ /**
227
+ * The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in this
228
+ * PSBT, or `undefined` if none is present.
229
+ *
230
+ * A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
231
+ * (spend + output), the ZIP-244-committed `out_ciphertext`, and — once {@link combineProof} has
232
+ * run — the Halo2 `zkproof` and binding signature, bridging this PSBT to the external proof
233
+ * service and back.
234
+ *
235
+ * Present only after {@link addShieldedOutput} has been called; `undefined` beforehand, and
236
+ * `undefined` again after {@link combineProof} succeeds, since that call drops the stored PCZT
237
+ * to make extraction terminal (see its doc comment).
238
+ */
239
+ getPczt() {
240
+ return this.wasm.ironwood_pczt_bytes();
241
+ }
226
242
  }
227
243
  exports.ZcashIronwoodBitGoPsbt = ZcashIronwoodBitGoPsbt;
@@ -474,6 +474,21 @@ export class BitGoPsbt {
474
474
  */
475
475
  get_unsigned_tx(): Uint8Array;
476
476
  input_count(): number;
477
+ /**
478
+ * The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in
479
+ * this v6 (Ironwood) PSBT's proprietary key-value map, or `undefined` if none is present.
480
+ *
481
+ * A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
482
+ * (spend + output), the ZIP-244-committed `out_ciphertext`, and — once
483
+ * [`Self::combine_ironwood_proof`] has run — the Halo2 `zkproof` and binding signature,
484
+ * bridging this PSBT to the external proof service and back (see
485
+ * [`crate::zcash::ironwood_pczt`] / [`crate::zcash::ironwood_build`]).
486
+ *
487
+ * Present only after [`Self::add_ironwood_output`] has been called on a v6 PSBT; `undefined`
488
+ * beforehand, and `undefined` again after [`Self::combine_ironwood_proof`] succeeds, since
489
+ * that call drops the stored PCZT to make extraction terminal (see its doc comment).
490
+ */
491
+ ironwood_pczt_bytes(): Uint8Array | undefined;
477
492
  /**
478
493
  * The ZIP-244 per-input transparent sighash (32 bytes) that the key controlling transparent
479
494
  * input `index` must sign.
@@ -1792,6 +1792,37 @@ class BitGoPsbt {
1792
1792
  const ret = wasm.bitgopsbt_input_count(this.__wbg_ptr);
1793
1793
  return ret >>> 0;
1794
1794
  }
1795
+ /**
1796
+ * The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in
1797
+ * this v6 (Ironwood) PSBT's proprietary key-value map, or `undefined` if none is present.
1798
+ *
1799
+ * A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
1800
+ * (spend + output), the ZIP-244-committed `out_ciphertext`, and — once
1801
+ * [`Self::combine_ironwood_proof`] has run — the Halo2 `zkproof` and binding signature,
1802
+ * bridging this PSBT to the external proof service and back (see
1803
+ * [`crate::zcash::ironwood_pczt`] / [`crate::zcash::ironwood_build`]).
1804
+ *
1805
+ * Present only after [`Self::add_ironwood_output`] has been called on a v6 PSBT; `undefined`
1806
+ * beforehand, and `undefined` again after [`Self::combine_ironwood_proof`] succeeds, since
1807
+ * that call drops the stored PCZT to make extraction terminal (see its doc comment).
1808
+ * @returns {Uint8Array | undefined}
1809
+ */
1810
+ ironwood_pczt_bytes() {
1811
+ try {
1812
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1813
+ wasm.bitgopsbt_ironwood_pczt_bytes(retptr, this.__wbg_ptr);
1814
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1815
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1816
+ let v1;
1817
+ if (r0 !== 0) {
1818
+ v1 = getArrayU8FromWasm0(r0, r1).slice();
1819
+ wasm.__wbindgen_export4(r0, r1 * 1, 1);
1820
+ }
1821
+ return v1;
1822
+ } finally {
1823
+ wasm.__wbindgen_add_to_stack_pointer(16);
1824
+ }
1825
+ }
1795
1826
  /**
1796
1827
  * The ZIP-244 per-input transparent sighash (32 bytes) that the key controlling transparent
1797
1828
  * input `index` must sign.
Binary file
@@ -1,6 +1,28 @@
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_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
12
+ export const wrapdescriptor_hasWildcard: (a: number) => number;
13
+ export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
14
+ export const wrapdescriptor_node: (a: number, b: number) => void;
15
+ export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
16
+ export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
17
+ export const wrapdescriptor_toString: (a: number, b: number) => void;
18
+ export const wrapminiscript_encode: (a: number, b: number) => void;
19
+ export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
20
+ export const wrapminiscript_fromBitcoinScriptExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
21
+ export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
22
+ export const wrapminiscript_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
23
+ export const wrapminiscript_node: (a: number, b: number) => void;
24
+ export const wrapminiscript_toAsmString: (a: number, b: number) => void;
25
+ export const wrapminiscript_toString: (a: number, b: number) => void;
4
26
  export const __wbg_addressnamespace_free: (a: number, b: number) => void;
5
27
  export const __wbg_bip322namespace_free: (a: number, b: number) => void;
6
28
  export const __wbg_messagenamespace_free: (a: number, b: number) => void;
@@ -9,6 +31,7 @@ export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
9
31
  export const __wbg_wasmecpair_free: (a: number, b: number) => void;
10
32
  export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
11
33
  export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
34
+ export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
12
35
  export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
13
36
  export const __wbg_wrappsbt_free: (a: number, b: number) => void;
14
37
  export const __wbg_zcashunifiedaddress_free: (a: number, b: number) => void;
@@ -62,6 +85,7 @@ export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c:
62
85
  export const wasmtransaction_get_txid: (a: number, b: number) => void;
63
86
  export const wasmtransaction_get_vsize: (a: number) => number;
64
87
  export const wasmtransaction_to_bytes: (a: number, b: number) => void;
88
+ export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
65
89
  export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
66
90
  export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
67
91
  export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
@@ -140,30 +164,6 @@ export const wasmzcashtransaction_lock_time: (a: number) => number;
140
164
  export const wasmzcashtransaction_version: (a: number) => number;
141
165
  export const wrappsbt_lock_time: (a: number) => number;
142
166
  export const wrappsbt_version: (a: number) => number;
143
- export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
144
- export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
145
- export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
146
- export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
147
- export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
148
- export const wrapdescriptor_descType: (a: number, b: number) => void;
149
- export const wrapdescriptor_encode: (a: number, b: number) => void;
150
- export const wrapdescriptor_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
151
- export const wrapdescriptor_fromStringDetectType: (a: number, b: number, c: number) => void;
152
- export const wrapdescriptor_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
153
- export const wrapdescriptor_hasWildcard: (a: number) => number;
154
- export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
155
- export const wrapdescriptor_node: (a: number, b: number) => void;
156
- export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
157
- export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
158
- export const wrapdescriptor_toString: (a: number, b: number) => void;
159
- export const wrapminiscript_encode: (a: number, b: number) => void;
160
- export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
161
- export const wrapminiscript_fromBitcoinScriptExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
162
- export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
163
- export const wrapminiscript_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
164
- export const wrapminiscript_node: (a: number, b: number) => void;
165
- export const wrapminiscript_toAsmString: (a: number, b: number) => void;
166
- export const wrapminiscript_toString: (a: number, b: number) => void;
167
167
  export const __wbg_bitgopsbt_free: (a: number, b: number) => void;
168
168
  export const __wbg_fixedscriptwalletnamespace_free: (a: number, b: number) => void;
169
169
  export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
@@ -222,6 +222,7 @@ export const bitgopsbt_get_outputs: (a: number, b: number) => void;
222
222
  export const bitgopsbt_get_outputs_with_address: (a: number, b: number) => void;
223
223
  export const bitgopsbt_get_unsigned_tx: (a: number, b: number) => void;
224
224
  export const bitgopsbt_input_count: (a: number) => number;
225
+ export const bitgopsbt_ironwood_pczt_bytes: (a: number, b: number) => void;
225
226
  export const bitgopsbt_ironwood_v6_transparent_sighash: (a: number, b: number, c: number) => void;
226
227
  export const bitgopsbt_ironwood_v6_txid: (a: number, b: number) => void;
227
228
  export const bitgopsbt_is_musig2_input: (a: number, b: number) => number;
@@ -230,4 +230,18 @@ export declare class ZcashIronwoodBitGoPsbt extends ZcashBitGoPsbt {
230
230
  * errors (bad proof, unsigned input) leaves the PSBT retryable.
231
231
  */
232
232
  combineProof(proof: Uint8Array): Uint8Array;
233
+ /**
234
+ * The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in this
235
+ * PSBT, or `undefined` if none is present.
236
+ *
237
+ * A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
238
+ * (spend + output), the ZIP-244-committed `out_ciphertext`, and — once {@link combineProof} has
239
+ * run — the Halo2 `zkproof` and binding signature, bridging this PSBT to the external proof
240
+ * service and back.
241
+ *
242
+ * Present only after {@link addShieldedOutput} has been called; `undefined` beforehand, and
243
+ * `undefined` again after {@link combineProof} succeeds, since that call drops the stored PCZT
244
+ * to make extraction terminal (see its doc comment).
245
+ */
246
+ getPczt(): Uint8Array | undefined;
233
247
  }
@@ -219,4 +219,20 @@ export class ZcashIronwoodBitGoPsbt extends ZcashBitGoPsbt {
219
219
  combineProof(proof) {
220
220
  return this.wasm.combine_ironwood_proof(proof);
221
221
  }
222
+ /**
223
+ * The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in this
224
+ * PSBT, or `undefined` if none is present.
225
+ *
226
+ * A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
227
+ * (spend + output), the ZIP-244-committed `out_ciphertext`, and — once {@link combineProof} has
228
+ * run — the Halo2 `zkproof` and binding signature, bridging this PSBT to the external proof
229
+ * service and back.
230
+ *
231
+ * Present only after {@link addShieldedOutput} has been called; `undefined` beforehand, and
232
+ * `undefined` again after {@link combineProof} succeeds, since that call drops the stored PCZT
233
+ * to make extraction terminal (see its doc comment).
234
+ */
235
+ getPczt() {
236
+ return this.wasm.ironwood_pczt_bytes();
237
+ }
222
238
  }
@@ -474,6 +474,21 @@ export class BitGoPsbt {
474
474
  */
475
475
  get_unsigned_tx(): Uint8Array;
476
476
  input_count(): number;
477
+ /**
478
+ * The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in
479
+ * this v6 (Ironwood) PSBT's proprietary key-value map, or `undefined` if none is present.
480
+ *
481
+ * A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
482
+ * (spend + output), the ZIP-244-committed `out_ciphertext`, and — once
483
+ * [`Self::combine_ironwood_proof`] has run — the Halo2 `zkproof` and binding signature,
484
+ * bridging this PSBT to the external proof service and back (see
485
+ * [`crate::zcash::ironwood_pczt`] / [`crate::zcash::ironwood_build`]).
486
+ *
487
+ * Present only after [`Self::add_ironwood_output`] has been called on a v6 PSBT; `undefined`
488
+ * beforehand, and `undefined` again after [`Self::combine_ironwood_proof`] succeeds, since
489
+ * that call drops the stored PCZT to make extraction terminal (see its doc comment).
490
+ */
491
+ ironwood_pczt_bytes(): Uint8Array | undefined;
477
492
  /**
478
493
  * The ZIP-244 per-input transparent sighash (32 bytes) that the key controlling transparent
479
494
  * input `index` must sign.
@@ -1788,6 +1788,37 @@ export class BitGoPsbt {
1788
1788
  const ret = wasm.bitgopsbt_input_count(this.__wbg_ptr);
1789
1789
  return ret >>> 0;
1790
1790
  }
1791
+ /**
1792
+ * The raw serialized orchard PCZT (Partially Created Zcash Transaction) bundle stored in
1793
+ * this v6 (Ironwood) PSBT's proprietary key-value map, or `undefined` if none is present.
1794
+ *
1795
+ * A PCZT is the shielded-bundle counterpart to a PSBT: it accumulates the orchard action
1796
+ * (spend + output), the ZIP-244-committed `out_ciphertext`, and — once
1797
+ * [`Self::combine_ironwood_proof`] has run — the Halo2 `zkproof` and binding signature,
1798
+ * bridging this PSBT to the external proof service and back (see
1799
+ * [`crate::zcash::ironwood_pczt`] / [`crate::zcash::ironwood_build`]).
1800
+ *
1801
+ * Present only after [`Self::add_ironwood_output`] has been called on a v6 PSBT; `undefined`
1802
+ * beforehand, and `undefined` again after [`Self::combine_ironwood_proof`] succeeds, since
1803
+ * that call drops the stored PCZT to make extraction terminal (see its doc comment).
1804
+ * @returns {Uint8Array | undefined}
1805
+ */
1806
+ ironwood_pczt_bytes() {
1807
+ try {
1808
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1809
+ wasm.bitgopsbt_ironwood_pczt_bytes(retptr, this.__wbg_ptr);
1810
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1811
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1812
+ let v1;
1813
+ if (r0 !== 0) {
1814
+ v1 = getArrayU8FromWasm0(r0, r1).slice();
1815
+ wasm.__wbindgen_export4(r0, r1 * 1, 1);
1816
+ }
1817
+ return v1;
1818
+ } finally {
1819
+ wasm.__wbindgen_add_to_stack_pointer(16);
1820
+ }
1821
+ }
1791
1822
  /**
1792
1823
  * The ZIP-244 per-input transparent sighash (32 bytes) that the key controlling transparent
1793
1824
  * input `index` must sign.
Binary file
@@ -1,6 +1,28 @@
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_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
12
+ export const wrapdescriptor_hasWildcard: (a: number) => number;
13
+ export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
14
+ export const wrapdescriptor_node: (a: number, b: number) => void;
15
+ export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
16
+ export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
17
+ export const wrapdescriptor_toString: (a: number, b: number) => void;
18
+ export const wrapminiscript_encode: (a: number, b: number) => void;
19
+ export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
20
+ export const wrapminiscript_fromBitcoinScriptExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
21
+ export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
22
+ export const wrapminiscript_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
23
+ export const wrapminiscript_node: (a: number, b: number) => void;
24
+ export const wrapminiscript_toAsmString: (a: number, b: number) => void;
25
+ export const wrapminiscript_toString: (a: number, b: number) => void;
4
26
  export const __wbg_addressnamespace_free: (a: number, b: number) => void;
5
27
  export const __wbg_bip322namespace_free: (a: number, b: number) => void;
6
28
  export const __wbg_messagenamespace_free: (a: number, b: number) => void;
@@ -9,6 +31,7 @@ export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
9
31
  export const __wbg_wasmecpair_free: (a: number, b: number) => void;
10
32
  export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
11
33
  export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
34
+ export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
12
35
  export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
13
36
  export const __wbg_wrappsbt_free: (a: number, b: number) => void;
14
37
  export const __wbg_zcashunifiedaddress_free: (a: number, b: number) => void;
@@ -62,6 +85,7 @@ export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c:
62
85
  export const wasmtransaction_get_txid: (a: number, b: number) => void;
63
86
  export const wasmtransaction_get_vsize: (a: number) => number;
64
87
  export const wasmtransaction_to_bytes: (a: number, b: number) => void;
88
+ export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
65
89
  export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
66
90
  export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
67
91
  export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
@@ -140,30 +164,6 @@ export const wasmzcashtransaction_lock_time: (a: number) => number;
140
164
  export const wasmzcashtransaction_version: (a: number) => number;
141
165
  export const wrappsbt_lock_time: (a: number) => number;
142
166
  export const wrappsbt_version: (a: number) => number;
143
- export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
144
- export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
145
- export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
146
- export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
147
- export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
148
- export const wrapdescriptor_descType: (a: number, b: number) => void;
149
- export const wrapdescriptor_encode: (a: number, b: number) => void;
150
- export const wrapdescriptor_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
151
- export const wrapdescriptor_fromStringDetectType: (a: number, b: number, c: number) => void;
152
- export const wrapdescriptor_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
153
- export const wrapdescriptor_hasWildcard: (a: number) => number;
154
- export const wrapdescriptor_maxWeightToSatisfy: (a: number, b: number) => void;
155
- export const wrapdescriptor_node: (a: number, b: number) => void;
156
- export const wrapdescriptor_scriptPubkey: (a: number, b: number) => void;
157
- export const wrapdescriptor_toAsmString: (a: number, b: number) => void;
158
- export const wrapdescriptor_toString: (a: number, b: number) => void;
159
- export const wrapminiscript_encode: (a: number, b: number) => void;
160
- export const wrapminiscript_fromBitcoinScript: (a: number, b: number, c: number, d: number, e: number) => void;
161
- export const wrapminiscript_fromBitcoinScriptExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
162
- export const wrapminiscript_fromString: (a: number, b: number, c: number, d: number, e: number) => void;
163
- export const wrapminiscript_fromStringExt: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
164
- export const wrapminiscript_node: (a: number, b: number) => void;
165
- export const wrapminiscript_toAsmString: (a: number, b: number) => void;
166
- export const wrapminiscript_toString: (a: number, b: number) => void;
167
167
  export const __wbg_bitgopsbt_free: (a: number, b: number) => void;
168
168
  export const __wbg_fixedscriptwalletnamespace_free: (a: number, b: number) => void;
169
169
  export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
@@ -222,6 +222,7 @@ export const bitgopsbt_get_outputs: (a: number, b: number) => void;
222
222
  export const bitgopsbt_get_outputs_with_address: (a: number, b: number) => void;
223
223
  export const bitgopsbt_get_unsigned_tx: (a: number, b: number) => void;
224
224
  export const bitgopsbt_input_count: (a: number) => number;
225
+ export const bitgopsbt_ironwood_pczt_bytes: (a: number, b: number) => void;
225
226
  export const bitgopsbt_ironwood_v6_transparent_sighash: (a: number, b: number, c: number) => void;
226
227
  export const bitgopsbt_ironwood_v6_txid: (a: number, b: number) => void;
227
228
  export const bitgopsbt_is_musig2_input: (a: number, b: number) => number;
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.33.0",
4
+ "version": "4.35.0",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",