@secondts/bark-react-native 0.17.0 → 0.18.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 +146 -0
- package/cpp/generated/bark.hpp +8 -0
- package/lib/commonjs/generated/bark-ffi.js.map +1 -1
- package/lib/commonjs/generated/bark.js +357 -1
- 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 +356 -0
- package/lib/module/generated/bark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts +8 -0
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark.d.ts +214 -0
- package/lib/typescript/commonjs/src/generated/bark.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark-ffi.d.ts +8 -0
- package/lib/typescript/module/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark.d.ts +214 -0
- package/lib/typescript/module/src/generated/bark.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/generated/bark-ffi.ts +22 -0
- package/src/generated/bark.ts +526 -0
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ npx expo install @secondts/bark-react-native@beta
|
|
|
60
60
|
|
|
61
61
|
```bash
|
|
62
62
|
# Or install a specific beta version
|
|
63
|
-
npx expo install @secondts/bark-react-native@0.
|
|
63
|
+
npx expo install @secondts/bark-react-native@0.18.0
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
For bare React Native projects, use:
|
package/cpp/generated/bark.cpp
CHANGED
|
@@ -402,6 +402,10 @@ extern "C" {
|
|
|
402
402
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_cancel_all_pending_rounds(
|
|
403
403
|
/*handle*/ uint64_t ptr
|
|
404
404
|
);
|
|
405
|
+
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_cancel_exit(
|
|
406
|
+
/*handle*/ uint64_t ptr,
|
|
407
|
+
RustBuffer vtxo_id
|
|
408
|
+
);
|
|
405
409
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_cancel_lightning_receive(
|
|
406
410
|
/*handle*/ uint64_t ptr,
|
|
407
411
|
RustBuffer payment_hash
|
|
@@ -521,6 +525,11 @@ extern "C" {
|
|
|
521
525
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_list_claimable_exits(
|
|
522
526
|
/*handle*/ uint64_t ptr
|
|
523
527
|
);
|
|
528
|
+
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_lock_vtxos(
|
|
529
|
+
/*handle*/ uint64_t ptr,
|
|
530
|
+
RustBuffer vtxo_ids,
|
|
531
|
+
RustBuffer holder
|
|
532
|
+
);
|
|
524
533
|
RustBuffer uniffi_bark_ffi_fn_method_wallet_mailbox_authorization(
|
|
525
534
|
/*handle*/ uint64_t ptr,
|
|
526
535
|
RustCallStatus *uniffi_out_err
|
|
@@ -678,6 +687,10 @@ extern "C" {
|
|
|
678
687
|
/*handle*/ uint64_t ptr,
|
|
679
688
|
RustBuffer vtxo_ids
|
|
680
689
|
);
|
|
690
|
+
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_start_exit_for_vtxos_including_non_standard(
|
|
691
|
+
/*handle*/ uint64_t ptr,
|
|
692
|
+
RustBuffer vtxo_ids
|
|
693
|
+
);
|
|
681
694
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_stop_daemon(
|
|
682
695
|
/*handle*/ uint64_t ptr
|
|
683
696
|
);
|
|
@@ -705,6 +718,11 @@ extern "C" {
|
|
|
705
718
|
RustBuffer payment_hash,
|
|
706
719
|
int8_t wait
|
|
707
720
|
);
|
|
721
|
+
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_unlock_vtxos(
|
|
722
|
+
/*handle*/ uint64_t ptr,
|
|
723
|
+
RustBuffer vtxo_ids,
|
|
724
|
+
RustBuffer expected_holder
|
|
725
|
+
);
|
|
708
726
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_validate_arkoor_address(
|
|
709
727
|
/*handle*/ uint64_t ptr,
|
|
710
728
|
RustBuffer address
|
|
@@ -1015,6 +1033,8 @@ extern "C" {
|
|
|
1015
1033
|
);
|
|
1016
1034
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_cancel_all_pending_rounds(
|
|
1017
1035
|
);
|
|
1036
|
+
uint16_t uniffi_bark_ffi_checksum_method_wallet_cancel_exit(
|
|
1037
|
+
);
|
|
1018
1038
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_cancel_lightning_receive(
|
|
1019
1039
|
);
|
|
1020
1040
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_cancel_pending_round(
|
|
@@ -1075,6 +1095,8 @@ extern "C" {
|
|
|
1075
1095
|
);
|
|
1076
1096
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits(
|
|
1077
1097
|
);
|
|
1098
|
+
uint16_t uniffi_bark_ffi_checksum_method_wallet_lock_vtxos(
|
|
1099
|
+
);
|
|
1078
1100
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_mailbox_authorization(
|
|
1079
1101
|
);
|
|
1080
1102
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_mailbox_identifier(
|
|
@@ -1157,6 +1179,8 @@ extern "C" {
|
|
|
1157
1179
|
);
|
|
1158
1180
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos(
|
|
1159
1181
|
);
|
|
1182
|
+
uint16_t uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos_including_non_standard(
|
|
1183
|
+
);
|
|
1160
1184
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_stop_daemon(
|
|
1161
1185
|
);
|
|
1162
1186
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_stuck_failed_lightning_sends(
|
|
@@ -1173,6 +1197,8 @@ extern "C" {
|
|
|
1173
1197
|
);
|
|
1174
1198
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_try_claim_lightning_receive(
|
|
1175
1199
|
);
|
|
1200
|
+
uint16_t uniffi_bark_ffi_checksum_method_wallet_unlock_vtxos(
|
|
1201
|
+
);
|
|
1176
1202
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_validate_arkoor_address(
|
|
1177
1203
|
);
|
|
1178
1204
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_vtxo_encoded(
|
|
@@ -4939,6 +4965,14 @@ NativeBark::NativeBark(
|
|
|
4939
4965
|
return this->cpp_uniffi_bark_ffi_fn_method_wallet_cancel_all_pending_rounds(rt, thisVal, args, count);
|
|
4940
4966
|
}
|
|
4941
4967
|
);
|
|
4968
|
+
props["ubrn_uniffi_bark_ffi_fn_method_wallet_cancel_exit"] = jsi::Function::createFromHostFunction(
|
|
4969
|
+
rt,
|
|
4970
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_cancel_exit"),
|
|
4971
|
+
2,
|
|
4972
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4973
|
+
return this->cpp_uniffi_bark_ffi_fn_method_wallet_cancel_exit(rt, thisVal, args, count);
|
|
4974
|
+
}
|
|
4975
|
+
);
|
|
4942
4976
|
props["ubrn_uniffi_bark_ffi_fn_method_wallet_cancel_lightning_receive"] = jsi::Function::createFromHostFunction(
|
|
4943
4977
|
rt,
|
|
4944
4978
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_cancel_lightning_receive"),
|
|
@@ -5179,6 +5213,14 @@ NativeBark::NativeBark(
|
|
|
5179
5213
|
return this->cpp_uniffi_bark_ffi_fn_method_wallet_list_claimable_exits(rt, thisVal, args, count);
|
|
5180
5214
|
}
|
|
5181
5215
|
);
|
|
5216
|
+
props["ubrn_uniffi_bark_ffi_fn_method_wallet_lock_vtxos"] = jsi::Function::createFromHostFunction(
|
|
5217
|
+
rt,
|
|
5218
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_lock_vtxos"),
|
|
5219
|
+
3,
|
|
5220
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5221
|
+
return this->cpp_uniffi_bark_ffi_fn_method_wallet_lock_vtxos(rt, thisVal, args, count);
|
|
5222
|
+
}
|
|
5223
|
+
);
|
|
5182
5224
|
props["ubrn_uniffi_bark_ffi_fn_method_wallet_mailbox_authorization"] = jsi::Function::createFromHostFunction(
|
|
5183
5225
|
rt,
|
|
5184
5226
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_mailbox_authorization"),
|
|
@@ -5507,6 +5549,14 @@ NativeBark::NativeBark(
|
|
|
5507
5549
|
return this->cpp_uniffi_bark_ffi_fn_method_wallet_start_exit_for_vtxos(rt, thisVal, args, count);
|
|
5508
5550
|
}
|
|
5509
5551
|
);
|
|
5552
|
+
props["ubrn_uniffi_bark_ffi_fn_method_wallet_start_exit_for_vtxos_including_non_standard"] = jsi::Function::createFromHostFunction(
|
|
5553
|
+
rt,
|
|
5554
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_start_exit_for_vtxos_including_non_standard"),
|
|
5555
|
+
2,
|
|
5556
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5557
|
+
return this->cpp_uniffi_bark_ffi_fn_method_wallet_start_exit_for_vtxos_including_non_standard(rt, thisVal, args, count);
|
|
5558
|
+
}
|
|
5559
|
+
);
|
|
5510
5560
|
props["ubrn_uniffi_bark_ffi_fn_method_wallet_stop_daemon"] = jsi::Function::createFromHostFunction(
|
|
5511
5561
|
rt,
|
|
5512
5562
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_stop_daemon"),
|
|
@@ -5571,6 +5621,14 @@ NativeBark::NativeBark(
|
|
|
5571
5621
|
return this->cpp_uniffi_bark_ffi_fn_method_wallet_try_claim_lightning_receive(rt, thisVal, args, count);
|
|
5572
5622
|
}
|
|
5573
5623
|
);
|
|
5624
|
+
props["ubrn_uniffi_bark_ffi_fn_method_wallet_unlock_vtxos"] = jsi::Function::createFromHostFunction(
|
|
5625
|
+
rt,
|
|
5626
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_unlock_vtxos"),
|
|
5627
|
+
3,
|
|
5628
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5629
|
+
return this->cpp_uniffi_bark_ffi_fn_method_wallet_unlock_vtxos(rt, thisVal, args, count);
|
|
5630
|
+
}
|
|
5631
|
+
);
|
|
5574
5632
|
props["ubrn_uniffi_bark_ffi_fn_method_wallet_validate_arkoor_address"] = jsi::Function::createFromHostFunction(
|
|
5575
5633
|
rt,
|
|
5576
5634
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_validate_arkoor_address"),
|
|
@@ -6331,6 +6389,14 @@ NativeBark::NativeBark(
|
|
|
6331
6389
|
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_cancel_all_pending_rounds(rt, thisVal, args, count);
|
|
6332
6390
|
}
|
|
6333
6391
|
);
|
|
6392
|
+
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_exit"] = jsi::Function::createFromHostFunction(
|
|
6393
|
+
rt,
|
|
6394
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_exit"),
|
|
6395
|
+
0,
|
|
6396
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
6397
|
+
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_cancel_exit(rt, thisVal, args, count);
|
|
6398
|
+
}
|
|
6399
|
+
);
|
|
6334
6400
|
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_lightning_receive"] = jsi::Function::createFromHostFunction(
|
|
6335
6401
|
rt,
|
|
6336
6402
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_lightning_receive"),
|
|
@@ -6571,6 +6637,14 @@ NativeBark::NativeBark(
|
|
|
6571
6637
|
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits(rt, thisVal, args, count);
|
|
6572
6638
|
}
|
|
6573
6639
|
);
|
|
6640
|
+
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_lock_vtxos"] = jsi::Function::createFromHostFunction(
|
|
6641
|
+
rt,
|
|
6642
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_lock_vtxos"),
|
|
6643
|
+
0,
|
|
6644
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
6645
|
+
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_lock_vtxos(rt, thisVal, args, count);
|
|
6646
|
+
}
|
|
6647
|
+
);
|
|
6574
6648
|
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_mailbox_authorization"] = jsi::Function::createFromHostFunction(
|
|
6575
6649
|
rt,
|
|
6576
6650
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_mailbox_authorization"),
|
|
@@ -6899,6 +6973,14 @@ NativeBark::NativeBark(
|
|
|
6899
6973
|
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos(rt, thisVal, args, count);
|
|
6900
6974
|
}
|
|
6901
6975
|
);
|
|
6976
|
+
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos_including_non_standard"] = jsi::Function::createFromHostFunction(
|
|
6977
|
+
rt,
|
|
6978
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos_including_non_standard"),
|
|
6979
|
+
0,
|
|
6980
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
6981
|
+
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos_including_non_standard(rt, thisVal, args, count);
|
|
6982
|
+
}
|
|
6983
|
+
);
|
|
6902
6984
|
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_stop_daemon"] = jsi::Function::createFromHostFunction(
|
|
6903
6985
|
rt,
|
|
6904
6986
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_stop_daemon"),
|
|
@@ -6963,6 +7045,14 @@ NativeBark::NativeBark(
|
|
|
6963
7045
|
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_try_claim_lightning_receive(rt, thisVal, args, count);
|
|
6964
7046
|
}
|
|
6965
7047
|
);
|
|
7048
|
+
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_unlock_vtxos"] = jsi::Function::createFromHostFunction(
|
|
7049
|
+
rt,
|
|
7050
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_unlock_vtxos"),
|
|
7051
|
+
0,
|
|
7052
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
7053
|
+
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_unlock_vtxos(rt, thisVal, args, count);
|
|
7054
|
+
}
|
|
7055
|
+
);
|
|
6966
7056
|
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_validate_arkoor_address"] = jsi::Function::createFromHostFunction(
|
|
6967
7057
|
rt,
|
|
6968
7058
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_validate_arkoor_address"),
|
|
@@ -7586,6 +7676,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_cancel_all_pending_r
|
|
|
7586
7676
|
);
|
|
7587
7677
|
|
|
7588
7678
|
|
|
7679
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
7680
|
+
}
|
|
7681
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_cancel_exit(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
7682
|
+
auto value = uniffi_bark_ffi_fn_method_wallet_cancel_exit(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1])
|
|
7683
|
+
);
|
|
7684
|
+
|
|
7685
|
+
|
|
7589
7686
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
7590
7687
|
}
|
|
7591
7688
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_cancel_lightning_receive(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -7799,6 +7896,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_list_claimable_exits
|
|
|
7799
7896
|
);
|
|
7800
7897
|
|
|
7801
7898
|
|
|
7899
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
7900
|
+
}
|
|
7901
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_lock_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
7902
|
+
auto value = uniffi_bark_ffi_fn_method_wallet_lock_vtxos(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2])
|
|
7903
|
+
);
|
|
7904
|
+
|
|
7905
|
+
|
|
7802
7906
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
7803
7907
|
}
|
|
7804
7908
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_mailbox_authorization(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -8098,6 +8202,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_start_exit_for_vtxos
|
|
|
8098
8202
|
);
|
|
8099
8203
|
|
|
8100
8204
|
|
|
8205
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
8206
|
+
}
|
|
8207
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_start_exit_for_vtxos_including_non_standard(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
8208
|
+
auto value = uniffi_bark_ffi_fn_method_wallet_start_exit_for_vtxos_including_non_standard(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1])
|
|
8209
|
+
);
|
|
8210
|
+
|
|
8211
|
+
|
|
8101
8212
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
8102
8213
|
}
|
|
8103
8214
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_stop_daemon(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -8154,6 +8265,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_try_claim_lightning_
|
|
|
8154
8265
|
);
|
|
8155
8266
|
|
|
8156
8267
|
|
|
8268
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
8269
|
+
}
|
|
8270
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_unlock_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
8271
|
+
auto value = uniffi_bark_ffi_fn_method_wallet_unlock_vtxos(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2])
|
|
8272
|
+
);
|
|
8273
|
+
|
|
8274
|
+
|
|
8157
8275
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
8158
8276
|
}
|
|
8159
8277
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_validate_arkoor_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -8869,6 +8987,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_cancel_all_pen
|
|
|
8869
8987
|
);
|
|
8870
8988
|
|
|
8871
8989
|
|
|
8990
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8991
|
+
}
|
|
8992
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_cancel_exit(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
8993
|
+
auto value = uniffi_bark_ffi_checksum_method_wallet_cancel_exit(
|
|
8994
|
+
);
|
|
8995
|
+
|
|
8996
|
+
|
|
8872
8997
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8873
8998
|
}
|
|
8874
8999
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_cancel_lightning_receive(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -9079,6 +9204,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_list_claimable
|
|
|
9079
9204
|
);
|
|
9080
9205
|
|
|
9081
9206
|
|
|
9207
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
9208
|
+
}
|
|
9209
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_lock_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
9210
|
+
auto value = uniffi_bark_ffi_checksum_method_wallet_lock_vtxos(
|
|
9211
|
+
);
|
|
9212
|
+
|
|
9213
|
+
|
|
9082
9214
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
9083
9215
|
}
|
|
9084
9216
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_mailbox_authorization(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -9366,6 +9498,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_start_exit_for
|
|
|
9366
9498
|
);
|
|
9367
9499
|
|
|
9368
9500
|
|
|
9501
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
9502
|
+
}
|
|
9503
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos_including_non_standard(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
9504
|
+
auto value = uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos_including_non_standard(
|
|
9505
|
+
);
|
|
9506
|
+
|
|
9507
|
+
|
|
9369
9508
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
9370
9509
|
}
|
|
9371
9510
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_stop_daemon(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -9422,6 +9561,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_try_claim_ligh
|
|
|
9422
9561
|
);
|
|
9423
9562
|
|
|
9424
9563
|
|
|
9564
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
9565
|
+
}
|
|
9566
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_unlock_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
9567
|
+
auto value = uniffi_bark_ffi_checksum_method_wallet_unlock_vtxos(
|
|
9568
|
+
);
|
|
9569
|
+
|
|
9570
|
+
|
|
9425
9571
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
9426
9572
|
}
|
|
9427
9573
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_validate_arkoor_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
package/cpp/generated/bark.hpp
CHANGED
|
@@ -68,6 +68,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
68
68
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_bolt11_invoice_for_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
69
69
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_broadcast_tx(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
70
70
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_cancel_all_pending_rounds(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
71
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_cancel_exit(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
71
72
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_cancel_lightning_receive(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
72
73
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_cancel_pending_round(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
73
74
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_check_lightning_payment(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -98,6 +99,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
98
99
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_lightning_receive_state(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
99
100
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_lightning_send_state(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
100
101
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_list_claimable_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
102
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_lock_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
101
103
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_mailbox_authorization(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
102
104
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_mailbox_identifier(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
103
105
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_maintenance(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -139,6 +141,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
139
141
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_spendable_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
140
142
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_start_exit_for_entire_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
141
143
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_start_exit_for_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
144
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_start_exit_for_vtxos_including_non_standard(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
142
145
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_stop_daemon(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
143
146
|
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);
|
|
144
147
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_sync(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -147,6 +150,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
147
150
|
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);
|
|
148
151
|
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);
|
|
149
152
|
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);
|
|
153
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_unlock_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
150
154
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_validate_arkoor_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
151
155
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_vtxo_encoded(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
152
156
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -242,6 +246,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
242
246
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice_for_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
243
247
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_broadcast_tx(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
244
248
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_cancel_all_pending_rounds(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
249
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_cancel_exit(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
245
250
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_cancel_lightning_receive(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
246
251
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_cancel_pending_round(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
247
252
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_check_lightning_payment(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -272,6 +277,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
272
277
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_lightning_receive_state(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
273
278
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_lightning_send_state(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
274
279
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
280
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_lock_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
275
281
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_mailbox_authorization(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
276
282
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_mailbox_identifier(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
277
283
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_maintenance(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -313,6 +319,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
313
319
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_spendable_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
314
320
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_entire_wallet(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
315
321
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
322
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos_including_non_standard(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
316
323
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_stop_daemon(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
317
324
|
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);
|
|
318
325
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_sync(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -321,6 +328,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
321
328
|
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);
|
|
322
329
|
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);
|
|
323
330
|
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);
|
|
331
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_unlock_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
324
332
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_validate_arkoor_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
325
333
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_vtxo_encoded(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
326
334
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_vtxos(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;;AAwyBA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,UAAU;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAClBL,MAAM,EAErB;AAwKA;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":[]}
|