bitmask-core 1.0.7-beta.12 → 1.0.7-beta.13

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.
Binary file
@@ -1,11 +1,37 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const convert_contract_amount_raw: (a: number, b: number, c: number) => [number, number];
5
- export const convert_contract_amount_string: (a: bigint, b: number) => [number, number];
6
- export const parse_contract_amount: (a: number, b: number) => any;
7
- export const parse_contract_amount_precision: (a: number, b: number, c: number) => [number, number];
8
- export const version: () => any;
4
+ export const hash_password: (a: number, b: number) => [number, number];
5
+ export const new_mnemonic: (a: number, b: number) => any;
6
+ export const save_mnemonic: (a: number, b: number, c: number, d: number) => any;
7
+ export const decrypt_wallet: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
8
+ export const upgrade_wallet: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
9
+ export const new_wallet: (a: number, b: number, c: number, d: number) => any;
10
+ export const encrypt_wallet: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
11
+ export const get_wallet_data: (a: number, b: number, c: number, d: number) => any;
12
+ export const sync_wallets: () => any;
13
+ export const get_new_address: (a: number, b: number, c: number, d: number) => any;
14
+ export const send_sats: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint, h: number, i: number) => any;
15
+ export const fund_vault: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
16
+ export const get_assets_vault: (a: number, b: number) => any;
17
+ export const drain_wallet: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
18
+ export const bump_fee: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
19
+ export const psbt_sign_and_publish_file: (a: any) => any;
20
+ export const psbt_publish_file: (a: any) => any;
21
+ export const create_wallet: (a: number, b: number, c: number, d: number) => any;
22
+ export const auth: (a: number, b: number, c: number, d: number) => any;
23
+ export const ln_create_invoice: (a: number, b: number, c: number, d: number, e: number) => any;
24
+ export const get_balance: (a: number, b: number) => any;
25
+ export const get_txs: (a: number, b: number) => any;
26
+ export const pay_invoice: (a: number, b: number, c: number, d: number) => any;
27
+ export const check_payment: (a: number, b: number) => any;
28
+ export const swap_btc_ln: (a: number, b: number, c: number, d: number) => any;
29
+ export const swap_ln_btc: (a: number, b: number, c: bigint, d: number, e: number) => any;
30
+ export const get_network: () => any;
31
+ export const switch_network: (a: number, b: number) => any;
32
+ export const get_env: (a: number, b: number) => any;
33
+ export const set_env: (a: number, b: number, c: number, d: number) => any;
34
+ export const sleep: (a: number) => any;
9
35
  export const store: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => any;
10
36
  export const retrieve: (a: number, b: number, c: number, d: number) => any;
11
37
  export const retrieve_metadata: (a: number, b: number, c: number, d: number) => any;
@@ -13,14 +39,6 @@ export const encode_hex: (a: number, b: number) => [number, number];
13
39
  export const encode_base64: (a: number, b: number) => [number, number];
14
40
  export const decode_hex: (a: number, b: number) => [number, number, number, number];
15
41
  export const decode_base64: (a: number, b: number) => [number, number, number, number];
16
- export const create_watcher: (a: number, b: number, c: any) => any;
17
- export const recover_watcher: (a: number, b: number, c: any) => any;
18
- export const destroy_watcher: (a: number, b: number) => any;
19
- export const destroy_recover_watcher: (a: number, b: number) => any;
20
- export const check_watcher: (a: number, b: number) => any;
21
- export const watcher_next_address: (a: number, b: number, c: number, d: number) => any;
22
- export const watcher_next_utxo: (a: number, b: number, c: number, d: number) => any;
23
- export const watcher_unspent_utxos: (a: number, b: number, c: number, d: number) => any;
24
42
  export const get_rgb_version: () => [number, number];
25
43
  export const get_rgb_wallet: (a: number, b: number) => any;
26
44
  export const get_btc_wallet_data: (a: number, b: number) => any;
@@ -58,45 +76,27 @@ export const create_airdrop_claim: (a: number, b: number, c: any) => any;
58
76
  export const close_airdrop: (a: number, b: number, c: any) => any;
59
77
  export const backup_rgb_data: (a: number, b: number) => any;
60
78
  export const restore_rgb_data: (a: number, b: number) => any;
61
- export const create_wallet: (a: number, b: number, c: number, d: number) => any;
62
- export const auth: (a: number, b: number, c: number, d: number) => any;
63
- export const ln_create_invoice: (a: number, b: number, c: number, d: number, e: number) => any;
64
- export const get_balance: (a: number, b: number) => any;
65
- export const get_txs: (a: number, b: number) => any;
66
- export const pay_invoice: (a: number, b: number, c: number, d: number) => any;
67
- export const check_payment: (a: number, b: number) => any;
68
- export const swap_btc_ln: (a: number, b: number, c: number, d: number) => any;
69
- export const swap_ln_btc: (a: number, b: number, c: bigint, d: number, e: number) => any;
70
79
  export const new_nostr_pubkey: (a: number, b: number, c: number, d: number) => any;
71
80
  export const update_nostr_pubkey: (a: number, b: number, c: number, d: number) => any;
72
- export const hash_password: (a: number, b: number) => [number, number];
73
- export const new_mnemonic: (a: number, b: number) => any;
74
- export const save_mnemonic: (a: number, b: number, c: number, d: number) => any;
75
- export const decrypt_wallet: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
76
- export const upgrade_wallet: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
77
- export const new_wallet: (a: number, b: number, c: number, d: number) => any;
78
- export const encrypt_wallet: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
79
- export const get_wallet_data: (a: number, b: number, c: number, d: number) => any;
80
- export const sync_wallets: () => any;
81
- export const get_new_address: (a: number, b: number, c: number, d: number) => any;
82
- export const send_sats: (a: number, b: number, c: number, d: number, e: number, f: number, g: bigint, h: number, i: number) => any;
83
- export const fund_vault: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
84
- export const get_assets_vault: (a: number, b: number) => any;
85
- export const drain_wallet: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
86
- export const bump_fee: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
87
- export const psbt_sign_and_publish_file: (a: any) => any;
88
- export const psbt_publish_file: (a: any) => any;
89
81
  export const fund_rgb_vault: (a: number, b: number, c: number, d: any, e: number, f: number, g: bigint, h: number) => any;
90
82
  export const transfer_sats: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: any) => any;
91
83
  export const get_btc_wallet: (a: number, b: number) => any;
92
84
  export const backup_btc_data: (a: number, b: number) => any;
93
85
  export const recover_funds_from_bad_wallets: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
94
86
  export const restore_btc_data: (a: number, b: number) => any;
95
- export const get_network: () => any;
96
- export const switch_network: (a: number, b: number) => any;
97
- export const get_env: (a: number, b: number) => any;
98
- export const set_env: (a: number, b: number, c: number, d: number) => any;
99
- export const sleep: (a: number) => any;
87
+ export const create_watcher: (a: number, b: number, c: any) => any;
88
+ export const recover_watcher: (a: number, b: number, c: any) => any;
89
+ export const destroy_watcher: (a: number, b: number) => any;
90
+ export const destroy_recover_watcher: (a: number, b: number) => any;
91
+ export const check_watcher: (a: number, b: number) => any;
92
+ export const watcher_next_address: (a: number, b: number, c: number, d: number) => any;
93
+ export const watcher_next_utxo: (a: number, b: number, c: number, d: number) => any;
94
+ export const watcher_unspent_utxos: (a: number, b: number, c: number, d: number) => any;
95
+ export const convert_contract_amount_raw: (a: number, b: number, c: number) => [number, number];
96
+ export const convert_contract_amount_string: (a: bigint, b: number) => [number, number];
97
+ export const parse_contract_amount: (a: number, b: number) => any;
98
+ export const parse_contract_amount_precision: (a: number, b: number, c: number) => [number, number];
99
+ export const version: () => any;
100
100
  export const rustsecp256k1_v0_9_2_context_create: (a: number) => number;
101
101
  export const rustsecp256k1_v0_9_2_context_destroy: (a: number) => void;
102
102
  export const rustsecp256k1_v0_9_2_default_illegal_callback_fn: (a: number, b: number) => void;
@@ -122,10 +122,10 @@ export const __externref_drop_slice: (a: number, b: number) => void;
122
122
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
123
123
  export const __wbindgen_export_7: WebAssembly.Table;
124
124
  export const __externref_table_dealloc: (a: number) => void;
125
- export const closure1287_externref_shim: (a: number, b: number, c: any) => void;
126
- export const closure2715_externref_shim: (a: number, b: number, c: any) => void;
127
- export const closure2746_externref_shim: (a: number, b: number, c: any) => void;
125
+ export const closure1782_externref_shim: (a: number, b: number, c: any) => void;
126
+ export const closure2713_externref_shim: (a: number, b: number, c: any) => void;
127
+ export const closure2744_externref_shim: (a: number, b: number, c: any) => void;
128
128
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7ceba1bc0c075797: (a: number, b: number) => void;
129
- export const closure3926_externref_shim: (a: number, b: number, c: any) => void;
130
- export const closure4218_externref_shim: (a: number, b: number, c: any, d: any) => void;
129
+ export const closure3924_externref_shim: (a: number, b: number, c: any) => void;
130
+ export const closure4216_externref_shim: (a: number, b: number, c: any, d: any) => void;
131
131
  export const __wbindgen_start: () => void;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "Stanley Arua <stanarua@aol.com>"
10
10
  ],
11
11
  "description": "Core functionality for the BitMask wallet",
12
- "version": "1.0.7-beta.12",
12
+ "version": "1.0.7-beta.13",
13
13
  "license": "MIT/Apache-2.0",
14
14
  "repository": {
15
15
  "type": "git",