@secondts/bark-react-native 0.24.0 → 0.26.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.
@@ -202,7 +202,7 @@ extern "C" {
202
202
  UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod0 get_balance;
203
203
  UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod1 prepare_tx;
204
204
  UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod2 prepare_drain_tx;
205
- UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod3 finish_psbt;
205
+ UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod3 sign_psbt;
206
206
  UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod4 is_mine;
207
207
  UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod5 register_tx;
208
208
  UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod6 evict_tx;
@@ -256,7 +256,7 @@ extern "C" {
256
256
  uint64_t fee_rate_sat_per_vb,
257
257
  RustCallStatus *uniffi_out_err
258
258
  );
259
- RustBuffer uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_finish_psbt(
259
+ RustBuffer uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_sign_psbt(
260
260
  /*handle*/ uint64_t ptr,
261
261
  RustBuffer psbt_base64,
262
262
  RustCallStatus *uniffi_out_err
@@ -395,6 +395,13 @@ extern "C" {
395
395
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_balance(
396
396
  /*handle*/ uint64_t ptr
397
397
  );
398
+ /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_balance_summary(
399
+ /*handle*/ uint64_t ptr
400
+ );
401
+ /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_bip321_uri(
402
+ /*handle*/ uint64_t ptr,
403
+ RustBuffer options
404
+ );
398
405
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_board_all(
399
406
  /*handle*/ uint64_t ptr
400
407
  );
@@ -454,9 +461,13 @@ extern "C" {
454
461
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_config(
455
462
  /*handle*/ uint64_t ptr
456
463
  );
464
+ /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_debug_info(
465
+ /*handle*/ uint64_t ptr
466
+ );
457
467
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_drain_exits(
458
468
  /*handle*/ uint64_t ptr,
459
469
  RustBuffer vtxo_ids,
470
+ int8_t drain_all,
460
471
  RustBuffer address,
461
472
  RustBuffer fee_rate_sat_per_vb
462
473
  );
@@ -472,7 +483,8 @@ extern "C" {
472
483
  /*handle*/ uint64_t ptr,
473
484
  RustBuffer vtxo_ids,
474
485
  RustBuffer fee_rate_sat_per_vb,
475
- RustBuffer destination
486
+ RustBuffer destination,
487
+ RustBuffer fee_margin
476
488
  );
477
489
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_estimate_lightning_receive_fee(
478
490
  /*handle*/ uint64_t ptr,
@@ -491,6 +503,11 @@ extern "C" {
491
503
  RustBuffer address,
492
504
  RustBuffer vtxo_ids
493
505
  );
506
+ /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_estimate_payment_fee(
507
+ /*handle*/ uint64_t ptr,
508
+ RustBuffer method,
509
+ uint64_t amount_sats
510
+ );
494
511
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_estimate_refresh_fee(
495
512
  /*handle*/ uint64_t ptr,
496
513
  RustBuffer vtxo_ids
@@ -563,9 +580,24 @@ extern "C" {
563
580
  /*handle*/ uint64_t ptr,
564
581
  RustBuffer payment_hash
565
582
  );
583
+ /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_list_all_exits(
584
+ /*handle*/ uint64_t ptr,
585
+ int8_t include_history,
586
+ int8_t include_transactions
587
+ );
566
588
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_list_claimable_exits(
567
589
  /*handle*/ uint64_t ptr
568
590
  );
591
+ /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_list_finished_exits(
592
+ /*handle*/ uint64_t ptr,
593
+ int8_t include_history,
594
+ int8_t include_transactions
595
+ );
596
+ /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_list_live_exits(
597
+ /*handle*/ uint64_t ptr,
598
+ int8_t include_history,
599
+ int8_t include_transactions
600
+ );
569
601
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_lock_vtxos(
570
602
  /*handle*/ uint64_t ptr,
571
603
  RustBuffer vtxo_ids,
@@ -573,6 +605,7 @@ extern "C" {
573
605
  );
574
606
  RustBuffer uniffi_bark_ffi_fn_method_wallet_mailbox_authorization(
575
607
  /*handle*/ uint64_t ptr,
608
+ uint32_t expiry_secs,
576
609
  RustCallStatus *uniffi_out_err
577
610
  );
578
611
  RustBuffer uniffi_bark_ffi_fn_method_wallet_mailbox_identifier(
@@ -613,31 +646,39 @@ extern "C" {
613
646
  RustBuffer vtxo_ids,
614
647
  RustBuffer bitcoin_address
615
648
  );
649
+ /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_parse_payment_request(
650
+ /*handle*/ uint64_t ptr,
651
+ RustBuffer payment
652
+ );
616
653
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_pay_lightning_address(
617
654
  /*handle*/ uint64_t ptr,
618
655
  RustBuffer lightning_address,
619
656
  uint64_t amount_sats,
620
657
  RustBuffer comment,
621
- int8_t wait
658
+ int8_t wait,
659
+ RustBuffer retry_for_secs
622
660
  );
623
661
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_pay_lightning_invoice(
624
662
  /*handle*/ uint64_t ptr,
625
663
  RustBuffer invoice,
626
664
  RustBuffer amount_sats,
627
- int8_t wait
665
+ int8_t wait,
666
+ RustBuffer retry_for_secs
628
667
  );
629
668
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_pay_lightning_offer(
630
669
  /*handle*/ uint64_t ptr,
631
670
  RustBuffer offer,
632
671
  RustBuffer amount_sats,
633
- int8_t wait
672
+ int8_t wait,
673
+ RustBuffer retry_for_secs
634
674
  );
635
675
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_pay_lnurl(
636
676
  /*handle*/ uint64_t ptr,
637
677
  RustBuffer lnurl,
638
678
  uint64_t amount_sats,
639
679
  RustBuffer comment,
640
- int8_t wait
680
+ int8_t wait,
681
+ RustBuffer retry_for_secs
641
682
  );
642
683
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_peek_address(
643
684
  /*handle*/ uint64_t ptr,
@@ -719,6 +760,14 @@ extern "C" {
719
760
  RustBuffer address,
720
761
  uint64_t amount_sats
721
762
  );
763
+ /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_send_payment(
764
+ /*handle*/ uint64_t ptr,
765
+ RustBuffer method,
766
+ RustBuffer amount_sats,
767
+ RustBuffer comment,
768
+ int8_t wait,
769
+ RustBuffer retry_for_secs
770
+ );
722
771
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_sign_exit_claim_inputs(
723
772
  /*handle*/ uint64_t ptr,
724
773
  RustBuffer psbt_base64
@@ -783,6 +832,10 @@ extern "C" {
783
832
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_vtxos(
784
833
  /*handle*/ uint64_t ptr
785
834
  );
835
+ RustBuffer uniffi_bark_ffi_fn_func_decode_bolt11_invoice(
836
+ RustBuffer invoice,
837
+ RustCallStatus *uniffi_out_err
838
+ );
786
839
  uint32_t uniffi_bark_ffi_fn_func_default_vtxo_key_gap_limit(RustCallStatus *uniffi_out_err
787
840
  );
788
841
  RustBuffer uniffi_bark_ffi_fn_func_extract_tx_from_psbt(
@@ -801,6 +854,16 @@ extern "C" {
801
854
  RustBuffer mnemonic,
802
855
  RustCallStatus *uniffi_out_err
803
856
  );
857
+ RustBuffer uniffi_bark_ffi_fn_func_read_datadir_info(
858
+ RustBuffer datadir,
859
+ RustCallStatus *uniffi_out_err
860
+ );
861
+ int8_t uniffi_bark_ffi_fn_func_wallet_exists(
862
+ RustBuffer datadir,
863
+ RustCallStatus *uniffi_out_err
864
+ );
865
+ void uniffi_bark_ffi_fn_func_clear_logger(RustCallStatus *uniffi_out_err
866
+ );
804
867
  void uniffi_bark_ffi_fn_func_set_logger(
805
868
  /*handle*/ uint64_t logger,
806
869
  RustBuffer max_level,
@@ -1010,6 +1073,8 @@ extern "C" {
1010
1073
  /*handle*/ uint64_t handle,
1011
1074
  RustCallStatus *uniffi_out_err
1012
1075
  );
1076
+ uint16_t uniffi_bark_ffi_checksum_func_decode_bolt11_invoice(
1077
+ );
1013
1078
  uint16_t uniffi_bark_ffi_checksum_func_default_vtxo_key_gap_limit(
1014
1079
  );
1015
1080
  uint16_t uniffi_bark_ffi_checksum_func_extract_tx_from_psbt(
@@ -1022,6 +1087,12 @@ extern "C" {
1022
1087
  );
1023
1088
  uint16_t uniffi_bark_ffi_checksum_func_validate_mnemonic(
1024
1089
  );
1090
+ uint16_t uniffi_bark_ffi_checksum_func_read_datadir_info(
1091
+ );
1092
+ uint16_t uniffi_bark_ffi_checksum_func_wallet_exists(
1093
+ );
1094
+ uint16_t uniffi_bark_ffi_checksum_func_clear_logger(
1095
+ );
1025
1096
  uint16_t uniffi_bark_ffi_checksum_func_set_logger(
1026
1097
  );
1027
1098
  uint16_t uniffi_bark_ffi_checksum_func_init_wallet(
@@ -1036,7 +1107,7 @@ extern "C" {
1036
1107
  );
1037
1108
  uint16_t uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_drain_tx(
1038
1109
  );
1039
- uint16_t uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_psbt(
1110
+ uint16_t uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_sign_psbt(
1040
1111
  );
1041
1112
  uint16_t uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_is_mine(
1042
1113
  );
@@ -1084,6 +1155,10 @@ extern "C" {
1084
1155
  );
1085
1156
  uint16_t uniffi_bark_ffi_checksum_method_wallet_balance(
1086
1157
  );
1158
+ uint16_t uniffi_bark_ffi_checksum_method_wallet_balance_summary(
1159
+ );
1160
+ uint16_t uniffi_bark_ffi_checksum_method_wallet_bip321_uri(
1161
+ );
1087
1162
  uint16_t uniffi_bark_ffi_checksum_method_wallet_board_all(
1088
1163
  );
1089
1164
  uint16_t uniffi_bark_ffi_checksum_method_wallet_board_amount(
@@ -1112,6 +1187,8 @@ extern "C" {
1112
1187
  );
1113
1188
  uint16_t uniffi_bark_ffi_checksum_method_wallet_config(
1114
1189
  );
1190
+ uint16_t uniffi_bark_ffi_checksum_method_wallet_debug_info(
1191
+ );
1115
1192
  uint16_t uniffi_bark_ffi_checksum_method_wallet_drain_exits(
1116
1193
  );
1117
1194
  uint16_t uniffi_bark_ffi_checksum_method_wallet_estimate_arkoor_payment_fee(
@@ -1128,6 +1205,8 @@ extern "C" {
1128
1205
  );
1129
1206
  uint16_t uniffi_bark_ffi_checksum_method_wallet_estimate_offboard_fee(
1130
1207
  );
1208
+ uint16_t uniffi_bark_ffi_checksum_method_wallet_estimate_payment_fee(
1209
+ );
1131
1210
  uint16_t uniffi_bark_ffi_checksum_method_wallet_estimate_refresh_fee(
1132
1211
  );
1133
1212
  uint16_t uniffi_bark_ffi_checksum_method_wallet_estimate_send_onchain_fee(
@@ -1164,8 +1243,14 @@ extern "C" {
1164
1243
  );
1165
1244
  uint16_t uniffi_bark_ffi_checksum_method_wallet_lightning_send_state(
1166
1245
  );
1246
+ uint16_t uniffi_bark_ffi_checksum_method_wallet_list_all_exits(
1247
+ );
1167
1248
  uint16_t uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits(
1168
1249
  );
1250
+ uint16_t uniffi_bark_ffi_checksum_method_wallet_list_finished_exits(
1251
+ );
1252
+ uint16_t uniffi_bark_ffi_checksum_method_wallet_list_live_exits(
1253
+ );
1169
1254
  uint16_t uniffi_bark_ffi_checksum_method_wallet_lock_vtxos(
1170
1255
  );
1171
1256
  uint16_t uniffi_bark_ffi_checksum_method_wallet_mailbox_authorization(
@@ -1192,6 +1277,8 @@ extern "C" {
1192
1277
  );
1193
1278
  uint16_t uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos(
1194
1279
  );
1280
+ uint16_t uniffi_bark_ffi_checksum_method_wallet_parse_payment_request(
1281
+ );
1195
1282
  uint16_t uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address(
1196
1283
  );
1197
1284
  uint16_t uniffi_bark_ffi_checksum_method_wallet_pay_lightning_invoice(
@@ -1244,6 +1331,8 @@ extern "C" {
1244
1331
  );
1245
1332
  uint16_t uniffi_bark_ffi_checksum_method_wallet_send_onchain(
1246
1333
  );
1334
+ uint16_t uniffi_bark_ffi_checksum_method_wallet_send_payment(
1335
+ );
1247
1336
  uint16_t uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs(
1248
1337
  );
1249
1338
  uint16_t uniffi_bark_ffi_checksum_method_wallet_spendable_vtxos(
@@ -1348,18 +1437,58 @@ template <> struct Bridging<RustBuffer> {
1348
1437
  static RustBuffer fromJs(jsi::Runtime &rt, std::shared_ptr<CallInvoker>,
1349
1438
  const jsi::Value &value) {
1350
1439
  try {
1440
+ auto obj = value.asObject(rt);
1441
+
1442
+ // Adoption vs copy. Two kinds of view arrive here:
1443
+ //
1444
+ // * Library-owned views from `rustbuffer_alloc`. Codegen allocates one,
1445
+ // fills it in place, and ships it as an argument — and never frees a
1446
+ // lowered argument, while the view's backing `CMutableBuffer` is
1447
+ // non-owning (its destructor leaves `data` alone). Such a view carries
1448
+ // a capacity hint (stamped by `rustbuffer_alloc` in the wrapper). We
1449
+ // *adopt* it: hand the existing allocation to the callee, which frees
1450
+ // it. Copying instead would orphan the allocation and leak one whole
1451
+ // payload per call.
1452
+ // * Ordinary JS-owned arrays, which carry no hint. These are *copied*
1453
+ // into a fresh library allocation — they are not ours to give away.
1454
+ //
1455
+ // On adoption we reset the hint to 0 so a later `rustbuffer_free(view)` is
1456
+ // a no-op rather than a double free.
1457
+ if (obj.hasProperty(rt, uniffi_jsi::kUbrnRustCapacity)) {
1458
+ auto capacity = static_cast<uint64_t>(
1459
+ obj.getProperty(rt, uniffi_jsi::kUbrnRustCapacity).asNumber());
1460
+ if (capacity == 0) {
1461
+ // Hint present but zeroed: the view was already adopted by a previous
1462
+ // call and its memory has been freed. Reading it would be a
1463
+ // use-after-free, so refuse rather than hand over a dangling pointer.
1464
+ throw jsi::JSError(
1465
+ rt,
1466
+ "RustBuffer argument was already consumed by a previous FFI call");
1467
+ }
1468
+ auto arrayBuffer =
1469
+ obj.getPropertyAsObject(rt, "buffer").getArrayBuffer(rt);
1470
+ auto byteOffset =
1471
+ static_cast<size_t>(obj.getProperty(rt, "byteOffset").asNumber());
1472
+ auto byteLength =
1473
+ static_cast<size_t>(obj.getProperty(rt, "byteLength").asNumber());
1474
+ obj.setProperty(rt, uniffi_jsi::kUbrnRustCapacity, jsi::Value(0));
1475
+ return RustBuffer{
1476
+ .capacity = capacity,
1477
+ .len = static_cast<uint64_t>(byteLength),
1478
+ .data = arrayBuffer.data(rt) + byteOffset,
1479
+ };
1480
+ }
1481
+
1351
1482
  auto buffer = uniffi_jsi::Bridging<jsi::ArrayBuffer>::value_to_arraybuffer(rt, value);
1352
1483
  auto bytes = ForeignBytes{
1353
1484
  .len = static_cast<int32_t>(buffer.length(rt)),
1354
1485
  .data = buffer.data(rt),
1355
1486
  };
1356
1487
 
1357
- // This buffer is constructed from foreign bytes. Rust scaffolding copies
1358
- // the bytes, to make the RustBuffer.
1488
+ // No hint: an ordinary JS-owned array. Rust scaffolding copies the bytes
1489
+ // to make the RustBuffer; the copy is destroyed when the callee
1490
+ // deserializes its arguments.
1359
1491
  auto buf = rustbuffer_from_bytes(bytes);
1360
- // Once it leaves this function, the buffer is immediately passed back
1361
- // into Rust, where it's used to deserialize into the Rust versions of the
1362
- // arguments. At that point, the copy is destroyed.
1363
1492
  return buf;
1364
1493
  } catch (const std::logic_error &e) {
1365
1494
  throw jsi::JSError(rt, e.what());
@@ -1368,24 +1497,31 @@ template <> struct Bridging<RustBuffer> {
1368
1497
 
1369
1498
  static jsi::Value toJs(jsi::Runtime &rt, std::shared_ptr<CallInvoker>,
1370
1499
  RustBuffer buf) {
1371
- // We need to make a copy of the bytes from Rust's memory space into
1372
- // Javascripts memory space. We need to do this because the two languages
1373
- // manages memory very differently: a garbage collector needs to track all
1374
- // the memory at runtime, Rust is doing it all closer to compile time.
1375
- uint8_t *bytes = new uint8_t[buf.len];
1376
- std::memcpy(bytes, buf.data, buf.len);
1377
-
1378
- // Construct an ArrayBuffer with copy of the bytes from the RustBuffer.
1500
+ // View-handoff: hand JS a `Uint8Array` view aliasing the Rust-owned bytes
1501
+ // (no boundary copy). The single mandatory copy now happens inside
1502
+ // `converter.lift(view)` (string decode, byte-array `set`, field-by-field
1503
+ // record reads). The codegen-emitted try/finally calls `rustbuffer_free`
1504
+ // on the view after `lift` returns, releasing the Rust allocation.
1505
+ //
1506
+ // Capacity hint: Rust may return a buffer where `capacity > len`. The
1507
+ // view's `byteLength` is `len` (so converters that decode the whole view
1508
+ // see only the message bytes), but `rustbuffer_free` needs `capacity` to
1509
+ // free correctly. We stash `capacity` on the view via a string-keyed
1510
+ // property when it differs from `len`; the JSI `rustbufferFree` host
1511
+ // function reads it back and falls back to `byteLength` for views from
1512
+ // `rustbufferAlloc(n)` where `byteLength == capacity` already.
1513
+ //
1514
+ // CMutableBuffer is non-owning here: its destructor leaves `buf.data`
1515
+ // alone. Only the codegen-emitted `rustbuffer_free` path frees it.
1379
1516
  auto payload = std::make_shared<uniffi_jsi::CMutableBuffer>(
1380
- uniffi_jsi::CMutableBuffer((uint8_t *)bytes, buf.len));
1381
- auto arrayBuffer = jsi::ArrayBuffer(rt, payload);
1382
-
1383
- // Once we have a Javascript version, we no longer need the Rust version, so
1384
- // we can call into Rust to tell it it's okay to free that memory.
1385
- rustbuffer_free(buf);
1386
-
1387
- // Finally, return the ArrayBuffer.
1388
- return uniffi_jsi::Bridging<jsi::ArrayBuffer>::arraybuffer_to_value(rt, arrayBuffer);;
1517
+ buf.data, static_cast<size_t>(buf.len));
1518
+ auto view = uniffi_jsi::arraybufferToUint8Array(
1519
+ rt, jsi::ArrayBuffer(rt, payload));
1520
+ if (buf.capacity != static_cast<uint64_t>(buf.len)) {
1521
+ view.setProperty(rt, uniffi_jsi::kUbrnRustCapacity,
1522
+ jsi::Value(static_cast<double>(buf.capacity)));
1523
+ }
1524
+ return jsi::Value(rt, view);
1389
1525
  }
1390
1526
  };
1391
1527
 
@@ -1410,9 +1546,22 @@ template <> struct Bridging<RustCallStatus> {
1410
1546
  const jsi::Value &jsStatus) {
1411
1547
  auto statusObject = jsStatus.asObject(rt);
1412
1548
  if (status.error_buf.data != nullptr) {
1413
- auto rbuf = Bridging<RustBuffer>::toJs(rt, callInvoker,
1414
- status.error_buf);
1415
- statusObject.setProperty(rt, "errorBuf", rbuf);
1549
+ // The error path is NOT wrapped in the codegen-emitted try/finally that
1550
+ // covers normal returns: `errorBuf` is read by the runtime's call-status
1551
+ // dispatcher (rust-call.ts) which throws straight to the user without
1552
+ // ever calling `rustbuffer_free`. Switching this site to view-handoff
1553
+ // would leak the Rust allocation, so we keep the copy semantics here:
1554
+ // copy the bytes into a JS-owned ArrayBuffer and free the Rust buffer
1555
+ // immediately. The errorBuf is small (a serialized error variant) and
1556
+ // only allocated on the cold error path, so the boundary copy is cheap.
1557
+ auto len = static_cast<size_t>(status.error_buf.len);
1558
+ uint8_t *bytes = new uint8_t[len];
1559
+ std::memcpy(bytes, status.error_buf.data, len);
1560
+ auto payload = std::make_shared<uniffi_jsi::CMutableBuffer>(bytes, len);
1561
+ auto view = uniffi_jsi::arraybufferToUint8Array(
1562
+ rt, jsi::ArrayBuffer(rt, payload));
1563
+ statusObject.setProperty(rt, "errorBuf", view);
1564
+ Bridging<RustBuffer>::rustbuffer_free(status.error_buf);
1416
1565
  }
1417
1566
  if (status.code != UNIFFI_CALL_STATUS_OK) {
1418
1567
  auto code =
@@ -2032,11 +2181,11 @@ template <> struct Bridging<UniffiForeignFutureResultU8> {
2032
2181
  // Create the vtable from the js callbacks.
2033
2182
  rsObject.return_value = uniffi_jsi::Bridging<uint8_t>::fromJs(
2034
2183
  rt, callInvoker,
2035
- jsObject.getProperty(rt, "returnValue")
2184
+ jsObject.getProperty(rt, "return_value")
2036
2185
  );
2037
2186
  rsObject.call_status = uniffi::bark::Bridging<RustCallStatus>::fromJs(
2038
2187
  rt, callInvoker,
2039
- jsObject.getProperty(rt, "callStatus")
2188
+ jsObject.getProperty(rt, "call_status")
2040
2189
  );
2041
2190
 
2042
2191
  return rsObject;
@@ -2106,11 +2255,11 @@ template <> struct Bridging<UniffiForeignFutureResultI8> {
2106
2255
  // Create the vtable from the js callbacks.
2107
2256
  rsObject.return_value = uniffi_jsi::Bridging<int8_t>::fromJs(
2108
2257
  rt, callInvoker,
2109
- jsObject.getProperty(rt, "returnValue")
2258
+ jsObject.getProperty(rt, "return_value")
2110
2259
  );
2111
2260
  rsObject.call_status = uniffi::bark::Bridging<RustCallStatus>::fromJs(
2112
2261
  rt, callInvoker,
2113
- jsObject.getProperty(rt, "callStatus")
2262
+ jsObject.getProperty(rt, "call_status")
2114
2263
  );
2115
2264
 
2116
2265
  return rsObject;
@@ -2180,11 +2329,11 @@ template <> struct Bridging<UniffiForeignFutureResultU16> {
2180
2329
  // Create the vtable from the js callbacks.
2181
2330
  rsObject.return_value = uniffi_jsi::Bridging<uint16_t>::fromJs(
2182
2331
  rt, callInvoker,
2183
- jsObject.getProperty(rt, "returnValue")
2332
+ jsObject.getProperty(rt, "return_value")
2184
2333
  );
2185
2334
  rsObject.call_status = uniffi::bark::Bridging<RustCallStatus>::fromJs(
2186
2335
  rt, callInvoker,
2187
- jsObject.getProperty(rt, "callStatus")
2336
+ jsObject.getProperty(rt, "call_status")
2188
2337
  );
2189
2338
 
2190
2339
  return rsObject;
@@ -2254,11 +2403,11 @@ template <> struct Bridging<UniffiForeignFutureResultI16> {
2254
2403
  // Create the vtable from the js callbacks.
2255
2404
  rsObject.return_value = uniffi_jsi::Bridging<int16_t>::fromJs(
2256
2405
  rt, callInvoker,
2257
- jsObject.getProperty(rt, "returnValue")
2406
+ jsObject.getProperty(rt, "return_value")
2258
2407
  );
2259
2408
  rsObject.call_status = uniffi::bark::Bridging<RustCallStatus>::fromJs(
2260
2409
  rt, callInvoker,
2261
- jsObject.getProperty(rt, "callStatus")
2410
+ jsObject.getProperty(rt, "call_status")
2262
2411
  );
2263
2412
 
2264
2413
  return rsObject;
@@ -2328,11 +2477,11 @@ template <> struct Bridging<UniffiForeignFutureResultU32> {
2328
2477
  // Create the vtable from the js callbacks.
2329
2478
  rsObject.return_value = uniffi_jsi::Bridging<uint32_t>::fromJs(
2330
2479
  rt, callInvoker,
2331
- jsObject.getProperty(rt, "returnValue")
2480
+ jsObject.getProperty(rt, "return_value")
2332
2481
  );
2333
2482
  rsObject.call_status = uniffi::bark::Bridging<RustCallStatus>::fromJs(
2334
2483
  rt, callInvoker,
2335
- jsObject.getProperty(rt, "callStatus")
2484
+ jsObject.getProperty(rt, "call_status")
2336
2485
  );
2337
2486
 
2338
2487
  return rsObject;
@@ -2402,11 +2551,11 @@ template <> struct Bridging<UniffiForeignFutureResultI32> {
2402
2551
  // Create the vtable from the js callbacks.
2403
2552
  rsObject.return_value = uniffi_jsi::Bridging<int32_t>::fromJs(
2404
2553
  rt, callInvoker,
2405
- jsObject.getProperty(rt, "returnValue")
2554
+ jsObject.getProperty(rt, "return_value")
2406
2555
  );
2407
2556
  rsObject.call_status = uniffi::bark::Bridging<RustCallStatus>::fromJs(
2408
2557
  rt, callInvoker,
2409
- jsObject.getProperty(rt, "callStatus")
2558
+ jsObject.getProperty(rt, "call_status")
2410
2559
  );
2411
2560
 
2412
2561
  return rsObject;
@@ -2476,11 +2625,11 @@ template <> struct Bridging<UniffiForeignFutureResultU64> {
2476
2625
  // Create the vtable from the js callbacks.
2477
2626
  rsObject.return_value = uniffi_jsi::Bridging<uint64_t>::fromJs(
2478
2627
  rt, callInvoker,
2479
- jsObject.getProperty(rt, "returnValue")
2628
+ jsObject.getProperty(rt, "return_value")
2480
2629
  );
2481
2630
  rsObject.call_status = uniffi::bark::Bridging<RustCallStatus>::fromJs(
2482
2631
  rt, callInvoker,
2483
- jsObject.getProperty(rt, "callStatus")
2632
+ jsObject.getProperty(rt, "call_status")
2484
2633
  );
2485
2634
 
2486
2635
  return rsObject;
@@ -2550,11 +2699,11 @@ template <> struct Bridging<UniffiForeignFutureResultI64> {
2550
2699
  // Create the vtable from the js callbacks.
2551
2700
  rsObject.return_value = uniffi_jsi::Bridging<int64_t>::fromJs(
2552
2701
  rt, callInvoker,
2553
- jsObject.getProperty(rt, "returnValue")
2702
+ jsObject.getProperty(rt, "return_value")
2554
2703
  );
2555
2704
  rsObject.call_status = uniffi::bark::Bridging<RustCallStatus>::fromJs(
2556
2705
  rt, callInvoker,
2557
- jsObject.getProperty(rt, "callStatus")
2706
+ jsObject.getProperty(rt, "call_status")
2558
2707
  );
2559
2708
 
2560
2709
  return rsObject;
@@ -2624,11 +2773,11 @@ template <> struct Bridging<UniffiForeignFutureResultF32> {
2624
2773
  // Create the vtable from the js callbacks.
2625
2774
  rsObject.return_value = uniffi_jsi::Bridging<float>::fromJs(
2626
2775
  rt, callInvoker,
2627
- jsObject.getProperty(rt, "returnValue")
2776
+ jsObject.getProperty(rt, "return_value")
2628
2777
  );
2629
2778
  rsObject.call_status = uniffi::bark::Bridging<RustCallStatus>::fromJs(
2630
2779
  rt, callInvoker,
2631
- jsObject.getProperty(rt, "callStatus")
2780
+ jsObject.getProperty(rt, "call_status")
2632
2781
  );
2633
2782
 
2634
2783
  return rsObject;
@@ -2698,11 +2847,11 @@ template <> struct Bridging<UniffiForeignFutureResultF64> {
2698
2847
  // Create the vtable from the js callbacks.
2699
2848
  rsObject.return_value = uniffi_jsi::Bridging<double>::fromJs(
2700
2849
  rt, callInvoker,
2701
- jsObject.getProperty(rt, "returnValue")
2850
+ jsObject.getProperty(rt, "return_value")
2702
2851
  );
2703
2852
  rsObject.call_status = uniffi::bark::Bridging<RustCallStatus>::fromJs(
2704
2853
  rt, callInvoker,
2705
- jsObject.getProperty(rt, "callStatus")
2854
+ jsObject.getProperty(rt, "call_status")
2706
2855
  );
2707
2856
 
2708
2857
  return rsObject;
@@ -2772,11 +2921,11 @@ template <> struct Bridging<UniffiForeignFutureResultRustBuffer> {
2772
2921
  // Create the vtable from the js callbacks.
2773
2922
  rsObject.return_value = uniffi::bark::Bridging<RustBuffer>::fromJs(
2774
2923
  rt, callInvoker,
2775
- jsObject.getProperty(rt, "returnValue")
2924
+ jsObject.getProperty(rt, "return_value")
2776
2925
  );
2777
2926
  rsObject.call_status = uniffi::bark::Bridging<RustCallStatus>::fromJs(
2778
2927
  rt, callInvoker,
2779
- jsObject.getProperty(rt, "callStatus")
2928
+ jsObject.getProperty(rt, "call_status")
2780
2929
  );
2781
2930
 
2782
2931
  return rsObject;
@@ -2846,7 +2995,7 @@ template <> struct Bridging<UniffiForeignFutureResultVoid> {
2846
2995
  // Create the vtable from the js callbacks.
2847
2996
  rsObject.call_status = uniffi::bark::Bridging<RustCallStatus>::fromJs(
2848
2997
  rt, callInvoker,
2849
- jsObject.getProperty(rt, "callStatus")
2998
+ jsObject.getProperty(rt, "call_status")
2850
2999
  );
2851
3000
 
2852
3001
  return rsObject;
@@ -3441,7 +3590,7 @@ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod2
3441
3590
  rsLambda = nullptr;
3442
3591
  }
3443
3592
  } // namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod2::vtablecallbackinterfacecustomonchainwalletcallbacks
3444
- // Implementation of CallbackInterfaceCustomOnchainWalletCallbacksMethod3 for vtable field finish_psbt in VTableCallbackInterfaceCustomOnchainWalletCallbacks
3593
+ // Implementation of CallbackInterfaceCustomOnchainWalletCallbacksMethod3 for vtable field sign_psbt in VTableCallbackInterfaceCustomOnchainWalletCallbacks
3445
3594
 
3446
3595
 
3447
3596
  // Callback function: uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod3::vtablecallbackinterfacecustomonchainwalletcallbacks::UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod3
@@ -4399,37 +4548,37 @@ template <> struct Bridging<UniffiVTableCallbackInterfaceCustomOnchainWalletCall
4399
4548
 
4400
4549
  // Create the vtable from the js callbacks.
4401
4550
  rsObject.uniffi_free = uniffi::bark::st::vtablecallbackinterfacecustomonchainwalletcallbacks::vtablecallbackinterfacecustomonchainwalletcallbacks::free::makeCallbackFunction(
4402
- rt, callInvoker, jsObject.getProperty(rt, "uniffiFree")
4551
+ rt, callInvoker, jsObject.getProperty(rt, "uniffi_free")
4403
4552
  );
4404
4553
  rsObject.uniffi_clone = uniffi::bark::cb::callbackinterfaceclone::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4405
- rt, callInvoker, jsObject.getProperty(rt, "uniffiClone")
4554
+ rt, callInvoker, jsObject.getProperty(rt, "uniffi_clone")
4406
4555
  );
4407
4556
  rsObject.get_balance = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod0::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4408
- rt, callInvoker, jsObject.getProperty(rt, "getBalance")
4557
+ rt, callInvoker, jsObject.getProperty(rt, "get_balance")
4409
4558
  );
4410
4559
  rsObject.prepare_tx = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod1::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4411
- rt, callInvoker, jsObject.getProperty(rt, "prepareTx")
4560
+ rt, callInvoker, jsObject.getProperty(rt, "prepare_tx")
4412
4561
  );
4413
4562
  rsObject.prepare_drain_tx = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod2::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4414
- rt, callInvoker, jsObject.getProperty(rt, "prepareDrainTx")
4563
+ rt, callInvoker, jsObject.getProperty(rt, "prepare_drain_tx")
4415
4564
  );
4416
- rsObject.finish_psbt = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod3::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4417
- rt, callInvoker, jsObject.getProperty(rt, "finishPsbt")
4565
+ rsObject.sign_psbt = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod3::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4566
+ rt, callInvoker, jsObject.getProperty(rt, "sign_psbt")
4418
4567
  );
4419
4568
  rsObject.is_mine = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod4::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4420
- rt, callInvoker, jsObject.getProperty(rt, "isMine")
4569
+ rt, callInvoker, jsObject.getProperty(rt, "is_mine")
4421
4570
  );
4422
4571
  rsObject.register_tx = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod5::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4423
- rt, callInvoker, jsObject.getProperty(rt, "registerTx")
4572
+ rt, callInvoker, jsObject.getProperty(rt, "register_tx")
4424
4573
  );
4425
4574
  rsObject.evict_tx = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod6::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4426
- rt, callInvoker, jsObject.getProperty(rt, "evictTx")
4575
+ rt, callInvoker, jsObject.getProperty(rt, "evict_tx")
4427
4576
  );
4428
4577
  rsObject.make_signed_p2a_cpfp = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4429
- rt, callInvoker, jsObject.getProperty(rt, "makeSignedP2aCpfp")
4578
+ rt, callInvoker, jsObject.getProperty(rt, "make_signed_p2a_cpfp")
4430
4579
  );
4431
4580
  rsObject.store_signed_p2a_cpfp = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod8::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4432
- rt, callInvoker, jsObject.getProperty(rt, "storeSignedP2aCpfp")
4581
+ rt, callInvoker, jsObject.getProperty(rt, "store_signed_p2a_cpfp")
4433
4582
  );
4434
4583
  rsObject.sync = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod9::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4435
4584
  rt, callInvoker, jsObject.getProperty(rt, "sync")
@@ -4729,10 +4878,10 @@ template <> struct Bridging<UniffiVTableCallbackInterfaceBarkLogger> {
4729
4878
 
4730
4879
  // Create the vtable from the js callbacks.
4731
4880
  rsObject.uniffi_free = uniffi::bark::st::vtablecallbackinterfacebarklogger::vtablecallbackinterfacebarklogger::free::makeCallbackFunction(
4732
- rt, callInvoker, jsObject.getProperty(rt, "uniffiFree")
4881
+ rt, callInvoker, jsObject.getProperty(rt, "uniffi_free")
4733
4882
  );
4734
4883
  rsObject.uniffi_clone = uniffi::bark::cb::callbackinterfaceclone::vtablecallbackinterfacebarklogger::makeCallbackFunction(
4735
- rt, callInvoker, jsObject.getProperty(rt, "uniffiClone")
4884
+ rt, callInvoker, jsObject.getProperty(rt, "uniffi_clone")
4736
4885
  );
4737
4886
  rsObject.log = uniffi::bark::cb::callbackinterfacebarkloggermethod0::vtablecallbackinterfacebarklogger::makeCallbackFunction(
4738
4887
  rt, callInvoker, jsObject.getProperty(rt, "log")
@@ -4782,20 +4931,28 @@ NativeBark::NativeBark(
4782
4931
  return this->cpp_uniffi_internal_fn_func_ffi__string_to_byte_length(rt, thisVal, args, count);
4783
4932
  }
4784
4933
  );
4785
- props["ubrn_uniffi_internal_fn_func_ffi__string_to_arraybuffer"] = jsi::Function::createFromHostFunction(
4934
+ props["ubrn_uniffi_internal_fn_func_ffi__string_to_buffer"] = jsi::Function::createFromHostFunction(
4786
4935
  rt,
4787
- jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_func_ffi__string_to_arraybuffer"),
4936
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_func_ffi__string_to_buffer"),
4788
4937
  1,
4789
4938
  [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
4790
- return this->cpp_uniffi_internal_fn_func_ffi__string_to_arraybuffer(rt, thisVal, args, count);
4939
+ return this->cpp_uniffi_internal_fn_func_ffi__string_to_buffer(rt, thisVal, args, count);
4791
4940
  }
4792
4941
  );
4793
- props["ubrn_uniffi_internal_fn_func_ffi__arraybuffer_to_string"] = jsi::Function::createFromHostFunction(
4942
+ props["ubrn_uniffi_internal_fn_func_ffi__string_from_buffer"] = jsi::Function::createFromHostFunction(
4794
4943
  rt,
4795
- jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_func_ffi__arraybuffer_to_string"),
4944
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_func_ffi__string_from_buffer"),
4796
4945
  1,
4797
4946
  [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
4798
- return this->cpp_uniffi_internal_fn_func_ffi__arraybuffer_to_string(rt, thisVal, args, count);
4947
+ return this->cpp_uniffi_internal_fn_func_ffi__string_from_buffer(rt, thisVal, args, count);
4948
+ }
4949
+ );
4950
+ props["ubrn_uniffi_internal_fn_func_ffi__read_string_from_buffer"] = jsi::Function::createFromHostFunction(
4951
+ rt,
4952
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_internal_fn_func_ffi__read_string_from_buffer"),
4953
+ 3,
4954
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
4955
+ return this->cpp_uniffi_internal_fn_func_ffi__read_string_from_buffer(rt, thisVal, args, count);
4799
4956
  }
4800
4957
  );
4801
4958
  props["ubrn_uniffi_bark_ffi_fn_clone_notificationholder"] = jsi::Function::createFromHostFunction(
@@ -4878,12 +5035,12 @@ NativeBark::NativeBark(
4878
5035
  return this->cpp_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_prepare_drain_tx(rt, thisVal, args, count);
4879
5036
  }
4880
5037
  );
4881
- props["ubrn_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_finish_psbt"] = jsi::Function::createFromHostFunction(
5038
+ props["ubrn_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_sign_psbt"] = jsi::Function::createFromHostFunction(
4882
5039
  rt,
4883
- jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_finish_psbt"),
5040
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_sign_psbt"),
4884
5041
  2,
4885
5042
  [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
4886
- return this->cpp_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_finish_psbt(rt, thisVal, args, count);
5043
+ return this->cpp_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_sign_psbt(rt, thisVal, args, count);
4887
5044
  }
4888
5045
  );
4889
5046
  props["ubrn_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_is_mine"] = jsi::Function::createFromHostFunction(
@@ -5150,6 +5307,22 @@ NativeBark::NativeBark(
5150
5307
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_balance(rt, thisVal, args, count);
5151
5308
  }
5152
5309
  );
5310
+ props["ubrn_uniffi_bark_ffi_fn_method_wallet_balance_summary"] = jsi::Function::createFromHostFunction(
5311
+ rt,
5312
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_balance_summary"),
5313
+ 1,
5314
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5315
+ return this->cpp_uniffi_bark_ffi_fn_method_wallet_balance_summary(rt, thisVal, args, count);
5316
+ }
5317
+ );
5318
+ props["ubrn_uniffi_bark_ffi_fn_method_wallet_bip321_uri"] = jsi::Function::createFromHostFunction(
5319
+ rt,
5320
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_bip321_uri"),
5321
+ 2,
5322
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5323
+ return this->cpp_uniffi_bark_ffi_fn_method_wallet_bip321_uri(rt, thisVal, args, count);
5324
+ }
5325
+ );
5153
5326
  props["ubrn_uniffi_bark_ffi_fn_method_wallet_board_all"] = jsi::Function::createFromHostFunction(
5154
5327
  rt,
5155
5328
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_board_all"),
@@ -5262,10 +5435,18 @@ NativeBark::NativeBark(
5262
5435
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_config(rt, thisVal, args, count);
5263
5436
  }
5264
5437
  );
5438
+ props["ubrn_uniffi_bark_ffi_fn_method_wallet_debug_info"] = jsi::Function::createFromHostFunction(
5439
+ rt,
5440
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_debug_info"),
5441
+ 1,
5442
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5443
+ return this->cpp_uniffi_bark_ffi_fn_method_wallet_debug_info(rt, thisVal, args, count);
5444
+ }
5445
+ );
5265
5446
  props["ubrn_uniffi_bark_ffi_fn_method_wallet_drain_exits"] = jsi::Function::createFromHostFunction(
5266
5447
  rt,
5267
5448
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_drain_exits"),
5268
- 4,
5449
+ 5,
5269
5450
  [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5270
5451
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_drain_exits(rt, thisVal, args, count);
5271
5452
  }
@@ -5289,7 +5470,7 @@ NativeBark::NativeBark(
5289
5470
  props["ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_emergency_exit_fee"] = jsi::Function::createFromHostFunction(
5290
5471
  rt,
5291
5472
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_emergency_exit_fee"),
5292
- 4,
5473
+ 5,
5293
5474
  [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5294
5475
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_estimate_emergency_exit_fee(rt, thisVal, args, count);
5295
5476
  }
@@ -5326,6 +5507,14 @@ NativeBark::NativeBark(
5326
5507
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_estimate_offboard_fee(rt, thisVal, args, count);
5327
5508
  }
5328
5509
  );
5510
+ props["ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_payment_fee"] = jsi::Function::createFromHostFunction(
5511
+ rt,
5512
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_payment_fee"),
5513
+ 3,
5514
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5515
+ return this->cpp_uniffi_bark_ffi_fn_method_wallet_estimate_payment_fee(rt, thisVal, args, count);
5516
+ }
5517
+ );
5329
5518
  props["ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_refresh_fee"] = jsi::Function::createFromHostFunction(
5330
5519
  rt,
5331
5520
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_refresh_fee"),
@@ -5470,6 +5659,14 @@ NativeBark::NativeBark(
5470
5659
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_lightning_send_state(rt, thisVal, args, count);
5471
5660
  }
5472
5661
  );
5662
+ props["ubrn_uniffi_bark_ffi_fn_method_wallet_list_all_exits"] = jsi::Function::createFromHostFunction(
5663
+ rt,
5664
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_list_all_exits"),
5665
+ 3,
5666
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5667
+ return this->cpp_uniffi_bark_ffi_fn_method_wallet_list_all_exits(rt, thisVal, args, count);
5668
+ }
5669
+ );
5473
5670
  props["ubrn_uniffi_bark_ffi_fn_method_wallet_list_claimable_exits"] = jsi::Function::createFromHostFunction(
5474
5671
  rt,
5475
5672
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_list_claimable_exits"),
@@ -5478,6 +5675,22 @@ NativeBark::NativeBark(
5478
5675
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_list_claimable_exits(rt, thisVal, args, count);
5479
5676
  }
5480
5677
  );
5678
+ props["ubrn_uniffi_bark_ffi_fn_method_wallet_list_finished_exits"] = jsi::Function::createFromHostFunction(
5679
+ rt,
5680
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_list_finished_exits"),
5681
+ 3,
5682
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5683
+ return this->cpp_uniffi_bark_ffi_fn_method_wallet_list_finished_exits(rt, thisVal, args, count);
5684
+ }
5685
+ );
5686
+ props["ubrn_uniffi_bark_ffi_fn_method_wallet_list_live_exits"] = jsi::Function::createFromHostFunction(
5687
+ rt,
5688
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_list_live_exits"),
5689
+ 3,
5690
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5691
+ return this->cpp_uniffi_bark_ffi_fn_method_wallet_list_live_exits(rt, thisVal, args, count);
5692
+ }
5693
+ );
5481
5694
  props["ubrn_uniffi_bark_ffi_fn_method_wallet_lock_vtxos"] = jsi::Function::createFromHostFunction(
5482
5695
  rt,
5483
5696
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_lock_vtxos"),
@@ -5489,7 +5702,7 @@ NativeBark::NativeBark(
5489
5702
  props["ubrn_uniffi_bark_ffi_fn_method_wallet_mailbox_authorization"] = jsi::Function::createFromHostFunction(
5490
5703
  rt,
5491
5704
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_mailbox_authorization"),
5492
- 1,
5705
+ 2,
5493
5706
  [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5494
5707
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_mailbox_authorization(rt, thisVal, args, count);
5495
5708
  }
@@ -5582,10 +5795,18 @@ NativeBark::NativeBark(
5582
5795
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_offboard_vtxos(rt, thisVal, args, count);
5583
5796
  }
5584
5797
  );
5798
+ props["ubrn_uniffi_bark_ffi_fn_method_wallet_parse_payment_request"] = jsi::Function::createFromHostFunction(
5799
+ rt,
5800
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_parse_payment_request"),
5801
+ 2,
5802
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5803
+ return this->cpp_uniffi_bark_ffi_fn_method_wallet_parse_payment_request(rt, thisVal, args, count);
5804
+ }
5805
+ );
5585
5806
  props["ubrn_uniffi_bark_ffi_fn_method_wallet_pay_lightning_address"] = jsi::Function::createFromHostFunction(
5586
5807
  rt,
5587
5808
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_pay_lightning_address"),
5588
- 5,
5809
+ 6,
5589
5810
  [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5590
5811
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_pay_lightning_address(rt, thisVal, args, count);
5591
5812
  }
@@ -5593,7 +5814,7 @@ NativeBark::NativeBark(
5593
5814
  props["ubrn_uniffi_bark_ffi_fn_method_wallet_pay_lightning_invoice"] = jsi::Function::createFromHostFunction(
5594
5815
  rt,
5595
5816
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_pay_lightning_invoice"),
5596
- 4,
5817
+ 5,
5597
5818
  [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5598
5819
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_pay_lightning_invoice(rt, thisVal, args, count);
5599
5820
  }
@@ -5601,7 +5822,7 @@ NativeBark::NativeBark(
5601
5822
  props["ubrn_uniffi_bark_ffi_fn_method_wallet_pay_lightning_offer"] = jsi::Function::createFromHostFunction(
5602
5823
  rt,
5603
5824
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_pay_lightning_offer"),
5604
- 4,
5825
+ 5,
5605
5826
  [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5606
5827
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_pay_lightning_offer(rt, thisVal, args, count);
5607
5828
  }
@@ -5609,7 +5830,7 @@ NativeBark::NativeBark(
5609
5830
  props["ubrn_uniffi_bark_ffi_fn_method_wallet_pay_lnurl"] = jsi::Function::createFromHostFunction(
5610
5831
  rt,
5611
5832
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_pay_lnurl"),
5612
- 5,
5833
+ 6,
5613
5834
  [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5614
5835
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_pay_lnurl(rt, thisVal, args, count);
5615
5836
  }
@@ -5790,6 +6011,14 @@ NativeBark::NativeBark(
5790
6011
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_send_onchain(rt, thisVal, args, count);
5791
6012
  }
5792
6013
  );
6014
+ props["ubrn_uniffi_bark_ffi_fn_method_wallet_send_payment"] = jsi::Function::createFromHostFunction(
6015
+ rt,
6016
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_send_payment"),
6017
+ 6,
6018
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
6019
+ return this->cpp_uniffi_bark_ffi_fn_method_wallet_send_payment(rt, thisVal, args, count);
6020
+ }
6021
+ );
5793
6022
  props["ubrn_uniffi_bark_ffi_fn_method_wallet_sign_exit_claim_inputs"] = jsi::Function::createFromHostFunction(
5794
6023
  rt,
5795
6024
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_sign_exit_claim_inputs"),
@@ -5934,6 +6163,14 @@ NativeBark::NativeBark(
5934
6163
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_vtxos(rt, thisVal, args, count);
5935
6164
  }
5936
6165
  );
6166
+ props["ubrn_uniffi_bark_ffi_fn_func_decode_bolt11_invoice"] = jsi::Function::createFromHostFunction(
6167
+ rt,
6168
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_func_decode_bolt11_invoice"),
6169
+ 1,
6170
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
6171
+ return this->cpp_uniffi_bark_ffi_fn_func_decode_bolt11_invoice(rt, thisVal, args, count);
6172
+ }
6173
+ );
5937
6174
  props["ubrn_uniffi_bark_ffi_fn_func_default_vtxo_key_gap_limit"] = jsi::Function::createFromHostFunction(
5938
6175
  rt,
5939
6176
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_func_default_vtxo_key_gap_limit"),
@@ -5982,6 +6219,30 @@ NativeBark::NativeBark(
5982
6219
  return this->cpp_uniffi_bark_ffi_fn_func_validate_mnemonic(rt, thisVal, args, count);
5983
6220
  }
5984
6221
  );
6222
+ props["ubrn_uniffi_bark_ffi_fn_func_read_datadir_info"] = jsi::Function::createFromHostFunction(
6223
+ rt,
6224
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_func_read_datadir_info"),
6225
+ 1,
6226
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
6227
+ return this->cpp_uniffi_bark_ffi_fn_func_read_datadir_info(rt, thisVal, args, count);
6228
+ }
6229
+ );
6230
+ props["ubrn_uniffi_bark_ffi_fn_func_wallet_exists"] = jsi::Function::createFromHostFunction(
6231
+ rt,
6232
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_func_wallet_exists"),
6233
+ 1,
6234
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
6235
+ return this->cpp_uniffi_bark_ffi_fn_func_wallet_exists(rt, thisVal, args, count);
6236
+ }
6237
+ );
6238
+ props["ubrn_uniffi_bark_ffi_fn_func_clear_logger"] = jsi::Function::createFromHostFunction(
6239
+ rt,
6240
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_func_clear_logger"),
6241
+ 0,
6242
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
6243
+ return this->cpp_uniffi_bark_ffi_fn_func_clear_logger(rt, thisVal, args, count);
6244
+ }
6245
+ );
5985
6246
  props["ubrn_uniffi_bark_ffi_fn_func_set_logger"] = jsi::Function::createFromHostFunction(
5986
6247
  rt,
5987
6248
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_func_set_logger"),
@@ -6382,6 +6643,14 @@ NativeBark::NativeBark(
6382
6643
  return this->cpp_ffi_bark_ffi_rust_future_complete_void(rt, thisVal, args, count);
6383
6644
  }
6384
6645
  );
6646
+ props["ubrn_uniffi_bark_ffi_checksum_func_decode_bolt11_invoice"] = jsi::Function::createFromHostFunction(
6647
+ rt,
6648
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_func_decode_bolt11_invoice"),
6649
+ 0,
6650
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
6651
+ return this->cpp_uniffi_bark_ffi_checksum_func_decode_bolt11_invoice(rt, thisVal, args, count);
6652
+ }
6653
+ );
6385
6654
  props["ubrn_uniffi_bark_ffi_checksum_func_default_vtxo_key_gap_limit"] = jsi::Function::createFromHostFunction(
6386
6655
  rt,
6387
6656
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_func_default_vtxo_key_gap_limit"),
@@ -6430,6 +6699,30 @@ NativeBark::NativeBark(
6430
6699
  return this->cpp_uniffi_bark_ffi_checksum_func_validate_mnemonic(rt, thisVal, args, count);
6431
6700
  }
6432
6701
  );
6702
+ props["ubrn_uniffi_bark_ffi_checksum_func_read_datadir_info"] = jsi::Function::createFromHostFunction(
6703
+ rt,
6704
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_func_read_datadir_info"),
6705
+ 0,
6706
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
6707
+ return this->cpp_uniffi_bark_ffi_checksum_func_read_datadir_info(rt, thisVal, args, count);
6708
+ }
6709
+ );
6710
+ props["ubrn_uniffi_bark_ffi_checksum_func_wallet_exists"] = jsi::Function::createFromHostFunction(
6711
+ rt,
6712
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_func_wallet_exists"),
6713
+ 0,
6714
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
6715
+ return this->cpp_uniffi_bark_ffi_checksum_func_wallet_exists(rt, thisVal, args, count);
6716
+ }
6717
+ );
6718
+ props["ubrn_uniffi_bark_ffi_checksum_func_clear_logger"] = jsi::Function::createFromHostFunction(
6719
+ rt,
6720
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_func_clear_logger"),
6721
+ 0,
6722
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
6723
+ return this->cpp_uniffi_bark_ffi_checksum_func_clear_logger(rt, thisVal, args, count);
6724
+ }
6725
+ );
6433
6726
  props["ubrn_uniffi_bark_ffi_checksum_func_set_logger"] = jsi::Function::createFromHostFunction(
6434
6727
  rt,
6435
6728
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_func_set_logger"),
@@ -6486,12 +6779,12 @@ NativeBark::NativeBark(
6486
6779
  return this->cpp_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_drain_tx(rt, thisVal, args, count);
6487
6780
  }
6488
6781
  );
6489
- props["ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_psbt"] = jsi::Function::createFromHostFunction(
6782
+ props["ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_sign_psbt"] = jsi::Function::createFromHostFunction(
6490
6783
  rt,
6491
- jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_psbt"),
6784
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_sign_psbt"),
6492
6785
  0,
6493
6786
  [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
6494
- return this->cpp_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_psbt(rt, thisVal, args, count);
6787
+ return this->cpp_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_sign_psbt(rt, thisVal, args, count);
6495
6788
  }
6496
6789
  );
6497
6790
  props["ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_is_mine"] = jsi::Function::createFromHostFunction(
@@ -6678,6 +6971,22 @@ NativeBark::NativeBark(
6678
6971
  return this->cpp_uniffi_bark_ffi_checksum_method_wallet_balance(rt, thisVal, args, count);
6679
6972
  }
6680
6973
  );
6974
+ props["ubrn_uniffi_bark_ffi_checksum_method_wallet_balance_summary"] = jsi::Function::createFromHostFunction(
6975
+ rt,
6976
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_balance_summary"),
6977
+ 0,
6978
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
6979
+ return this->cpp_uniffi_bark_ffi_checksum_method_wallet_balance_summary(rt, thisVal, args, count);
6980
+ }
6981
+ );
6982
+ props["ubrn_uniffi_bark_ffi_checksum_method_wallet_bip321_uri"] = jsi::Function::createFromHostFunction(
6983
+ rt,
6984
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_bip321_uri"),
6985
+ 0,
6986
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
6987
+ return this->cpp_uniffi_bark_ffi_checksum_method_wallet_bip321_uri(rt, thisVal, args, count);
6988
+ }
6989
+ );
6681
6990
  props["ubrn_uniffi_bark_ffi_checksum_method_wallet_board_all"] = jsi::Function::createFromHostFunction(
6682
6991
  rt,
6683
6992
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_board_all"),
@@ -6790,6 +7099,14 @@ NativeBark::NativeBark(
6790
7099
  return this->cpp_uniffi_bark_ffi_checksum_method_wallet_config(rt, thisVal, args, count);
6791
7100
  }
6792
7101
  );
7102
+ props["ubrn_uniffi_bark_ffi_checksum_method_wallet_debug_info"] = jsi::Function::createFromHostFunction(
7103
+ rt,
7104
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_debug_info"),
7105
+ 0,
7106
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
7107
+ return this->cpp_uniffi_bark_ffi_checksum_method_wallet_debug_info(rt, thisVal, args, count);
7108
+ }
7109
+ );
6793
7110
  props["ubrn_uniffi_bark_ffi_checksum_method_wallet_drain_exits"] = jsi::Function::createFromHostFunction(
6794
7111
  rt,
6795
7112
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_drain_exits"),
@@ -6854,6 +7171,14 @@ NativeBark::NativeBark(
6854
7171
  return this->cpp_uniffi_bark_ffi_checksum_method_wallet_estimate_offboard_fee(rt, thisVal, args, count);
6855
7172
  }
6856
7173
  );
7174
+ props["ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_payment_fee"] = jsi::Function::createFromHostFunction(
7175
+ rt,
7176
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_payment_fee"),
7177
+ 0,
7178
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
7179
+ return this->cpp_uniffi_bark_ffi_checksum_method_wallet_estimate_payment_fee(rt, thisVal, args, count);
7180
+ }
7181
+ );
6857
7182
  props["ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_refresh_fee"] = jsi::Function::createFromHostFunction(
6858
7183
  rt,
6859
7184
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_refresh_fee"),
@@ -6998,6 +7323,14 @@ NativeBark::NativeBark(
6998
7323
  return this->cpp_uniffi_bark_ffi_checksum_method_wallet_lightning_send_state(rt, thisVal, args, count);
6999
7324
  }
7000
7325
  );
7326
+ props["ubrn_uniffi_bark_ffi_checksum_method_wallet_list_all_exits"] = jsi::Function::createFromHostFunction(
7327
+ rt,
7328
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_list_all_exits"),
7329
+ 0,
7330
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
7331
+ return this->cpp_uniffi_bark_ffi_checksum_method_wallet_list_all_exits(rt, thisVal, args, count);
7332
+ }
7333
+ );
7001
7334
  props["ubrn_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits"] = jsi::Function::createFromHostFunction(
7002
7335
  rt,
7003
7336
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits"),
@@ -7006,6 +7339,22 @@ NativeBark::NativeBark(
7006
7339
  return this->cpp_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits(rt, thisVal, args, count);
7007
7340
  }
7008
7341
  );
7342
+ props["ubrn_uniffi_bark_ffi_checksum_method_wallet_list_finished_exits"] = jsi::Function::createFromHostFunction(
7343
+ rt,
7344
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_list_finished_exits"),
7345
+ 0,
7346
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
7347
+ return this->cpp_uniffi_bark_ffi_checksum_method_wallet_list_finished_exits(rt, thisVal, args, count);
7348
+ }
7349
+ );
7350
+ props["ubrn_uniffi_bark_ffi_checksum_method_wallet_list_live_exits"] = jsi::Function::createFromHostFunction(
7351
+ rt,
7352
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_list_live_exits"),
7353
+ 0,
7354
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
7355
+ return this->cpp_uniffi_bark_ffi_checksum_method_wallet_list_live_exits(rt, thisVal, args, count);
7356
+ }
7357
+ );
7009
7358
  props["ubrn_uniffi_bark_ffi_checksum_method_wallet_lock_vtxos"] = jsi::Function::createFromHostFunction(
7010
7359
  rt,
7011
7360
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_lock_vtxos"),
@@ -7110,6 +7459,14 @@ NativeBark::NativeBark(
7110
7459
  return this->cpp_uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos(rt, thisVal, args, count);
7111
7460
  }
7112
7461
  );
7462
+ props["ubrn_uniffi_bark_ffi_checksum_method_wallet_parse_payment_request"] = jsi::Function::createFromHostFunction(
7463
+ rt,
7464
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_parse_payment_request"),
7465
+ 0,
7466
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
7467
+ return this->cpp_uniffi_bark_ffi_checksum_method_wallet_parse_payment_request(rt, thisVal, args, count);
7468
+ }
7469
+ );
7113
7470
  props["ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address"] = jsi::Function::createFromHostFunction(
7114
7471
  rt,
7115
7472
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address"),
@@ -7318,6 +7675,14 @@ NativeBark::NativeBark(
7318
7675
  return this->cpp_uniffi_bark_ffi_checksum_method_wallet_send_onchain(rt, thisVal, args, count);
7319
7676
  }
7320
7677
  );
7678
+ props["ubrn_uniffi_bark_ffi_checksum_method_wallet_send_payment"] = jsi::Function::createFromHostFunction(
7679
+ rt,
7680
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_send_payment"),
7681
+ 0,
7682
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
7683
+ return this->cpp_uniffi_bark_ffi_checksum_method_wallet_send_payment(rt, thisVal, args, count);
7684
+ }
7685
+ );
7321
7686
  props["ubrn_uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs"] = jsi::Function::createFromHostFunction(
7322
7687
  rt,
7323
7688
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs"),
@@ -7534,6 +7899,101 @@ NativeBark::NativeBark(
7534
7899
  return this->cpp_uniffi_internal_fn_method_wallet_ffi__bless_pointer(rt, thisVal, args, count);
7535
7900
  }
7536
7901
  );
7902
+
7903
+ // `rustbuffer_alloc(n)` -> Uint8Array view over Rust-owned memory of capacity `n`.
7904
+ // `rustbuffer_free(view)` -> hands the underlying (ptr, capacity) back to the
7905
+ // crate's `rustbuffer_free`. Together they let JS allocate buffers that the
7906
+ // codegen-emitted lowering path can fill in place and ship to Rust without copying.
7907
+ props["rustbuffer_alloc"] = jsi::Function::createFromHostFunction(
7908
+ rt,
7909
+ jsi::PropNameID::forAscii(rt, "rustbuffer_alloc"),
7910
+ 1,
7911
+ [](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
7912
+ if (count < 1 || !args[0].isNumber()) {
7913
+ throw jsi::JSError(rt, "rustbuffer_alloc expected a number argument");
7914
+ }
7915
+ double size = args[0].asNumber();
7916
+ if (size < 0) {
7917
+ throw jsi::JSError(rt, "rustbuffer_alloc: size must be non-negative");
7918
+ }
7919
+ if (size > INT32_MAX) {
7920
+ throw jsi::JSError(rt, "rustbuffer_alloc: size exceeds INT32_MAX");
7921
+ }
7922
+ auto rb = uniffi::bark::Bridging<RustBuffer>::rustbuffer_alloc(static_cast<int32_t>(size));
7923
+ if (rb.data == nullptr) {
7924
+ throw jsi::JSError(rt, "rustbuffer_alloc failed: alloc returned null");
7925
+ }
7926
+ // Non-owning view over Rust-allocated memory; CMutableBuffer's destructor
7927
+ // is the default and does not free `rb.data`. The allocation is released
7928
+ // either by an explicit `rustbuffer_free(view)` or by being adopted when
7929
+ // the view is lowered as an FFI argument.
7930
+ auto payload = std::make_shared<uniffi_jsi::CMutableBuffer>(
7931
+ rb.data, static_cast<size_t>(rb.capacity));
7932
+ // Wrap as Uint8Array so JS can index/assign bytes directly.
7933
+ auto view = uniffi_jsi::arraybufferToUint8Array(
7934
+ rt, jsi::ArrayBuffer(rt, payload));
7935
+ // Stamp the capacity so the argument-lowering path
7936
+ // (`Bridging<RustBuffer>::fromJs`) recognises this view as
7937
+ // library-owned and adopts the allocation instead of copying it.
7938
+ // Without the stamp, a lowered argument is copied and this
7939
+ // allocation is orphaned — one leaked payload per call.
7940
+ if (rb.capacity > 0) {
7941
+ view.setProperty(rt, uniffi_jsi::kUbrnRustCapacity,
7942
+ jsi::Value(static_cast<double>(rb.capacity)));
7943
+ }
7944
+ return jsi::Value(rt, view);
7945
+ }
7946
+ );
7947
+
7948
+ props["rustbuffer_free"] = jsi::Function::createFromHostFunction(
7949
+ rt,
7950
+ jsi::PropNameID::forAscii(rt, "rustbuffer_free"),
7951
+ 1,
7952
+ [](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
7953
+ if (count < 1 || !args[0].isObject()) {
7954
+ throw jsi::JSError(rt, "rustbuffer_free expected a Uint8Array argument");
7955
+ }
7956
+ auto view = args[0].asObject(rt);
7957
+ auto byteLength =
7958
+ static_cast<size_t>(view.getProperty(rt, "byteLength").asNumber());
7959
+ // Empty views were never allocated by `rustbuffer_alloc`; nothing
7960
+ // to free. Bail out before reading buffer/byteOffset/capacity to
7961
+ // skip three JSI property traversals on the empty path.
7962
+ if (byteLength == 0) {
7963
+ return jsi::Value::undefined();
7964
+ }
7965
+ // Capacity resolution:
7966
+ // * For a view from `rustbuffer_alloc(n)`, `byteLength == n == capacity`,
7967
+ // and no `__ubrnRustCapacity` hint was set.
7968
+ // * For a view from a lift-handoff, the codegen-emitted
7969
+ // `Bridging<RustBuffer>::toJs` set `byteLength = len` and stashed
7970
+ // the original `capacity` on `__ubrnRustCapacity` whenever
7971
+ // `capacity != len`.
7972
+ // So: prefer the hint, fall back to byteLength.
7973
+ size_t capacity = byteLength;
7974
+ if (view.hasProperty(rt, uniffi_jsi::kUbrnRustCapacity)) {
7975
+ capacity = static_cast<size_t>(
7976
+ view.getProperty(rt, uniffi_jsi::kUbrnRustCapacity).asNumber());
7977
+ }
7978
+ // A zero capacity marks a view already adopted as an FFI argument
7979
+ // (its hint was reset to 0) and freed by the callee. Freeing again
7980
+ // would be a double free, so this is a no-op.
7981
+ if (capacity == 0) {
7982
+ return jsi::Value::undefined();
7983
+ }
7984
+ auto buffer = view.getPropertyAsObject(rt, "buffer").getArrayBuffer(rt);
7985
+ auto byteOffset =
7986
+ static_cast<size_t>(view.getProperty(rt, "byteOffset").asNumber());
7987
+ // Honour byteOffset for safety (defensive; currently always 0).
7988
+ RustBuffer rb {
7989
+ .capacity = static_cast<uint64_t>(capacity),
7990
+ .len = 0,
7991
+ .data = buffer.data(rt) + byteOffset,
7992
+ };
7993
+ uniffi::bark::Bridging<RustBuffer>::rustbuffer_free(rb);
7994
+ return jsi::Value::undefined();
7995
+ }
7996
+ );
7537
7997
  }
7538
7998
 
7539
7999
  void NativeBark::registerModule(jsi::Runtime &rt, std::shared_ptr<react::CallInvoker> callInvoker) {
@@ -7551,7 +8011,7 @@ jsi::Value NativeBark::get(jsi::Runtime& rt, const jsi::PropNameID& name) {
7551
8011
  try {
7552
8012
  return jsi::Value(rt, props.at(name.utf8(rt)));
7553
8013
  }
7554
- catch (std::out_of_range &e) {
8014
+ catch (std::out_of_range &) {
7555
8015
  return jsi::Value::undefined();
7556
8016
  }
7557
8017
  }
@@ -7595,12 +8055,16 @@ jsi::Value NativeBark::cpp_uniffi_internal_fn_func_ffi__string_to_byte_length(js
7595
8055
  return uniffi_jsi::Bridging<std::string>::string_to_bytelength(rt, args[0]);
7596
8056
  }
7597
8057
 
7598
- jsi::Value NativeBark::cpp_uniffi_internal_fn_func_ffi__string_to_arraybuffer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
7599
- return uniffi_jsi::Bridging<std::string>::string_to_arraybuffer(rt, args[0]);
8058
+ jsi::Value NativeBark::cpp_uniffi_internal_fn_func_ffi__string_to_buffer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8059
+ return uniffi_jsi::Bridging<std::string>::string_to_buffer(rt, args[0]);
7600
8060
  }
7601
8061
 
7602
- jsi::Value NativeBark::cpp_uniffi_internal_fn_func_ffi__arraybuffer_to_string(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
7603
- return uniffi_jsi::Bridging<std::string>::arraybuffer_to_string(rt, args[0]);
8062
+ jsi::Value NativeBark::cpp_uniffi_internal_fn_func_ffi__string_from_buffer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8063
+ return uniffi_jsi::Bridging<std::string>::string_from_buffer(rt, args[0]);
8064
+ }
8065
+
8066
+ jsi::Value NativeBark::cpp_uniffi_internal_fn_func_ffi__read_string_from_buffer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8067
+ return uniffi_jsi::Bridging<std::string>::read_string_from_buffer(rt, args[0], args[1], args[2]);
7604
8068
  }jsi::Value NativeBark::cpp_uniffi_internal_fn_method_notificationholder_ffi__bless_pointer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
7605
8069
  auto pointer = uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[0]);
7606
8070
  auto static destructor = [](uint64_t p) {
@@ -7753,9 +8217,9 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_customonchainwalletcallback
7753
8217
 
7754
8218
  return uniffi::bark::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
7755
8219
  }
7756
- jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_finish_psbt(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8220
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_sign_psbt(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
7757
8221
  RustCallStatus status = uniffi::bark::Bridging<RustCallStatus>::rustSuccess(rt);
7758
- auto value = uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_finish_psbt(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
8222
+ auto value = uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_sign_psbt(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
7759
8223
  &status
7760
8224
  );
7761
8225
  uniffi::bark::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
@@ -8044,6 +8508,20 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_balance(jsi::Runtime
8044
8508
  );
8045
8509
 
8046
8510
 
8511
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8512
+ }
8513
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_balance_summary(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8514
+ auto value = uniffi_bark_ffi_fn_method_wallet_balance_summary(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0])
8515
+ );
8516
+
8517
+
8518
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8519
+ }
8520
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_bip321_uri(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8521
+ auto value = uniffi_bark_ffi_fn_method_wallet_bip321_uri(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1])
8522
+ );
8523
+
8524
+
8047
8525
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8048
8526
  }
8049
8527
  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) {
@@ -8142,10 +8620,17 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_config(jsi::Runtime&
8142
8620
  );
8143
8621
 
8144
8622
 
8623
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8624
+ }
8625
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_debug_info(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8626
+ auto value = uniffi_bark_ffi_fn_method_wallet_debug_info(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0])
8627
+ );
8628
+
8629
+
8145
8630
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8146
8631
  }
8147
8632
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_drain_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8148
- auto value = uniffi_bark_ffi_fn_method_wallet_drain_exits(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]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3])
8633
+ auto value = uniffi_bark_ffi_fn_method_wallet_drain_exits(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[2]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4])
8149
8634
  );
8150
8635
 
8151
8636
 
@@ -8166,7 +8651,7 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_estimate_board_fee(j
8166
8651
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8167
8652
  }
8168
8653
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_estimate_emergency_exit_fee(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8169
- auto value = uniffi_bark_ffi_fn_method_wallet_estimate_emergency_exit_fee(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]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3])
8654
+ auto value = uniffi_bark_ffi_fn_method_wallet_estimate_emergency_exit_fee(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]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4])
8170
8655
  );
8171
8656
 
8172
8657
 
@@ -8198,6 +8683,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_estimate_offboard_fe
8198
8683
  );
8199
8684
 
8200
8685
 
8686
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8687
+ }
8688
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_estimate_payment_fee(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8689
+ auto value = uniffi_bark_ffi_fn_method_wallet_estimate_payment_fee(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[2])
8690
+ );
8691
+
8692
+
8201
8693
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8202
8694
  }
8203
8695
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_estimate_refresh_fee(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -8327,6 +8819,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_lightning_send_state
8327
8819
  );
8328
8820
 
8329
8821
 
8822
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8823
+ }
8824
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_list_all_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8825
+ auto value = uniffi_bark_ffi_fn_method_wallet_list_all_exits(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[2])
8826
+ );
8827
+
8828
+
8330
8829
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8331
8830
  }
8332
8831
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_list_claimable_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -8334,6 +8833,20 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_list_claimable_exits
8334
8833
  );
8335
8834
 
8336
8835
 
8836
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8837
+ }
8838
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_list_finished_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8839
+ auto value = uniffi_bark_ffi_fn_method_wallet_list_finished_exits(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[2])
8840
+ );
8841
+
8842
+
8843
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8844
+ }
8845
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_list_live_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8846
+ auto value = uniffi_bark_ffi_fn_method_wallet_list_live_exits(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[2])
8847
+ );
8848
+
8849
+
8337
8850
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8338
8851
  }
8339
8852
  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) {
@@ -8345,7 +8858,7 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_lock_vtxos(jsi::Runt
8345
8858
  }
8346
8859
  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) {
8347
8860
  RustCallStatus status = uniffi::bark::Bridging<RustCallStatus>::rustSuccess(rt);
8348
- auto value = uniffi_bark_ffi_fn_method_wallet_mailbox_authorization(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]),
8861
+ auto value = uniffi_bark_ffi_fn_method_wallet_mailbox_authorization(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]),
8349
8862
  &status
8350
8863
  );
8351
8864
  uniffi::bark::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
@@ -8434,31 +8947,38 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_offboard_vtxos(jsi::
8434
8947
  );
8435
8948
 
8436
8949
 
8950
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8951
+ }
8952
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_parse_payment_request(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8953
+ auto value = uniffi_bark_ffi_fn_method_wallet_parse_payment_request(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1])
8954
+ );
8955
+
8956
+
8437
8957
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8438
8958
  }
8439
8959
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_pay_lightning_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8440
- auto value = uniffi_bark_ffi_fn_method_wallet_pay_lightning_address(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[2]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[4])
8960
+ auto value = uniffi_bark_ffi_fn_method_wallet_pay_lightning_address(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[2]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[4]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5])
8441
8961
  );
8442
8962
 
8443
8963
 
8444
8964
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8445
8965
  }
8446
8966
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_pay_lightning_invoice(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8447
- auto value = uniffi_bark_ffi_fn_method_wallet_pay_lightning_invoice(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]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[3])
8967
+ auto value = uniffi_bark_ffi_fn_method_wallet_pay_lightning_invoice(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]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[3]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4])
8448
8968
  );
8449
8969
 
8450
8970
 
8451
8971
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8452
8972
  }
8453
8973
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_pay_lightning_offer(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8454
- auto value = uniffi_bark_ffi_fn_method_wallet_pay_lightning_offer(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]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[3])
8974
+ auto value = uniffi_bark_ffi_fn_method_wallet_pay_lightning_offer(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]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[3]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[4])
8455
8975
  );
8456
8976
 
8457
8977
 
8458
8978
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8459
8979
  }
8460
8980
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_pay_lnurl(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8461
- auto value = uniffi_bark_ffi_fn_method_wallet_pay_lnurl(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[2]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[4])
8981
+ auto value = uniffi_bark_ffi_fn_method_wallet_pay_lnurl(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]), uniffi_jsi::Bridging<uint64_t>::fromJs(rt, callInvoker, args[2]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[4]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5])
8462
8982
  );
8463
8983
 
8464
8984
 
@@ -8622,6 +9142,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_send_onchain(jsi::Ru
8622
9142
  );
8623
9143
 
8624
9144
 
9145
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
9146
+ }
9147
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_send_payment(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9148
+ auto value = uniffi_bark_ffi_fn_method_wallet_send_payment(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]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[3]), uniffi_jsi::Bridging<int8_t>::fromJs(rt, callInvoker, args[4]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[5])
9149
+ );
9150
+
9151
+
8625
9152
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8626
9153
  }
8627
9154
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_sign_exit_claim_inputs(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -8750,6 +9277,16 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_vtxos(jsi::Runtime&
8750
9277
 
8751
9278
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8752
9279
  }
9280
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_func_decode_bolt11_invoice(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9281
+ RustCallStatus status = uniffi::bark::Bridging<RustCallStatus>::rustSuccess(rt);
9282
+ auto value = uniffi_bark_ffi_fn_func_decode_bolt11_invoice(uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
9283
+ &status
9284
+ );
9285
+ uniffi::bark::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
9286
+
9287
+
9288
+ return uniffi::bark::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
9289
+ }
8753
9290
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_func_default_vtxo_key_gap_limit(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8754
9291
  RustCallStatus status = uniffi::bark::Bridging<RustCallStatus>::rustSuccess(rt);
8755
9292
  auto value = uniffi_bark_ffi_fn_func_default_vtxo_key_gap_limit(&status
@@ -8807,6 +9344,35 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_func_validate_mnemonic(jsi::Runtim
8807
9344
 
8808
9345
  return uniffi_jsi::Bridging<int8_t>::toJs(rt, callInvoker, value);
8809
9346
  }
9347
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_func_read_datadir_info(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9348
+ RustCallStatus status = uniffi::bark::Bridging<RustCallStatus>::rustSuccess(rt);
9349
+ auto value = uniffi_bark_ffi_fn_func_read_datadir_info(uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
9350
+ &status
9351
+ );
9352
+ uniffi::bark::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
9353
+
9354
+
9355
+ return uniffi::bark::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
9356
+ }
9357
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_func_wallet_exists(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9358
+ RustCallStatus status = uniffi::bark::Bridging<RustCallStatus>::rustSuccess(rt);
9359
+ auto value = uniffi_bark_ffi_fn_func_wallet_exists(uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[0]),
9360
+ &status
9361
+ );
9362
+ uniffi::bark::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
9363
+
9364
+
9365
+ return uniffi_jsi::Bridging<int8_t>::toJs(rt, callInvoker, value);
9366
+ }
9367
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_func_clear_logger(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9368
+ RustCallStatus status = uniffi::bark::Bridging<RustCallStatus>::rustSuccess(rt);
9369
+ uniffi_bark_ffi_fn_func_clear_logger(&status
9370
+ );
9371
+ uniffi::bark::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
9372
+
9373
+
9374
+ return jsi::Value::undefined();
9375
+ }
8810
9376
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_func_set_logger(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8811
9377
  RustCallStatus status = uniffi::bark::Bridging<RustCallStatus>::rustSuccess(rt);
8812
9378
  uniffi_bark_ffi_fn_func_set_logger(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
@@ -9196,6 +9762,13 @@ jsi::Value NativeBark::cpp_ffi_bark_ffi_rust_future_complete_void(jsi::Runtime&
9196
9762
 
9197
9763
  return jsi::Value::undefined();
9198
9764
  }
9765
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_func_decode_bolt11_invoice(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9766
+ auto value = uniffi_bark_ffi_checksum_func_decode_bolt11_invoice(
9767
+ );
9768
+
9769
+
9770
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9771
+ }
9199
9772
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_func_default_vtxo_key_gap_limit(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9200
9773
  auto value = uniffi_bark_ffi_checksum_func_default_vtxo_key_gap_limit(
9201
9774
  );
@@ -9236,6 +9809,27 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_func_validate_mnemonic(jsi::
9236
9809
  );
9237
9810
 
9238
9811
 
9812
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9813
+ }
9814
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_func_read_datadir_info(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9815
+ auto value = uniffi_bark_ffi_checksum_func_read_datadir_info(
9816
+ );
9817
+
9818
+
9819
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9820
+ }
9821
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_func_wallet_exists(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9822
+ auto value = uniffi_bark_ffi_checksum_func_wallet_exists(
9823
+ );
9824
+
9825
+
9826
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9827
+ }
9828
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_func_clear_logger(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9829
+ auto value = uniffi_bark_ffi_checksum_func_clear_logger(
9830
+ );
9831
+
9832
+
9239
9833
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9240
9834
  }
9241
9835
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_func_set_logger(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -9287,8 +9881,8 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_customonchainwalletca
9287
9881
 
9288
9882
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9289
9883
  }
9290
- jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_psbt(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9291
- auto value = uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_psbt(
9884
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_sign_psbt(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9885
+ auto value = uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_sign_psbt(
9292
9886
  );
9293
9887
 
9294
9888
 
@@ -9453,6 +10047,20 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_balance(jsi::R
9453
10047
  );
9454
10048
 
9455
10049
 
10050
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
10051
+ }
10052
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_balance_summary(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
10053
+ auto value = uniffi_bark_ffi_checksum_method_wallet_balance_summary(
10054
+ );
10055
+
10056
+
10057
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
10058
+ }
10059
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_bip321_uri(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
10060
+ auto value = uniffi_bark_ffi_checksum_method_wallet_bip321_uri(
10061
+ );
10062
+
10063
+
9456
10064
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9457
10065
  }
9458
10066
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_board_all(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -9551,6 +10159,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_config(jsi::Ru
9551
10159
  );
9552
10160
 
9553
10161
 
10162
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
10163
+ }
10164
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_debug_info(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
10165
+ auto value = uniffi_bark_ffi_checksum_method_wallet_debug_info(
10166
+ );
10167
+
10168
+
9554
10169
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9555
10170
  }
9556
10171
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_drain_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -9607,6 +10222,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_estimate_offbo
9607
10222
  );
9608
10223
 
9609
10224
 
10225
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
10226
+ }
10227
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_estimate_payment_fee(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
10228
+ auto value = uniffi_bark_ffi_checksum_method_wallet_estimate_payment_fee(
10229
+ );
10230
+
10231
+
9610
10232
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9611
10233
  }
9612
10234
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_estimate_refresh_fee(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -9733,6 +10355,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_lightning_send
9733
10355
  );
9734
10356
 
9735
10357
 
10358
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
10359
+ }
10360
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_list_all_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
10361
+ auto value = uniffi_bark_ffi_checksum_method_wallet_list_all_exits(
10362
+ );
10363
+
10364
+
9736
10365
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9737
10366
  }
9738
10367
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -9740,6 +10369,20 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_list_claimable
9740
10369
  );
9741
10370
 
9742
10371
 
10372
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
10373
+ }
10374
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_list_finished_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
10375
+ auto value = uniffi_bark_ffi_checksum_method_wallet_list_finished_exits(
10376
+ );
10377
+
10378
+
10379
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
10380
+ }
10381
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_list_live_exits(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
10382
+ auto value = uniffi_bark_ffi_checksum_method_wallet_list_live_exits(
10383
+ );
10384
+
10385
+
9743
10386
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9744
10387
  }
9745
10388
  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) {
@@ -9831,6 +10474,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos
9831
10474
  );
9832
10475
 
9833
10476
 
10477
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
10478
+ }
10479
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_parse_payment_request(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
10480
+ auto value = uniffi_bark_ffi_checksum_method_wallet_parse_payment_request(
10481
+ );
10482
+
10483
+
9834
10484
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9835
10485
  }
9836
10486
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -10013,6 +10663,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_send_onchain(j
10013
10663
  );
10014
10664
 
10015
10665
 
10666
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
10667
+ }
10668
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_send_payment(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
10669
+ auto value = uniffi_bark_ffi_checksum_method_wallet_send_payment(
10670
+ );
10671
+
10672
+
10016
10673
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
10017
10674
  }
10018
10675
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {