@secondts/bark-react-native 0.1.0-beta.7 → 0.1.2-beta.12

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.
@@ -1 +1 @@
1
- {"version":3,"names":["getter","globalThis","NativeBark","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/bark-ffi.ts"],"mappings":";;AAAA;AACA;;AAueA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,UAAU;AAChC,eAAeF,MAAM;;AAErB;;AAoKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMG,8CAGL,GAAG,IAAI;AACR,MAAMC,mCAGL,GAAG,IAAI","ignoreList":[]}
1
+ {"version":3,"names":["getter","globalThis","NativeBark","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/bark-ffi.ts"],"mappings":";;AAAA;AACA;;AAgiBA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,UAAU;AAChC,eAAeF,MAAM;;AAErB;;AAoKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMG,8CAGL,GAAG,IAAI;AACR,MAAMC,mCAGL,GAAG,IAAI","ignoreList":[]}
@@ -1384,6 +1384,7 @@ export let BarkError_Tags = /*#__PURE__*/function (BarkError_Tags) {
1384
1384
  BarkError_Tags["ServerConnection"] = "ServerConnection";
1385
1385
  BarkError_Tags["Internal"] = "Internal";
1386
1386
  BarkError_Tags["OnchainWalletRequired"] = "OnchainWalletRequired";
1387
+ BarkError_Tags["InvalidVtxoId"] = "InvalidVtxoId";
1387
1388
  return BarkError_Tags;
1388
1389
  }({});
1389
1390
  /**
@@ -1678,6 +1679,30 @@ export const BarkError = (() => {
1678
1679
  return obj.inner;
1679
1680
  }
1680
1681
  }
1682
+ class InvalidVtxoId_ extends UniffiError {
1683
+ /**
1684
+ * @private
1685
+ * This field is private and should not be used, use `tag` instead.
1686
+ */
1687
+ [uniffiTypeNameSymbol] = "BarkError";
1688
+ tag = BarkError_Tags.InvalidVtxoId;
1689
+ constructor(inner) {
1690
+ super("BarkError", "InvalidVtxoId");
1691
+ this.inner = Object.freeze(inner);
1692
+ }
1693
+ static new(inner) {
1694
+ return new InvalidVtxoId_(inner);
1695
+ }
1696
+ static instanceOf(obj) {
1697
+ return obj.tag === BarkError_Tags.InvalidVtxoId;
1698
+ }
1699
+ static hasInner(obj) {
1700
+ return InvalidVtxoId_.instanceOf(obj);
1701
+ }
1702
+ static getInner(obj) {
1703
+ return obj.inner;
1704
+ }
1705
+ }
1681
1706
  function instanceOf(obj) {
1682
1707
  return obj[uniffiTypeNameSymbol] === "BarkError";
1683
1708
  }
@@ -1694,7 +1719,8 @@ export const BarkError = (() => {
1694
1719
  NotFound: NotFound_,
1695
1720
  ServerConnection: ServerConnection_,
1696
1721
  Internal: Internal_,
1697
- OnchainWalletRequired: OnchainWalletRequired_
1722
+ OnchainWalletRequired: OnchainWalletRequired_,
1723
+ InvalidVtxoId: InvalidVtxoId_
1698
1724
  });
1699
1725
  })();
1700
1726
 
@@ -1756,6 +1782,10 @@ const FfiConverterTypeBarkError = (() => {
1756
1782
  return new BarkError.OnchainWalletRequired({
1757
1783
  errorMessage: FfiConverterString.read(from)
1758
1784
  });
1785
+ case 13:
1786
+ return new BarkError.InvalidVtxoId({
1787
+ errorMessage: FfiConverterString.read(from)
1788
+ });
1759
1789
  default:
1760
1790
  throw new UniffiInternalError.UnexpectedEnumCase();
1761
1791
  }
@@ -1846,6 +1876,13 @@ const FfiConverterTypeBarkError = (() => {
1846
1876
  FfiConverterString.write(inner.errorMessage, into);
1847
1877
  return;
1848
1878
  }
1879
+ case BarkError_Tags.InvalidVtxoId:
1880
+ {
1881
+ ordinalConverter.write(13, into);
1882
+ const inner = value.inner;
1883
+ FfiConverterString.write(inner.errorMessage, into);
1884
+ return;
1885
+ }
1849
1886
  default:
1850
1887
  // Throwing from here means that BarkError_Tags hasn't matched an ordinal.
1851
1888
  throw new UniffiInternalError.UnexpectedEnumCase();
@@ -1937,6 +1974,13 @@ const FfiConverterTypeBarkError = (() => {
1937
1974
  size += FfiConverterString.allocationSize(inner.errorMessage);
1938
1975
  return size;
1939
1976
  }
1977
+ case BarkError_Tags.InvalidVtxoId:
1978
+ {
1979
+ const inner = value.inner;
1980
+ let size = ordinalConverter.allocationSize(13);
1981
+ size += FfiConverterString.allocationSize(inner.errorMessage);
1982
+ return size;
1983
+ }
1940
1984
  default:
1941
1985
  throw new UniffiInternalError.UnexpectedEnumCase();
1942
1986
  }
@@ -2327,6 +2371,15 @@ export class Wallet extends UniffiAbstractObject {
2327
2371
  }, /*liftString:*/FfiConverterString.lift));
2328
2372
  }
2329
2373
 
2374
+ /**
2375
+ * Get the wallet's BIP32 fingerprint
2376
+ */
2377
+ fingerprint() {
2378
+ return FfiConverterString.lift(uniffiCaller.rustCall(/*caller:*/callStatus => {
2379
+ return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_fingerprint(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
2380
+ }, /*liftString:*/FfiConverterString.lift));
2381
+ }
2382
+
2330
2383
  /**
2331
2384
  * Get detailed exit status for a specific VTXO
2332
2385
  *
@@ -2444,12 +2497,40 @@ export class Wallet extends UniffiAbstractObject {
2444
2497
  return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_list_claimable_exits(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
2445
2498
  }, /*liftString:*/FfiConverterString.lift));
2446
2499
  }
2500
+
2501
+ /**
2502
+ * Get the mailbox identifier for push notifications
2503
+ *
2504
+ * This identifier can be registered with a push notification service
2505
+ * to receive alerts when VTXOs arrive in your mailbox. The mailbox
2506
+ * receives all incoming VTXOs regardless of source (arkoor payments,
2507
+ * Lightning receives, or round outputs).
2508
+ *
2509
+ * Returns the mailbox identifier as a hex-encoded public key.
2510
+ */
2511
+ mailboxIdentifier() /*throws*/{
2512
+ return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2513
+ return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_mailbox_identifier(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
2514
+ }, /*liftString:*/FfiConverterString.lift));
2515
+ }
2447
2516
  maintenance() /*throws*/{
2448
2517
  uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2449
2518
  nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_maintenance(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
2450
2519
  }, /*liftString:*/FfiConverterString.lift);
2451
2520
  }
2452
2521
 
2522
+ /**
2523
+ * Perform maintenance in delegated (non-interactive) mode
2524
+ *
2525
+ * This schedules refresh operations but doesn't wait for completion.
2526
+ * Use this when you want to queue operations without blocking.
2527
+ */
2528
+ maintenanceDelegated() /*throws*/{
2529
+ uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2530
+ nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_maintenance_delegated(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
2531
+ }, /*liftString:*/FfiConverterString.lift);
2532
+ }
2533
+
2453
2534
  /**
2454
2535
  * Perform maintenance refresh
2455
2536
  */
@@ -2470,6 +2551,15 @@ export class Wallet extends UniffiAbstractObject {
2470
2551
  }, /*liftString:*/FfiConverterString.lift);
2471
2552
  }
2472
2553
 
2554
+ /**
2555
+ * Perform maintenance with onchain wallet in delegated mode
2556
+ */
2557
+ maintenanceWithOnchainDelegated(onchainWallet) /*throws*/{
2558
+ uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2559
+ nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_maintenance_with_onchain_delegated(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterTypeOnchainWallet.lower(onchainWallet), callStatus);
2560
+ }, /*liftString:*/FfiConverterString.lift);
2561
+ }
2562
+
2473
2563
  /**
2474
2564
  * Schedule a maintenance refresh if VTXOs need refreshing
2475
2565
  *
@@ -2480,6 +2570,15 @@ export class Wallet extends UniffiAbstractObject {
2480
2570
  return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_maybe_schedule_maintenance_refresh(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
2481
2571
  }, /*liftString:*/FfiConverterString.lift));
2482
2572
  }
2573
+
2574
+ /**
2575
+ * Get the Bitcoin network this wallet is using
2576
+ */
2577
+ network() /*throws*/{
2578
+ return FfiConverterTypeNetwork.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2579
+ return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_network(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
2580
+ }, /*liftString:*/FfiConverterString.lift));
2581
+ }
2483
2582
  newAddress() /*throws*/{
2484
2583
  return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2485
2584
  return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_new_address(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
@@ -2494,6 +2593,16 @@ export class Wallet extends UniffiAbstractObject {
2494
2593
  return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_new_address_with_index(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
2495
2594
  }, /*liftString:*/FfiConverterString.lift));
2496
2595
  }
2596
+
2597
+ /**
2598
+ * Get the timestamp when the next round will start (Unix timestamp in seconds)
2599
+ * Returns an error if the server hasn't provided round timing info
2600
+ */
2601
+ nextRoundStartTime() /*throws*/{
2602
+ return FfiConverterUInt64.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2603
+ return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_next_round_start_time(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
2604
+ }, /*liftString:*/FfiConverterString.lift));
2605
+ }
2497
2606
  offboardAll(bitcoinAddress) /*throws*/{
2498
2607
  return FfiConverterTypeOffboardResult.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2499
2608
  return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_offboard_all(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(bitcoinAddress), callStatus);
@@ -2542,6 +2651,24 @@ export class Wallet extends UniffiAbstractObject {
2542
2651
  }, /*liftString:*/FfiConverterString.lift));
2543
2652
  }
2544
2653
 
2654
+ /**
2655
+ * Get all VTXOs that are part of pending boards
2656
+ */
2657
+ pendingBoardVtxos() /*throws*/{
2658
+ return FfiConverterArrayTypeVtxo.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2659
+ return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_pending_board_vtxos(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
2660
+ }, /*liftString:*/FfiConverterString.lift));
2661
+ }
2662
+
2663
+ /**
2664
+ * Get all pending board operations
2665
+ */
2666
+ pendingBoards() /*throws*/{
2667
+ return FfiConverterArrayTypePendingBoard.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2668
+ return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_pending_boards(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
2669
+ }, /*liftString:*/FfiConverterString.lift));
2670
+ }
2671
+
2545
2672
  /**
2546
2673
  * Get total amount in pending exits (sats)
2547
2674
  */
@@ -2560,6 +2687,15 @@ export class Wallet extends UniffiAbstractObject {
2560
2687
  }, /*liftString:*/FfiConverterString.lift));
2561
2688
  }
2562
2689
 
2690
+ /**
2691
+ * Get VTXOs locked in pending Lightning sends
2692
+ */
2693
+ pendingLightningSendVtxos() /*throws*/{
2694
+ return FfiConverterArrayTypeVtxo.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2695
+ return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_pending_lightning_send_vtxos(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
2696
+ }, /*liftString:*/FfiConverterString.lift));
2697
+ }
2698
+
2563
2699
  /**
2564
2700
  * Get all pending lightning sends
2565
2701
  */
@@ -2569,6 +2705,15 @@ export class Wallet extends UniffiAbstractObject {
2569
2705
  }, /*liftString:*/FfiConverterString.lift));
2570
2706
  }
2571
2707
 
2708
+ /**
2709
+ * Get VTXOs being used as inputs in pending rounds
2710
+ */
2711
+ pendingRoundInputVtxos() /*throws*/{
2712
+ return FfiConverterArrayTypeVtxo.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2713
+ return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_pending_round_input_vtxos(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
2714
+ }, /*liftString:*/FfiConverterString.lift));
2715
+ }
2716
+
2572
2717
  /**
2573
2718
  * Get all pending round states
2574
2719
  */
@@ -2605,6 +2750,10 @@ export class Wallet extends UniffiAbstractObject {
2605
2750
  nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_progress_pending_rounds(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
2606
2751
  }, /*liftString:*/FfiConverterString.lift);
2607
2752
  }
2753
+
2754
+ /**
2755
+ * Get wallet properties
2756
+ */
2608
2757
  properties() /*throws*/{
2609
2758
  return FfiConverterTypeWalletProperties.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2610
2759
  return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_properties(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
@@ -2630,18 +2779,25 @@ export class Wallet extends UniffiAbstractObject {
2630
2779
  return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_refresh_vtxos(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterArrayString.lower(vtxoIds), callStatus);
2631
2780
  }, /*liftString:*/FfiConverterString.lift));
2632
2781
  }
2782
+
2783
+ /**
2784
+ * Refresh VTXOs in delegated (non-interactive) mode
2785
+ *
2786
+ * Returns the round state if a refresh was scheduled, null otherwise.
2787
+ */
2788
+ refreshVtxosDelegated(vtxoIds) /*throws*/{
2789
+ return FfiConverterOptionalTypeRoundState.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2790
+ return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_refresh_vtxos_delegated(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterArrayString.lower(vtxoIds), callStatus);
2791
+ }, /*liftString:*/FfiConverterString.lift));
2792
+ }
2633
2793
  sendArkoorPayment(arkAddress, amountSats) /*throws*/{
2634
2794
  return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2635
2795
  return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_send_arkoor_payment(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(arkAddress), FfiConverterUInt64.lower(amountSats), callStatus);
2636
2796
  }, /*liftString:*/FfiConverterString.lift));
2637
2797
  }
2638
-
2639
- /**
2640
- * Send an onchain payment during a round
2641
- */
2642
- sendRoundOnchainPayment(address, amountSats) /*throws*/{
2798
+ sendOnchain(address, amountSats) /*throws*/{
2643
2799
  return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2644
- return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_send_round_onchain_payment(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(address), FfiConverterUInt64.lower(amountSats), callStatus);
2800
+ return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_send_onchain(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(address), FfiConverterUInt64.lower(amountSats), callStatus);
2645
2801
  }, /*liftString:*/FfiConverterString.lift));
2646
2802
  }
2647
2803
 
@@ -2822,6 +2978,9 @@ const FfiConverterOptionalTypeExitTransactionStatus = new FfiConverterOptional(F
2822
2978
  // FfiConverter for LightningReceive | undefined
2823
2979
  const FfiConverterOptionalTypeLightningReceive = new FfiConverterOptional(FfiConverterTypeLightningReceive);
2824
2980
 
2981
+ // FfiConverter for RoundState | undefined
2982
+ const FfiConverterOptionalTypeRoundState = new FfiConverterOptional(FfiConverterTypeRoundState);
2983
+
2825
2984
  // FfiConverter for string | undefined
2826
2985
  const FfiConverterOptionalString = new FfiConverterOptional(FfiConverterString);
2827
2986
 
@@ -2852,6 +3011,9 @@ const FfiConverterArrayTypeLightningSend = new FfiConverterArray(FfiConverterTyp
2852
3011
  // FfiConverter for Array<Movement>
2853
3012
  const FfiConverterArrayTypeMovement = new FfiConverterArray(FfiConverterTypeMovement);
2854
3013
 
3014
+ // FfiConverter for Array<PendingBoard>
3015
+ const FfiConverterArrayTypePendingBoard = new FfiConverterArray(FfiConverterTypePendingBoard);
3016
+
2855
3017
  // FfiConverter for Array<RoundState>
2856
3018
  const FfiConverterArrayTypeRoundState = new FfiConverterArray(FfiConverterTypeRoundState);
2857
3019
 
@@ -2948,6 +3110,9 @@ function uniffiEnsureInitialized() {
2948
3110
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_drain_exits() !== 63428) {
2949
3111
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_drain_exits");
2950
3112
  }
3113
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_fingerprint() !== 2456) {
3114
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_fingerprint");
3115
+ }
2951
3116
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_exit_status() !== 13877) {
2952
3117
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_exit_status");
2953
3118
  }
@@ -2981,24 +3146,39 @@ function uniffiEnsureInitialized() {
2981
3146
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits() !== 51047) {
2982
3147
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits");
2983
3148
  }
3149
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_mailbox_identifier() !== 37148) {
3150
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_mailbox_identifier");
3151
+ }
2984
3152
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance() !== 21349) {
2985
3153
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance");
2986
3154
  }
3155
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_delegated() !== 46080) {
3156
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_delegated");
3157
+ }
2987
3158
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh() !== 17108) {
2988
3159
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh");
2989
3160
  }
2990
3161
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain() !== 13241) {
2991
3162
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain");
2992
3163
  }
3164
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated() !== 51786) {
3165
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated");
3166
+ }
2993
3167
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maybe_schedule_maintenance_refresh() !== 30042) {
2994
3168
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maybe_schedule_maintenance_refresh");
2995
3169
  }
3170
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_network() !== 61729) {
3171
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_network");
3172
+ }
2996
3173
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address() !== 23909) {
2997
3174
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_new_address");
2998
3175
  }
2999
3176
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address_with_index() !== 42180) {
3000
3177
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_new_address_with_index");
3001
3178
  }
3179
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_next_round_start_time() !== 61507) {
3180
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_next_round_start_time");
3181
+ }
3002
3182
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_all() !== 9225) {
3003
3183
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_offboard_all");
3004
3184
  }
@@ -3017,15 +3197,27 @@ function uniffiEnsureInitialized() {
3017
3197
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_peak_address() !== 9176) {
3018
3198
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_peak_address");
3019
3199
  }
3200
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_board_vtxos() !== 58457) {
3201
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_board_vtxos");
3202
+ }
3203
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_boards() !== 59350) {
3204
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_boards");
3205
+ }
3020
3206
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_exits_total_sats() !== 50026) {
3021
3207
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_exits_total_sats");
3022
3208
  }
3023
3209
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_receives() !== 22341) {
3024
3210
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_lightning_receives");
3025
3211
  }
3212
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_send_vtxos() !== 9022) {
3213
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_lightning_send_vtxos");
3214
+ }
3026
3215
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends() !== 363) {
3027
3216
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends");
3028
3217
  }
3218
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos() !== 47165) {
3219
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos");
3220
+ }
3029
3221
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_states() !== 20536) {
3030
3222
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_round_states");
3031
3223
  }
@@ -3044,11 +3236,14 @@ function uniffiEnsureInitialized() {
3044
3236
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos() !== 19664) {
3045
3237
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos");
3046
3238
  }
3239
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated() !== 52548) {
3240
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated");
3241
+ }
3047
3242
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment() !== 56067) {
3048
3243
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment");
3049
3244
  }
3050
- if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_round_onchain_payment() !== 47652) {
3051
- throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_send_round_onchain_payment");
3245
+ if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_onchain() !== 59921) {
3246
+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_send_onchain");
3052
3247
  }
3053
3248
  if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs() !== 19527) {
3054
3249
  throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs");