@secondts/bark-react-native 0.1.2-beta.28 → 0.1.2-beta.30

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.
@@ -14,6 +14,10 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
14
14
  // This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate.
15
15
  // Trust me, you don't want to mess with it!
16
16
 
17
+ /* tslint:disable */
18
+ /* eslint-disable */
19
+ // @ts-nocheck
20
+
17
21
  // Get converters from the other files, if any.
18
22
  const uniffiCaller = new _uniffiBindgenReactNative.UniffiRustCaller(() => ({
19
23
  code: 0
@@ -193,6 +197,9 @@ const uniffiCallbackInterfaceCustomOnchainWalletCallbacks = {
193
197
  uniffiFree: uniffiHandle => {
194
198
  // CustomOnchainWalletCallbacks: this will throw a stale handle error if the handle isn't found.
195
199
  FfiConverterTypeCustomOnchainWalletCallbacks.drop(uniffiHandle);
200
+ },
201
+ uniffiClone: uniffiHandle => {
202
+ return FfiConverterTypeCustomOnchainWalletCallbacks.clone(uniffiHandle);
196
203
  }
197
204
  },
198
205
  register: () => {
@@ -297,7 +304,8 @@ const FfiConverterTypeArkInfo = (() => {
297
304
  maxUserInvoiceCltvDelta: _uniffiBindgenReactNative.FfiConverterUInt16.read(from),
298
305
  minBoardAmountSats: _uniffiBindgenReactNative.FfiConverterUInt64.read(from),
299
306
  offboardFeerateSatPerVb: _uniffiBindgenReactNative.FfiConverterUInt64.read(from),
300
- lnReceiveAntiDosRequired: _uniffiBindgenReactNative.FfiConverterBool.read(from)
307
+ lnReceiveAntiDosRequired: _uniffiBindgenReactNative.FfiConverterBool.read(from),
308
+ feeScheduleJson: FfiConverterString.read(from)
301
309
  };
302
310
  }
303
311
  write(value, into) {
@@ -315,9 +323,10 @@ const FfiConverterTypeArkInfo = (() => {
315
323
  _uniffiBindgenReactNative.FfiConverterUInt64.write(value.minBoardAmountSats, into);
316
324
  _uniffiBindgenReactNative.FfiConverterUInt64.write(value.offboardFeerateSatPerVb, into);
317
325
  _uniffiBindgenReactNative.FfiConverterBool.write(value.lnReceiveAntiDosRequired, into);
326
+ FfiConverterString.write(value.feeScheduleJson, into);
318
327
  }
319
328
  allocationSize(value) {
320
- return FfiConverterTypeNetwork.allocationSize(value.network) + FfiConverterString.allocationSize(value.serverPubkey) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.roundIntervalSecs) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.nbRoundNonces) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.vtxoExitDelta) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.vtxoExpiryDelta) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.htlcSendExpiryDelta) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.htlcExpiryDelta) + FfiConverterOptionalUInt64.allocationSize(value.maxVtxoAmountSats) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.requiredBoardConfirmations) + _uniffiBindgenReactNative.FfiConverterUInt16.allocationSize(value.maxUserInvoiceCltvDelta) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.minBoardAmountSats) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.offboardFeerateSatPerVb) + _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.lnReceiveAntiDosRequired);
329
+ return FfiConverterTypeNetwork.allocationSize(value.network) + FfiConverterString.allocationSize(value.serverPubkey) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.roundIntervalSecs) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.nbRoundNonces) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.vtxoExitDelta) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.vtxoExpiryDelta) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.htlcSendExpiryDelta) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.htlcExpiryDelta) + FfiConverterOptionalUInt64.allocationSize(value.maxVtxoAmountSats) + _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.requiredBoardConfirmations) + _uniffiBindgenReactNative.FfiConverterUInt16.allocationSize(value.maxUserInvoiceCltvDelta) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.minBoardAmountSats) + _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.offboardFeerateSatPerVb) + _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.lnReceiveAntiDosRequired) + FfiConverterString.allocationSize(value.feeScheduleJson);
321
330
  }
322
331
  }
323
332
  return new FFIConverter();
@@ -1394,6 +1403,7 @@ let BarkError_Tags = exports.BarkError_Tags = /*#__PURE__*/function (BarkError_T
1394
1403
  BarkError_Tags["Internal"] = "Internal";
1395
1404
  BarkError_Tags["OnchainWalletRequired"] = "OnchainWalletRequired";
1396
1405
  BarkError_Tags["InvalidVtxoId"] = "InvalidVtxoId";
1406
+ BarkError_Tags["ServerPubkeyChanged"] = "ServerPubkeyChanged";
1397
1407
  return BarkError_Tags;
1398
1408
  }({});
1399
1409
  /**
@@ -1712,6 +1722,30 @@ const BarkError = exports.BarkError = (() => {
1712
1722
  return obj.inner;
1713
1723
  }
1714
1724
  }
1725
+ class ServerPubkeyChanged_ extends _uniffiBindgenReactNative.UniffiError {
1726
+ /**
1727
+ * @private
1728
+ * This field is private and should not be used, use `tag` instead.
1729
+ */
1730
+ [_uniffiBindgenReactNative.uniffiTypeNameSymbol] = "BarkError";
1731
+ tag = BarkError_Tags.ServerPubkeyChanged;
1732
+ constructor(inner) {
1733
+ super("BarkError", "ServerPubkeyChanged");
1734
+ this.inner = Object.freeze(inner);
1735
+ }
1736
+ static new(inner) {
1737
+ return new ServerPubkeyChanged_(inner);
1738
+ }
1739
+ static instanceOf(obj) {
1740
+ return obj.tag === BarkError_Tags.ServerPubkeyChanged;
1741
+ }
1742
+ static hasInner(obj) {
1743
+ return ServerPubkeyChanged_.instanceOf(obj);
1744
+ }
1745
+ static getInner(obj) {
1746
+ return obj.inner;
1747
+ }
1748
+ }
1715
1749
  function instanceOf(obj) {
1716
1750
  return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === "BarkError";
1717
1751
  }
@@ -1729,7 +1763,8 @@ const BarkError = exports.BarkError = (() => {
1729
1763
  ServerConnection: ServerConnection_,
1730
1764
  Internal: Internal_,
1731
1765
  OnchainWalletRequired: OnchainWalletRequired_,
1732
- InvalidVtxoId: InvalidVtxoId_
1766
+ InvalidVtxoId: InvalidVtxoId_,
1767
+ ServerPubkeyChanged: ServerPubkeyChanged_
1733
1768
  });
1734
1769
  })();
1735
1770
 
@@ -1795,6 +1830,10 @@ const FfiConverterTypeBarkError = (() => {
1795
1830
  return new BarkError.InvalidVtxoId({
1796
1831
  errorMessage: FfiConverterString.read(from)
1797
1832
  });
1833
+ case 14:
1834
+ return new BarkError.ServerPubkeyChanged({
1835
+ errorMessage: FfiConverterString.read(from)
1836
+ });
1798
1837
  default:
1799
1838
  throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
1800
1839
  }
@@ -1892,6 +1931,13 @@ const FfiConverterTypeBarkError = (() => {
1892
1931
  FfiConverterString.write(inner.errorMessage, into);
1893
1932
  return;
1894
1933
  }
1934
+ case BarkError_Tags.ServerPubkeyChanged:
1935
+ {
1936
+ ordinalConverter.write(14, into);
1937
+ const inner = value.inner;
1938
+ FfiConverterString.write(inner.errorMessage, into);
1939
+ return;
1940
+ }
1895
1941
  default:
1896
1942
  // Throwing from here means that BarkError_Tags hasn't matched an ordinal.
1897
1943
  throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
@@ -1990,6 +2036,13 @@ const FfiConverterTypeBarkError = (() => {
1990
2036
  size += FfiConverterString.allocationSize(inner.errorMessage);
1991
2037
  return size;
1992
2038
  }
2039
+ case BarkError_Tags.ServerPubkeyChanged:
2040
+ {
2041
+ const inner = value.inner;
2042
+ let size = ordinalConverter.allocationSize(14);
2043
+ size += FfiConverterString.allocationSize(inner.errorMessage);
2044
+ return size;
2045
+ }
1993
2046
  default:
1994
2047
  throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
1995
2048
  }
@@ -2381,6 +2434,81 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
2381
2434
  }, /*liftString:*/FfiConverterString.lift));
2382
2435
  }
2383
2436
 
2437
+ /**
2438
+ * Estimate the fee for a board operation
2439
+ *
2440
+ * # Arguments
2441
+ *
2442
+ * * `amount_sats` - Amount to board in sats
2443
+ *
2444
+ * Returns the estimated fee in sats
2445
+ */
2446
+ estimateBoardFee(amountSats) /*throws*/{
2447
+ return _uniffiBindgenReactNative.FfiConverterUInt64.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2448
+ return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_board_fee(uniffiTypeWalletObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt64.lower(amountSats), callStatus);
2449
+ }, /*liftString:*/FfiConverterString.lift));
2450
+ }
2451
+
2452
+ /**
2453
+ * Estimate the fee for a lightning receive
2454
+ *
2455
+ * # Arguments
2456
+ *
2457
+ * * `amount_sats` - Amount to receive in sats
2458
+ *
2459
+ * Returns the estimated fee in sats
2460
+ */
2461
+ estimateLightningReceiveFee(amountSats) /*throws*/{
2462
+ return _uniffiBindgenReactNative.FfiConverterUInt64.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2463
+ return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_lightning_receive_fee(uniffiTypeWalletObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt64.lower(amountSats), callStatus);
2464
+ }, /*liftString:*/FfiConverterString.lift));
2465
+ }
2466
+
2467
+ /**
2468
+ * Estimate the fee for a lightning send
2469
+ *
2470
+ * # Arguments
2471
+ *
2472
+ * * `amount_sats` - Amount to send in sats
2473
+ *
2474
+ * Returns the estimated fee in sats
2475
+ */
2476
+ estimateLightningSendFee(amountSats) /*throws*/{
2477
+ return _uniffiBindgenReactNative.FfiConverterUInt64.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2478
+ return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_lightning_send_fee(uniffiTypeWalletObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt64.lower(amountSats), callStatus);
2479
+ }, /*liftString:*/FfiConverterString.lift));
2480
+ }
2481
+
2482
+ /**
2483
+ * Estimate the fee for an offboard operation
2484
+ *
2485
+ * # Arguments
2486
+ *
2487
+ * * `amount_sats` - Amount to offboard in sats
2488
+ *
2489
+ * Returns the estimated fee in sats
2490
+ */
2491
+ estimateOffboardFee(amountSats) /*throws*/{
2492
+ return _uniffiBindgenReactNative.FfiConverterUInt64.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2493
+ return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_offboard_fee(uniffiTypeWalletObjectFactory.clonePointer(this), _uniffiBindgenReactNative.FfiConverterUInt64.lower(amountSats), callStatus);
2494
+ }, /*liftString:*/FfiConverterString.lift));
2495
+ }
2496
+
2497
+ /**
2498
+ * Estimate the fee for a refresh operation
2499
+ *
2500
+ * # Arguments
2501
+ *
2502
+ * * `vtxo_ids` - VTXOs to refresh
2503
+ *
2504
+ * Returns the estimated fee in sats
2505
+ */
2506
+ estimateRefreshFee(vtxoIds) /*throws*/{
2507
+ return _uniffiBindgenReactNative.FfiConverterUInt64.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2508
+ return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_refresh_fee(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterArrayString.lower(vtxoIds), callStatus);
2509
+ }, /*liftString:*/FfiConverterString.lift));
2510
+ }
2511
+
2384
2512
  /**
2385
2513
  * Get the wallet's BIP32 fingerprint
2386
2514
  */
@@ -2484,6 +2612,22 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
2484
2612
  }, /*liftString:*/FfiConverterString.lift));
2485
2613
  }
2486
2614
 
2615
+ /**
2616
+ * Import a serialized VTXO into the wallet
2617
+ *
2618
+ * Allows recovering VTXOs by importing their serialized form.
2619
+ * The VTXO data should be base64-encoded.
2620
+ *
2621
+ * # Arguments
2622
+ *
2623
+ * * `vtxo_base64` - Base64-encoded serialized VTXO
2624
+ */
2625
+ importVtxo(vtxoBase64) /*throws*/{
2626
+ uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2627
+ (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_import_vtxo(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(vtxoBase64), callStatus);
2628
+ }, /*liftString:*/FfiConverterString.lift);
2629
+ }
2630
+
2487
2631
  /**
2488
2632
  * Get lightning receive status by payment hash
2489
2633
  *
@@ -2508,6 +2652,20 @@ class Wallet extends _uniffiBindgenReactNative.UniffiAbstractObject {
2508
2652
  }, /*liftString:*/FfiConverterString.lift));
2509
2653
  }
2510
2654
 
2655
+ /**
2656
+ * Create a new authorization for your server mailbox
2657
+ *
2658
+ * This generates an authorization token that can be used to manage
2659
+ * your server mailbox. Useful for delegating mailbox access.
2660
+ *
2661
+ * Returns the mailbox authorization as a hex-encoded string.
2662
+ */
2663
+ mailboxAuthorization() /*throws*/{
2664
+ return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
2665
+ return (0, _barkFfi.default)().ubrn_uniffi_bark_ffi_fn_method_wallet_mailbox_authorization(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
2666
+ }, /*liftString:*/FfiConverterString.lift));
2667
+ }
2668
+
2511
2669
  /**
2512
2670
  * Get the mailbox identifier for push notifications
2513
2671
  *
@@ -3049,7 +3207,7 @@ const FfiConverterOptionalArrayString = new _uniffiBindgenReactNative.FfiConvert
3049
3207
  */
3050
3208
  function uniffiEnsureInitialized() {
3051
3209
  // Get the bindings contract version from our ComponentInterface
3052
- const bindingsContractVersion = 29;
3210
+ const bindingsContractVersion = 30;
3053
3211
  // Get the scaffolding contract version by calling the into the dylib
3054
3212
  const scaffoldingContractVersion = (0, _barkFfi.default)().ubrn_ffi_bark_ffi_uniffi_contract_version();
3055
3213
  if (bindingsContractVersion !== scaffoldingContractVersion) {
@@ -3067,226 +3225,247 @@ function uniffiEnsureInitialized() {
3067
3225
  if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_func_validate_mnemonic() !== 2707) {
3068
3226
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_func_validate_mnemonic");
3069
3227
  }
3070
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_balance() !== 43979) {
3228
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_balance() !== 22016) {
3071
3229
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_onchainwallet_balance");
3072
3230
  }
3073
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_new_address() !== 25417) {
3231
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_new_address() !== 41946) {
3074
3232
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_onchainwallet_new_address");
3075
3233
  }
3076
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_send() !== 10499) {
3234
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_send() !== 33716) {
3077
3235
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_onchainwallet_send");
3078
3236
  }
3079
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_sync() !== 16855) {
3237
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_sync() !== 30454) {
3080
3238
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_onchainwallet_sync");
3081
3239
  }
3082
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_all_exits_claimable_at_height() !== 30496) {
3240
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_all_exits_claimable_at_height() !== 24892) {
3083
3241
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_all_exits_claimable_at_height");
3084
3242
  }
3085
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_all_vtxos() !== 36339) {
3243
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_all_vtxos() !== 48937) {
3086
3244
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_all_vtxos");
3087
3245
  }
3088
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_ark_info() !== 6789) {
3246
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_ark_info() !== 36948) {
3089
3247
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_ark_info");
3090
3248
  }
3091
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_balance() !== 50185) {
3249
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_balance() !== 11221) {
3092
3250
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_balance");
3093
3251
  }
3094
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_board_all() !== 9249) {
3252
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_board_all() !== 41101) {
3095
3253
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_board_all");
3096
3254
  }
3097
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_board_amount() !== 6984) {
3255
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_board_amount() !== 42163) {
3098
3256
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_board_amount");
3099
3257
  }
3100
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice() !== 50261) {
3258
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice() !== 64551) {
3101
3259
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice");
3102
3260
  }
3103
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_broadcast_tx() !== 14471) {
3261
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_broadcast_tx() !== 32920) {
3104
3262
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_broadcast_tx");
3105
3263
  }
3106
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_all_pending_rounds() !== 18107) {
3264
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_all_pending_rounds() !== 8095) {
3107
3265
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_cancel_all_pending_rounds");
3108
3266
  }
3109
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_pending_round() !== 4859) {
3267
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_pending_round() !== 3417) {
3110
3268
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_cancel_pending_round");
3111
3269
  }
3112
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_check_lightning_payment() !== 8903) {
3270
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_check_lightning_payment() !== 13160) {
3113
3271
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_check_lightning_payment");
3114
3272
  }
3115
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_claimable_lightning_receive_balance_sats() !== 47596) {
3273
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_claimable_lightning_receive_balance_sats() !== 64974) {
3116
3274
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_claimable_lightning_receive_balance_sats");
3117
3275
  }
3118
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_config() !== 63421) {
3276
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_config() !== 57616) {
3119
3277
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_config");
3120
3278
  }
3121
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_drain_exits() !== 63428) {
3279
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_drain_exits() !== 16953) {
3122
3280
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_drain_exits");
3123
3281
  }
3124
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_fingerprint() !== 2456) {
3282
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_board_fee() !== 59472) {
3283
+ throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_board_fee");
3284
+ }
3285
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_lightning_receive_fee() !== 2303) {
3286
+ throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_lightning_receive_fee");
3287
+ }
3288
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_lightning_send_fee() !== 1211) {
3289
+ throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_lightning_send_fee");
3290
+ }
3291
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_offboard_fee() !== 40730) {
3292
+ throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_offboard_fee");
3293
+ }
3294
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_refresh_fee() !== 57066) {
3295
+ throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_refresh_fee");
3296
+ }
3297
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_fingerprint() !== 60041) {
3125
3298
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_fingerprint");
3126
3299
  }
3127
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_exit_status() !== 13877) {
3300
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_exit_status() !== 27512) {
3128
3301
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_exit_status");
3129
3302
  }
3130
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_exit_vtxos() !== 55034) {
3303
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_exit_vtxos() !== 24545) {
3131
3304
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_exit_vtxos");
3132
3305
  }
3133
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_expiring_vtxos() !== 151) {
3306
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_expiring_vtxos() !== 19482) {
3134
3307
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_expiring_vtxos");
3135
3308
  }
3136
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_first_expiring_vtxo_blockheight() !== 58234) {
3309
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_first_expiring_vtxo_blockheight() !== 41108) {
3137
3310
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_first_expiring_vtxo_blockheight");
3138
3311
  }
3139
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_next_required_refresh_blockheight() !== 59124) {
3312
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_next_required_refresh_blockheight() !== 29762) {
3140
3313
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_next_required_refresh_blockheight");
3141
3314
  }
3142
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_vtxo_by_id() !== 45689) {
3315
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_vtxo_by_id() !== 41126) {
3143
3316
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_vtxo_by_id");
3144
3317
  }
3145
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_vtxos_to_refresh() !== 24989) {
3318
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_vtxos_to_refresh() !== 55019) {
3146
3319
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_vtxos_to_refresh");
3147
3320
  }
3148
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_has_pending_exits() !== 60454) {
3321
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_has_pending_exits() !== 40981) {
3149
3322
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_has_pending_exits");
3150
3323
  }
3151
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_history() !== 4822) {
3324
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_history() !== 21880) {
3152
3325
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_history");
3153
3326
  }
3154
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_lightning_receive_status() !== 14282) {
3327
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_import_vtxo() !== 31318) {
3328
+ throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_import_vtxo");
3329
+ }
3330
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_lightning_receive_status() !== 26106) {
3155
3331
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_lightning_receive_status");
3156
3332
  }
3157
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits() !== 51047) {
3333
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits() !== 62145) {
3158
3334
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits");
3159
3335
  }
3160
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_mailbox_identifier() !== 37148) {
3336
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_mailbox_authorization() !== 8915) {
3337
+ throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_mailbox_authorization");
3338
+ }
3339
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_mailbox_identifier() !== 32893) {
3161
3340
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_mailbox_identifier");
3162
3341
  }
3163
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance() !== 21349) {
3342
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance() !== 9626) {
3164
3343
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance");
3165
3344
  }
3166
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_delegated() !== 46080) {
3345
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_delegated() !== 27348) {
3167
3346
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_delegated");
3168
3347
  }
3169
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh() !== 17108) {
3348
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh() !== 29994) {
3170
3349
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh");
3171
3350
  }
3172
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain() !== 13241) {
3351
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain() !== 335) {
3173
3352
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain");
3174
3353
  }
3175
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated() !== 51786) {
3354
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated() !== 7216) {
3176
3355
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated");
3177
3356
  }
3178
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maybe_schedule_maintenance_refresh() !== 30042) {
3357
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_maybe_schedule_maintenance_refresh() !== 32397) {
3179
3358
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maybe_schedule_maintenance_refresh");
3180
3359
  }
3181
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_network() !== 61729) {
3360
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_network() !== 33991) {
3182
3361
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_network");
3183
3362
  }
3184
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address() !== 23909) {
3363
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address() !== 25174) {
3185
3364
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_new_address");
3186
3365
  }
3187
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address_with_index() !== 42180) {
3366
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address_with_index() !== 52446) {
3188
3367
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_new_address_with_index");
3189
3368
  }
3190
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_next_round_start_time() !== 61507) {
3369
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_next_round_start_time() !== 55091) {
3191
3370
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_next_round_start_time");
3192
3371
  }
3193
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_all() !== 9225) {
3372
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_all() !== 61123) {
3194
3373
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_offboard_all");
3195
3374
  }
3196
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos() !== 53819) {
3375
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos() !== 19001) {
3197
3376
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos");
3198
3377
  }
3199
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address() !== 14966) {
3378
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address() !== 39952) {
3200
3379
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address");
3201
3380
  }
3202
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_invoice() !== 10704) {
3381
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_invoice() !== 31286) {
3203
3382
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pay_lightning_invoice");
3204
3383
  }
3205
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_offer() !== 32875) {
3384
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_offer() !== 37035) {
3206
3385
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pay_lightning_offer");
3207
3386
  }
3208
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_peak_address() !== 9176) {
3387
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_peak_address() !== 23469) {
3209
3388
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_peak_address");
3210
3389
  }
3211
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_board_vtxos() !== 58457) {
3390
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_board_vtxos() !== 58145) {
3212
3391
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_board_vtxos");
3213
3392
  }
3214
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_boards() !== 59350) {
3393
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_boards() !== 36109) {
3215
3394
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_boards");
3216
3395
  }
3217
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_exits_total_sats() !== 50026) {
3396
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_exits_total_sats() !== 47419) {
3218
3397
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_exits_total_sats");
3219
3398
  }
3220
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_receives() !== 22341) {
3399
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_receives() !== 14491) {
3221
3400
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_lightning_receives");
3222
3401
  }
3223
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_send_vtxos() !== 9022) {
3402
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_send_vtxos() !== 57377) {
3224
3403
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_lightning_send_vtxos");
3225
3404
  }
3226
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends() !== 363) {
3405
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends() !== 51186) {
3227
3406
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends");
3228
3407
  }
3229
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos() !== 47165) {
3408
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos() !== 20996) {
3230
3409
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos");
3231
3410
  }
3232
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_states() !== 20536) {
3411
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_states() !== 19530) {
3233
3412
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_round_states");
3234
3413
  }
3235
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_progress_exits() !== 4371) {
3414
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_progress_exits() !== 43190) {
3236
3415
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_progress_exits");
3237
3416
  }
3238
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_progress_pending_rounds() !== 13446) {
3417
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_progress_pending_rounds() !== 17062) {
3239
3418
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_progress_pending_rounds");
3240
3419
  }
3241
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_properties() !== 49722) {
3420
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_properties() !== 34715) {
3242
3421
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_properties");
3243
3422
  }
3244
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_server() !== 25816) {
3423
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_server() !== 705) {
3245
3424
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_refresh_server");
3246
3425
  }
3247
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos() !== 19664) {
3426
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos() !== 720) {
3248
3427
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos");
3249
3428
  }
3250
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated() !== 52548) {
3429
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated() !== 44124) {
3251
3430
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated");
3252
3431
  }
3253
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment() !== 56067) {
3432
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment() !== 8472) {
3254
3433
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment");
3255
3434
  }
3256
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_onchain() !== 59921) {
3435
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_onchain() !== 51641) {
3257
3436
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_send_onchain");
3258
3437
  }
3259
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs() !== 19527) {
3438
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs() !== 31570) {
3260
3439
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs");
3261
3440
  }
3262
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_spendable_vtxos() !== 44569) {
3441
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_spendable_vtxos() !== 48976) {
3263
3442
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_spendable_vtxos");
3264
3443
  }
3265
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_entire_wallet() !== 56070) {
3444
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_entire_wallet() !== 50435) {
3266
3445
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_start_exit_for_entire_wallet");
3267
3446
  }
3268
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos() !== 34429) {
3447
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos() !== 12580) {
3269
3448
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos");
3270
3449
  }
3271
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync() !== 44981) {
3450
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync() !== 3312) {
3272
3451
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_sync");
3273
3452
  }
3274
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync_exits() !== 40932) {
3453
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync_exits() !== 5469) {
3275
3454
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_sync_exits");
3276
3455
  }
3277
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync_pending_boards() !== 23775) {
3456
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync_pending_boards() !== 8863) {
3278
3457
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_sync_pending_boards");
3279
3458
  }
3280
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_try_claim_all_lightning_receives() !== 44879) {
3459
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_try_claim_all_lightning_receives() !== 53132) {
3281
3460
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_try_claim_all_lightning_receives");
3282
3461
  }
3283
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_try_claim_lightning_receive() !== 57107) {
3462
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_try_claim_lightning_receive() !== 60644) {
3284
3463
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_try_claim_lightning_receive");
3285
3464
  }
3286
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_validate_arkoor_address() !== 45893) {
3465
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_validate_arkoor_address() !== 16628) {
3287
3466
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_validate_arkoor_address");
3288
3467
  }
3289
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_vtxos() !== 21445) {
3468
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_wallet_vtxos() !== 16778) {
3290
3469
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_vtxos");
3291
3470
  }
3292
3471
  if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_constructor_onchainwallet_custom() !== 33851) {
@@ -3307,31 +3486,31 @@ function uniffiEnsureInitialized() {
3307
3486
  if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_constructor_wallet_open_with_onchain() !== 2455) {
3308
3487
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_constructor_wallet_open_with_onchain");
3309
3488
  }
3310
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_balance() !== 59833) {
3489
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_balance() !== 17287) {
3311
3490
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_balance");
3312
3491
  }
3313
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_tx() !== 7923) {
3492
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_tx() !== 44054) {
3314
3493
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_tx");
3315
3494
  }
3316
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_drain_tx() !== 35049) {
3495
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_drain_tx() !== 7162) {
3317
3496
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_drain_tx");
3318
3497
  }
3319
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_tx() !== 13359) {
3498
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_tx() !== 60386) {
3320
3499
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_tx");
3321
3500
  }
3322
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx() !== 30315) {
3501
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx() !== 24800) {
3323
3502
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx");
3324
3503
  }
3325
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx_confirmed_block() !== 45270) {
3504
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx_confirmed_block() !== 908) {
3326
3505
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx_confirmed_block");
3327
3506
  }
3328
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_spending_tx() !== 32028) {
3507
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_spending_tx() !== 62027) {
3329
3508
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_spending_tx");
3330
3509
  }
3331
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_make_signed_p2a_cpfp() !== 48670) {
3510
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_make_signed_p2a_cpfp() !== 51567) {
3332
3511
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_make_signed_p2a_cpfp");
3333
3512
  }
3334
- if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_store_signed_p2a_cpfp() !== 57492) {
3513
+ if ((0, _barkFfi.default)().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_store_signed_p2a_cpfp() !== 35734) {
3335
3514
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_store_signed_p2a_cpfp");
3336
3515
  }
3337
3516
  uniffiCallbackInterfaceCustomOnchainWalletCallbacks.register();