@secondts/bark-react-native 0.13.0 → 0.15.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 +151 -0
- package/cpp/generated/bark.hpp +8 -0
- package/lib/commonjs/generated/bark-ffi.js.map +1 -1
- package/lib/commonjs/generated/bark.js +211 -8
- 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 +210 -7
- 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 +208 -5
- 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 +208 -5
- package/lib/typescript/module/src/generated/bark.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/generated/bark-ffi.ts +24 -0
- package/src/generated/bark.ts +450 -4
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.15.0
|
|
64
64
|
```
|
|
65
65
|
|
|
66
66
|
For bare React Native projects, use:
|
package/cpp/generated/bark.cpp
CHANGED
|
@@ -376,6 +376,13 @@ extern "C" {
|
|
|
376
376
|
RustBuffer description,
|
|
377
377
|
RustBuffer token
|
|
378
378
|
);
|
|
379
|
+
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_bolt11_invoice_for_address(
|
|
380
|
+
/*handle*/ uint64_t ptr,
|
|
381
|
+
uint64_t amount_sats,
|
|
382
|
+
RustBuffer claim_destination,
|
|
383
|
+
RustBuffer description,
|
|
384
|
+
RustBuffer token
|
|
385
|
+
);
|
|
379
386
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_broadcast_tx(
|
|
380
387
|
/*handle*/ uint64_t ptr,
|
|
381
388
|
RustBuffer tx_hex
|
|
@@ -608,6 +615,14 @@ extern "C" {
|
|
|
608
615
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_properties(
|
|
609
616
|
/*handle*/ uint64_t ptr
|
|
610
617
|
);
|
|
618
|
+
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_recover_vtxos(
|
|
619
|
+
/*handle*/ uint64_t ptr,
|
|
620
|
+
RustBuffer vtxo_ids
|
|
621
|
+
);
|
|
622
|
+
RustBuffer uniffi_bark_ffi_fn_method_wallet_recovery_report(
|
|
623
|
+
/*handle*/ uint64_t ptr,
|
|
624
|
+
RustCallStatus *uniffi_out_err
|
|
625
|
+
);
|
|
611
626
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_refresh_server(
|
|
612
627
|
/*handle*/ uint64_t ptr
|
|
613
628
|
);
|
|
@@ -619,6 +634,11 @@ extern "C" {
|
|
|
619
634
|
/*handle*/ uint64_t ptr,
|
|
620
635
|
RustBuffer vtxo_ids
|
|
621
636
|
);
|
|
637
|
+
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_refresh_vtxos_scheduled(
|
|
638
|
+
/*handle*/ uint64_t ptr,
|
|
639
|
+
RustBuffer vtxo_ids,
|
|
640
|
+
uint32_t scheduled_height
|
|
641
|
+
);
|
|
622
642
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_run_daemon(
|
|
623
643
|
/*handle*/ uint64_t ptr
|
|
624
644
|
);
|
|
@@ -969,6 +989,8 @@ extern "C" {
|
|
|
969
989
|
);
|
|
970
990
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice(
|
|
971
991
|
);
|
|
992
|
+
uint16_t uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice_for_address(
|
|
993
|
+
);
|
|
972
994
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_broadcast_tx(
|
|
973
995
|
);
|
|
974
996
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_cancel_all_pending_rounds(
|
|
@@ -1089,12 +1111,18 @@ extern "C" {
|
|
|
1089
1111
|
);
|
|
1090
1112
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_properties(
|
|
1091
1113
|
);
|
|
1114
|
+
uint16_t uniffi_bark_ffi_checksum_method_wallet_recover_vtxos(
|
|
1115
|
+
);
|
|
1116
|
+
uint16_t uniffi_bark_ffi_checksum_method_wallet_recovery_report(
|
|
1117
|
+
);
|
|
1092
1118
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_refresh_server(
|
|
1093
1119
|
);
|
|
1094
1120
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos(
|
|
1095
1121
|
);
|
|
1096
1122
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated(
|
|
1097
1123
|
);
|
|
1124
|
+
uint16_t uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_scheduled(
|
|
1125
|
+
);
|
|
1098
1126
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_run_daemon(
|
|
1099
1127
|
);
|
|
1100
1128
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment(
|
|
@@ -4835,6 +4863,14 @@ NativeBark::NativeBark(
|
|
|
4835
4863
|
return this->cpp_uniffi_bark_ffi_fn_method_wallet_bolt11_invoice(rt, thisVal, args, count);
|
|
4836
4864
|
}
|
|
4837
4865
|
);
|
|
4866
|
+
props["ubrn_uniffi_bark_ffi_fn_method_wallet_bolt11_invoice_for_address"] = jsi::Function::createFromHostFunction(
|
|
4867
|
+
rt,
|
|
4868
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_bolt11_invoice_for_address"),
|
|
4869
|
+
5,
|
|
4870
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
4871
|
+
return this->cpp_uniffi_bark_ffi_fn_method_wallet_bolt11_invoice_for_address(rt, thisVal, args, count);
|
|
4872
|
+
}
|
|
4873
|
+
);
|
|
4838
4874
|
props["ubrn_uniffi_bark_ffi_fn_method_wallet_broadcast_tx"] = jsi::Function::createFromHostFunction(
|
|
4839
4875
|
rt,
|
|
4840
4876
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_broadcast_tx"),
|
|
@@ -5315,6 +5351,22 @@ NativeBark::NativeBark(
|
|
|
5315
5351
|
return this->cpp_uniffi_bark_ffi_fn_method_wallet_properties(rt, thisVal, args, count);
|
|
5316
5352
|
}
|
|
5317
5353
|
);
|
|
5354
|
+
props["ubrn_uniffi_bark_ffi_fn_method_wallet_recover_vtxos"] = jsi::Function::createFromHostFunction(
|
|
5355
|
+
rt,
|
|
5356
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_recover_vtxos"),
|
|
5357
|
+
2,
|
|
5358
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5359
|
+
return this->cpp_uniffi_bark_ffi_fn_method_wallet_recover_vtxos(rt, thisVal, args, count);
|
|
5360
|
+
}
|
|
5361
|
+
);
|
|
5362
|
+
props["ubrn_uniffi_bark_ffi_fn_method_wallet_recovery_report"] = jsi::Function::createFromHostFunction(
|
|
5363
|
+
rt,
|
|
5364
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_recovery_report"),
|
|
5365
|
+
1,
|
|
5366
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5367
|
+
return this->cpp_uniffi_bark_ffi_fn_method_wallet_recovery_report(rt, thisVal, args, count);
|
|
5368
|
+
}
|
|
5369
|
+
);
|
|
5318
5370
|
props["ubrn_uniffi_bark_ffi_fn_method_wallet_refresh_server"] = jsi::Function::createFromHostFunction(
|
|
5319
5371
|
rt,
|
|
5320
5372
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_refresh_server"),
|
|
@@ -5339,6 +5391,14 @@ NativeBark::NativeBark(
|
|
|
5339
5391
|
return this->cpp_uniffi_bark_ffi_fn_method_wallet_refresh_vtxos_delegated(rt, thisVal, args, count);
|
|
5340
5392
|
}
|
|
5341
5393
|
);
|
|
5394
|
+
props["ubrn_uniffi_bark_ffi_fn_method_wallet_refresh_vtxos_scheduled"] = jsi::Function::createFromHostFunction(
|
|
5395
|
+
rt,
|
|
5396
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_refresh_vtxos_scheduled"),
|
|
5397
|
+
3,
|
|
5398
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5399
|
+
return this->cpp_uniffi_bark_ffi_fn_method_wallet_refresh_vtxos_scheduled(rt, thisVal, args, count);
|
|
5400
|
+
}
|
|
5401
|
+
);
|
|
5342
5402
|
props["ubrn_uniffi_bark_ffi_fn_method_wallet_run_daemon"] = jsi::Function::createFromHostFunction(
|
|
5343
5403
|
rt,
|
|
5344
5404
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_run_daemon"),
|
|
@@ -6163,6 +6223,14 @@ NativeBark::NativeBark(
|
|
|
6163
6223
|
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice(rt, thisVal, args, count);
|
|
6164
6224
|
}
|
|
6165
6225
|
);
|
|
6226
|
+
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice_for_address"] = jsi::Function::createFromHostFunction(
|
|
6227
|
+
rt,
|
|
6228
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice_for_address"),
|
|
6229
|
+
0,
|
|
6230
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
6231
|
+
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice_for_address(rt, thisVal, args, count);
|
|
6232
|
+
}
|
|
6233
|
+
);
|
|
6166
6234
|
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_broadcast_tx"] = jsi::Function::createFromHostFunction(
|
|
6167
6235
|
rt,
|
|
6168
6236
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_broadcast_tx"),
|
|
@@ -6643,6 +6711,22 @@ NativeBark::NativeBark(
|
|
|
6643
6711
|
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_properties(rt, thisVal, args, count);
|
|
6644
6712
|
}
|
|
6645
6713
|
);
|
|
6714
|
+
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_recover_vtxos"] = jsi::Function::createFromHostFunction(
|
|
6715
|
+
rt,
|
|
6716
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_recover_vtxos"),
|
|
6717
|
+
0,
|
|
6718
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
6719
|
+
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_recover_vtxos(rt, thisVal, args, count);
|
|
6720
|
+
}
|
|
6721
|
+
);
|
|
6722
|
+
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_recovery_report"] = jsi::Function::createFromHostFunction(
|
|
6723
|
+
rt,
|
|
6724
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_recovery_report"),
|
|
6725
|
+
0,
|
|
6726
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
6727
|
+
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_recovery_report(rt, thisVal, args, count);
|
|
6728
|
+
}
|
|
6729
|
+
);
|
|
6646
6730
|
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_server"] = jsi::Function::createFromHostFunction(
|
|
6647
6731
|
rt,
|
|
6648
6732
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_server"),
|
|
@@ -6667,6 +6751,14 @@ NativeBark::NativeBark(
|
|
|
6667
6751
|
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated(rt, thisVal, args, count);
|
|
6668
6752
|
}
|
|
6669
6753
|
);
|
|
6754
|
+
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_scheduled"] = jsi::Function::createFromHostFunction(
|
|
6755
|
+
rt,
|
|
6756
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_scheduled"),
|
|
6757
|
+
0,
|
|
6758
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
6759
|
+
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_scheduled(rt, thisVal, args, count);
|
|
6760
|
+
}
|
|
6761
|
+
);
|
|
6670
6762
|
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_run_daemon"] = jsi::Function::createFromHostFunction(
|
|
6671
6763
|
rt,
|
|
6672
6764
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_run_daemon"),
|
|
@@ -7361,6 +7453,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_bolt11_invoice(jsi::
|
|
|
7361
7453
|
);
|
|
7362
7454
|
|
|
7363
7455
|
|
|
7456
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
7457
|
+
}
|
|
7458
|
+
jsi::Value NativeBark::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) {
|
|
7459
|
+
auto value = uniffi_bark_ffi_fn_method_wallet_bolt11_invoice_for_address(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[1]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[2]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4])
|
|
7460
|
+
);
|
|
7461
|
+
|
|
7462
|
+
|
|
7364
7463
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
7365
7464
|
}
|
|
7366
7465
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_broadcast_tx(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -7795,6 +7894,23 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_properties(jsi::Runt
|
|
|
7795
7894
|
|
|
7796
7895
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
7797
7896
|
}
|
|
7897
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_recover_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
7898
|
+
auto value = uniffi_bark_ffi_fn_method_wallet_recover_vtxos(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1])
|
|
7899
|
+
);
|
|
7900
|
+
|
|
7901
|
+
|
|
7902
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
7903
|
+
}
|
|
7904
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_recovery_report(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
7905
|
+
RustCallStatus status = uniffi::bark::Bridging<RustCallStatus>::rustSuccess(rt);
|
|
7906
|
+
auto value = uniffi_bark_ffi_fn_method_wallet_recovery_report(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]),
|
|
7907
|
+
&status
|
|
7908
|
+
);
|
|
7909
|
+
uniffi::bark::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
|
|
7910
|
+
|
|
7911
|
+
|
|
7912
|
+
return uniffi::bark::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
|
|
7913
|
+
}
|
|
7798
7914
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_refresh_server(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
7799
7915
|
auto value = uniffi_bark_ffi_fn_method_wallet_refresh_server(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0])
|
|
7800
7916
|
);
|
|
@@ -7814,6 +7930,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_refresh_vtxos_delega
|
|
|
7814
7930
|
);
|
|
7815
7931
|
|
|
7816
7932
|
|
|
7933
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
7934
|
+
}
|
|
7935
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_refresh_vtxos_scheduled(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
7936
|
+
auto value = uniffi_bark_ffi_fn_method_wallet_refresh_vtxos_scheduled(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[2])
|
|
7937
|
+
);
|
|
7938
|
+
|
|
7939
|
+
|
|
7817
7940
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
7818
7941
|
}
|
|
7819
7942
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_run_daemon(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -8585,6 +8708,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice
|
|
|
8585
8708
|
);
|
|
8586
8709
|
|
|
8587
8710
|
|
|
8711
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8712
|
+
}
|
|
8713
|
+
jsi::Value NativeBark::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) {
|
|
8714
|
+
auto value = uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice_for_address(
|
|
8715
|
+
);
|
|
8716
|
+
|
|
8717
|
+
|
|
8588
8718
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
8589
8719
|
}
|
|
8590
8720
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_broadcast_tx(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -9005,6 +9135,20 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_properties(jsi
|
|
|
9005
9135
|
);
|
|
9006
9136
|
|
|
9007
9137
|
|
|
9138
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
9139
|
+
}
|
|
9140
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_recover_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
9141
|
+
auto value = uniffi_bark_ffi_checksum_method_wallet_recover_vtxos(
|
|
9142
|
+
);
|
|
9143
|
+
|
|
9144
|
+
|
|
9145
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
9146
|
+
}
|
|
9147
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_recovery_report(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
9148
|
+
auto value = uniffi_bark_ffi_checksum_method_wallet_recovery_report(
|
|
9149
|
+
);
|
|
9150
|
+
|
|
9151
|
+
|
|
9008
9152
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
9009
9153
|
}
|
|
9010
9154
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_refresh_server(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -9026,6 +9170,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_
|
|
|
9026
9170
|
);
|
|
9027
9171
|
|
|
9028
9172
|
|
|
9173
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
9174
|
+
}
|
|
9175
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_scheduled(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
9176
|
+
auto value = uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_scheduled(
|
|
9177
|
+
);
|
|
9178
|
+
|
|
9179
|
+
|
|
9029
9180
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
9030
9181
|
}
|
|
9031
9182
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_run_daemon(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
package/cpp/generated/bark.hpp
CHANGED
|
@@ -61,6 +61,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
61
61
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_board_all(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
62
62
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_board_amount(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
63
63
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_bolt11_invoice(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
64
|
+
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);
|
|
64
65
|
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);
|
|
65
66
|
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);
|
|
66
67
|
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);
|
|
@@ -121,9 +122,12 @@ class NativeBark : public jsi::HostObject {
|
|
|
121
122
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_progress_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
122
123
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_progress_pending_rounds(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
123
124
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_properties(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
125
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_recover_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
126
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_recovery_report(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
124
127
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_refresh_server(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
125
128
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_refresh_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
126
129
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_refresh_vtxos_delegated(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
130
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_refresh_vtxos_scheduled(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
127
131
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_run_daemon(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
128
132
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_send_arkoor_payment(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
129
133
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_send_onchain(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -227,6 +231,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
227
231
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_board_all(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
228
232
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_board_amount(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
229
233
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
234
|
+
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);
|
|
230
235
|
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);
|
|
231
236
|
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);
|
|
232
237
|
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);
|
|
@@ -287,9 +292,12 @@ class NativeBark : public jsi::HostObject {
|
|
|
287
292
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_progress_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
288
293
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_progress_pending_rounds(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
289
294
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_properties(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
295
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_recover_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
296
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_recovery_report(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
290
297
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_refresh_server(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
291
298
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
292
299
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
300
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_scheduled(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
293
301
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_run_daemon(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
294
302
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
295
303
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_send_onchain(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;;AAwwBA;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":[]}
|