@secondts/bark-react-native 0.10.0 → 0.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.
- package/README.md +1 -1
- package/cpp/generated/bark.cpp +296 -194
- package/cpp/generated/bark.hpp +8 -10
- package/lib/commonjs/generated/bark-ffi.js.map +1 -1
- package/lib/commonjs/generated/bark.js +451 -960
- package/lib/commonjs/generated/bark.js.map +1 -1
- package/lib/module/generated/bark-ffi.js.map +1 -1
- package/lib/module/generated/bark.js +450 -960
- package/lib/module/generated/bark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts +12 -12
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark.d.ts +357 -1323
- package/lib/typescript/commonjs/src/generated/bark.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark-ffi.d.ts +12 -12
- package/lib/typescript/module/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark.d.ts +357 -1323
- package/lib/typescript/module/src/generated/bark.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/generated/bark-ffi.ts +33 -35
- package/src/generated/bark.ts +739 -1611
package/cpp/generated/bark.hpp
CHANGED
|
@@ -37,6 +37,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
37
37
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_get_spending_tx(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
38
38
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_make_signed_p2a_cpfp(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
39
39
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_store_signed_p2a_cpfp(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
40
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_sync(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
40
41
|
jsi::Value cpp_uniffi_bark_ffi_fn_clone_barklogger(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
41
42
|
jsi::Value cpp_uniffi_bark_ffi_fn_free_barklogger(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
42
43
|
jsi::Value cpp_uniffi_bark_ffi_fn_init_callback_vtable_barklogger(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -51,11 +52,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
51
52
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_onchainwallet_sync(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
52
53
|
jsi::Value cpp_uniffi_bark_ffi_fn_clone_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
53
54
|
jsi::Value cpp_uniffi_bark_ffi_fn_free_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
54
|
-
jsi::Value cpp_uniffi_bark_ffi_fn_constructor_wallet_create(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
55
|
-
jsi::Value cpp_uniffi_bark_ffi_fn_constructor_wallet_create_with_onchain(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
56
55
|
jsi::Value cpp_uniffi_bark_ffi_fn_constructor_wallet_open(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
57
|
-
jsi::Value cpp_uniffi_bark_ffi_fn_constructor_wallet_open_with_daemon(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
58
|
-
jsi::Value cpp_uniffi_bark_ffi_fn_constructor_wallet_open_with_onchain(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
59
56
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_all_exits_claimable_at_height(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
60
57
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_all_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
61
58
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_allow_lightning_send_to_exit(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -104,7 +101,6 @@ class NativeBark : public jsi::HostObject {
|
|
|
104
101
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_maintenance_refresh(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
105
102
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_maintenance_with_onchain(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
106
103
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_maintenance_with_onchain_delegated(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
107
|
-
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_maybe_schedule_maintenance_refresh(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
108
104
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_network(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
109
105
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_new_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
110
106
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_new_address_with_index(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -115,6 +111,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
115
111
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pay_lightning_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
116
112
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pay_lightning_invoice(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
117
113
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pay_lightning_offer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
114
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pay_lnurl(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
118
115
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_peek_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
119
116
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_board_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
120
117
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_boards(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -141,6 +138,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
141
138
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_stuck_failed_lightning_sends(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
142
139
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_sync(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
143
140
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_sync_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
141
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_sync_force_exited_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
144
142
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_sync_pending_boards(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
145
143
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_try_claim_all_lightning_receives(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
146
144
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_try_claim_lightning_receive(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -151,6 +149,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
151
149
|
jsi::Value cpp_uniffi_bark_ffi_fn_func_validate_ark_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
152
150
|
jsi::Value cpp_uniffi_bark_ffi_fn_func_validate_mnemonic(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
153
151
|
jsi::Value cpp_uniffi_bark_ffi_fn_func_set_logger(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
152
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_func_init_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
154
153
|
jsi::Value cpp_ffi_bark_ffi_rust_future_poll_u8(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
155
154
|
jsi::Value cpp_ffi_bark_ffi_rust_future_cancel_u8(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
156
155
|
jsi::Value cpp_ffi_bark_ffi_rust_future_free_u8(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -204,6 +203,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
204
203
|
jsi::Value cpp_uniffi_bark_ffi_checksum_func_validate_ark_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
205
204
|
jsi::Value cpp_uniffi_bark_ffi_checksum_func_validate_mnemonic(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
206
205
|
jsi::Value cpp_uniffi_bark_ffi_checksum_func_set_logger(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
206
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_func_init_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
207
207
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_notificationholder_cancel_next_notification_wait(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
208
208
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_notificationholder_next_notification(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
209
209
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_balance(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -215,6 +215,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
215
215
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_spending_tx(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
216
216
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_make_signed_p2a_cpfp(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
217
217
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_store_signed_p2a_cpfp(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
218
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_sync(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
218
219
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_barklogger_log(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
219
220
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_onchainwallet_balance(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
220
221
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_onchainwallet_new_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -268,7 +269,6 @@ class NativeBark : public jsi::HostObject {
|
|
|
268
269
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
269
270
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
270
271
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
271
|
-
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_maybe_schedule_maintenance_refresh(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
272
272
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_network(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
273
273
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_new_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
274
274
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_new_address_with_index(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -279,6 +279,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
279
279
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
280
280
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_invoice(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
281
281
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_offer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
282
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pay_lnurl(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
282
283
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_peek_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
283
284
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_board_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
284
285
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_boards(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -305,6 +306,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
305
306
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_stuck_failed_lightning_sends(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
306
307
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_sync(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
307
308
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_sync_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
309
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_sync_force_exited_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
308
310
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_sync_pending_boards(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
309
311
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_try_claim_all_lightning_receives(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
310
312
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_try_claim_lightning_receive(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -312,11 +314,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
312
314
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
313
315
|
jsi::Value cpp_uniffi_bark_ffi_checksum_constructor_onchainwallet_custom(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
314
316
|
jsi::Value cpp_uniffi_bark_ffi_checksum_constructor_onchainwallet_default(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
315
|
-
jsi::Value cpp_uniffi_bark_ffi_checksum_constructor_wallet_create(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
316
|
-
jsi::Value cpp_uniffi_bark_ffi_checksum_constructor_wallet_create_with_onchain(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
317
317
|
jsi::Value cpp_uniffi_bark_ffi_checksum_constructor_wallet_open(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
318
|
-
jsi::Value cpp_uniffi_bark_ffi_checksum_constructor_wallet_open_with_daemon(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
319
|
-
jsi::Value cpp_uniffi_bark_ffi_checksum_constructor_wallet_open_with_onchain(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
320
318
|
jsi::Value cpp_ffi_bark_ffi_uniffi_contract_version(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
321
319
|
jsi::Value cpp_uniffi_internal_fn_method_notificationholder_ffi__bless_pointer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
322
320
|
jsi::Value cpp_uniffi_internal_fn_method_customonchainwalletcallbacks_ffi__bless_pointer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getter","globalThis","NativeBark","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/bark-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AAEA;AACA;AACA;;
|
|
1
|
+
{"version":3,"names":["getter","globalThis","NativeBark","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/bark-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AAEA;AACA;AACA;;AAqwBA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,UAAU;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAClBL,MAAM,EAErB;AA6KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMM,8CAGL,GAAG,IAAI;AACR,MAAMC,mCAGL,GAAG,IAAI","ignoreList":[]}
|