@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.
- package/BarkReactNative.podspec +1 -1
- package/android/CMakeLists.txt +3 -0
- package/android/cpp-adapter.cpp +5 -4
- package/cpp/generated/bark.cpp +809 -530
- package/cpp/generated/bark.hpp +14 -0
- package/lib/commonjs/generated/bark-ffi.js +4 -0
- package/lib/commonjs/generated/bark-ffi.js.map +1 -1
- package/lib/commonjs/generated/bark.js +266 -87
- package/lib/commonjs/generated/bark.js.map +1 -1
- package/lib/module/generated/bark-ffi.js +4 -0
- package/lib/module/generated/bark-ffi.js.map +1 -1
- package/lib/module/generated/bark.js +266 -87
- package/lib/module/generated/bark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts +59 -48
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark.d.ts +242 -9
- package/lib/typescript/commonjs/src/generated/bark.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark-ffi.d.ts +59 -48
- package/lib/typescript/module/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark.d.ts +242 -9
- package/lib/typescript/module/src/generated/bark.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/generated/bark-ffi.ts +90 -51
- package/src/generated/bark.ts +592 -215
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
// This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate.
|
|
4
4
|
// Trust me, you don't want to mess with it!
|
|
5
|
+
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
// @ts-nocheck
|
|
5
9
|
import nativeModule from "./bark-ffi.js";
|
|
6
10
|
import { AbstractFfiConverterByteArray, FfiConverterArray, FfiConverterBool, FfiConverterCallback, FfiConverterInt32, FfiConverterInt64, FfiConverterObject, FfiConverterOptional, FfiConverterUInt16, FfiConverterUInt32, FfiConverterUInt64, UniffiAbstractObject, UniffiError, UniffiInternalError, UniffiResult, UniffiRustCaller, destructorGuardSymbol, pointerLiteralSymbol, uniffiCreateFfiConverterString, uniffiCreateRecord, uniffiTraitInterfaceCallWithError, uniffiTypeNameSymbol } from "uniffi-bindgen-react-native";
|
|
7
11
|
|
|
@@ -184,6 +188,9 @@ const uniffiCallbackInterfaceCustomOnchainWalletCallbacks = {
|
|
|
184
188
|
uniffiFree: uniffiHandle => {
|
|
185
189
|
// CustomOnchainWalletCallbacks: this will throw a stale handle error if the handle isn't found.
|
|
186
190
|
FfiConverterTypeCustomOnchainWalletCallbacks.drop(uniffiHandle);
|
|
191
|
+
},
|
|
192
|
+
uniffiClone: uniffiHandle => {
|
|
193
|
+
return FfiConverterTypeCustomOnchainWalletCallbacks.clone(uniffiHandle);
|
|
187
194
|
}
|
|
188
195
|
},
|
|
189
196
|
register: () => {
|
|
@@ -288,7 +295,8 @@ const FfiConverterTypeArkInfo = (() => {
|
|
|
288
295
|
maxUserInvoiceCltvDelta: FfiConverterUInt16.read(from),
|
|
289
296
|
minBoardAmountSats: FfiConverterUInt64.read(from),
|
|
290
297
|
offboardFeerateSatPerVb: FfiConverterUInt64.read(from),
|
|
291
|
-
lnReceiveAntiDosRequired: FfiConverterBool.read(from)
|
|
298
|
+
lnReceiveAntiDosRequired: FfiConverterBool.read(from),
|
|
299
|
+
feeScheduleJson: FfiConverterString.read(from)
|
|
292
300
|
};
|
|
293
301
|
}
|
|
294
302
|
write(value, into) {
|
|
@@ -306,9 +314,10 @@ const FfiConverterTypeArkInfo = (() => {
|
|
|
306
314
|
FfiConverterUInt64.write(value.minBoardAmountSats, into);
|
|
307
315
|
FfiConverterUInt64.write(value.offboardFeerateSatPerVb, into);
|
|
308
316
|
FfiConverterBool.write(value.lnReceiveAntiDosRequired, into);
|
|
317
|
+
FfiConverterString.write(value.feeScheduleJson, into);
|
|
309
318
|
}
|
|
310
319
|
allocationSize(value) {
|
|
311
|
-
return FfiConverterTypeNetwork.allocationSize(value.network) + FfiConverterString.allocationSize(value.serverPubkey) + FfiConverterUInt64.allocationSize(value.roundIntervalSecs) + FfiConverterUInt32.allocationSize(value.nbRoundNonces) + FfiConverterUInt32.allocationSize(value.vtxoExitDelta) + FfiConverterUInt32.allocationSize(value.vtxoExpiryDelta) + FfiConverterUInt32.allocationSize(value.htlcSendExpiryDelta) + FfiConverterUInt32.allocationSize(value.htlcExpiryDelta) + FfiConverterOptionalUInt64.allocationSize(value.maxVtxoAmountSats) + FfiConverterUInt32.allocationSize(value.requiredBoardConfirmations) + FfiConverterUInt16.allocationSize(value.maxUserInvoiceCltvDelta) + FfiConverterUInt64.allocationSize(value.minBoardAmountSats) + FfiConverterUInt64.allocationSize(value.offboardFeerateSatPerVb) + FfiConverterBool.allocationSize(value.lnReceiveAntiDosRequired);
|
|
320
|
+
return FfiConverterTypeNetwork.allocationSize(value.network) + FfiConverterString.allocationSize(value.serverPubkey) + FfiConverterUInt64.allocationSize(value.roundIntervalSecs) + FfiConverterUInt32.allocationSize(value.nbRoundNonces) + FfiConverterUInt32.allocationSize(value.vtxoExitDelta) + FfiConverterUInt32.allocationSize(value.vtxoExpiryDelta) + FfiConverterUInt32.allocationSize(value.htlcSendExpiryDelta) + FfiConverterUInt32.allocationSize(value.htlcExpiryDelta) + FfiConverterOptionalUInt64.allocationSize(value.maxVtxoAmountSats) + FfiConverterUInt32.allocationSize(value.requiredBoardConfirmations) + FfiConverterUInt16.allocationSize(value.maxUserInvoiceCltvDelta) + FfiConverterUInt64.allocationSize(value.minBoardAmountSats) + FfiConverterUInt64.allocationSize(value.offboardFeerateSatPerVb) + FfiConverterBool.allocationSize(value.lnReceiveAntiDosRequired) + FfiConverterString.allocationSize(value.feeScheduleJson);
|
|
312
321
|
}
|
|
313
322
|
}
|
|
314
323
|
return new FFIConverter();
|
|
@@ -1385,6 +1394,7 @@ export let BarkError_Tags = /*#__PURE__*/function (BarkError_Tags) {
|
|
|
1385
1394
|
BarkError_Tags["Internal"] = "Internal";
|
|
1386
1395
|
BarkError_Tags["OnchainWalletRequired"] = "OnchainWalletRequired";
|
|
1387
1396
|
BarkError_Tags["InvalidVtxoId"] = "InvalidVtxoId";
|
|
1397
|
+
BarkError_Tags["ServerPubkeyChanged"] = "ServerPubkeyChanged";
|
|
1388
1398
|
return BarkError_Tags;
|
|
1389
1399
|
}({});
|
|
1390
1400
|
/**
|
|
@@ -1703,6 +1713,30 @@ export const BarkError = (() => {
|
|
|
1703
1713
|
return obj.inner;
|
|
1704
1714
|
}
|
|
1705
1715
|
}
|
|
1716
|
+
class ServerPubkeyChanged_ extends UniffiError {
|
|
1717
|
+
/**
|
|
1718
|
+
* @private
|
|
1719
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1720
|
+
*/
|
|
1721
|
+
[uniffiTypeNameSymbol] = "BarkError";
|
|
1722
|
+
tag = BarkError_Tags.ServerPubkeyChanged;
|
|
1723
|
+
constructor(inner) {
|
|
1724
|
+
super("BarkError", "ServerPubkeyChanged");
|
|
1725
|
+
this.inner = Object.freeze(inner);
|
|
1726
|
+
}
|
|
1727
|
+
static new(inner) {
|
|
1728
|
+
return new ServerPubkeyChanged_(inner);
|
|
1729
|
+
}
|
|
1730
|
+
static instanceOf(obj) {
|
|
1731
|
+
return obj.tag === BarkError_Tags.ServerPubkeyChanged;
|
|
1732
|
+
}
|
|
1733
|
+
static hasInner(obj) {
|
|
1734
|
+
return ServerPubkeyChanged_.instanceOf(obj);
|
|
1735
|
+
}
|
|
1736
|
+
static getInner(obj) {
|
|
1737
|
+
return obj.inner;
|
|
1738
|
+
}
|
|
1739
|
+
}
|
|
1706
1740
|
function instanceOf(obj) {
|
|
1707
1741
|
return obj[uniffiTypeNameSymbol] === "BarkError";
|
|
1708
1742
|
}
|
|
@@ -1720,7 +1754,8 @@ export const BarkError = (() => {
|
|
|
1720
1754
|
ServerConnection: ServerConnection_,
|
|
1721
1755
|
Internal: Internal_,
|
|
1722
1756
|
OnchainWalletRequired: OnchainWalletRequired_,
|
|
1723
|
-
InvalidVtxoId: InvalidVtxoId_
|
|
1757
|
+
InvalidVtxoId: InvalidVtxoId_,
|
|
1758
|
+
ServerPubkeyChanged: ServerPubkeyChanged_
|
|
1724
1759
|
});
|
|
1725
1760
|
})();
|
|
1726
1761
|
|
|
@@ -1786,6 +1821,10 @@ const FfiConverterTypeBarkError = (() => {
|
|
|
1786
1821
|
return new BarkError.InvalidVtxoId({
|
|
1787
1822
|
errorMessage: FfiConverterString.read(from)
|
|
1788
1823
|
});
|
|
1824
|
+
case 14:
|
|
1825
|
+
return new BarkError.ServerPubkeyChanged({
|
|
1826
|
+
errorMessage: FfiConverterString.read(from)
|
|
1827
|
+
});
|
|
1789
1828
|
default:
|
|
1790
1829
|
throw new UniffiInternalError.UnexpectedEnumCase();
|
|
1791
1830
|
}
|
|
@@ -1883,6 +1922,13 @@ const FfiConverterTypeBarkError = (() => {
|
|
|
1883
1922
|
FfiConverterString.write(inner.errorMessage, into);
|
|
1884
1923
|
return;
|
|
1885
1924
|
}
|
|
1925
|
+
case BarkError_Tags.ServerPubkeyChanged:
|
|
1926
|
+
{
|
|
1927
|
+
ordinalConverter.write(14, into);
|
|
1928
|
+
const inner = value.inner;
|
|
1929
|
+
FfiConverterString.write(inner.errorMessage, into);
|
|
1930
|
+
return;
|
|
1931
|
+
}
|
|
1886
1932
|
default:
|
|
1887
1933
|
// Throwing from here means that BarkError_Tags hasn't matched an ordinal.
|
|
1888
1934
|
throw new UniffiInternalError.UnexpectedEnumCase();
|
|
@@ -1981,6 +2027,13 @@ const FfiConverterTypeBarkError = (() => {
|
|
|
1981
2027
|
size += FfiConverterString.allocationSize(inner.errorMessage);
|
|
1982
2028
|
return size;
|
|
1983
2029
|
}
|
|
2030
|
+
case BarkError_Tags.ServerPubkeyChanged:
|
|
2031
|
+
{
|
|
2032
|
+
const inner = value.inner;
|
|
2033
|
+
let size = ordinalConverter.allocationSize(14);
|
|
2034
|
+
size += FfiConverterString.allocationSize(inner.errorMessage);
|
|
2035
|
+
return size;
|
|
2036
|
+
}
|
|
1984
2037
|
default:
|
|
1985
2038
|
throw new UniffiInternalError.UnexpectedEnumCase();
|
|
1986
2039
|
}
|
|
@@ -2371,6 +2424,81 @@ export class Wallet extends UniffiAbstractObject {
|
|
|
2371
2424
|
}, /*liftString:*/FfiConverterString.lift));
|
|
2372
2425
|
}
|
|
2373
2426
|
|
|
2427
|
+
/**
|
|
2428
|
+
* Estimate the fee for a board operation
|
|
2429
|
+
*
|
|
2430
|
+
* # Arguments
|
|
2431
|
+
*
|
|
2432
|
+
* * `amount_sats` - Amount to board in sats
|
|
2433
|
+
*
|
|
2434
|
+
* Returns the estimated fee in sats
|
|
2435
|
+
*/
|
|
2436
|
+
estimateBoardFee(amountSats) /*throws*/{
|
|
2437
|
+
return FfiConverterUInt64.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2438
|
+
return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_board_fee(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterUInt64.lower(amountSats), callStatus);
|
|
2439
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2440
|
+
}
|
|
2441
|
+
|
|
2442
|
+
/**
|
|
2443
|
+
* Estimate the fee for a lightning receive
|
|
2444
|
+
*
|
|
2445
|
+
* # Arguments
|
|
2446
|
+
*
|
|
2447
|
+
* * `amount_sats` - Amount to receive in sats
|
|
2448
|
+
*
|
|
2449
|
+
* Returns the estimated fee in sats
|
|
2450
|
+
*/
|
|
2451
|
+
estimateLightningReceiveFee(amountSats) /*throws*/{
|
|
2452
|
+
return FfiConverterUInt64.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2453
|
+
return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_lightning_receive_fee(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterUInt64.lower(amountSats), callStatus);
|
|
2454
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2455
|
+
}
|
|
2456
|
+
|
|
2457
|
+
/**
|
|
2458
|
+
* Estimate the fee for a lightning send
|
|
2459
|
+
*
|
|
2460
|
+
* # Arguments
|
|
2461
|
+
*
|
|
2462
|
+
* * `amount_sats` - Amount to send in sats
|
|
2463
|
+
*
|
|
2464
|
+
* Returns the estimated fee in sats
|
|
2465
|
+
*/
|
|
2466
|
+
estimateLightningSendFee(amountSats) /*throws*/{
|
|
2467
|
+
return FfiConverterUInt64.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2468
|
+
return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_lightning_send_fee(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterUInt64.lower(amountSats), callStatus);
|
|
2469
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2470
|
+
}
|
|
2471
|
+
|
|
2472
|
+
/**
|
|
2473
|
+
* Estimate the fee for an offboard operation
|
|
2474
|
+
*
|
|
2475
|
+
* # Arguments
|
|
2476
|
+
*
|
|
2477
|
+
* * `amount_sats` - Amount to offboard in sats
|
|
2478
|
+
*
|
|
2479
|
+
* Returns the estimated fee in sats
|
|
2480
|
+
*/
|
|
2481
|
+
estimateOffboardFee(amountSats) /*throws*/{
|
|
2482
|
+
return FfiConverterUInt64.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2483
|
+
return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_offboard_fee(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterUInt64.lower(amountSats), callStatus);
|
|
2484
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2487
|
+
/**
|
|
2488
|
+
* Estimate the fee for a refresh operation
|
|
2489
|
+
*
|
|
2490
|
+
* # Arguments
|
|
2491
|
+
*
|
|
2492
|
+
* * `vtxo_ids` - VTXOs to refresh
|
|
2493
|
+
*
|
|
2494
|
+
* Returns the estimated fee in sats
|
|
2495
|
+
*/
|
|
2496
|
+
estimateRefreshFee(vtxoIds) /*throws*/{
|
|
2497
|
+
return FfiConverterUInt64.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2498
|
+
return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_estimate_refresh_fee(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterArrayString.lower(vtxoIds), callStatus);
|
|
2499
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2374
2502
|
/**
|
|
2375
2503
|
* Get the wallet's BIP32 fingerprint
|
|
2376
2504
|
*/
|
|
@@ -2474,6 +2602,22 @@ export class Wallet extends UniffiAbstractObject {
|
|
|
2474
2602
|
}, /*liftString:*/FfiConverterString.lift));
|
|
2475
2603
|
}
|
|
2476
2604
|
|
|
2605
|
+
/**
|
|
2606
|
+
* Import a serialized VTXO into the wallet
|
|
2607
|
+
*
|
|
2608
|
+
* Allows recovering VTXOs by importing their serialized form.
|
|
2609
|
+
* The VTXO data should be base64-encoded.
|
|
2610
|
+
*
|
|
2611
|
+
* # Arguments
|
|
2612
|
+
*
|
|
2613
|
+
* * `vtxo_base64` - Base64-encoded serialized VTXO
|
|
2614
|
+
*/
|
|
2615
|
+
importVtxo(vtxoBase64) /*throws*/{
|
|
2616
|
+
uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2617
|
+
nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_import_vtxo(uniffiTypeWalletObjectFactory.clonePointer(this), FfiConverterString.lower(vtxoBase64), callStatus);
|
|
2618
|
+
}, /*liftString:*/FfiConverterString.lift);
|
|
2619
|
+
}
|
|
2620
|
+
|
|
2477
2621
|
/**
|
|
2478
2622
|
* Get lightning receive status by payment hash
|
|
2479
2623
|
*
|
|
@@ -2498,6 +2642,20 @@ export class Wallet extends UniffiAbstractObject {
|
|
|
2498
2642
|
}, /*liftString:*/FfiConverterString.lift));
|
|
2499
2643
|
}
|
|
2500
2644
|
|
|
2645
|
+
/**
|
|
2646
|
+
* Create a new authorization for your server mailbox
|
|
2647
|
+
*
|
|
2648
|
+
* This generates an authorization token that can be used to manage
|
|
2649
|
+
* your server mailbox. Useful for delegating mailbox access.
|
|
2650
|
+
*
|
|
2651
|
+
* Returns the mailbox authorization as a hex-encoded string.
|
|
2652
|
+
*/
|
|
2653
|
+
mailboxAuthorization() /*throws*/{
|
|
2654
|
+
return FfiConverterString.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeBarkError.lift.bind(FfiConverterTypeBarkError), /*caller:*/callStatus => {
|
|
2655
|
+
return nativeModule().ubrn_uniffi_bark_ffi_fn_method_wallet_mailbox_authorization(uniffiTypeWalletObjectFactory.clonePointer(this), callStatus);
|
|
2656
|
+
}, /*liftString:*/FfiConverterString.lift));
|
|
2657
|
+
}
|
|
2658
|
+
|
|
2501
2659
|
/**
|
|
2502
2660
|
* Get the mailbox identifier for push notifications
|
|
2503
2661
|
*
|
|
@@ -3038,7 +3196,7 @@ const FfiConverterOptionalArrayString = new FfiConverterOptional(FfiConverterArr
|
|
|
3038
3196
|
*/
|
|
3039
3197
|
function uniffiEnsureInitialized() {
|
|
3040
3198
|
// Get the bindings contract version from our ComponentInterface
|
|
3041
|
-
const bindingsContractVersion =
|
|
3199
|
+
const bindingsContractVersion = 30;
|
|
3042
3200
|
// Get the scaffolding contract version by calling the into the dylib
|
|
3043
3201
|
const scaffoldingContractVersion = nativeModule().ubrn_ffi_bark_ffi_uniffi_contract_version();
|
|
3044
3202
|
if (bindingsContractVersion !== scaffoldingContractVersion) {
|
|
@@ -3056,226 +3214,247 @@ function uniffiEnsureInitialized() {
|
|
|
3056
3214
|
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_func_validate_mnemonic() !== 2707) {
|
|
3057
3215
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_func_validate_mnemonic");
|
|
3058
3216
|
}
|
|
3059
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_balance() !==
|
|
3217
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_balance() !== 22016) {
|
|
3060
3218
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_onchainwallet_balance");
|
|
3061
3219
|
}
|
|
3062
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_new_address() !==
|
|
3220
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_new_address() !== 41946) {
|
|
3063
3221
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_onchainwallet_new_address");
|
|
3064
3222
|
}
|
|
3065
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_send() !==
|
|
3223
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_send() !== 33716) {
|
|
3066
3224
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_onchainwallet_send");
|
|
3067
3225
|
}
|
|
3068
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_sync() !==
|
|
3226
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_sync() !== 30454) {
|
|
3069
3227
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_onchainwallet_sync");
|
|
3070
3228
|
}
|
|
3071
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_all_exits_claimable_at_height() !==
|
|
3229
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_all_exits_claimable_at_height() !== 24892) {
|
|
3072
3230
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_all_exits_claimable_at_height");
|
|
3073
3231
|
}
|
|
3074
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_all_vtxos() !==
|
|
3232
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_all_vtxos() !== 48937) {
|
|
3075
3233
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_all_vtxos");
|
|
3076
3234
|
}
|
|
3077
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_ark_info() !==
|
|
3235
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_ark_info() !== 36948) {
|
|
3078
3236
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_ark_info");
|
|
3079
3237
|
}
|
|
3080
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_balance() !==
|
|
3238
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_balance() !== 11221) {
|
|
3081
3239
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_balance");
|
|
3082
3240
|
}
|
|
3083
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_board_all() !==
|
|
3241
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_board_all() !== 41101) {
|
|
3084
3242
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_board_all");
|
|
3085
3243
|
}
|
|
3086
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_board_amount() !==
|
|
3244
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_board_amount() !== 42163) {
|
|
3087
3245
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_board_amount");
|
|
3088
3246
|
}
|
|
3089
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice() !==
|
|
3247
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice() !== 64551) {
|
|
3090
3248
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_bolt11_invoice");
|
|
3091
3249
|
}
|
|
3092
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_broadcast_tx() !==
|
|
3250
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_broadcast_tx() !== 32920) {
|
|
3093
3251
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_broadcast_tx");
|
|
3094
3252
|
}
|
|
3095
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_all_pending_rounds() !==
|
|
3253
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_all_pending_rounds() !== 8095) {
|
|
3096
3254
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_cancel_all_pending_rounds");
|
|
3097
3255
|
}
|
|
3098
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_pending_round() !==
|
|
3256
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_cancel_pending_round() !== 3417) {
|
|
3099
3257
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_cancel_pending_round");
|
|
3100
3258
|
}
|
|
3101
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_check_lightning_payment() !==
|
|
3259
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_check_lightning_payment() !== 13160) {
|
|
3102
3260
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_check_lightning_payment");
|
|
3103
3261
|
}
|
|
3104
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_claimable_lightning_receive_balance_sats() !==
|
|
3262
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_claimable_lightning_receive_balance_sats() !== 64974) {
|
|
3105
3263
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_claimable_lightning_receive_balance_sats");
|
|
3106
3264
|
}
|
|
3107
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_config() !==
|
|
3265
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_config() !== 57616) {
|
|
3108
3266
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_config");
|
|
3109
3267
|
}
|
|
3110
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_drain_exits() !==
|
|
3268
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_drain_exits() !== 16953) {
|
|
3111
3269
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_drain_exits");
|
|
3112
3270
|
}
|
|
3113
|
-
if (nativeModule().
|
|
3271
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_board_fee() !== 59472) {
|
|
3272
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_board_fee");
|
|
3273
|
+
}
|
|
3274
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_lightning_receive_fee() !== 2303) {
|
|
3275
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_lightning_receive_fee");
|
|
3276
|
+
}
|
|
3277
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_lightning_send_fee() !== 1211) {
|
|
3278
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_lightning_send_fee");
|
|
3279
|
+
}
|
|
3280
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_offboard_fee() !== 40730) {
|
|
3281
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_offboard_fee");
|
|
3282
|
+
}
|
|
3283
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_estimate_refresh_fee() !== 57066) {
|
|
3284
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_estimate_refresh_fee");
|
|
3285
|
+
}
|
|
3286
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_fingerprint() !== 60041) {
|
|
3114
3287
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_fingerprint");
|
|
3115
3288
|
}
|
|
3116
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_exit_status() !==
|
|
3289
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_exit_status() !== 27512) {
|
|
3117
3290
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_exit_status");
|
|
3118
3291
|
}
|
|
3119
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_exit_vtxos() !==
|
|
3292
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_exit_vtxos() !== 24545) {
|
|
3120
3293
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_exit_vtxos");
|
|
3121
3294
|
}
|
|
3122
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_expiring_vtxos() !==
|
|
3295
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_expiring_vtxos() !== 19482) {
|
|
3123
3296
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_expiring_vtxos");
|
|
3124
3297
|
}
|
|
3125
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_first_expiring_vtxo_blockheight() !==
|
|
3298
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_first_expiring_vtxo_blockheight() !== 41108) {
|
|
3126
3299
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_first_expiring_vtxo_blockheight");
|
|
3127
3300
|
}
|
|
3128
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_next_required_refresh_blockheight() !==
|
|
3301
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_next_required_refresh_blockheight() !== 29762) {
|
|
3129
3302
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_next_required_refresh_blockheight");
|
|
3130
3303
|
}
|
|
3131
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_vtxo_by_id() !==
|
|
3304
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_vtxo_by_id() !== 41126) {
|
|
3132
3305
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_vtxo_by_id");
|
|
3133
3306
|
}
|
|
3134
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_vtxos_to_refresh() !==
|
|
3307
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_get_vtxos_to_refresh() !== 55019) {
|
|
3135
3308
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_get_vtxos_to_refresh");
|
|
3136
3309
|
}
|
|
3137
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_has_pending_exits() !==
|
|
3310
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_has_pending_exits() !== 40981) {
|
|
3138
3311
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_has_pending_exits");
|
|
3139
3312
|
}
|
|
3140
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_history() !==
|
|
3313
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_history() !== 21880) {
|
|
3141
3314
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_history");
|
|
3142
3315
|
}
|
|
3143
|
-
if (nativeModule().
|
|
3316
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_import_vtxo() !== 31318) {
|
|
3317
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_import_vtxo");
|
|
3318
|
+
}
|
|
3319
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_lightning_receive_status() !== 26106) {
|
|
3144
3320
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_lightning_receive_status");
|
|
3145
3321
|
}
|
|
3146
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits() !==
|
|
3322
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits() !== 62145) {
|
|
3147
3323
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_list_claimable_exits");
|
|
3148
3324
|
}
|
|
3149
|
-
if (nativeModule().
|
|
3325
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_mailbox_authorization() !== 8915) {
|
|
3326
|
+
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_mailbox_authorization");
|
|
3327
|
+
}
|
|
3328
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_mailbox_identifier() !== 32893) {
|
|
3150
3329
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_mailbox_identifier");
|
|
3151
3330
|
}
|
|
3152
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance() !==
|
|
3331
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance() !== 9626) {
|
|
3153
3332
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance");
|
|
3154
3333
|
}
|
|
3155
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_delegated() !==
|
|
3334
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_delegated() !== 27348) {
|
|
3156
3335
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_delegated");
|
|
3157
3336
|
}
|
|
3158
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh() !==
|
|
3337
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh() !== 29994) {
|
|
3159
3338
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_refresh");
|
|
3160
3339
|
}
|
|
3161
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain() !==
|
|
3340
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain() !== 335) {
|
|
3162
3341
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain");
|
|
3163
3342
|
}
|
|
3164
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated() !==
|
|
3343
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated() !== 7216) {
|
|
3165
3344
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maintenance_with_onchain_delegated");
|
|
3166
3345
|
}
|
|
3167
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maybe_schedule_maintenance_refresh() !==
|
|
3346
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_maybe_schedule_maintenance_refresh() !== 32397) {
|
|
3168
3347
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_maybe_schedule_maintenance_refresh");
|
|
3169
3348
|
}
|
|
3170
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_network() !==
|
|
3349
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_network() !== 33991) {
|
|
3171
3350
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_network");
|
|
3172
3351
|
}
|
|
3173
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address() !==
|
|
3352
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address() !== 25174) {
|
|
3174
3353
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_new_address");
|
|
3175
3354
|
}
|
|
3176
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address_with_index() !==
|
|
3355
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_new_address_with_index() !== 52446) {
|
|
3177
3356
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_new_address_with_index");
|
|
3178
3357
|
}
|
|
3179
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_next_round_start_time() !==
|
|
3358
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_next_round_start_time() !== 55091) {
|
|
3180
3359
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_next_round_start_time");
|
|
3181
3360
|
}
|
|
3182
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_all() !==
|
|
3361
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_all() !== 61123) {
|
|
3183
3362
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_offboard_all");
|
|
3184
3363
|
}
|
|
3185
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos() !==
|
|
3364
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos() !== 19001) {
|
|
3186
3365
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_offboard_vtxos");
|
|
3187
3366
|
}
|
|
3188
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address() !==
|
|
3367
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address() !== 39952) {
|
|
3189
3368
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pay_lightning_address");
|
|
3190
3369
|
}
|
|
3191
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_invoice() !==
|
|
3370
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_invoice() !== 31286) {
|
|
3192
3371
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pay_lightning_invoice");
|
|
3193
3372
|
}
|
|
3194
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_offer() !==
|
|
3373
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pay_lightning_offer() !== 37035) {
|
|
3195
3374
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pay_lightning_offer");
|
|
3196
3375
|
}
|
|
3197
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_peak_address() !==
|
|
3376
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_peak_address() !== 23469) {
|
|
3198
3377
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_peak_address");
|
|
3199
3378
|
}
|
|
3200
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_board_vtxos() !==
|
|
3379
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_board_vtxos() !== 58145) {
|
|
3201
3380
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_board_vtxos");
|
|
3202
3381
|
}
|
|
3203
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_boards() !==
|
|
3382
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_boards() !== 36109) {
|
|
3204
3383
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_boards");
|
|
3205
3384
|
}
|
|
3206
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_exits_total_sats() !==
|
|
3385
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_exits_total_sats() !== 47419) {
|
|
3207
3386
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_exits_total_sats");
|
|
3208
3387
|
}
|
|
3209
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_receives() !==
|
|
3388
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_receives() !== 14491) {
|
|
3210
3389
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_lightning_receives");
|
|
3211
3390
|
}
|
|
3212
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_send_vtxos() !==
|
|
3391
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_send_vtxos() !== 57377) {
|
|
3213
3392
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_lightning_send_vtxos");
|
|
3214
3393
|
}
|
|
3215
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends() !==
|
|
3394
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends() !== 51186) {
|
|
3216
3395
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_lightning_sends");
|
|
3217
3396
|
}
|
|
3218
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos() !==
|
|
3397
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos() !== 20996) {
|
|
3219
3398
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_round_input_vtxos");
|
|
3220
3399
|
}
|
|
3221
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_states() !==
|
|
3400
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_pending_round_states() !== 19530) {
|
|
3222
3401
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_pending_round_states");
|
|
3223
3402
|
}
|
|
3224
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_progress_exits() !==
|
|
3403
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_progress_exits() !== 43190) {
|
|
3225
3404
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_progress_exits");
|
|
3226
3405
|
}
|
|
3227
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_progress_pending_rounds() !==
|
|
3406
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_progress_pending_rounds() !== 17062) {
|
|
3228
3407
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_progress_pending_rounds");
|
|
3229
3408
|
}
|
|
3230
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_properties() !==
|
|
3409
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_properties() !== 34715) {
|
|
3231
3410
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_properties");
|
|
3232
3411
|
}
|
|
3233
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_server() !==
|
|
3412
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_server() !== 705) {
|
|
3234
3413
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_refresh_server");
|
|
3235
3414
|
}
|
|
3236
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos() !==
|
|
3415
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos() !== 720) {
|
|
3237
3416
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos");
|
|
3238
3417
|
}
|
|
3239
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated() !==
|
|
3418
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated() !== 44124) {
|
|
3240
3419
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos_delegated");
|
|
3241
3420
|
}
|
|
3242
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment() !==
|
|
3421
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment() !== 8472) {
|
|
3243
3422
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_send_arkoor_payment");
|
|
3244
3423
|
}
|
|
3245
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_onchain() !==
|
|
3424
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_send_onchain() !== 51641) {
|
|
3246
3425
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_send_onchain");
|
|
3247
3426
|
}
|
|
3248
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs() !==
|
|
3427
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs() !== 31570) {
|
|
3249
3428
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_sign_exit_claim_inputs");
|
|
3250
3429
|
}
|
|
3251
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_spendable_vtxos() !==
|
|
3430
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_spendable_vtxos() !== 48976) {
|
|
3252
3431
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_spendable_vtxos");
|
|
3253
3432
|
}
|
|
3254
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_entire_wallet() !==
|
|
3433
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_entire_wallet() !== 50435) {
|
|
3255
3434
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_start_exit_for_entire_wallet");
|
|
3256
3435
|
}
|
|
3257
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos() !==
|
|
3436
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos() !== 12580) {
|
|
3258
3437
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_start_exit_for_vtxos");
|
|
3259
3438
|
}
|
|
3260
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync() !==
|
|
3439
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync() !== 3312) {
|
|
3261
3440
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_sync");
|
|
3262
3441
|
}
|
|
3263
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync_exits() !==
|
|
3442
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync_exits() !== 5469) {
|
|
3264
3443
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_sync_exits");
|
|
3265
3444
|
}
|
|
3266
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync_pending_boards() !==
|
|
3445
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_sync_pending_boards() !== 8863) {
|
|
3267
3446
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_sync_pending_boards");
|
|
3268
3447
|
}
|
|
3269
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_try_claim_all_lightning_receives() !==
|
|
3448
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_try_claim_all_lightning_receives() !== 53132) {
|
|
3270
3449
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_try_claim_all_lightning_receives");
|
|
3271
3450
|
}
|
|
3272
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_try_claim_lightning_receive() !==
|
|
3451
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_try_claim_lightning_receive() !== 60644) {
|
|
3273
3452
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_try_claim_lightning_receive");
|
|
3274
3453
|
}
|
|
3275
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_validate_arkoor_address() !==
|
|
3454
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_validate_arkoor_address() !== 16628) {
|
|
3276
3455
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_validate_arkoor_address");
|
|
3277
3456
|
}
|
|
3278
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_vtxos() !==
|
|
3457
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_wallet_vtxos() !== 16778) {
|
|
3279
3458
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_wallet_vtxos");
|
|
3280
3459
|
}
|
|
3281
3460
|
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_constructor_onchainwallet_custom() !== 33851) {
|
|
@@ -3296,31 +3475,31 @@ function uniffiEnsureInitialized() {
|
|
|
3296
3475
|
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_constructor_wallet_open_with_onchain() !== 2455) {
|
|
3297
3476
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_constructor_wallet_open_with_onchain");
|
|
3298
3477
|
}
|
|
3299
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_balance() !==
|
|
3478
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_balance() !== 17287) {
|
|
3300
3479
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_balance");
|
|
3301
3480
|
}
|
|
3302
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_tx() !==
|
|
3481
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_tx() !== 44054) {
|
|
3303
3482
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_tx");
|
|
3304
3483
|
}
|
|
3305
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_drain_tx() !==
|
|
3484
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_drain_tx() !== 7162) {
|
|
3306
3485
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_prepare_drain_tx");
|
|
3307
3486
|
}
|
|
3308
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_tx() !==
|
|
3487
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_tx() !== 60386) {
|
|
3309
3488
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_finish_tx");
|
|
3310
3489
|
}
|
|
3311
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx() !==
|
|
3490
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx() !== 24800) {
|
|
3312
3491
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx");
|
|
3313
3492
|
}
|
|
3314
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx_confirmed_block() !==
|
|
3493
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx_confirmed_block() !== 908) {
|
|
3315
3494
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_wallet_tx_confirmed_block");
|
|
3316
3495
|
}
|
|
3317
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_spending_tx() !==
|
|
3496
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_spending_tx() !== 62027) {
|
|
3318
3497
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_get_spending_tx");
|
|
3319
3498
|
}
|
|
3320
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_make_signed_p2a_cpfp() !==
|
|
3499
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_make_signed_p2a_cpfp() !== 51567) {
|
|
3321
3500
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_make_signed_p2a_cpfp");
|
|
3322
3501
|
}
|
|
3323
|
-
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_store_signed_p2a_cpfp() !==
|
|
3502
|
+
if (nativeModule().ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_store_signed_p2a_cpfp() !== 35734) {
|
|
3324
3503
|
throw new UniffiInternalError.ApiChecksumMismatch("uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_store_signed_p2a_cpfp");
|
|
3325
3504
|
}
|
|
3326
3505
|
uniffiCallbackInterfaceCustomOnchainWalletCallbacks.register();
|