bitmask-core 1.0.7-beta.11 → 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
@@ -18,8 +18,30 @@ export const drain_wallet: (a: number, b: number, c: number, d: number, e: numbe
18
18
  export const bump_fee: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
19
19
  export const psbt_sign_and_publish_file: (a: any) => any;
20
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;
35
+ export const store: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => any;
36
+ export const retrieve: (a: number, b: number, c: number, d: number) => any;
37
+ export const retrieve_metadata: (a: number, b: number, c: number, d: number) => any;
38
+ export const encode_hex: (a: number, b: number) => [number, number];
39
+ export const encode_base64: (a: number, b: number) => [number, number];
40
+ export const decode_hex: (a: number, b: number) => [number, number, number, number];
41
+ export const decode_base64: (a: number, b: number) => [number, number, number, number];
21
42
  export const get_rgb_version: () => [number, number];
22
43
  export const get_rgb_wallet: (a: number, b: number) => any;
44
+ export const get_btc_wallet_data: (a: number, b: number) => any;
23
45
  export const get_contract: (a: number, b: number, c: number, d: number) => any;
24
46
  export const list_contracts: (a: number, b: number, c: number) => any;
25
47
  export const import_contract: (a: number, b: number, c: number, d: number) => any;
@@ -54,6 +76,8 @@ export const create_airdrop_claim: (a: number, b: number, c: any) => any;
54
76
  export const close_airdrop: (a: number, b: number, c: any) => any;
55
77
  export const backup_rgb_data: (a: number, b: number) => any;
56
78
  export const restore_rgb_data: (a: number, b: number) => any;
79
+ export const new_nostr_pubkey: (a: number, b: number, c: number, d: number) => any;
80
+ export const update_nostr_pubkey: (a: number, b: number, c: number, d: number) => any;
57
81
  export const fund_rgb_vault: (a: number, b: number, c: number, d: any, e: number, f: number, g: bigint, h: number) => any;
58
82
  export const transfer_sats: (a: number, b: number, c: number, d: number, e: bigint, f: number, g: any) => any;
59
83
  export const get_btc_wallet: (a: number, b: number) => any;
@@ -68,34 +92,11 @@ export const check_watcher: (a: number, b: number) => any;
68
92
  export const watcher_next_address: (a: number, b: number, c: number, d: number) => any;
69
93
  export const watcher_next_utxo: (a: number, b: number, c: number, d: number) => any;
70
94
  export const watcher_unspent_utxos: (a: number, b: number, c: number, d: number) => any;
71
- export const store: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => any;
72
- export const retrieve: (a: number, b: number, c: number, d: number) => any;
73
- export const retrieve_metadata: (a: number, b: number, c: number, d: number) => any;
74
- export const encode_hex: (a: number, b: number) => [number, number];
75
- export const encode_base64: (a: number, b: number) => [number, number];
76
- export const decode_hex: (a: number, b: number) => [number, number, number, number];
77
- export const decode_base64: (a: number, b: number) => [number, number, number, number];
78
- export const new_nostr_pubkey: (a: number, b: number, c: number, d: number) => any;
79
- export const update_nostr_pubkey: (a: number, b: number, c: number, d: number) => any;
80
95
  export const convert_contract_amount_raw: (a: number, b: number, c: number) => [number, number];
81
96
  export const convert_contract_amount_string: (a: bigint, b: number) => [number, number];
82
97
  export const parse_contract_amount: (a: number, b: number) => any;
83
98
  export const parse_contract_amount_precision: (a: number, b: number, c: number) => [number, number];
84
99
  export const version: () => any;
85
- export const get_network: () => any;
86
- export const switch_network: (a: number, b: number) => any;
87
- export const get_env: (a: number, b: number) => any;
88
- export const set_env: (a: number, b: number, c: number, d: number) => any;
89
- export const sleep: (a: number) => any;
90
- export const create_wallet: (a: number, b: number, c: number, d: number) => any;
91
- export const auth: (a: number, b: number, c: number, d: number) => any;
92
- export const ln_create_invoice: (a: number, b: number, c: number, d: number, e: number) => any;
93
- export const get_balance: (a: number, b: number) => any;
94
- export const get_txs: (a: number, b: number) => any;
95
- export const pay_invoice: (a: number, b: number, c: number, d: number) => any;
96
- export const check_payment: (a: number, b: number) => any;
97
- export const swap_btc_ln: (a: number, b: number, c: number, d: number) => any;
98
- export const swap_ln_btc: (a: number, b: number, c: bigint, d: number, e: number) => any;
99
100
  export const rustsecp256k1_v0_9_2_context_create: (a: number) => number;
100
101
  export const rustsecp256k1_v0_9_2_context_destroy: (a: number) => void;
101
102
  export const rustsecp256k1_v0_9_2_default_illegal_callback_fn: (a: number, b: number) => void;
@@ -121,10 +122,10 @@ export const __externref_drop_slice: (a: number, b: number) => void;
121
122
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
122
123
  export const __wbindgen_export_7: WebAssembly.Table;
123
124
  export const __externref_table_dealloc: (a: number) => void;
124
- export const closure1445_externref_shim: (a: number, b: number, c: any) => void;
125
- export const closure2689_externref_shim: (a: number, b: number, c: any) => void;
126
- export const closure2720_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;
127
128
  export const _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7ceba1bc0c075797: (a: number, b: number) => void;
128
- export const closure3900_externref_shim: (a: number, b: number, c: any) => void;
129
- export const closure4192_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;
130
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.11",
12
+ "version": "1.0.7-beta.13",
13
13
  "license": "MIT/Apache-2.0",
14
14
  "repository": {
15
15
  "type": "git",