@secondts/bark-react-native 0.27.0 → 0.28.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/cpp/generated/bark.cpp +122 -13
- package/cpp/generated/bark.hpp +6 -0
- package/lib/commonjs/generated/bark-ffi.js.map +1 -1
- package/lib/commonjs/generated/bark.js +163 -61
- 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 +163 -61
- package/lib/module/generated/bark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts +10 -4
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark.d.ts +356 -73
- package/lib/typescript/commonjs/src/generated/bark.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark-ffi.d.ts +10 -4
- package/lib/typescript/module/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark.d.ts +356 -73
- package/lib/typescript/module/src/generated/bark.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/generated/bark-ffi.ts +10 -4
- package/src/generated/bark.ts +518 -98
package/cpp/generated/bark.cpp
CHANGED
|
@@ -403,20 +403,22 @@ extern "C" {
|
|
|
403
403
|
RustBuffer options
|
|
404
404
|
);
|
|
405
405
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_board_all(
|
|
406
|
-
/*handle*/ uint64_t ptr
|
|
406
|
+
/*handle*/ uint64_t ptr,
|
|
407
|
+
RustBuffer expiry_height
|
|
407
408
|
);
|
|
408
409
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_board_amount(
|
|
409
410
|
/*handle*/ uint64_t ptr,
|
|
410
|
-
uint64_t amount_sats
|
|
411
|
+
uint64_t amount_sats,
|
|
412
|
+
RustBuffer expiry_height
|
|
411
413
|
);
|
|
412
414
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_board_funding_address(
|
|
413
|
-
/*handle*/ uint64_t ptr
|
|
415
|
+
/*handle*/ uint64_t ptr,
|
|
416
|
+
RustBuffer expiry_height
|
|
414
417
|
);
|
|
415
418
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_board_psbt(
|
|
416
419
|
/*handle*/ uint64_t ptr,
|
|
417
420
|
RustBuffer psbt_base64,
|
|
418
|
-
|
|
419
|
-
uint32_t expiry_height
|
|
421
|
+
RustBuffer funding
|
|
420
422
|
);
|
|
421
423
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_bolt11_invoice(
|
|
422
424
|
/*handle*/ uint64_t ptr,
|
|
@@ -574,6 +576,11 @@ extern "C" {
|
|
|
574
576
|
/*handle*/ uint64_t ptr,
|
|
575
577
|
RustBuffer payment_hash
|
|
576
578
|
);
|
|
579
|
+
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_legacy_board_funding_address(
|
|
580
|
+
/*handle*/ uint64_t ptr,
|
|
581
|
+
uint32_t keypair_index,
|
|
582
|
+
uint32_t expiry_height
|
|
583
|
+
);
|
|
577
584
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_lightning_receive_state(
|
|
578
585
|
/*handle*/ uint64_t ptr,
|
|
579
586
|
RustBuffer payment_hash
|
|
@@ -704,6 +711,9 @@ extern "C" {
|
|
|
704
711
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_pending_lightning_sends(
|
|
705
712
|
/*handle*/ uint64_t ptr
|
|
706
713
|
);
|
|
714
|
+
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_pending_recovery(
|
|
715
|
+
/*handle*/ uint64_t ptr
|
|
716
|
+
);
|
|
707
717
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_pending_round_input_vtxos(
|
|
708
718
|
/*handle*/ uint64_t ptr
|
|
709
719
|
);
|
|
@@ -818,6 +828,9 @@ extern "C" {
|
|
|
818
828
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_sync_pending_boards(
|
|
819
829
|
/*handle*/ uint64_t ptr
|
|
820
830
|
);
|
|
831
|
+
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_sync_pending_recovery(
|
|
832
|
+
/*handle*/ uint64_t ptr
|
|
833
|
+
);
|
|
821
834
|
/*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_try_claim_all_lightning_receives(
|
|
822
835
|
/*handle*/ uint64_t ptr,
|
|
823
836
|
int8_t wait
|
|
@@ -1250,6 +1263,8 @@ extern "C" {
|
|
|
1250
1263
|
);
|
|
1251
1264
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_is_invoice_paid(
|
|
1252
1265
|
);
|
|
1266
|
+
uint16_t uniffi_bark_ffi_checksum_method_wallet_legacy_board_funding_address(
|
|
1267
|
+
);
|
|
1253
1268
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_lightning_receive_state(
|
|
1254
1269
|
);
|
|
1255
1270
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_lightning_send_state(
|
|
@@ -1312,6 +1327,8 @@ extern "C" {
|
|
|
1312
1327
|
);
|
|
1313
1328
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends(
|
|
1314
1329
|
);
|
|
1330
|
+
uint16_t uniffi_bark_ffi_checksum_method_wallet_pending_recovery(
|
|
1331
|
+
);
|
|
1315
1332
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos(
|
|
1316
1333
|
);
|
|
1317
1334
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_pending_round_states(
|
|
@@ -1372,6 +1389,8 @@ extern "C" {
|
|
|
1372
1389
|
);
|
|
1373
1390
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_sync_pending_boards(
|
|
1374
1391
|
);
|
|
1392
|
+
uint16_t uniffi_bark_ffi_checksum_method_wallet_sync_pending_recovery(
|
|
1393
|
+
);
|
|
1375
1394
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_try_claim_all_lightning_receives(
|
|
1376
1395
|
);
|
|
1377
1396
|
uint16_t uniffi_bark_ffi_checksum_method_wallet_try_claim_lightning_receive(
|
|
@@ -5341,7 +5360,7 @@ NativeBark::NativeBark(
|
|
|
5341
5360
|
props["ubrn_uniffi_bark_ffi_fn_method_wallet_board_all"] = jsi::Function::createFromHostFunction(
|
|
5342
5361
|
rt,
|
|
5343
5362
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_board_all"),
|
|
5344
|
-
|
|
5363
|
+
2,
|
|
5345
5364
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5346
5365
|
return this->cpp_uniffi_bark_ffi_fn_method_wallet_board_all(rt, thisVal, args, count);
|
|
5347
5366
|
}
|
|
@@ -5349,7 +5368,7 @@ NativeBark::NativeBark(
|
|
|
5349
5368
|
props["ubrn_uniffi_bark_ffi_fn_method_wallet_board_amount"] = jsi::Function::createFromHostFunction(
|
|
5350
5369
|
rt,
|
|
5351
5370
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_board_amount"),
|
|
5352
|
-
|
|
5371
|
+
3,
|
|
5353
5372
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5354
5373
|
return this->cpp_uniffi_bark_ffi_fn_method_wallet_board_amount(rt, thisVal, args, count);
|
|
5355
5374
|
}
|
|
@@ -5357,7 +5376,7 @@ NativeBark::NativeBark(
|
|
|
5357
5376
|
props["ubrn_uniffi_bark_ffi_fn_method_wallet_board_funding_address"] = jsi::Function::createFromHostFunction(
|
|
5358
5377
|
rt,
|
|
5359
5378
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_board_funding_address"),
|
|
5360
|
-
|
|
5379
|
+
2,
|
|
5361
5380
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5362
5381
|
return this->cpp_uniffi_bark_ffi_fn_method_wallet_board_funding_address(rt, thisVal, args, count);
|
|
5363
5382
|
}
|
|
@@ -5365,7 +5384,7 @@ NativeBark::NativeBark(
|
|
|
5365
5384
|
props["ubrn_uniffi_bark_ffi_fn_method_wallet_board_psbt"] = jsi::Function::createFromHostFunction(
|
|
5366
5385
|
rt,
|
|
5367
5386
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_board_psbt"),
|
|
5368
|
-
|
|
5387
|
+
3,
|
|
5369
5388
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5370
5389
|
return this->cpp_uniffi_bark_ffi_fn_method_wallet_board_psbt(rt, thisVal, args, count);
|
|
5371
5390
|
}
|
|
@@ -5658,6 +5677,14 @@ NativeBark::NativeBark(
|
|
|
5658
5677
|
return this->cpp_uniffi_bark_ffi_fn_method_wallet_is_invoice_paid(rt, thisVal, args, count);
|
|
5659
5678
|
}
|
|
5660
5679
|
);
|
|
5680
|
+
props["ubrn_uniffi_bark_ffi_fn_method_wallet_legacy_board_funding_address"] = jsi::Function::createFromHostFunction(
|
|
5681
|
+
rt,
|
|
5682
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_legacy_board_funding_address"),
|
|
5683
|
+
3,
|
|
5684
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5685
|
+
return this->cpp_uniffi_bark_ffi_fn_method_wallet_legacy_board_funding_address(rt, thisVal, args, count);
|
|
5686
|
+
}
|
|
5687
|
+
);
|
|
5661
5688
|
props["ubrn_uniffi_bark_ffi_fn_method_wallet_lightning_receive_state"] = jsi::Function::createFromHostFunction(
|
|
5662
5689
|
rt,
|
|
5663
5690
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_lightning_receive_state"),
|
|
@@ -5906,6 +5933,14 @@ NativeBark::NativeBark(
|
|
|
5906
5933
|
return this->cpp_uniffi_bark_ffi_fn_method_wallet_pending_lightning_sends(rt, thisVal, args, count);
|
|
5907
5934
|
}
|
|
5908
5935
|
);
|
|
5936
|
+
props["ubrn_uniffi_bark_ffi_fn_method_wallet_pending_recovery"] = jsi::Function::createFromHostFunction(
|
|
5937
|
+
rt,
|
|
5938
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_pending_recovery"),
|
|
5939
|
+
1,
|
|
5940
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
5941
|
+
return this->cpp_uniffi_bark_ffi_fn_method_wallet_pending_recovery(rt, thisVal, args, count);
|
|
5942
|
+
}
|
|
5943
|
+
);
|
|
5909
5944
|
props["ubrn_uniffi_bark_ffi_fn_method_wallet_pending_round_input_vtxos"] = jsi::Function::createFromHostFunction(
|
|
5910
5945
|
rt,
|
|
5911
5946
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_pending_round_input_vtxos"),
|
|
@@ -6146,6 +6181,14 @@ NativeBark::NativeBark(
|
|
|
6146
6181
|
return this->cpp_uniffi_bark_ffi_fn_method_wallet_sync_pending_boards(rt, thisVal, args, count);
|
|
6147
6182
|
}
|
|
6148
6183
|
);
|
|
6184
|
+
props["ubrn_uniffi_bark_ffi_fn_method_wallet_sync_pending_recovery"] = jsi::Function::createFromHostFunction(
|
|
6185
|
+
rt,
|
|
6186
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_sync_pending_recovery"),
|
|
6187
|
+
1,
|
|
6188
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
6189
|
+
return this->cpp_uniffi_bark_ffi_fn_method_wallet_sync_pending_recovery(rt, thisVal, args, count);
|
|
6190
|
+
}
|
|
6191
|
+
);
|
|
6149
6192
|
props["ubrn_uniffi_bark_ffi_fn_method_wallet_try_claim_all_lightning_receives"] = jsi::Function::createFromHostFunction(
|
|
6150
6193
|
rt,
|
|
6151
6194
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_try_claim_all_lightning_receives"),
|
|
@@ -7338,6 +7381,14 @@ NativeBark::NativeBark(
|
|
|
7338
7381
|
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_is_invoice_paid(rt, thisVal, args, count);
|
|
7339
7382
|
}
|
|
7340
7383
|
);
|
|
7384
|
+
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_legacy_board_funding_address"] = jsi::Function::createFromHostFunction(
|
|
7385
|
+
rt,
|
|
7386
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_legacy_board_funding_address"),
|
|
7387
|
+
0,
|
|
7388
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
7389
|
+
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_legacy_board_funding_address(rt, thisVal, args, count);
|
|
7390
|
+
}
|
|
7391
|
+
);
|
|
7341
7392
|
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_lightning_receive_state"] = jsi::Function::createFromHostFunction(
|
|
7342
7393
|
rt,
|
|
7343
7394
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_lightning_receive_state"),
|
|
@@ -7586,6 +7637,14 @@ NativeBark::NativeBark(
|
|
|
7586
7637
|
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends(rt, thisVal, args, count);
|
|
7587
7638
|
}
|
|
7588
7639
|
);
|
|
7640
|
+
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_recovery"] = jsi::Function::createFromHostFunction(
|
|
7641
|
+
rt,
|
|
7642
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_recovery"),
|
|
7643
|
+
0,
|
|
7644
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
7645
|
+
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_pending_recovery(rt, thisVal, args, count);
|
|
7646
|
+
}
|
|
7647
|
+
);
|
|
7589
7648
|
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos"] = jsi::Function::createFromHostFunction(
|
|
7590
7649
|
rt,
|
|
7591
7650
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos"),
|
|
@@ -7826,6 +7885,14 @@ NativeBark::NativeBark(
|
|
|
7826
7885
|
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_sync_pending_boards(rt, thisVal, args, count);
|
|
7827
7886
|
}
|
|
7828
7887
|
);
|
|
7888
|
+
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_sync_pending_recovery"] = jsi::Function::createFromHostFunction(
|
|
7889
|
+
rt,
|
|
7890
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_sync_pending_recovery"),
|
|
7891
|
+
0,
|
|
7892
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
|
|
7893
|
+
return this->cpp_uniffi_bark_ffi_checksum_method_wallet_sync_pending_recovery(rt, thisVal, args, count);
|
|
7894
|
+
}
|
|
7895
|
+
);
|
|
7829
7896
|
props["ubrn_uniffi_bark_ffi_checksum_method_wallet_try_claim_all_lightning_receives"] = jsi::Function::createFromHostFunction(
|
|
7830
7897
|
rt,
|
|
7831
7898
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_try_claim_all_lightning_receives"),
|
|
@@ -8572,28 +8639,28 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_bip321_uri(jsi::Runt
|
|
|
8572
8639
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
8573
8640
|
}
|
|
8574
8641
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_board_all(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
8575
|
-
auto value = uniffi_bark_ffi_fn_method_wallet_board_all(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0])
|
|
8642
|
+
auto value = uniffi_bark_ffi_fn_method_wallet_board_all(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1])
|
|
8576
8643
|
);
|
|
8577
8644
|
|
|
8578
8645
|
|
|
8579
8646
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
8580
8647
|
}
|
|
8581
8648
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_board_amount(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
8582
|
-
auto value = uniffi_bark_ffi_fn_method_wallet_board_amount(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[1])
|
|
8649
|
+
auto value = uniffi_bark_ffi_fn_method_wallet_board_amount(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])
|
|
8583
8650
|
);
|
|
8584
8651
|
|
|
8585
8652
|
|
|
8586
8653
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
8587
8654
|
}
|
|
8588
8655
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_board_funding_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
8589
|
-
auto value = uniffi_bark_ffi_fn_method_wallet_board_funding_address(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0])
|
|
8656
|
+
auto value = uniffi_bark_ffi_fn_method_wallet_board_funding_address(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1])
|
|
8590
8657
|
);
|
|
8591
8658
|
|
|
8592
8659
|
|
|
8593
8660
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
8594
8661
|
}
|
|
8595
8662
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_board_psbt(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
8596
|
-
auto value = uniffi_bark_ffi_fn_method_wallet_board_psbt(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
|
|
8663
|
+
auto value = uniffi_bark_ffi_fn_method_wallet_board_psbt(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])
|
|
8597
8664
|
);
|
|
8598
8665
|
|
|
8599
8666
|
|
|
@@ -8852,6 +8919,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_is_invoice_paid(jsi:
|
|
|
8852
8919
|
);
|
|
8853
8920
|
|
|
8854
8921
|
|
|
8922
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
8923
|
+
}
|
|
8924
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_legacy_board_funding_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
8925
|
+
auto value = uniffi_bark_ffi_fn_method_wallet_legacy_board_funding_address(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[2])
|
|
8926
|
+
);
|
|
8927
|
+
|
|
8928
|
+
|
|
8855
8929
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
8856
8930
|
}
|
|
8857
8931
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_lightning_receive_state(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -9078,6 +9152,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_pending_lightning_se
|
|
|
9078
9152
|
);
|
|
9079
9153
|
|
|
9080
9154
|
|
|
9155
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
9156
|
+
}
|
|
9157
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_pending_recovery(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
9158
|
+
auto value = uniffi_bark_ffi_fn_method_wallet_pending_recovery(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0])
|
|
9159
|
+
);
|
|
9160
|
+
|
|
9161
|
+
|
|
9081
9162
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
9082
9163
|
}
|
|
9083
9164
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_pending_round_input_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -9294,6 +9375,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_sync_pending_boards(
|
|
|
9294
9375
|
);
|
|
9295
9376
|
|
|
9296
9377
|
|
|
9378
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
9379
|
+
}
|
|
9380
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_sync_pending_recovery(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
9381
|
+
auto value = uniffi_bark_ffi_fn_method_wallet_sync_pending_recovery(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0])
|
|
9382
|
+
);
|
|
9383
|
+
|
|
9384
|
+
|
|
9297
9385
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
|
|
9298
9386
|
}
|
|
9299
9387
|
jsi::Value NativeBark::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) {
|
|
@@ -10402,6 +10490,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_is_invoice_pai
|
|
|
10402
10490
|
);
|
|
10403
10491
|
|
|
10404
10492
|
|
|
10493
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
10494
|
+
}
|
|
10495
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_legacy_board_funding_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
10496
|
+
auto value = uniffi_bark_ffi_checksum_method_wallet_legacy_board_funding_address(
|
|
10497
|
+
);
|
|
10498
|
+
|
|
10499
|
+
|
|
10405
10500
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
10406
10501
|
}
|
|
10407
10502
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_lightning_receive_state(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -10619,6 +10714,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_pending_lightn
|
|
|
10619
10714
|
);
|
|
10620
10715
|
|
|
10621
10716
|
|
|
10717
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
10718
|
+
}
|
|
10719
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_pending_recovery(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
10720
|
+
auto value = uniffi_bark_ffi_checksum_method_wallet_pending_recovery(
|
|
10721
|
+
);
|
|
10722
|
+
|
|
10723
|
+
|
|
10622
10724
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
10623
10725
|
}
|
|
10624
10726
|
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
@@ -10829,6 +10931,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_sync_pending_b
|
|
|
10829
10931
|
);
|
|
10830
10932
|
|
|
10831
10933
|
|
|
10934
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
10935
|
+
}
|
|
10936
|
+
jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_sync_pending_recovery(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
|
|
10937
|
+
auto value = uniffi_bark_ffi_checksum_method_wallet_sync_pending_recovery(
|
|
10938
|
+
);
|
|
10939
|
+
|
|
10940
|
+
|
|
10832
10941
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
10833
10942
|
}
|
|
10834
10943
|
jsi::Value NativeBark::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) {
|
package/cpp/generated/bark.hpp
CHANGED
|
@@ -108,6 +108,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
108
108
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_import_vtxo(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
109
109
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_import_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
110
110
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_is_invoice_paid(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
111
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_legacy_board_funding_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
111
112
|
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);
|
|
112
113
|
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);
|
|
113
114
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_list_all_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -139,6 +140,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
139
140
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_lightning_receives(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
140
141
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_lightning_send_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
141
142
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_lightning_sends(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
143
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_recovery(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
142
144
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_round_input_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
143
145
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_pending_round_states(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
144
146
|
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_presign_emergency_exit(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -169,6 +171,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
169
171
|
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);
|
|
170
172
|
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);
|
|
171
173
|
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);
|
|
174
|
+
jsi::Value cpp_uniffi_bark_ffi_fn_method_wallet_sync_pending_recovery(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
172
175
|
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);
|
|
173
176
|
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);
|
|
174
177
|
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);
|
|
@@ -318,6 +321,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
318
321
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_import_vtxo(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
319
322
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_import_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
320
323
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_is_invoice_paid(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
324
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_legacy_board_funding_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
321
325
|
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);
|
|
322
326
|
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);
|
|
323
327
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_list_all_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -349,6 +353,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
349
353
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_receives(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
350
354
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_send_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
351
355
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
356
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_recovery(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
352
357
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
353
358
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_pending_round_states(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
354
359
|
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_presign_emergency_exit(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
@@ -379,6 +384,7 @@ class NativeBark : public jsi::HostObject {
|
|
|
379
384
|
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);
|
|
380
385
|
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);
|
|
381
386
|
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);
|
|
387
|
+
jsi::Value cpp_uniffi_bark_ffi_checksum_method_wallet_sync_pending_recovery(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
|
|
382
388
|
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);
|
|
383
389
|
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);
|
|
384
390
|
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);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getter","globalThis","NativeBark","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/bark-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AAEA;AACA;AACA;;
|
|
1
|
+
{"version":3,"names":["getter","globalThis","NativeBark","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/bark-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AAEA;AACA;AACA;;AAkZA,MAAMA,MAAmC,GAAGA,CAAA,KAAOC,UAAU,CAASC,UAAU;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAClEL,MAAM,EAErB;AA0CA;AACA;AACA;AACA;AACA,MAAMM,8CAGL,GAAG,IAAI","ignoreList":[]}
|