@bitgo/wasm-utxo 4.9.0 → 4.11.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,4 +1,4 @@
1
- export declare const coinNames: readonly ["btc", "tbtc", "tbtc4", "tbtcsig", "tbtcbgsig", "bch", "tbch", "bcha", "tbcha", "btg", "tbtg", "bsv", "tbsv", "dash", "tdash", "doge", "tdoge", "ltc", "tltc", "zec", "tzec"];
1
+ export declare const coinNames: readonly ["btc", "tbtc", "tbtc4", "tbtcsig", "tbtcbgsig", "tbtcreg", "bch", "tbch", "bcha", "tbcha", "btg", "tbtg", "bsv", "tbsv", "dash", "tdash", "doge", "tdoge", "ltc", "tltc", "zec", "tzec"];
2
2
  export type CoinName = (typeof coinNames)[number];
3
3
  export declare function getMainnet(name: CoinName): CoinName;
4
4
  export declare function isMainnet(name: CoinName): boolean;
@@ -13,6 +13,7 @@ exports.coinNames = [
13
13
  "tbtc4",
14
14
  "tbtcsig",
15
15
  "tbtcbgsig",
16
+ "tbtcreg",
16
17
  "bch",
17
18
  "tbch",
18
19
  "bcha",
@@ -36,6 +37,7 @@ function getMainnet(name) {
36
37
  case "tbtc4":
37
38
  case "tbtcsig":
38
39
  case "tbtcbgsig":
40
+ case "tbtcreg":
39
41
  return "btc";
40
42
  case "tbch":
41
43
  return "bch";
@@ -79,6 +81,8 @@ function toCoinName(name) {
79
81
  return "tbtcsig";
80
82
  case "bitcoinBitGoSignet":
81
83
  return "tbtcbgsig";
84
+ case "bitcoinRegtest":
85
+ return "tbtcreg";
82
86
  case "bitcoincash":
83
87
  return "bch";
84
88
  case "bitcoincashTestnet":
@@ -24,16 +24,22 @@ export type ParsedInput = {
24
24
  address: string;
25
25
  script: Uint8Array;
26
26
  value: bigint;
27
+ /** Set only when the derivation path is chain-standard (chain code encodes script type per BitGo convention). */
27
28
  scriptId: ScriptId | null;
28
29
  scriptType: InputScriptType;
29
30
  sequence: number;
31
+ /** Full BIP32 derivation path from the wallet xpub (e.g. "0/1"). Null for replay-protection inputs. */
32
+ derivationPath: string | null;
30
33
  };
31
34
  export type ParsedOutput = {
32
35
  address: string | null;
33
36
  script: Uint8Array;
34
37
  value: bigint;
38
+ /** Set only when the derivation path is chain-standard (chain code encodes script type per BitGo convention). */
35
39
  scriptId: ScriptId | null;
36
40
  paygo: boolean;
41
+ /** Full BIP32 derivation path from the wallet xpub (e.g. "0/1"). Null for external outputs. */
42
+ derivationPath: string | null;
37
43
  };
38
44
  export type ParsedTransaction = {
39
45
  inputs: ParsedInput[];
@@ -1,5 +1,5 @@
1
1
  import type { AddressFormat } from "./address.js";
2
- export type UtxolibName = "bitcoin" | "testnet" | "bitcoinTestnet4" | "bitcoinPublicSignet" | "bitcoinBitGoSignet" | "bitcoincash" | "bitcoincashTestnet" | "ecash" | "ecashTest" | "bitcoingold" | "bitcoingoldTestnet" | "bitcoinsv" | "bitcoinsvTestnet" | "dash" | "dashTest" | "dogecoin" | "dogecoinTest" | "litecoin" | "litecoinTest" | "zcash" | "zcashTest";
2
+ export type UtxolibName = "bitcoin" | "testnet" | "bitcoinTestnet4" | "bitcoinPublicSignet" | "bitcoinBitGoSignet" | "bitcoinRegtest" | "bitcoincash" | "bitcoincashTestnet" | "ecash" | "ecashTest" | "bitcoingold" | "bitcoingoldTestnet" | "bitcoinsv" | "bitcoinsvTestnet" | "dash" | "dashTest" | "dogecoin" | "dogecoinTest" | "litecoin" | "litecoinTest" | "zcash" | "zcashTest";
3
3
  export type UtxolibNetwork = {
4
4
  pubKeyHash: number;
5
5
  scriptHash: number;
Binary file
@@ -1,13 +1,13 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
5
- export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
6
4
  export const __wbg_bip322namespace_free: (a: number, b: number) => void;
7
5
  export const __wbg_bitgopsbt_free: (a: number, b: number) => void;
8
6
  export const __wbg_fixedscriptwalletnamespace_free: (a: number, b: number) => void;
9
7
  export const __wbg_wasmbip32_free: (a: number, b: number) => void;
8
+ export const __wbg_wasmecpair_free: (a: number, b: number) => void;
10
9
  export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
10
+ export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
11
11
  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;
12
12
  export const bip322namespace_get_bip322_message: (a: number, b: number, c: number) => void;
13
13
  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;
@@ -94,6 +94,8 @@ export const fixedscriptwalletnamespace_output_script_with_network_str: (a: numb
94
94
  export const fixedscriptwalletnamespace_p2sh_p2pk_output_script: (a: number, b: number, c: number) => void;
95
95
  export const fixedscriptwalletnamespace_supports_script_type: (a: number, b: number, c: number, d: number, e: number) => void;
96
96
  export const fixedscriptwalletnamespace_to_wallet_keys: (a: number, b: number, c: number, d: number, e: number) => void;
97
+ export const isInspectEnabled: () => number;
98
+ export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
97
99
  export const wasmbip32_chain_code: (a: number) => number;
98
100
  export const wasmbip32_depth: (a: number) => number;
99
101
  export const wasmbip32_derive: (a: number, b: number, c: number) => void;
@@ -116,23 +118,46 @@ export const wasmbip32_private_key: (a: number) => number;
116
118
  export const wasmbip32_public_key: (a: number) => number;
117
119
  export const wasmbip32_to_base58: (a: number, b: number) => void;
118
120
  export const wasmbip32_to_wif: (a: number, b: number) => void;
121
+ export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
122
+ export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
123
+ export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
124
+ export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
125
+ export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
126
+ export const wasmecpair_private_key: (a: number) => number;
127
+ export const wasmecpair_public_key: (a: number) => number;
128
+ export const wasmecpair_to_wif: (a: number, b: number) => void;
129
+ export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
130
+ export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
119
131
  export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
120
132
  export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
121
133
  export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
134
+ export const wasmrootwalletkeys_backup_key: (a: number) => number;
135
+ export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
136
+ export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
137
+ export const wasmrootwalletkeys_user_key: (a: number) => number;
138
+ 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;
122
139
  export const wasmbip32_from_bip32_properties: (a: number, b: number) => void;
123
140
  export const bitgopsbt_sign_wallet_input: (a: number, b: number, c: number, d: number) => void;
141
+ export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
142
+ export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
124
143
  export const bitgopsbt_sign_all_with_xpriv: (a: number, b: number, c: number) => void;
125
144
  export const bitgopsbt_sign_replay_protection_inputs: (a: number, b: number, c: number) => void;
126
145
  export const __wbg_addressnamespace_free: (a: number, b: number) => void;
146
+ export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
147
+ export const __wbg_messagenamespace_free: (a: number, b: number) => void;
127
148
  export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
128
149
  export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
129
150
  export const __wbg_wasmdimensions_free: (a: number, b: number) => void;
130
151
  export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
152
+ export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
131
153
  export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
132
154
  export const __wbg_wrappsbt_free: (a: number, b: number) => void;
133
155
  export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
134
156
  export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
135
- export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
157
+ export const inscriptionsnamespace_create_inscription_reveal_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
158
+ 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;
159
+ export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
160
+ export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
136
161
  export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
137
162
  export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
138
163
  export const wasmdashtransaction_from_bytes: (a: number, b: number, c: number) => void;
@@ -172,6 +197,7 @@ export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c:
172
197
  export const wasmtransaction_get_txid: (a: number, b: number) => void;
173
198
  export const wasmtransaction_get_vsize: (a: number) => number;
174
199
  export const wasmtransaction_to_bytes: (a: number, b: number) => void;
200
+ export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
175
201
  export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
176
202
  export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
177
203
  export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
@@ -221,38 +247,12 @@ export const wasmtransaction_input_count: (a: number) => number;
221
247
  export const wasmtransaction_output_count: (a: number) => number;
222
248
  export const wasmzcashtransaction_input_count: (a: number) => number;
223
249
  export const wasmzcashtransaction_output_count: (a: number) => number;
224
- export const isInspectEnabled: () => number;
225
- export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
226
- export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
227
250
  export const wasmtransaction_lock_time: (a: number) => number;
228
251
  export const wasmtransaction_version: (a: number) => number;
229
252
  export const wasmzcashtransaction_lock_time: (a: number) => number;
230
253
  export const wasmzcashtransaction_version: (a: number) => number;
231
254
  export const wrappsbt_lock_time: (a: number) => number;
232
255
  export const wrappsbt_version: (a: number) => number;
233
- export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
234
- export const __wbg_messagenamespace_free: (a: number, b: number) => void;
235
- export const __wbg_wasmecpair_free: (a: number, b: number) => void;
236
- export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
237
- export const inscriptionsnamespace_create_inscription_reveal_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
238
- 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;
239
- export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
240
- export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
241
- export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
242
- export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
243
- export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
244
- export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
245
- export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
246
- export const wasmecpair_private_key: (a: number) => number;
247
- export const wasmecpair_public_key: (a: number) => number;
248
- export const wasmecpair_to_wif: (a: number, b: number) => void;
249
- export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
250
- export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
251
- export const wasmrootwalletkeys_backup_key: (a: number) => number;
252
- export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
253
- export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
254
- export const wasmrootwalletkeys_user_key: (a: number) => number;
255
- 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;
256
256
  export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
257
257
  export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
258
258
  export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: number) => void;
@@ -1,4 +1,4 @@
1
- export declare const coinNames: readonly ["btc", "tbtc", "tbtc4", "tbtcsig", "tbtcbgsig", "bch", "tbch", "bcha", "tbcha", "btg", "tbtg", "bsv", "tbsv", "dash", "tdash", "doge", "tdoge", "ltc", "tltc", "zec", "tzec"];
1
+ export declare const coinNames: readonly ["btc", "tbtc", "tbtc4", "tbtcsig", "tbtcbgsig", "tbtcreg", "bch", "tbch", "bcha", "tbcha", "btg", "tbtg", "bsv", "tbsv", "dash", "tdash", "doge", "tdoge", "ltc", "tltc", "zec", "tzec"];
2
2
  export type CoinName = (typeof coinNames)[number];
3
3
  export declare function getMainnet(name: CoinName): CoinName;
4
4
  export declare function isMainnet(name: CoinName): boolean;
@@ -5,6 +5,7 @@ export const coinNames = [
5
5
  "tbtc4",
6
6
  "tbtcsig",
7
7
  "tbtcbgsig",
8
+ "tbtcreg",
8
9
  "bch",
9
10
  "tbch",
10
11
  "bcha",
@@ -28,6 +29,7 @@ export function getMainnet(name) {
28
29
  case "tbtc4":
29
30
  case "tbtcsig":
30
31
  case "tbtcbgsig":
32
+ case "tbtcreg":
31
33
  return "btc";
32
34
  case "tbch":
33
35
  return "bch";
@@ -71,6 +73,8 @@ export function toCoinName(name) {
71
73
  return "tbtcsig";
72
74
  case "bitcoinBitGoSignet":
73
75
  return "tbtcbgsig";
76
+ case "bitcoinRegtest":
77
+ return "tbtcreg";
74
78
  case "bitcoincash":
75
79
  return "bch";
76
80
  case "bitcoincashTestnet":
@@ -24,16 +24,22 @@ export type ParsedInput = {
24
24
  address: string;
25
25
  script: Uint8Array;
26
26
  value: bigint;
27
+ /** Set only when the derivation path is chain-standard (chain code encodes script type per BitGo convention). */
27
28
  scriptId: ScriptId | null;
28
29
  scriptType: InputScriptType;
29
30
  sequence: number;
31
+ /** Full BIP32 derivation path from the wallet xpub (e.g. "0/1"). Null for replay-protection inputs. */
32
+ derivationPath: string | null;
30
33
  };
31
34
  export type ParsedOutput = {
32
35
  address: string | null;
33
36
  script: Uint8Array;
34
37
  value: bigint;
38
+ /** Set only when the derivation path is chain-standard (chain code encodes script type per BitGo convention). */
35
39
  scriptId: ScriptId | null;
36
40
  paygo: boolean;
41
+ /** Full BIP32 derivation path from the wallet xpub (e.g. "0/1"). Null for external outputs. */
42
+ derivationPath: string | null;
37
43
  };
38
44
  export type ParsedTransaction = {
39
45
  inputs: ParsedInput[];
@@ -1,5 +1,5 @@
1
1
  import type { AddressFormat } from "./address.js";
2
- export type UtxolibName = "bitcoin" | "testnet" | "bitcoinTestnet4" | "bitcoinPublicSignet" | "bitcoinBitGoSignet" | "bitcoincash" | "bitcoincashTestnet" | "ecash" | "ecashTest" | "bitcoingold" | "bitcoingoldTestnet" | "bitcoinsv" | "bitcoinsvTestnet" | "dash" | "dashTest" | "dogecoin" | "dogecoinTest" | "litecoin" | "litecoinTest" | "zcash" | "zcashTest";
2
+ export type UtxolibName = "bitcoin" | "testnet" | "bitcoinTestnet4" | "bitcoinPublicSignet" | "bitcoinBitGoSignet" | "bitcoinRegtest" | "bitcoincash" | "bitcoincashTestnet" | "ecash" | "ecashTest" | "bitcoingold" | "bitcoingoldTestnet" | "bitcoinsv" | "bitcoinsvTestnet" | "dash" | "dashTest" | "dogecoin" | "dogecoinTest" | "litecoin" | "litecoinTest" | "zcash" | "zcashTest";
3
3
  export type UtxolibNetwork = {
4
4
  pubKeyHash: number;
5
5
  scriptHash: number;
Binary file
@@ -1,13 +1,13 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
5
- export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
6
4
  export const __wbg_bip322namespace_free: (a: number, b: number) => void;
7
5
  export const __wbg_bitgopsbt_free: (a: number, b: number) => void;
8
6
  export const __wbg_fixedscriptwalletnamespace_free: (a: number, b: number) => void;
9
7
  export const __wbg_wasmbip32_free: (a: number, b: number) => void;
8
+ export const __wbg_wasmecpair_free: (a: number, b: number) => void;
10
9
  export const __wbg_wasmreplayprotection_free: (a: number, b: number) => void;
10
+ export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
11
11
  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;
12
12
  export const bip322namespace_get_bip322_message: (a: number, b: number, c: number) => void;
13
13
  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;
@@ -94,6 +94,8 @@ export const fixedscriptwalletnamespace_output_script_with_network_str: (a: numb
94
94
  export const fixedscriptwalletnamespace_p2sh_p2pk_output_script: (a: number, b: number, c: number) => void;
95
95
  export const fixedscriptwalletnamespace_supports_script_type: (a: number, b: number, c: number, d: number, e: number) => void;
96
96
  export const fixedscriptwalletnamespace_to_wallet_keys: (a: number, b: number, c: number, d: number, e: number) => void;
97
+ export const isInspectEnabled: () => number;
98
+ export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
97
99
  export const wasmbip32_chain_code: (a: number) => number;
98
100
  export const wasmbip32_depth: (a: number) => number;
99
101
  export const wasmbip32_derive: (a: number, b: number, c: number) => void;
@@ -116,23 +118,46 @@ export const wasmbip32_private_key: (a: number) => number;
116
118
  export const wasmbip32_public_key: (a: number) => number;
117
119
  export const wasmbip32_to_base58: (a: number, b: number) => void;
118
120
  export const wasmbip32_to_wif: (a: number, b: number) => void;
121
+ export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
122
+ export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
123
+ export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
124
+ export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
125
+ export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
126
+ export const wasmecpair_private_key: (a: number) => number;
127
+ export const wasmecpair_public_key: (a: number) => number;
128
+ export const wasmecpair_to_wif: (a: number, b: number) => void;
129
+ export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
130
+ export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
119
131
  export const wasmreplayprotection_from_addresses: (a: number, b: number, c: number, d: number, e: number) => void;
120
132
  export const wasmreplayprotection_from_output_scripts: (a: number, b: number) => number;
121
133
  export const wasmreplayprotection_from_public_keys: (a: number, b: number, c: number) => void;
134
+ export const wasmrootwalletkeys_backup_key: (a: number) => number;
135
+ export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
136
+ export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
137
+ export const wasmrootwalletkeys_user_key: (a: number) => number;
138
+ 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;
122
139
  export const wasmbip32_from_bip32_properties: (a: number, b: number) => void;
123
140
  export const bitgopsbt_sign_wallet_input: (a: number, b: number, c: number, d: number) => void;
141
+ export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
142
+ export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
124
143
  export const bitgopsbt_sign_all_with_xpriv: (a: number, b: number, c: number) => void;
125
144
  export const bitgopsbt_sign_replay_protection_inputs: (a: number, b: number, c: number) => void;
126
145
  export const __wbg_addressnamespace_free: (a: number, b: number) => void;
146
+ export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
147
+ export const __wbg_messagenamespace_free: (a: number, b: number) => void;
127
148
  export const __wbg_utxolibcompatnamespace_free: (a: number, b: number) => void;
128
149
  export const __wbg_wasmdashtransaction_free: (a: number, b: number) => void;
129
150
  export const __wbg_wasmdimensions_free: (a: number, b: number) => void;
130
151
  export const __wbg_wasmtransaction_free: (a: number, b: number) => void;
152
+ export const __wbg_wasmutxonamespace_free: (a: number, b: number) => void;
131
153
  export const __wbg_wasmzcashtransaction_free: (a: number, b: number) => void;
132
154
  export const __wbg_wrappsbt_free: (a: number, b: number) => void;
133
155
  export const addressnamespace_from_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
134
156
  export const addressnamespace_to_output_script_with_coin: (a: number, b: number, c: number, d: number, e: number) => void;
135
- export const parsePsbtRawToJson: (a: number, b: number, c: number, d: number, e: number) => void;
157
+ export const inscriptionsnamespace_create_inscription_reveal_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
158
+ 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;
159
+ export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
160
+ export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
136
161
  export const utxolibcompatnamespace_from_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
137
162
  export const utxolibcompatnamespace_to_output_script: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
138
163
  export const wasmdashtransaction_from_bytes: (a: number, b: number, c: number) => void;
@@ -172,6 +197,7 @@ export const wasmtransaction_get_outputs_with_address: (a: number, b: number, c:
172
197
  export const wasmtransaction_get_txid: (a: number, b: number) => void;
173
198
  export const wasmtransaction_get_vsize: (a: number) => number;
174
199
  export const wasmtransaction_to_bytes: (a: number, b: number) => void;
200
+ export const wasmutxonamespace_get_wasm_utxo_version: (a: number) => void;
175
201
  export const wasmzcashtransaction_from_bytes: (a: number, b: number, c: number) => void;
176
202
  export const wasmzcashtransaction_get_inputs: (a: number, b: number) => void;
177
203
  export const wasmzcashtransaction_get_outputs: (a: number, b: number) => void;
@@ -221,38 +247,12 @@ export const wasmtransaction_input_count: (a: number) => number;
221
247
  export const wasmtransaction_output_count: (a: number) => number;
222
248
  export const wasmzcashtransaction_input_count: (a: number) => number;
223
249
  export const wasmzcashtransaction_output_count: (a: number) => number;
224
- export const isInspectEnabled: () => number;
225
- export const parsePsbtToJson: (a: number, b: number, c: number, d: number, e: number) => void;
226
- export const parseTxToJson: (a: number, b: number, c: number, d: number, e: number) => void;
227
250
  export const wasmtransaction_lock_time: (a: number) => number;
228
251
  export const wasmtransaction_version: (a: number) => number;
229
252
  export const wasmzcashtransaction_lock_time: (a: number) => number;
230
253
  export const wasmzcashtransaction_version: (a: number) => number;
231
254
  export const wrappsbt_lock_time: (a: number) => number;
232
255
  export const wrappsbt_version: (a: number) => number;
233
- export const __wbg_inscriptionsnamespace_free: (a: number, b: number) => void;
234
- export const __wbg_messagenamespace_free: (a: number, b: number) => void;
235
- export const __wbg_wasmecpair_free: (a: number, b: number) => void;
236
- export const __wbg_wasmrootwalletkeys_free: (a: number, b: number) => void;
237
- export const inscriptionsnamespace_create_inscription_reveal_data: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
238
- 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;
239
- export const messagenamespace_sign_message: (a: number, b: number, c: number, d: number) => void;
240
- export const messagenamespace_verify_message: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
241
- export const wasmecpair_from_private_key: (a: number, b: number, c: number) => void;
242
- export const wasmecpair_from_public_key: (a: number, b: number, c: number) => void;
243
- export const wasmecpair_from_wif: (a: number, b: number, c: number) => void;
244
- export const wasmecpair_from_wif_mainnet: (a: number, b: number, c: number) => void;
245
- export const wasmecpair_from_wif_testnet: (a: number, b: number, c: number) => void;
246
- export const wasmecpair_private_key: (a: number) => number;
247
- export const wasmecpair_public_key: (a: number) => number;
248
- export const wasmecpair_to_wif: (a: number, b: number) => void;
249
- export const wasmecpair_to_wif_mainnet: (a: number, b: number) => void;
250
- export const wasmecpair_to_wif_testnet: (a: number, b: number) => void;
251
- export const wasmrootwalletkeys_backup_key: (a: number) => number;
252
- export const wasmrootwalletkeys_bitgo_key: (a: number) => number;
253
- export const wasmrootwalletkeys_new: (a: number, b: number, c: number, d: number) => void;
254
- export const wasmrootwalletkeys_user_key: (a: number) => number;
255
- 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;
256
256
  export const __wbg_wrapdescriptor_free: (a: number, b: number) => void;
257
257
  export const __wbg_wrapminiscript_free: (a: number, b: number) => void;
258
258
  export const wrapdescriptor_atDerivationIndex: (a: number, b: number, c: 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.9.0",
4
+ "version": "4.11.0",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",