@breeztech/breez-sdk-spark-react-native 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cpp/generated/breez_sdk_spark.cpp +609 -108
- package/cpp/generated/breez_sdk_spark.hpp +52 -0
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark.js +161 -14
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark.js +160 -13
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +34 -18
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts +1089 -86
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts +34 -18
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts +1089 -86
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/generated/breez_sdk_spark-ffi.ts +62 -22
- package/src/generated/breez_sdk_spark.ts +1971 -15
|
@@ -112,6 +112,17 @@ process?.env?.NODE_ENV!=='production'||false;// Public interface members begin h
|
|
|
112
112
|
* reflects the latest local sync and `ensure_synced=true` is rejected with
|
|
113
113
|
* an invalid-input error
|
|
114
114
|
*/export function defaultServerConfig(network){return FfiConverterTypeConfig.lift(uniffiCaller.rustCall(/*caller:*/callStatus=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_func_default_server_config(FfiConverterTypeNetwork.lower(network),callStatus);},/*liftString:*/FfiConverterString.lift));}/**
|
|
115
|
+
* The session store `backend` provides for `identity` on `network` (its own
|
|
116
|
+
* persistence: `PostgreSQL`/`MySQL` when the backend is DB-backed, else an
|
|
117
|
+
* in-memory store).
|
|
118
|
+
*
|
|
119
|
+
* Returned so it can be wrapped in a decorating [`SessionStore`] and passed to
|
|
120
|
+
* [`SdkBuilder::with_session_store`](crate::SdkBuilder::with_session_store),
|
|
121
|
+
* keeping the backend's persistence. A typical use is at-rest encryption (the
|
|
122
|
+
* SDK does not encrypt tokens itself): wrap it in a store that encrypts on
|
|
123
|
+
* write and decrypts on read. `identity` is the wallet identity public key
|
|
124
|
+
* bytes (the same value the SDK derives from the signer).
|
|
125
|
+
*/export async function defaultSessionStore(backend,network,identity,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_func_default_session_store(FfiConverterTypeStorageBackend.lower(backend),FfiConverterTypeNetwork.lower(network),FfiConverterArrayBuffer.lower(identity));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_pointer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_pointer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_pointer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_pointer,/*liftFunc:*/FfiConverterTypeSessionStore.lift.bind(FfiConverterTypeSessionStore),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
115
126
|
* File-based `SQLite` storage rooted at `storage_dir` — the default for
|
|
116
127
|
* mobile and desktop apps. Each tenant gets its own database file under the
|
|
117
128
|
* directory.
|
|
@@ -331,6 +342,26 @@ const FfiConverterTypeLogger=new FfiConverterCallback();/**
|
|
|
331
342
|
*/new:create,/**
|
|
332
343
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
333
344
|
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeBolt12OfferDetails=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{absoluteExpiry:FfiConverterOptionalUInt64.read(from),chains:FfiConverterArrayString.read(from),description:FfiConverterOptionalString.read(from),issuer:FfiConverterOptionalString.read(from),minAmount:FfiConverterOptionalTypeAmount.read(from),offer:FfiConverterTypeBolt12Offer.read(from),paths:FfiConverterArrayTypeBolt12OfferBlindedPath.read(from),signingPubkey:FfiConverterOptionalString.read(from)};}write(value,into){FfiConverterOptionalUInt64.write(value.absoluteExpiry,into);FfiConverterArrayString.write(value.chains,into);FfiConverterOptionalString.write(value.description,into);FfiConverterOptionalString.write(value.issuer,into);FfiConverterOptionalTypeAmount.write(value.minAmount,into);FfiConverterTypeBolt12Offer.write(value.offer,into);FfiConverterArrayTypeBolt12OfferBlindedPath.write(value.paths,into);FfiConverterOptionalString.write(value.signingPubkey,into);}allocationSize(value){return FfiConverterOptionalUInt64.allocationSize(value.absoluteExpiry)+FfiConverterArrayString.allocationSize(value.chains)+FfiConverterOptionalString.allocationSize(value.description)+FfiConverterOptionalString.allocationSize(value.issuer)+FfiConverterOptionalTypeAmount.allocationSize(value.minAmount)+FfiConverterTypeBolt12Offer.allocationSize(value.offer)+FfiConverterArrayTypeBolt12OfferBlindedPath.allocationSize(value.paths)+FfiConverterOptionalString.allocationSize(value.signingPubkey);}}return new FFIConverter();})();/**
|
|
345
|
+
* Generated factory for {@link BuildUnsignedLnurlPayPackageRequest} record objects.
|
|
346
|
+
*/export const BuildUnsignedLnurlPayPackageRequest=(()=>{const defaults=()=>({});const create=(()=>{return uniffiCreateRecord(defaults);})();return Object.freeze({/**
|
|
347
|
+
* Create a frozen instance of {@link BuildUnsignedLnurlPayPackageRequest}, with defaults specified
|
|
348
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
349
|
+
*/create,/**
|
|
350
|
+
* Create a frozen instance of {@link BuildUnsignedLnurlPayPackageRequest}, with defaults specified
|
|
351
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
352
|
+
*/new:create,/**
|
|
353
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
354
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeBuildUnsignedLnurlPayPackageRequest=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{prepareResponse:FfiConverterTypePrepareLnurlPayResponse.read(from)};}write(value,into){FfiConverterTypePrepareLnurlPayResponse.write(value.prepareResponse,into);}allocationSize(value){return FfiConverterTypePrepareLnurlPayResponse.allocationSize(value.prepareResponse);}}return new FFIConverter();})();/**
|
|
355
|
+
* Generated factory for {@link BuildUnsignedTransferPackageRequest} record objects.
|
|
356
|
+
*/export const BuildUnsignedTransferPackageRequest=(()=>{const defaults=()=>({options:undefined});const create=(()=>{return uniffiCreateRecord(defaults);})();return Object.freeze({/**
|
|
357
|
+
* Create a frozen instance of {@link BuildUnsignedTransferPackageRequest}, with defaults specified
|
|
358
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
359
|
+
*/create,/**
|
|
360
|
+
* Create a frozen instance of {@link BuildUnsignedTransferPackageRequest}, with defaults specified
|
|
361
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
362
|
+
*/new:create,/**
|
|
363
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
364
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeBuildUnsignedTransferPackageRequest=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{prepareResponse:FfiConverterTypePrepareSendPaymentResponse.read(from),options:FfiConverterOptionalTypeBuildTransferPackageOptions.read(from)};}write(value,into){FfiConverterTypePrepareSendPaymentResponse.write(value.prepareResponse,into);FfiConverterOptionalTypeBuildTransferPackageOptions.write(value.options,into);}allocationSize(value){return FfiConverterTypePrepareSendPaymentResponse.allocationSize(value.prepareResponse)+FfiConverterOptionalTypeBuildTransferPackageOptions.allocationSize(value.options);}}return new FFIConverter();})();/**
|
|
334
365
|
* Generated factory for {@link BurnIssuerTokenRequest} record objects.
|
|
335
366
|
*/export const BurnIssuerTokenRequest=(()=>{const defaults=()=>({});const create=(()=>{return uniffiCreateRecord(defaults);})();return Object.freeze({/**
|
|
336
367
|
* Create a frozen instance of {@link BurnIssuerTokenRequest}, with defaults specified
|
|
@@ -1434,6 +1465,16 @@ const FfiConverterTypeLogger=new FfiConverterCallback();/**
|
|
|
1434
1465
|
*/new:create,/**
|
|
1435
1466
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
1436
1467
|
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeLnurlInfo=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{url:FfiConverterString.read(from),bech32:FfiConverterString.read(from)};}write(value,into){FfiConverterString.write(value.url,into);FfiConverterString.write(value.bech32,into);}allocationSize(value){return FfiConverterString.allocationSize(value.url)+FfiConverterString.allocationSize(value.bech32);}}return new FFIConverter();})();/**
|
|
1468
|
+
* Generated factory for {@link LnurlPayContext} record objects.
|
|
1469
|
+
*/export const LnurlPayContext=(()=>{const defaults=()=>({});const create=(()=>{return uniffiCreateRecord(defaults);})();return Object.freeze({/**
|
|
1470
|
+
* Create a frozen instance of {@link LnurlPayContext}, with defaults specified
|
|
1471
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
1472
|
+
*/create,/**
|
|
1473
|
+
* Create a frozen instance of {@link LnurlPayContext}, with defaults specified
|
|
1474
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
1475
|
+
*/new:create,/**
|
|
1476
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
1477
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeLnurlPayContext=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{payRequest:FfiConverterTypeLnurlPayRequestDetails.read(from),comment:FfiConverterOptionalString.read(from),successAction:FfiConverterOptionalTypeSuccessAction.read(from)};}write(value,into){FfiConverterTypeLnurlPayRequestDetails.write(value.payRequest,into);FfiConverterOptionalString.write(value.comment,into);FfiConverterOptionalTypeSuccessAction.write(value.successAction,into);}allocationSize(value){return FfiConverterTypeLnurlPayRequestDetails.allocationSize(value.payRequest)+FfiConverterOptionalString.allocationSize(value.comment)+FfiConverterOptionalTypeSuccessAction.allocationSize(value.successAction);}}return new FFIConverter();})();/**
|
|
1437
1478
|
* Represents the payment LNURL info
|
|
1438
1479
|
*//**
|
|
1439
1480
|
* Generated factory for {@link LnurlPayInfo} record objects.
|
|
@@ -1778,6 +1819,26 @@ const FfiConverterTypeLogger=new FfiConverterCallback();/**
|
|
|
1778
1819
|
*/new:create,/**
|
|
1779
1820
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
1780
1821
|
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypePublicKeyBytes=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{bytes:FfiConverterArrayBuffer.read(from)};}write(value,into){FfiConverterArrayBuffer.write(value.bytes,into);}allocationSize(value){return FfiConverterArrayBuffer.allocationSize(value.bytes);}}return new FFIConverter();})();/**
|
|
1822
|
+
* Generated factory for {@link PublishSignedLnurlPayPackageRequest} record objects.
|
|
1823
|
+
*/export const PublishSignedLnurlPayPackageRequest=(()=>{const defaults=()=>({});const create=(()=>{return uniffiCreateRecord(defaults);})();return Object.freeze({/**
|
|
1824
|
+
* Create a frozen instance of {@link PublishSignedLnurlPayPackageRequest}, with defaults specified
|
|
1825
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
1826
|
+
*/create,/**
|
|
1827
|
+
* Create a frozen instance of {@link PublishSignedLnurlPayPackageRequest}, with defaults specified
|
|
1828
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
1829
|
+
*/new:create,/**
|
|
1830
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
1831
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypePublishSignedLnurlPayPackageRequest=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{signedPackage:FfiConverterTypeSignedTransferPackage.read(from)};}write(value,into){FfiConverterTypeSignedTransferPackage.write(value.signedPackage,into);}allocationSize(value){return FfiConverterTypeSignedTransferPackage.allocationSize(value.signedPackage);}}return new FFIConverter();})();/**
|
|
1832
|
+
* Generated factory for {@link PublishSignedTransferPackageRequest} record objects.
|
|
1833
|
+
*/export const PublishSignedTransferPackageRequest=(()=>{const defaults=()=>({});const create=(()=>{return uniffiCreateRecord(defaults);})();return Object.freeze({/**
|
|
1834
|
+
* Create a frozen instance of {@link PublishSignedTransferPackageRequest}, with defaults specified
|
|
1835
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
1836
|
+
*/create,/**
|
|
1837
|
+
* Create a frozen instance of {@link PublishSignedTransferPackageRequest}, with defaults specified
|
|
1838
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
1839
|
+
*/new:create,/**
|
|
1840
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
1841
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypePublishSignedTransferPackageRequest=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{signedPackage:FfiConverterTypeSignedTransferPackage.read(from)};}write(value,into){FfiConverterTypeSignedTransferPackage.write(value.signedPackage,into);}allocationSize(value){return FfiConverterTypeSignedTransferPackage.allocationSize(value.signedPackage);}}return new FFIConverter();})();/**
|
|
1781
1842
|
* Denominator in an exchange rate
|
|
1782
1843
|
*//**
|
|
1783
1844
|
* Generated factory for {@link Rate} record objects.
|
|
@@ -2105,6 +2166,16 @@ const FfiConverterTypeLogger=new FfiConverterCallback();/**
|
|
|
2105
2166
|
*/new:create,/**
|
|
2106
2167
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
2107
2168
|
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeSignMessageResponse=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{pubkey:FfiConverterString.read(from),signature:FfiConverterString.read(from)};}write(value,into){FfiConverterString.write(value.pubkey,into);FfiConverterString.write(value.signature,into);}allocationSize(value){return FfiConverterString.allocationSize(value.pubkey)+FfiConverterString.allocationSize(value.signature);}}return new FFIConverter();})();/**
|
|
2169
|
+
* Generated factory for {@link SignedTransferPackage} record objects.
|
|
2170
|
+
*/export const SignedTransferPackage=(()=>{const defaults=()=>({});const create=(()=>{return uniffiCreateRecord(defaults);})();return Object.freeze({/**
|
|
2171
|
+
* Create a frozen instance of {@link SignedTransferPackage}, with defaults specified
|
|
2172
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
2173
|
+
*/create,/**
|
|
2174
|
+
* Create a frozen instance of {@link SignedTransferPackage}, with defaults specified
|
|
2175
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
2176
|
+
*/new:create,/**
|
|
2177
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
2178
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeSignedTransferPackage=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{unsigned:FfiConverterTypeUnsignedTransferPackage.read(from),signature:FfiConverterTypeTransferSignature.read(from)};}write(value,into){FfiConverterTypeUnsignedTransferPackage.write(value.unsigned,into);FfiConverterTypeTransferSignature.write(value.signature,into);}allocationSize(value){return FfiConverterTypeUnsignedTransferPackage.allocationSize(value.unsigned)+FfiConverterTypeTransferSignature.allocationSize(value.signature);}}return new FFIConverter();})();/**
|
|
2108
2179
|
* A signing-only external signer paired with the Spark signer, for wallets that
|
|
2109
2180
|
* connect via [`connect_with_signing_only_signer`]. The Breez half performs
|
|
2110
2181
|
* signing only, without the SDK's local ECIES/HMAC operations.
|
|
@@ -2154,7 +2225,7 @@ const FfiConverterTypeLogger=new FfiConverterCallback();/**
|
|
|
2154
2225
|
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
2155
2226
|
*/new:create,/**
|
|
2156
2227
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
2157
|
-
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeSparkConfig=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{coordinatorIdentifier:FfiConverterString.read(from),threshold:FfiConverterUInt32.read(from),signingOperators:FfiConverterArrayTypeSparkSigningOperator.read(from),sspConfig:FfiConverterTypeSparkSspConfig.read(from),expectedWithdrawBondSats:FfiConverterUInt64.read(from),expectedWithdrawRelativeBlockLocktime:FfiConverterUInt64.read(from)};}write(value,into){FfiConverterString.write(value.coordinatorIdentifier,into);FfiConverterUInt32.write(value.threshold,into);FfiConverterArrayTypeSparkSigningOperator.write(value.signingOperators,into);FfiConverterTypeSparkSspConfig.write(value.sspConfig,into);FfiConverterUInt64.write(value.expectedWithdrawBondSats,into);FfiConverterUInt64.write(value.expectedWithdrawRelativeBlockLocktime,into);}allocationSize(value){return FfiConverterString.allocationSize(value.coordinatorIdentifier)+FfiConverterUInt32.allocationSize(value.threshold)+FfiConverterArrayTypeSparkSigningOperator.allocationSize(value.signingOperators)+FfiConverterTypeSparkSspConfig.allocationSize(value.sspConfig)+FfiConverterUInt64.allocationSize(value.expectedWithdrawBondSats)+FfiConverterUInt64.allocationSize(value.expectedWithdrawRelativeBlockLocktime);}}return new FFIConverter();})();/**
|
|
2228
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeSparkConfig=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{coordinatorIdentifier:FfiConverterString.read(from),threshold:FfiConverterUInt32.read(from),signingOperators:FfiConverterArrayTypeSparkSigningOperator.read(from),sspConfig:FfiConverterTypeSparkSspConfig.read(from),expectedWithdrawBondSats:FfiConverterUInt64.read(from),expectedWithdrawRelativeBlockLocktime:FfiConverterUInt64.read(from),maxTokenTransactionInputs:FfiConverterOptionalUInt32.read(from)};}write(value,into){FfiConverterString.write(value.coordinatorIdentifier,into);FfiConverterUInt32.write(value.threshold,into);FfiConverterArrayTypeSparkSigningOperator.write(value.signingOperators,into);FfiConverterTypeSparkSspConfig.write(value.sspConfig,into);FfiConverterUInt64.write(value.expectedWithdrawBondSats,into);FfiConverterUInt64.write(value.expectedWithdrawRelativeBlockLocktime,into);FfiConverterOptionalUInt32.write(value.maxTokenTransactionInputs,into);}allocationSize(value){return FfiConverterString.allocationSize(value.coordinatorIdentifier)+FfiConverterUInt32.allocationSize(value.threshold)+FfiConverterArrayTypeSparkSigningOperator.allocationSize(value.signingOperators)+FfiConverterTypeSparkSspConfig.allocationSize(value.sspConfig)+FfiConverterUInt64.allocationSize(value.expectedWithdrawBondSats)+FfiConverterUInt64.allocationSize(value.expectedWithdrawRelativeBlockLocktime)+FfiConverterOptionalUInt32.allocationSize(value.maxTokenTransactionInputs);}}return new FFIConverter();})();/**
|
|
2158
2229
|
* Generated factory for {@link SparkHtlcDetails} record objects.
|
|
2159
2230
|
*/export const SparkHtlcDetails=(()=>{const defaults=()=>({});const create=(()=>{return uniffiCreateRecord(defaults);})();return Object.freeze({/**
|
|
2160
2231
|
* Create a frozen instance of {@link SparkHtlcDetails}, with defaults specified
|
|
@@ -2384,7 +2455,7 @@ const FfiConverterTypeLogger=new FfiConverterCallback();/**
|
|
|
2384
2455
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
2385
2456
|
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeTransferAuthorization=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{username:FfiConverterString.read(from),pubkey:FfiConverterString.read(from),signature:FfiConverterString.read(from)};}write(value,into){FfiConverterString.write(value.username,into);FfiConverterString.write(value.pubkey,into);FfiConverterString.write(value.signature,into);}allocationSize(value){return FfiConverterString.allocationSize(value.username)+FfiConverterString.allocationSize(value.pubkey)+FfiConverterString.allocationSize(value.signature);}}return new FFIConverter();})();/**
|
|
2386
2457
|
* Generated factory for {@link TurnkeyConfig} record objects.
|
|
2387
|
-
*/export const TurnkeyConfig=(()=>{const defaults=()=>({});const create=(()=>{return uniffiCreateRecord(defaults);})();return Object.freeze({/**
|
|
2458
|
+
*/export const TurnkeyConfig=(()=>{const defaults=()=>({maxRps:undefined});const create=(()=>{return uniffiCreateRecord(defaults);})();return Object.freeze({/**
|
|
2388
2459
|
* Create a frozen instance of {@link TurnkeyConfig}, with defaults specified
|
|
2389
2460
|
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
2390
2461
|
*/create,/**
|
|
@@ -2392,7 +2463,7 @@ const FfiConverterTypeLogger=new FfiConverterCallback();/**
|
|
|
2392
2463
|
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
2393
2464
|
*/new:create,/**
|
|
2394
2465
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
2395
|
-
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeTurnkeyConfig=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{baseUrl:FfiConverterOptionalString.read(from),organizationId:FfiConverterString.read(from),apiPublicKey:FfiConverterString.read(from),apiPrivateKey:FfiConverterString.read(from),walletId:FfiConverterString.read(from),network:FfiConverterTypeNetwork.read(from),accountNumber:FfiConverterOptionalUInt32.read(from),retry:FfiConverterOptionalTypeTurnkeyRetryConfig.read(from)};}write(value,into){FfiConverterOptionalString.write(value.baseUrl,into);FfiConverterString.write(value.organizationId,into);FfiConverterString.write(value.apiPublicKey,into);FfiConverterString.write(value.apiPrivateKey,into);FfiConverterString.write(value.walletId,into);FfiConverterTypeNetwork.write(value.network,into);FfiConverterOptionalUInt32.write(value.accountNumber,into);FfiConverterOptionalTypeTurnkeyRetryConfig.write(value.retry,into);}allocationSize(value){return FfiConverterOptionalString.allocationSize(value.baseUrl)+FfiConverterString.allocationSize(value.organizationId)+FfiConverterString.allocationSize(value.apiPublicKey)+FfiConverterString.allocationSize(value.apiPrivateKey)+FfiConverterString.allocationSize(value.walletId)+FfiConverterTypeNetwork.allocationSize(value.network)+FfiConverterOptionalUInt32.allocationSize(value.accountNumber)+FfiConverterOptionalTypeTurnkeyRetryConfig.allocationSize(value.retry);}}return new FFIConverter();})();/**
|
|
2466
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeTurnkeyConfig=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{baseUrl:FfiConverterOptionalString.read(from),organizationId:FfiConverterString.read(from),apiPublicKey:FfiConverterString.read(from),apiPrivateKey:FfiConverterString.read(from),walletId:FfiConverterString.read(from),network:FfiConverterTypeNetwork.read(from),accountNumber:FfiConverterOptionalUInt32.read(from),identityPublicKey:FfiConverterOptionalString.read(from),retry:FfiConverterOptionalTypeTurnkeyRetryConfig.read(from),maxRps:FfiConverterOptionalUInt32.read(from)};}write(value,into){FfiConverterOptionalString.write(value.baseUrl,into);FfiConverterString.write(value.organizationId,into);FfiConverterString.write(value.apiPublicKey,into);FfiConverterString.write(value.apiPrivateKey,into);FfiConverterString.write(value.walletId,into);FfiConverterTypeNetwork.write(value.network,into);FfiConverterOptionalUInt32.write(value.accountNumber,into);FfiConverterOptionalString.write(value.identityPublicKey,into);FfiConverterOptionalTypeTurnkeyRetryConfig.write(value.retry,into);FfiConverterOptionalUInt32.write(value.maxRps,into);}allocationSize(value){return FfiConverterOptionalString.allocationSize(value.baseUrl)+FfiConverterString.allocationSize(value.organizationId)+FfiConverterString.allocationSize(value.apiPublicKey)+FfiConverterString.allocationSize(value.apiPrivateKey)+FfiConverterString.allocationSize(value.walletId)+FfiConverterTypeNetwork.allocationSize(value.network)+FfiConverterOptionalUInt32.allocationSize(value.accountNumber)+FfiConverterOptionalString.allocationSize(value.identityPublicKey)+FfiConverterOptionalTypeTurnkeyRetryConfig.allocationSize(value.retry)+FfiConverterOptionalUInt32.allocationSize(value.maxRps);}}return new FFIConverter();})();/**
|
|
2396
2467
|
* Retry policy for Turnkey API requests (used while polling a pending
|
|
2397
2468
|
* activity). Mirrors `turnkey_client`'s `RetryConfig` with FFI-friendly
|
|
2398
2469
|
* millisecond fields.
|
|
@@ -2633,7 +2704,16 @@ export let AutoOptimizationEvent_Tags=/*#__PURE__*/function(AutoOptimizationEven
|
|
|
2633
2704
|
const FfiConverterTypeAutoOptimizationEvent=(()=>{const ordinalConverter=FfiConverterInt32;class FFIConverter extends AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new AutoOptimizationEvent.Started({totalRounds:FfiConverterUInt32.read(from)});case 2:return new AutoOptimizationEvent.RoundCompleted({currentRound:FfiConverterUInt32.read(from),totalRounds:FfiConverterUInt32.read(from)});case 3:return new AutoOptimizationEvent.Completed();case 4:return new AutoOptimizationEvent.Cancelled();case 5:return new AutoOptimizationEvent.Failed({error:FfiConverterString.read(from)});case 6:return new AutoOptimizationEvent.Skipped();default:throw new UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case AutoOptimizationEvent_Tags.Started:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterUInt32.write(inner.totalRounds,into);return;}case AutoOptimizationEvent_Tags.RoundCompleted:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterUInt32.write(inner.currentRound,into);FfiConverterUInt32.write(inner.totalRounds,into);return;}case AutoOptimizationEvent_Tags.Completed:{ordinalConverter.write(3,into);return;}case AutoOptimizationEvent_Tags.Cancelled:{ordinalConverter.write(4,into);return;}case AutoOptimizationEvent_Tags.Failed:{ordinalConverter.write(5,into);const inner=value.inner;FfiConverterString.write(inner.error,into);return;}case AutoOptimizationEvent_Tags.Skipped:{ordinalConverter.write(6,into);return;}default:// Throwing from here means that AutoOptimizationEvent_Tags hasn't matched an ordinal.
|
|
2634
2705
|
throw new UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case AutoOptimizationEvent_Tags.Started:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterUInt32.allocationSize(inner.totalRounds);return size;}case AutoOptimizationEvent_Tags.RoundCompleted:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterUInt32.allocationSize(inner.currentRound);size+=FfiConverterUInt32.allocationSize(inner.totalRounds);return size;}case AutoOptimizationEvent_Tags.Completed:{return ordinalConverter.allocationSize(3);}case AutoOptimizationEvent_Tags.Cancelled:{return ordinalConverter.allocationSize(4);}case AutoOptimizationEvent_Tags.Failed:{const inner=value.inner;let size=ordinalConverter.allocationSize(5);size+=FfiConverterString.allocationSize(inner.error);return size;}case AutoOptimizationEvent_Tags.Skipped:{return ordinalConverter.allocationSize(6);}default:throw new UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();export let BitcoinNetwork=/*#__PURE__*/function(BitcoinNetwork){/**
|
|
2635
2706
|
* Mainnet
|
|
2636
|
-
*/BitcoinNetwork[BitcoinNetwork["Bitcoin"]=0]="Bitcoin";BitcoinNetwork[BitcoinNetwork["Testnet3"]=1]="Testnet3";BitcoinNetwork[BitcoinNetwork["Testnet4"]=2]="Testnet4";BitcoinNetwork[BitcoinNetwork["Signet"]=3]="Signet";BitcoinNetwork[BitcoinNetwork["Regtest"]=4]="Regtest";return BitcoinNetwork;}({});const FfiConverterTypeBitcoinNetwork=(()=>{const ordinalConverter=FfiConverterInt32;class FFIConverter extends AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return BitcoinNetwork.Bitcoin;case 2:return BitcoinNetwork.Testnet3;case 3:return BitcoinNetwork.Testnet4;case 4:return BitcoinNetwork.Signet;case 5:return BitcoinNetwork.Regtest;default:throw new UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value){case BitcoinNetwork.Bitcoin:return ordinalConverter.write(1,into);case BitcoinNetwork.Testnet3:return ordinalConverter.write(2,into);case BitcoinNetwork.Testnet4:return ordinalConverter.write(3,into);case BitcoinNetwork.Signet:return ordinalConverter.write(4,into);case BitcoinNetwork.Regtest:return ordinalConverter.write(5,into);}}allocationSize(value){return ordinalConverter.allocationSize(0);}}return new FFIConverter();})();// Enum:
|
|
2707
|
+
*/BitcoinNetwork[BitcoinNetwork["Bitcoin"]=0]="Bitcoin";BitcoinNetwork[BitcoinNetwork["Testnet3"]=1]="Testnet3";BitcoinNetwork[BitcoinNetwork["Testnet4"]=2]="Testnet4";BitcoinNetwork[BitcoinNetwork["Signet"]=3]="Signet";BitcoinNetwork[BitcoinNetwork["Regtest"]=4]="Regtest";return BitcoinNetwork;}({});const FfiConverterTypeBitcoinNetwork=(()=>{const ordinalConverter=FfiConverterInt32;class FFIConverter extends AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return BitcoinNetwork.Bitcoin;case 2:return BitcoinNetwork.Testnet3;case 3:return BitcoinNetwork.Testnet4;case 4:return BitcoinNetwork.Signet;case 5:return BitcoinNetwork.Regtest;default:throw new UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value){case BitcoinNetwork.Bitcoin:return ordinalConverter.write(1,into);case BitcoinNetwork.Testnet3:return ordinalConverter.write(2,into);case BitcoinNetwork.Testnet4:return ordinalConverter.write(3,into);case BitcoinNetwork.Signet:return ordinalConverter.write(4,into);case BitcoinNetwork.Regtest:return ordinalConverter.write(5,into);}}allocationSize(value){return ordinalConverter.allocationSize(0);}}return new FFIConverter();})();// Enum: BuildTransferPackageOptions
|
|
2708
|
+
export let BuildTransferPackageOptions_Tags=/*#__PURE__*/function(BuildTransferPackageOptions_Tags){BuildTransferPackageOptions_Tags["BitcoinAddress"]="BitcoinAddress";BuildTransferPackageOptions_Tags["Bolt11Invoice"]="Bolt11Invoice";return BuildTransferPackageOptions_Tags;}({});export const BuildTransferPackageOptions=(()=>{class BitcoinAddress_ extends UniffiEnum{/**
|
|
2709
|
+
* @private
|
|
2710
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2711
|
+
*/[uniffiTypeNameSymbol]='BuildTransferPackageOptions';tag=BuildTransferPackageOptions_Tags.BitcoinAddress;constructor(inner){super('BuildTransferPackageOptions','BitcoinAddress');this.inner=Object.freeze(inner);}static new(inner){return new BitcoinAddress_(inner);}static instanceOf(obj){return obj.tag===BuildTransferPackageOptions_Tags.BitcoinAddress;}}class Bolt11Invoice_ extends UniffiEnum{/**
|
|
2712
|
+
* @private
|
|
2713
|
+
* This field is private and should not be used, use `tag` instead.
|
|
2714
|
+
*/[uniffiTypeNameSymbol]='BuildTransferPackageOptions';tag=BuildTransferPackageOptions_Tags.Bolt11Invoice;constructor(inner){super('BuildTransferPackageOptions','Bolt11Invoice');this.inner=Object.freeze(inner);}static new(inner){return new Bolt11Invoice_(inner);}static instanceOf(obj){return obj.tag===BuildTransferPackageOptions_Tags.Bolt11Invoice;}}function instanceOf(obj){return obj[uniffiTypeNameSymbol]==='BuildTransferPackageOptions';}return Object.freeze({instanceOf,BitcoinAddress:BitcoinAddress_,Bolt11Invoice:Bolt11Invoice_});})();// FfiConverter for enum BuildTransferPackageOptions
|
|
2715
|
+
const FfiConverterTypeBuildTransferPackageOptions=(()=>{const ordinalConverter=FfiConverterInt32;class FFIConverter extends AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new BuildTransferPackageOptions.BitcoinAddress({confirmationSpeed:FfiConverterTypeOnchainConfirmationSpeed.read(from)});case 2:return new BuildTransferPackageOptions.Bolt11Invoice({preferSpark:FfiConverterBool.read(from),completionTimeoutSecs:FfiConverterOptionalUInt32.read(from)});default:throw new UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case BuildTransferPackageOptions_Tags.BitcoinAddress:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterTypeOnchainConfirmationSpeed.write(inner.confirmationSpeed,into);return;}case BuildTransferPackageOptions_Tags.Bolt11Invoice:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterBool.write(inner.preferSpark,into);FfiConverterOptionalUInt32.write(inner.completionTimeoutSecs,into);return;}default:// Throwing from here means that BuildTransferPackageOptions_Tags hasn't matched an ordinal.
|
|
2716
|
+
throw new UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case BuildTransferPackageOptions_Tags.BitcoinAddress:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterTypeOnchainConfirmationSpeed.allocationSize(inner.confirmationSpeed);return size;}case BuildTransferPackageOptions_Tags.Bolt11Invoice:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterBool.allocationSize(inner.preferSpark);size+=FfiConverterOptionalUInt32.allocationSize(inner.completionTimeoutSecs);return size;}default:throw new UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: BuyBitcoinRequest
|
|
2637
2717
|
export let BuyBitcoinRequest_Tags=/*#__PURE__*/function(BuyBitcoinRequest_Tags){BuyBitcoinRequest_Tags["Moonpay"]="Moonpay";BuyBitcoinRequest_Tags["CashApp"]="CashApp";return BuyBitcoinRequest_Tags;}({});/**
|
|
2638
2718
|
* The available providers for buying Bitcoin
|
|
2639
2719
|
* Request to buy Bitcoin using an external provider.
|
|
@@ -3344,7 +3424,25 @@ export let ProvisionalPaymentDetails_Tags=/*#__PURE__*/function(ProvisionalPayme
|
|
|
3344
3424
|
* This field is private and should not be used, use `tag` instead.
|
|
3345
3425
|
*/[uniffiTypeNameSymbol]='ProvisionalPaymentDetails';tag=ProvisionalPaymentDetails_Tags.Token;constructor(inner){super('ProvisionalPaymentDetails','Token');this.inner=Object.freeze(inner);}static new(inner){return new Token_(inner);}static instanceOf(obj){return obj.tag===ProvisionalPaymentDetails_Tags.Token;}}function instanceOf(obj){return obj[uniffiTypeNameSymbol]==='ProvisionalPaymentDetails';}return Object.freeze({instanceOf,Bitcoin:Bitcoin_,Lightning:Lightning_,Spark:Spark_,Token:Token_});})();// FfiConverter for enum ProvisionalPaymentDetails
|
|
3346
3426
|
const FfiConverterTypeProvisionalPaymentDetails=(()=>{const ordinalConverter=FfiConverterInt32;class FFIConverter extends AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new ProvisionalPaymentDetails.Bitcoin({withdrawalAddress:FfiConverterString.read(from)});case 2:return new ProvisionalPaymentDetails.Lightning({invoice:FfiConverterString.read(from)});case 3:return new ProvisionalPaymentDetails.Spark({payRequest:FfiConverterString.read(from)});case 4:return new ProvisionalPaymentDetails.Token({tokenId:FfiConverterString.read(from),payRequest:FfiConverterString.read(from)});default:throw new UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case ProvisionalPaymentDetails_Tags.Bitcoin:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterString.write(inner.withdrawalAddress,into);return;}case ProvisionalPaymentDetails_Tags.Lightning:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterString.write(inner.invoice,into);return;}case ProvisionalPaymentDetails_Tags.Spark:{ordinalConverter.write(3,into);const inner=value.inner;FfiConverterString.write(inner.payRequest,into);return;}case ProvisionalPaymentDetails_Tags.Token:{ordinalConverter.write(4,into);const inner=value.inner;FfiConverterString.write(inner.tokenId,into);FfiConverterString.write(inner.payRequest,into);return;}default:// Throwing from here means that ProvisionalPaymentDetails_Tags hasn't matched an ordinal.
|
|
3347
|
-
throw new UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case ProvisionalPaymentDetails_Tags.Bitcoin:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterString.allocationSize(inner.withdrawalAddress);return size;}case ProvisionalPaymentDetails_Tags.Lightning:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterString.allocationSize(inner.invoice);return size;}case ProvisionalPaymentDetails_Tags.Spark:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterString.allocationSize(inner.payRequest);return size;}case ProvisionalPaymentDetails_Tags.Token:{const inner=value.inner;let size=ordinalConverter.allocationSize(4);size+=FfiConverterString.allocationSize(inner.tokenId);size+=FfiConverterString.allocationSize(inner.payRequest);return size;}default:throw new UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum:
|
|
3427
|
+
throw new UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case ProvisionalPaymentDetails_Tags.Bitcoin:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterString.allocationSize(inner.withdrawalAddress);return size;}case ProvisionalPaymentDetails_Tags.Lightning:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterString.allocationSize(inner.invoice);return size;}case ProvisionalPaymentDetails_Tags.Spark:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterString.allocationSize(inner.payRequest);return size;}case ProvisionalPaymentDetails_Tags.Token:{const inner=value.inner;let size=ordinalConverter.allocationSize(4);size+=FfiConverterString.allocationSize(inner.tokenId);size+=FfiConverterString.allocationSize(inner.payRequest);return size;}default:throw new UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: PublishSignedLnurlPayResponse
|
|
3428
|
+
export let PublishSignedLnurlPayResponse_Tags=/*#__PURE__*/function(PublishSignedLnurlPayResponse_Tags){PublishSignedLnurlPayResponse_Tags["SwapCompleted"]="SwapCompleted";PublishSignedLnurlPayResponse_Tags["PaymentSent"]="PaymentSent";return PublishSignedLnurlPayResponse_Tags;}({});export const PublishSignedLnurlPayResponse=(()=>{class SwapCompleted_ extends UniffiEnum{/**
|
|
3429
|
+
* @private
|
|
3430
|
+
* This field is private and should not be used, use `tag` instead.
|
|
3431
|
+
*/[uniffiTypeNameSymbol]='PublishSignedLnurlPayResponse';tag=PublishSignedLnurlPayResponse_Tags.SwapCompleted;constructor(){super('PublishSignedLnurlPayResponse','SwapCompleted');}static new(){return new SwapCompleted_();}static instanceOf(obj){return obj.tag===PublishSignedLnurlPayResponse_Tags.SwapCompleted;}}class PaymentSent_ extends UniffiEnum{/**
|
|
3432
|
+
* @private
|
|
3433
|
+
* This field is private and should not be used, use `tag` instead.
|
|
3434
|
+
*/[uniffiTypeNameSymbol]='PublishSignedLnurlPayResponse';tag=PublishSignedLnurlPayResponse_Tags.PaymentSent;constructor(inner){super('PublishSignedLnurlPayResponse','PaymentSent');this.inner=Object.freeze(inner);}static new(inner){return new PaymentSent_(inner);}static instanceOf(obj){return obj.tag===PublishSignedLnurlPayResponse_Tags.PaymentSent;}}function instanceOf(obj){return obj[uniffiTypeNameSymbol]==='PublishSignedLnurlPayResponse';}return Object.freeze({instanceOf,SwapCompleted:SwapCompleted_,PaymentSent:PaymentSent_});})();// FfiConverter for enum PublishSignedLnurlPayResponse
|
|
3435
|
+
const FfiConverterTypePublishSignedLnurlPayResponse=(()=>{const ordinalConverter=FfiConverterInt32;class FFIConverter extends AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new PublishSignedLnurlPayResponse.SwapCompleted();case 2:return new PublishSignedLnurlPayResponse.PaymentSent({response:FfiConverterTypeLnurlPayResponse.read(from)});default:throw new UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case PublishSignedLnurlPayResponse_Tags.SwapCompleted:{ordinalConverter.write(1,into);return;}case PublishSignedLnurlPayResponse_Tags.PaymentSent:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterTypeLnurlPayResponse.write(inner.response,into);return;}default:// Throwing from here means that PublishSignedLnurlPayResponse_Tags hasn't matched an ordinal.
|
|
3436
|
+
throw new UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case PublishSignedLnurlPayResponse_Tags.SwapCompleted:{return ordinalConverter.allocationSize(1);}case PublishSignedLnurlPayResponse_Tags.PaymentSent:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterTypeLnurlPayResponse.allocationSize(inner.response);return size;}default:throw new UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: PublishSignedTransferPackageResponse
|
|
3437
|
+
export let PublishSignedTransferPackageResponse_Tags=/*#__PURE__*/function(PublishSignedTransferPackageResponse_Tags){PublishSignedTransferPackageResponse_Tags["SwapCompleted"]="SwapCompleted";PublishSignedTransferPackageResponse_Tags["PaymentSent"]="PaymentSent";return PublishSignedTransferPackageResponse_Tags;}({});export const PublishSignedTransferPackageResponse=(()=>{class SwapCompleted_ extends UniffiEnum{/**
|
|
3438
|
+
* @private
|
|
3439
|
+
* This field is private and should not be used, use `tag` instead.
|
|
3440
|
+
*/[uniffiTypeNameSymbol]='PublishSignedTransferPackageResponse';tag=PublishSignedTransferPackageResponse_Tags.SwapCompleted;constructor(){super('PublishSignedTransferPackageResponse','SwapCompleted');}static new(){return new SwapCompleted_();}static instanceOf(obj){return obj.tag===PublishSignedTransferPackageResponse_Tags.SwapCompleted;}}class PaymentSent_ extends UniffiEnum{/**
|
|
3441
|
+
* @private
|
|
3442
|
+
* This field is private and should not be used, use `tag` instead.
|
|
3443
|
+
*/[uniffiTypeNameSymbol]='PublishSignedTransferPackageResponse';tag=PublishSignedTransferPackageResponse_Tags.PaymentSent;constructor(inner){super('PublishSignedTransferPackageResponse','PaymentSent');this.inner=Object.freeze(inner);}static new(inner){return new PaymentSent_(inner);}static instanceOf(obj){return obj.tag===PublishSignedTransferPackageResponse_Tags.PaymentSent;}}function instanceOf(obj){return obj[uniffiTypeNameSymbol]==='PublishSignedTransferPackageResponse';}return Object.freeze({instanceOf,SwapCompleted:SwapCompleted_,PaymentSent:PaymentSent_});})();// FfiConverter for enum PublishSignedTransferPackageResponse
|
|
3444
|
+
const FfiConverterTypePublishSignedTransferPackageResponse=(()=>{const ordinalConverter=FfiConverterInt32;class FFIConverter extends AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new PublishSignedTransferPackageResponse.SwapCompleted();case 2:return new PublishSignedTransferPackageResponse.PaymentSent({payment:FfiConverterTypePayment.read(from)});default:throw new UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case PublishSignedTransferPackageResponse_Tags.SwapCompleted:{ordinalConverter.write(1,into);return;}case PublishSignedTransferPackageResponse_Tags.PaymentSent:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterTypePayment.write(inner.payment,into);return;}default:// Throwing from here means that PublishSignedTransferPackageResponse_Tags hasn't matched an ordinal.
|
|
3445
|
+
throw new UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case PublishSignedTransferPackageResponse_Tags.SwapCompleted:{return ordinalConverter.allocationSize(1);}case PublishSignedTransferPackageResponse_Tags.PaymentSent:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterTypePayment.allocationSize(inner.payment);return size;}default:throw new UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: ReceivePaymentMethod
|
|
3348
3446
|
export let ReceivePaymentMethod_Tags=/*#__PURE__*/function(ReceivePaymentMethod_Tags){ReceivePaymentMethod_Tags["SparkAddress"]="SparkAddress";ReceivePaymentMethod_Tags["SparkInvoice"]="SparkInvoice";ReceivePaymentMethod_Tags["BitcoinAddress"]="BitcoinAddress";ReceivePaymentMethod_Tags["Bolt11Invoice"]="Bolt11Invoice";return ReceivePaymentMethod_Tags;}({});export const ReceivePaymentMethod=(()=>{class SparkAddress_ extends UniffiEnum{/**
|
|
3349
3447
|
* @private
|
|
3350
3448
|
* This field is private and should not be used, use `tag` instead.
|
|
@@ -3745,7 +3843,40 @@ export let SuccessActionProcessed_Tags=/*#__PURE__*/function(SuccessActionProces
|
|
|
3745
3843
|
* Contents are identical to [`SuccessAction`], except for AES where the ciphertext is decrypted.
|
|
3746
3844
|
*/// FfiConverter for enum SuccessActionProcessed
|
|
3747
3845
|
const FfiConverterTypeSuccessActionProcessed=(()=>{const ordinalConverter=FfiConverterInt32;class FFIConverter extends AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new SuccessActionProcessed.Aes({result:FfiConverterTypeAesSuccessActionDataResult.read(from)});case 2:return new SuccessActionProcessed.Message({data:FfiConverterTypeMessageSuccessActionData.read(from)});case 3:return new SuccessActionProcessed.Url({data:FfiConverterTypeUrlSuccessActionData.read(from)});default:throw new UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case SuccessActionProcessed_Tags.Aes:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterTypeAesSuccessActionDataResult.write(inner.result,into);return;}case SuccessActionProcessed_Tags.Message:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterTypeMessageSuccessActionData.write(inner.data,into);return;}case SuccessActionProcessed_Tags.Url:{ordinalConverter.write(3,into);const inner=value.inner;FfiConverterTypeUrlSuccessActionData.write(inner.data,into);return;}default:// Throwing from here means that SuccessActionProcessed_Tags hasn't matched an ordinal.
|
|
3748
|
-
throw new UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case SuccessActionProcessed_Tags.Aes:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterTypeAesSuccessActionDataResult.allocationSize(inner.result);return size;}case SuccessActionProcessed_Tags.Message:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterTypeMessageSuccessActionData.allocationSize(inner.data);return size;}case SuccessActionProcessed_Tags.Url:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterTypeUrlSuccessActionData.allocationSize(inner.data);return size;}default:throw new UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();export let TokenTransactionType=/*#__PURE__*/function(TokenTransactionType){TokenTransactionType[TokenTransactionType["Transfer"]=0]="Transfer";TokenTransactionType[TokenTransactionType["Mint"]=1]="Mint";TokenTransactionType[TokenTransactionType["Burn"]=2]="Burn";return TokenTransactionType;}({});const FfiConverterTypeTokenTransactionType=(()=>{const ordinalConverter=FfiConverterInt32;class FFIConverter extends AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return TokenTransactionType.Transfer;case 2:return TokenTransactionType.Mint;case 3:return TokenTransactionType.Burn;default:throw new UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value){case TokenTransactionType.Transfer:return ordinalConverter.write(1,into);case TokenTransactionType.Mint:return ordinalConverter.write(2,into);case TokenTransactionType.Burn:return ordinalConverter.write(3,into);}}allocationSize(value){return ordinalConverter.allocationSize(0);}}return new FFIConverter();})();// Enum:
|
|
3846
|
+
throw new UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case SuccessActionProcessed_Tags.Aes:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterTypeAesSuccessActionDataResult.allocationSize(inner.result);return size;}case SuccessActionProcessed_Tags.Message:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterTypeMessageSuccessActionData.allocationSize(inner.data);return size;}case SuccessActionProcessed_Tags.Url:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterTypeUrlSuccessActionData.allocationSize(inner.data);return size;}default:throw new UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();export let TokenTransactionType=/*#__PURE__*/function(TokenTransactionType){TokenTransactionType[TokenTransactionType["Transfer"]=0]="Transfer";TokenTransactionType[TokenTransactionType["Mint"]=1]="Mint";TokenTransactionType[TokenTransactionType["Burn"]=2]="Burn";return TokenTransactionType;}({});const FfiConverterTypeTokenTransactionType=(()=>{const ordinalConverter=FfiConverterInt32;class FFIConverter extends AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return TokenTransactionType.Transfer;case 2:return TokenTransactionType.Mint;case 3:return TokenTransactionType.Burn;default:throw new UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value){case TokenTransactionType.Transfer:return ordinalConverter.write(1,into);case TokenTransactionType.Mint:return ordinalConverter.write(2,into);case TokenTransactionType.Burn:return ordinalConverter.write(3,into);}}allocationSize(value){return ordinalConverter.allocationSize(0);}}return new FFIConverter();})();// Enum: TransferSignature
|
|
3847
|
+
export let TransferSignature_Tags=/*#__PURE__*/function(TransferSignature_Tags){TransferSignature_Tags["Transfer"]="Transfer";TransferSignature_Tags["Token"]="Token";return TransferSignature_Tags;}({});export const TransferSignature=(()=>{class Transfer_ extends UniffiEnum{/**
|
|
3848
|
+
* @private
|
|
3849
|
+
* This field is private and should not be used, use `tag` instead.
|
|
3850
|
+
*/[uniffiTypeNameSymbol]='TransferSignature';tag=TransferSignature_Tags.Transfer;constructor(inner){super('TransferSignature','Transfer');this.inner=Object.freeze(inner);}static new(inner){return new Transfer_(inner);}static instanceOf(obj){return obj.tag===TransferSignature_Tags.Transfer;}}class Token_ extends UniffiEnum{/**
|
|
3851
|
+
* @private
|
|
3852
|
+
* This field is private and should not be used, use `tag` instead.
|
|
3853
|
+
*/[uniffiTypeNameSymbol]='TransferSignature';tag=TransferSignature_Tags.Token;constructor(inner){super('TransferSignature','Token');this.inner=Object.freeze(inner);}static new(inner){return new Token_(inner);}static instanceOf(obj){return obj.tag===TransferSignature_Tags.Token;}}function instanceOf(obj){return obj[uniffiTypeNameSymbol]==='TransferSignature';}return Object.freeze({instanceOf,Transfer:Transfer_,Token:Token_});})();// FfiConverter for enum TransferSignature
|
|
3854
|
+
const FfiConverterTypeTransferSignature=(()=>{const ordinalConverter=FfiConverterInt32;class FFIConverter extends AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new TransferSignature.Transfer({signed:FfiConverterTypeExternalPreparedTransfer.read(from)});case 2:return new TransferSignature.Token({signed:FfiConverterTypeExternalPreparedTokenTransaction.read(from)});default:throw new UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case TransferSignature_Tags.Transfer:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterTypeExternalPreparedTransfer.write(inner.signed,into);return;}case TransferSignature_Tags.Token:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterTypeExternalPreparedTokenTransaction.write(inner.signed,into);return;}default:// Throwing from here means that TransferSignature_Tags hasn't matched an ordinal.
|
|
3855
|
+
throw new UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case TransferSignature_Tags.Transfer:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterTypeExternalPreparedTransfer.allocationSize(inner.signed);return size;}case TransferSignature_Tags.Token:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterTypeExternalPreparedTokenTransaction.allocationSize(inner.signed);return size;}default:throw new UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: TransferTarget
|
|
3856
|
+
export let TransferTarget_Tags=/*#__PURE__*/function(TransferTarget_Tags){TransferTarget_Tags["Spark"]="Spark";TransferTarget_Tags["Lightning"]="Lightning";TransferTarget_Tags["CoopExit"]="CoopExit";return TransferTarget_Tags;}({});export const TransferTarget=(()=>{class Spark_ extends UniffiEnum{/**
|
|
3857
|
+
* @private
|
|
3858
|
+
* This field is private and should not be used, use `tag` instead.
|
|
3859
|
+
*/[uniffiTypeNameSymbol]='TransferTarget';tag=TransferTarget_Tags.Spark;constructor(inner){super('TransferTarget','Spark');this.inner=Object.freeze(inner);}static new(inner){return new Spark_(inner);}static instanceOf(obj){return obj.tag===TransferTarget_Tags.Spark;}}class Lightning_ extends UniffiEnum{/**
|
|
3860
|
+
* @private
|
|
3861
|
+
* This field is private and should not be used, use `tag` instead.
|
|
3862
|
+
*/[uniffiTypeNameSymbol]='TransferTarget';tag=TransferTarget_Tags.Lightning;constructor(inner){super('TransferTarget','Lightning');this.inner=Object.freeze(inner);}static new(inner){return new Lightning_(inner);}static instanceOf(obj){return obj.tag===TransferTarget_Tags.Lightning;}}class CoopExit_ extends UniffiEnum{/**
|
|
3863
|
+
* @private
|
|
3864
|
+
* This field is private and should not be used, use `tag` instead.
|
|
3865
|
+
*/[uniffiTypeNameSymbol]='TransferTarget';tag=TransferTarget_Tags.CoopExit;constructor(inner){super('TransferTarget','CoopExit');this.inner=Object.freeze(inner);}static new(inner){return new CoopExit_(inner);}static instanceOf(obj){return obj.tag===TransferTarget_Tags.CoopExit;}}function instanceOf(obj){return obj[uniffiTypeNameSymbol]==='TransferTarget';}return Object.freeze({instanceOf,Spark:Spark_,Lightning:Lightning_,CoopExit:CoopExit_});})();// FfiConverter for enum TransferTarget
|
|
3866
|
+
const FfiConverterTypeTransferTarget=(()=>{const ordinalConverter=FfiConverterInt32;class FFIConverter extends AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new TransferTarget.Spark({address:FfiConverterString.read(from),sparkInvoice:FfiConverterOptionalString.read(from)});case 2:return new TransferTarget.Lightning({bolt11:FfiConverterString.read(from),lnurlPay:FfiConverterOptionalTypeLnurlPayContext.read(from),feePolicy:FfiConverterTypeFeePolicy.read(from),completionTimeoutSecs:FfiConverterOptionalUInt32.read(from)});case 3:return new TransferTarget.CoopExit({address:FfiConverterString.read(from),feeQuote:FfiConverterTypeSendOnchainFeeQuote.read(from),confirmationSpeed:FfiConverterTypeOnchainConfirmationSpeed.read(from)});default:throw new UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case TransferTarget_Tags.Spark:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterString.write(inner.address,into);FfiConverterOptionalString.write(inner.sparkInvoice,into);return;}case TransferTarget_Tags.Lightning:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterString.write(inner.bolt11,into);FfiConverterOptionalTypeLnurlPayContext.write(inner.lnurlPay,into);FfiConverterTypeFeePolicy.write(inner.feePolicy,into);FfiConverterOptionalUInt32.write(inner.completionTimeoutSecs,into);return;}case TransferTarget_Tags.CoopExit:{ordinalConverter.write(3,into);const inner=value.inner;FfiConverterString.write(inner.address,into);FfiConverterTypeSendOnchainFeeQuote.write(inner.feeQuote,into);FfiConverterTypeOnchainConfirmationSpeed.write(inner.confirmationSpeed,into);return;}default:// Throwing from here means that TransferTarget_Tags hasn't matched an ordinal.
|
|
3867
|
+
throw new UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case TransferTarget_Tags.Spark:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterString.allocationSize(inner.address);size+=FfiConverterOptionalString.allocationSize(inner.sparkInvoice);return size;}case TransferTarget_Tags.Lightning:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterString.allocationSize(inner.bolt11);size+=FfiConverterOptionalTypeLnurlPayContext.allocationSize(inner.lnurlPay);size+=FfiConverterTypeFeePolicy.allocationSize(inner.feePolicy);size+=FfiConverterOptionalUInt32.allocationSize(inner.completionTimeoutSecs);return size;}case TransferTarget_Tags.CoopExit:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterString.allocationSize(inner.address);size+=FfiConverterTypeSendOnchainFeeQuote.allocationSize(inner.feeQuote);size+=FfiConverterTypeOnchainConfirmationSpeed.allocationSize(inner.confirmationSpeed);return size;}default:throw new UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: UnsignedTransferPackage
|
|
3868
|
+
export let UnsignedTransferPackage_Tags=/*#__PURE__*/function(UnsignedTransferPackage_Tags){UnsignedTransferPackage_Tags["Swap"]="Swap";UnsignedTransferPackage_Tags["Transfer"]="Transfer";UnsignedTransferPackage_Tags["Token"]="Token";return UnsignedTransferPackage_Tags;}({});export const UnsignedTransferPackage=(()=>{class Swap_ extends UniffiEnum{/**
|
|
3869
|
+
* @private
|
|
3870
|
+
* This field is private and should not be used, use `tag` instead.
|
|
3871
|
+
*/[uniffiTypeNameSymbol]='UnsignedTransferPackage';tag=UnsignedTransferPackage_Tags.Swap;constructor(inner){super('UnsignedTransferPackage','Swap');this.inner=Object.freeze(inner);}static new(inner){return new Swap_(inner);}static instanceOf(obj){return obj.tag===UnsignedTransferPackage_Tags.Swap;}}class Transfer_ extends UniffiEnum{/**
|
|
3872
|
+
* @private
|
|
3873
|
+
* This field is private and should not be used, use `tag` instead.
|
|
3874
|
+
*/[uniffiTypeNameSymbol]='UnsignedTransferPackage';tag=UnsignedTransferPackage_Tags.Transfer;constructor(inner){super('UnsignedTransferPackage','Transfer');this.inner=Object.freeze(inner);}static new(inner){return new Transfer_(inner);}static instanceOf(obj){return obj.tag===UnsignedTransferPackage_Tags.Transfer;}}class Token_ extends UniffiEnum{/**
|
|
3875
|
+
* @private
|
|
3876
|
+
* This field is private and should not be used, use `tag` instead.
|
|
3877
|
+
*/[uniffiTypeNameSymbol]='UnsignedTransferPackage';tag=UnsignedTransferPackage_Tags.Token;constructor(inner){super('UnsignedTransferPackage','Token');this.inner=Object.freeze(inner);}static new(inner){return new Token_(inner);}static instanceOf(obj){return obj.tag===UnsignedTransferPackage_Tags.Token;}}function instanceOf(obj){return obj[uniffiTypeNameSymbol]==='UnsignedTransferPackage';}return Object.freeze({instanceOf,Swap:Swap_,Transfer:Transfer_,Token:Token_});})();// FfiConverter for enum UnsignedTransferPackage
|
|
3878
|
+
const FfiConverterTypeUnsignedTransferPackage=(()=>{const ordinalConverter=FfiConverterInt32;class FFIConverter extends AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new UnsignedTransferPackage.Swap({prepareTransfer:FfiConverterTypeExternalPrepareTransferRequest.read(from),targetAmounts:FfiConverterArrayUInt64.read(from),amountSat:FfiConverterUInt64.read(from),feeSat:FfiConverterUInt64.read(from)});case 2:return new UnsignedTransferPackage.Transfer({prepareTransfer:FfiConverterTypeExternalPrepareTransferRequest.read(from),amountSat:FfiConverterUInt64.read(from),feeSat:FfiConverterUInt64.read(from),target:FfiConverterTypeTransferTarget.read(from)});case 3:return new UnsignedTransferPackage.Token({prepareTokenTransaction:FfiConverterTypeExternalPrepareTokenTransactionRequest.read(from),tokenContext:FfiConverterArrayBuffer.read(from),tokenIdentifier:FfiConverterString.read(from),amount:FfiConverterTypeu128.read(from),fee:FfiConverterTypeu128.read(from),isSwap:FfiConverterBool.read(from)});default:throw new UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case UnsignedTransferPackage_Tags.Swap:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterTypeExternalPrepareTransferRequest.write(inner.prepareTransfer,into);FfiConverterArrayUInt64.write(inner.targetAmounts,into);FfiConverterUInt64.write(inner.amountSat,into);FfiConverterUInt64.write(inner.feeSat,into);return;}case UnsignedTransferPackage_Tags.Transfer:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterTypeExternalPrepareTransferRequest.write(inner.prepareTransfer,into);FfiConverterUInt64.write(inner.amountSat,into);FfiConverterUInt64.write(inner.feeSat,into);FfiConverterTypeTransferTarget.write(inner.target,into);return;}case UnsignedTransferPackage_Tags.Token:{ordinalConverter.write(3,into);const inner=value.inner;FfiConverterTypeExternalPrepareTokenTransactionRequest.write(inner.prepareTokenTransaction,into);FfiConverterArrayBuffer.write(inner.tokenContext,into);FfiConverterString.write(inner.tokenIdentifier,into);FfiConverterTypeu128.write(inner.amount,into);FfiConverterTypeu128.write(inner.fee,into);FfiConverterBool.write(inner.isSwap,into);return;}default:// Throwing from here means that UnsignedTransferPackage_Tags hasn't matched an ordinal.
|
|
3879
|
+
throw new UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case UnsignedTransferPackage_Tags.Swap:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterTypeExternalPrepareTransferRequest.allocationSize(inner.prepareTransfer);size+=FfiConverterArrayUInt64.allocationSize(inner.targetAmounts);size+=FfiConverterUInt64.allocationSize(inner.amountSat);size+=FfiConverterUInt64.allocationSize(inner.feeSat);return size;}case UnsignedTransferPackage_Tags.Transfer:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterTypeExternalPrepareTransferRequest.allocationSize(inner.prepareTransfer);size+=FfiConverterUInt64.allocationSize(inner.amountSat);size+=FfiConverterUInt64.allocationSize(inner.feeSat);size+=FfiConverterTypeTransferTarget.allocationSize(inner.target);return size;}case UnsignedTransferPackage_Tags.Token:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterTypeExternalPrepareTokenTransactionRequest.allocationSize(inner.prepareTokenTransaction);size+=FfiConverterArrayBuffer.allocationSize(inner.tokenContext);size+=FfiConverterString.allocationSize(inner.tokenIdentifier);size+=FfiConverterTypeu128.allocationSize(inner.amount);size+=FfiConverterTypeu128.allocationSize(inner.fee);size+=FfiConverterBool.allocationSize(inner.isSwap);return size;}default:throw new UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: UpdateDepositPayload
|
|
3749
3880
|
export let UpdateDepositPayload_Tags=/*#__PURE__*/function(UpdateDepositPayload_Tags){UpdateDepositPayload_Tags["ClaimError"]="ClaimError";UpdateDepositPayload_Tags["Refund"]="Refund";return UpdateDepositPayload_Tags;}({});export const UpdateDepositPayload=(()=>{class ClaimError_ extends UniffiEnum{/**
|
|
3750
3881
|
* @private
|
|
3751
3882
|
* This field is private and should not be used, use `tag` instead.
|
|
@@ -3840,7 +3971,7 @@ constructor(pointer){super();this[pointerLiteralSymbol]=pointer;this[destructorG
|
|
|
3840
3971
|
* [`TransferAuthorization`] to hand to the new owner, who
|
|
3841
3972
|
* claims it via [`BreezSdk::claim_lightning_address_transfer`].
|
|
3842
3973
|
* Errors if the current owner has no lightning address registered.
|
|
3843
|
-
*/async authorizeLightningAddressTransfer(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_authorize_lightning_address_transfer(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeAuthorizeTransferRequest.lower(request));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypeTransferAuthorization.lift.bind(FfiConverterTypeTransferAuthorization),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
3974
|
+
*/async authorizeLightningAddressTransfer(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_authorize_lightning_address_transfer(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeAuthorizeTransferRequest.lower(request));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypeTransferAuthorization.lift.bind(FfiConverterTypeTransferAuthorization),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async buildUnsignedLnurlPayPackage(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_build_unsigned_lnurl_pay_package(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeBuildUnsignedLnurlPayPackageRequest.lower(request));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypeUnsignedTransferPackage.lift.bind(FfiConverterTypeUnsignedTransferPackage),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async buildUnsignedTransferPackage(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_build_unsigned_transfer_package(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeBuildUnsignedTransferPackageRequest.lower(request));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypeUnsignedTransferPackage.lift.bind(FfiConverterTypeUnsignedTransferPackage),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
3844
3975
|
* Initiates a Bitcoin purchase flow via an external provider.
|
|
3845
3976
|
*
|
|
3846
3977
|
* Returns a URL the user should open to complete the purchase.
|
|
@@ -3986,7 +4117,7 @@ constructor(pointer){super();this[pointerLiteralSymbol]=pointer;this[destructorG
|
|
|
3986
4117
|
*
|
|
3987
4118
|
* Manual runs do not emit events; events ([`SdkEvent::AutoOptimization`])
|
|
3988
4119
|
* are reserved for the background auto-optimizer.
|
|
3989
|
-
*/async optimizeLeaves(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_optimize_leaves(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeOptimizeLeavesRequest.lower(request));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypeOptimizeLeavesResponse.lift.bind(FfiConverterTypeOptimizeLeavesResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async parse(input,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_parse(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterString.lower(input));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypeInputType.lift.bind(FfiConverterTypeInputType),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async prepareLnurlPay(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_lnurl_pay(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypePrepareLnurlPayRequest.lower(request));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypePrepareLnurlPayResponse.lift.bind(FfiConverterTypePrepareLnurlPayResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async prepareSendPayment(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_payment(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypePrepareSendPaymentRequest.lower(request));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypePrepareSendPaymentResponse.lift.bind(FfiConverterTypePrepareSendPaymentResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async receivePayment(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_receive_payment(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeReceivePaymentRequest.lower(request));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypeReceivePaymentResponse.lift.bind(FfiConverterTypeReceivePaymentResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
4120
|
+
*/async optimizeLeaves(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_optimize_leaves(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeOptimizeLeavesRequest.lower(request));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypeOptimizeLeavesResponse.lift.bind(FfiConverterTypeOptimizeLeavesResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async parse(input,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_parse(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterString.lower(input));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypeInputType.lift.bind(FfiConverterTypeInputType),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async prepareLnurlPay(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_lnurl_pay(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypePrepareLnurlPayRequest.lower(request));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypePrepareLnurlPayResponse.lift.bind(FfiConverterTypePrepareLnurlPayResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async prepareSendPayment(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_payment(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypePrepareSendPaymentRequest.lower(request));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypePrepareSendPaymentResponse.lift.bind(FfiConverterTypePrepareSendPaymentResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async publishSignedLnurlPayPackage(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_publish_signed_lnurl_pay_package(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypePublishSignedLnurlPayPackageRequest.lower(request));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypePublishSignedLnurlPayResponse.lift.bind(FfiConverterTypePublishSignedLnurlPayResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async publishSignedTransferPackage(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_publish_signed_transfer_package(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypePublishSignedTransferPackageRequest.lower(request));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypePublishSignedTransferPackageResponse.lift.bind(FfiConverterTypePublishSignedTransferPackageResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async receivePayment(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_receive_payment(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeReceivePaymentRequest.lower(request));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypeReceivePaymentResponse.lift.bind(FfiConverterTypeReceivePaymentResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
3990
4121
|
* Get the recommended BTC fees based on the configured chain service.
|
|
3991
4122
|
*/async recommendedFees(asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_recommended_fees(uniffiTypeBreezSdkObjectFactory.clonePointer(this));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypeRecommendedFees.lift.bind(FfiConverterTypeRecommendedFees),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async refundDeposit(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_refund_deposit(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeRefundDepositRequest.lower(request));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypeRefundDepositResponse.lift.bind(FfiConverterTypeRefundDepositResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
3992
4123
|
* Runs one pass of the pending-conversion refunder.
|
|
@@ -4246,6 +4377,11 @@ constructor(pointer){super();this[pointerLiteralSymbol]=pointer;this[destructorG
|
|
|
4246
4377
|
*/async getIdentityPublicKey(asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_get_identity_public_key(uniffiTypeExternalSparkSignerImplObjectFactory.clonePointer(this));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypePublicKeyBytes.lift.bind(FfiConverterTypePublicKeyBytes),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSignerError.lift.bind(FfiConverterTypeSignerError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
4247
4378
|
* The signing public key for a tree leaf.
|
|
4248
4379
|
*/async getPublicKeyForLeaf(leafId,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_get_public_key_for_leaf(uniffiTypeExternalSparkSignerImplObjectFactory.clonePointer(this),FfiConverterTypeExternalTreeNodeId.lower(leafId));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypePublicKeyBytes.lift.bind(FfiConverterTypePublicKeyBytes),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSignerError.lift.bind(FfiConverterTypeSignerError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
4380
|
+
* Whether this signer is backed by a remote service, so its operations are
|
|
4381
|
+
* network round-trips rather than local computation. Local signers return
|
|
4382
|
+
* false; a hosted signer like Turnkey returns true so the SDK can avoid
|
|
4383
|
+
* redundant calls, e.g. re-deriving keys for leaves it has already verified.
|
|
4384
|
+
*/isRemote(){return FfiConverterBool.lift(uniffiCaller.rustCall(/*caller:*/callStatus=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_is_remote(uniffiTypeExternalSparkSignerImplObjectFactory.clonePointer(this),callStatus);},/*liftString:*/FfiConverterString.lift));}/**
|
|
4249
4385
|
* The static-deposit signing public key at `index`.
|
|
4250
4386
|
*/async getStaticDepositPublicKey(index,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_get_static_deposit_public_key(uniffiTypeExternalSparkSignerImplObjectFactory.clonePointer(this),FfiConverterUInt32.lower(index));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypePublicKeyBytes.lift.bind(FfiConverterTypePublicKeyBytes),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSignerError.lift.bind(FfiConverterTypeSignerError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
4251
4387
|
* ECDSA-sign a server authentication challenge with the identity key.
|
|
@@ -4280,7 +4416,7 @@ const uniffiCallbackInterfaceExternalSparkSigner={// Create the VTable using a s
|
|
|
4280
4416
|
// ts automatically converts these into C callback functions.
|
|
4281
4417
|
vtable:{getIdentityPublicKey:(uniffiHandle,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return await jsCallback.getIdentityPublicKey({signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterTypePublicKeyBytes.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
|
|
4282
4418
|
callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=uniffiTraitInterfaceCallAsyncWithError(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SignerError.instanceOf,/*lowerError:*/FfiConverterTypeSignerError.lower.bind(FfiConverterTypeSignerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},getPublicKeyForLeaf:(uniffiHandle,leafId,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return await jsCallback.getPublicKeyForLeaf(FfiConverterTypeExternalTreeNodeId.lift(leafId),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterTypePublicKeyBytes.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
|
|
4283
|
-
callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=uniffiTraitInterfaceCallAsyncWithError(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SignerError.instanceOf,/*lowerError:*/FfiConverterTypeSignerError.lower.bind(FfiConverterTypeSignerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},getStaticDepositPublicKey:(uniffiHandle,index,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return await jsCallback.getStaticDepositPublicKey(FfiConverterUInt32.lift(index),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterTypePublicKeyBytes.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
|
|
4419
|
+
callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=uniffiTraitInterfaceCallAsyncWithError(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SignerError.instanceOf,/*lowerError:*/FfiConverterTypeSignerError.lower.bind(FfiConverterTypeSignerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},isRemote:uniffiHandle=>{const uniffiMakeCall=()=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return jsCallback.isRemote();};const uniffiResult=UniffiResult.ready();const uniffiHandleSuccess=obj=>{UniffiResult.writeSuccess(uniffiResult,FfiConverterBool.lower(obj));};const uniffiHandleError=(code,errBuf)=>{UniffiResult.writeError(uniffiResult,code,errBuf);};uniffiTraitInterfaceCall(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*lowerString:*/FfiConverterString.lower);return uniffiResult;},getStaticDepositPublicKey:(uniffiHandle,index,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return await jsCallback.getStaticDepositPublicKey(FfiConverterUInt32.lift(index),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterTypePublicKeyBytes.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
|
|
4284
4420
|
callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=uniffiTraitInterfaceCallAsyncWithError(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SignerError.instanceOf,/*lowerError:*/FfiConverterTypeSignerError.lower.bind(FfiConverterTypeSignerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},signAuthenticationChallenge:(uniffiHandle,challenge,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return await jsCallback.signAuthenticationChallenge(FfiConverterArrayBuffer.lift(challenge),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterTypeEcdsaSignatureBytes.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
|
|
4285
4421
|
callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=uniffiTraitInterfaceCallAsyncWithError(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SignerError.instanceOf,/*lowerError:*/FfiConverterTypeSignerError.lower.bind(FfiConverterTypeSignerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},signMessage:(uniffiHandle,message,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return await jsCallback.signMessage(FfiConverterArrayBuffer.lift(message),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterTypeEcdsaSignatureBytes.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
|
|
4286
4422
|
callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=uniffiTraitInterfaceCallAsyncWithError(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SignerError.instanceOf,/*lowerError:*/FfiConverterTypeSignerError.lower.bind(FfiConverterTypeSignerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},signFrost:(uniffiHandle,jobs,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return await jsCallback.signFrost(FfiConverterArrayTypeExternalFrostJob.lift(jobs),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterArrayTypeExternalFrostShareResult.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
|
|
@@ -4615,6 +4751,14 @@ FfiConverterTypeRestClient.drop(uniffiHandle);}},register:()=>{nativeModule().ub
|
|
|
4615
4751
|
* - `api_type`: The API type to be used.
|
|
4616
4752
|
* - `credentials`: Optional credentials for basic authentication.
|
|
4617
4753
|
*/async withRestChainService(url,apiType,credentials,asyncOpts_){const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_rest_chain_service(uniffiTypeSdkBuilderObjectFactory.clonePointer(this),FfiConverterString.lower(url),FfiConverterTypeChainApiType.lower(apiType),FfiConverterOptionalTypeCredentials.lower(credentials));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_void,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_void,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_void,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_void,/*liftFunc:*/_v=>{},/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_);}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
4754
|
+
* Overrides the session store used to cache auth tokens, replacing the one
|
|
4755
|
+
* the backend provides. Supply any [`SessionStore`]: for example one that
|
|
4756
|
+
* wraps the backend's own store (from
|
|
4757
|
+
* [`default_session_store`](crate::default_session_store)) to add at-rest
|
|
4758
|
+
* encryption, which the SDK does not apply itself.
|
|
4759
|
+
* Arguments:
|
|
4760
|
+
* - `session_store`: The session store to use in place of the backend's.
|
|
4761
|
+
*/async withSessionStore(sessionStore,asyncOpts_){const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_session_store(uniffiTypeSdkBuilderObjectFactory.clonePointer(this),FfiConverterTypeSessionStore.lower(sessionStore));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_void,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_void,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_void,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_void,/*liftFunc:*/_v=>{},/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_);}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
4618
4762
|
* Threads a shared [`SdkContext`](crate::SdkContext) into the builder.
|
|
4619
4763
|
*
|
|
4620
4764
|
* Construct the context once via
|
|
@@ -4978,7 +5122,8 @@ const FfiConverterOptionalTypeConversionEstimate=new FfiConverterOptional(FfiCon
|
|
|
4978
5122
|
const FfiConverterOptionalTypeConversionOptions=new FfiConverterOptional(FfiConverterTypeConversionOptions);// FfiConverter for Credentials | undefined
|
|
4979
5123
|
const FfiConverterOptionalTypeCredentials=new FfiConverterOptional(FfiConverterTypeCredentials);// FfiConverter for CrossChainConfig | undefined
|
|
4980
5124
|
const FfiConverterOptionalTypeCrossChainConfig=new FfiConverterOptional(FfiConverterTypeCrossChainConfig);// FfiConverter for LightningAddressInfo | undefined
|
|
4981
|
-
const FfiConverterOptionalTypeLightningAddressInfo=new FfiConverterOptional(FfiConverterTypeLightningAddressInfo);// FfiConverter for
|
|
5125
|
+
const FfiConverterOptionalTypeLightningAddressInfo=new FfiConverterOptional(FfiConverterTypeLightningAddressInfo);// FfiConverter for LnurlPayContext | undefined
|
|
5126
|
+
const FfiConverterOptionalTypeLnurlPayContext=new FfiConverterOptional(FfiConverterTypeLnurlPayContext);// FfiConverter for LnurlPayInfo | undefined
|
|
4982
5127
|
const FfiConverterOptionalTypeLnurlPayInfo=new FfiConverterOptional(FfiConverterTypeLnurlPayInfo);// FfiConverter for LnurlReceiveMetadata | undefined
|
|
4983
5128
|
const FfiConverterOptionalTypeLnurlReceiveMetadata=new FfiConverterOptional(FfiConverterTypeLnurlReceiveMetadata);// FfiConverter for LnurlWithdrawInfo | undefined
|
|
4984
5129
|
const FfiConverterOptionalTypeLnurlWithdrawInfo=new FfiConverterOptional(FfiConverterTypeLnurlWithdrawInfo);// FfiConverter for OutgoingChange | undefined
|
|
@@ -5036,12 +5181,14 @@ const FfiConverterArrayTypeStoredCrossChainSwap=new FfiConverterArray(FfiConvert
|
|
|
5036
5181
|
const FfiConverterArrayTypeTokenMetadata=new FfiConverterArray(FfiConverterTypeTokenMetadata);// FfiConverter for Array<Utxo>
|
|
5037
5182
|
const FfiConverterArrayTypeUtxo=new FfiConverterArray(FfiConverterTypeUtxo);// FfiConverter for Array<Webhook>
|
|
5038
5183
|
const FfiConverterArrayTypeWebhook=new FfiConverterArray(FfiConverterTypeWebhook);// FfiConverter for Array<string>
|
|
5039
|
-
const FfiConverterArrayString=new FfiConverterArray(FfiConverterString);// FfiConverter for
|
|
5184
|
+
const FfiConverterArrayString=new FfiConverterArray(FfiConverterString);// FfiConverter for Array</*u64*/bigint>
|
|
5185
|
+
const FfiConverterArrayUInt64=new FfiConverterArray(FfiConverterUInt64);// FfiConverter for Map<string, Array<Payment>>
|
|
5040
5186
|
const FfiConverterMapStringArrayTypePayment=new FfiConverterMap(FfiConverterString,FfiConverterArrayTypePayment);// FfiConverter for U128 | undefined
|
|
5041
5187
|
const FfiConverterOptionalTypeu128=new FfiConverterOptional(FfiConverterTypeu128);// FfiConverter for Amount | undefined
|
|
5042
5188
|
const FfiConverterOptionalTypeAmount=new FfiConverterOptional(FfiConverterTypeAmount);// FfiConverter for AmountAdjustmentReason | undefined
|
|
5043
5189
|
const FfiConverterOptionalTypeAmountAdjustmentReason=new FfiConverterOptional(FfiConverterTypeAmountAdjustmentReason);// FfiConverter for AssetFilter | undefined
|
|
5044
|
-
const FfiConverterOptionalTypeAssetFilter=new FfiConverterOptional(FfiConverterTypeAssetFilter);// FfiConverter for
|
|
5190
|
+
const FfiConverterOptionalTypeAssetFilter=new FfiConverterOptional(FfiConverterTypeAssetFilter);// FfiConverter for BuildTransferPackageOptions | undefined
|
|
5191
|
+
const FfiConverterOptionalTypeBuildTransferPackageOptions=new FfiConverterOptional(FfiConverterTypeBuildTransferPackageOptions);// FfiConverter for ConversionFilter | undefined
|
|
5045
5192
|
const FfiConverterOptionalTypeConversionFilter=new FfiConverterOptional(FfiConverterTypeConversionFilter);// FfiConverter for ConversionInfo | undefined
|
|
5046
5193
|
const FfiConverterOptionalTypeConversionInfo=new FfiConverterOptional(FfiConverterTypeConversionInfo);// FfiConverter for ConversionPurpose | undefined
|
|
5047
5194
|
const FfiConverterOptionalTypeConversionPurpose=new FfiConverterOptional(FfiConverterTypeConversionPurpose);// FfiConverter for ConversionStatus | undefined
|
|
@@ -5083,5 +5230,5 @@ const FfiConverterOptionalArrayTypeStoragePaymentDetailsFilter=new FfiConverterO
|
|
|
5083
5230
|
* It also initializes the machinery to enable Rust to talk back to Javascript.
|
|
5084
5231
|
*/function uniffiEnsureInitialized(){// Get the bindings contract version from our ComponentInterface
|
|
5085
5232
|
const bindingsContractVersion=29;// Get the scaffolding contract version by calling the into the dylib
|
|
5086
|
-
const scaffoldingContractVersion=nativeModule().ubrn_ffi_breez_sdk_spark_uniffi_contract_version();if(bindingsContractVersion!==scaffoldingContractVersion){throw new UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion,bindingsContractVersion);}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_connect()!==40345){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signer()!==1399){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect_with_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signing_only_signer()!==17952){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect_with_signing_only_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_create_turnkey_signer()!==50635){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_create_turnkey_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_create_turnkey_signing_only_signer()!==37791){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_create_turnkey_signing_only_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_custom_storage()!==18116){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_custom_storage');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_default_config()!==62194){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_config');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signers()!==58595){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_external_signers');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_default_server_config()!==40188){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_server_config');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_default_storage()!==56226){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_storage');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_get_spark_status()!==62888){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_get_spark_status');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_init_logging()!==8518){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_init_logging');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_new_rest_chain_service()!==23177){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_new_rest_chain_service');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_new_shared_sdk_context()!==7027){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_new_shared_sdk_context');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos()!==20959){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status()!==23018){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex()!==59376){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction()!==65179){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees()!==43230){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact()!==26497){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener()!==19224){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_authorize_lightning_address_transfer()!==15257){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_authorize_lightning_address_transfer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin()!==34179){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available()!==31624){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message()!==4385){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit()!==43529){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment()!==57587){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_lightning_address_transfer()!==20680){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_lightning_address_transfer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact()!==15670){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address()!==44132){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect()!==20026){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits()!==50958){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_cross_chain_routes()!==25164){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_cross_chain_routes');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info()!==6771){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address()!==36552){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment()!==11540){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer()!==26649){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata()!==40125){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings()!==38537){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts()!==2729){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies()!==63366){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates()!==5904){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments()!==39170){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits()!==22486){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_webhooks()!==28432){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_webhooks');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth()!==125){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay()!==10147){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw()!==45652){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_optimize_leaves()!==39254){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_optimize_leaves');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_parse()!==14285){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_parse');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay()!==37691){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment()!==34185){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment()!==36984){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees()!==16947){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit()!==33646){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_pending_conversions()!==24173){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_pending_conversions');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address()!==530){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_webhook()!==13529){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_register_webhook');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener()!==41066){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment()!==54349){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message()!==57563){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet()!==30368){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_unregister_webhook()!==34100){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_unregister_webhook');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact()!==21170){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings()!==1721){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_derive_public_key()!==26700){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_derive_public_key');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa()!==17969){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa_recoverable()!==45907){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa_recoverable');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_encrypt_ecies()!==5296){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_encrypt_ecies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_decrypt_ecies()!==6089){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_decrypt_ecies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_hash_schnorr()!==1766){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_hash_schnorr');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_hmac_sha256()!==65429){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_hmac_sha256');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_derive_public_key()!==28092){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_derive_public_key');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa()!==13755){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa_recoverable()!==34935){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa_recoverable');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_hash_schnorr()!==21395){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_hash_schnorr');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_identity_public_key()!==38705){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_identity_public_key');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_public_key_for_leaf()!==39015){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_public_key_for_leaf');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_static_deposit_public_key()!==11994){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_static_deposit_public_key');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_authentication_challenge()!==57313){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_authentication_challenge');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_message()!==56093){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_message');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_frost()!==44871){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_frost');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_transfer()!==42596){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_transfer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_claim()!==109){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_claim');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_lightning_receive()!==49812){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_lightning_receive');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit()!==119){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_start_static_deposit_refund()!==22509){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_start_static_deposit_refund');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_static_deposit_refund()!==28885){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_static_deposit_refund');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_spark_invoice()!==11535){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_spark_invoice');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_token_transaction()!==58955){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_token_transaction');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit_claim()!==64724){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit_claim');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies()!==19092){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates()!==11512){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_check_availability()!==35189){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_check_availability');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_connect_with_passkey()!==47815){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_connect_with_passkey');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_labels()!==35849){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_labels');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_register()!==18330){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_register');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_sign_in()!==42245){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_sign_in');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_list()!==54877){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeylabels_list');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_store()!==58514){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeylabels_store');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send()!==27806){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_after_send()!==31673){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_paymentobserver_after_send');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_derive_seeds()!==18550){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_derive_seeds');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_is_supported()!==46331){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_is_supported');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_create_passkey()!==1967){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_create_passkey');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_check_domain_association()!==18713){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_check_domain_association');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_get_request()!==8260){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_get_request');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_post_request()!==24889){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_post_request');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_delete_request()!==51072){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_delete_request');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build()!==8126){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_account_number()!==6550){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_account_number');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service()!==2848){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage()!==14543){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service()!==37854){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client()!==51060){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer()!==21617){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service()!==63155){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_shared_context()!==64829){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_shared_context');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage()!==20369){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage_backend()!==28545){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage_backend');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_get_session()!==49546){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sessionstore_get_session');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_set_session()!==13629){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sessionstore_set_session');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item()!==6883){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item()!==30248){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item()!==7970){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_payments()!==51078){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_payments');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_apply_payment_update()!==8631){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_apply_payment_update');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata()!==32757){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id()!==35394){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice()!==57075){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payments_by_parent_ids()!==10948){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payments_by_parent_ids');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_deposit()!==35363){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_add_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit()!==28477){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_deposits()!==62636){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_deposits');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_deposit()!==18714){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_update_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata()!==64210){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_contacts()!==10490){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_contacts');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_contact()!==19980){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_contact()!==38342){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_contact()!==50274){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cross_chain_swap()!==31116){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_cross_chain_swap');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cross_chain_swap()!==20172){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_cross_chain_swap');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_active_cross_chain_swaps()!==23493){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_active_cross_chain_swaps');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change()!==44890){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync()!==8492){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes()!==54668){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_last_revision()!==17237){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_last_revision');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_incoming_records()!==35265){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_incoming_records');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_incoming_record()!==32789){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_incoming_record');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records()!==18699){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change()!==59591){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming()!==30443){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storagebackend_create_stores()!==51497){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storagebackend_create_stores');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token()!==56056){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token()!==33277){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token()!==32344){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_balance()!==9758){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_balance');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata()!==57707){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token()!==36459){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token()!==65025){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_constructor_passkeyclient_new()!==51278){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_passkeyclient_new');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new()!==65435){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signer()!==28871){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signing_only_signer()!==27342){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signing_only_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event()!==24807){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_logger_log()!==11839){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_logger_log');}uniffiCallbackInterfaceEventListener.register();uniffiCallbackInterfaceLogger.register();uniffiCallbackInterfaceBitcoinChainService.register();uniffiCallbackInterfaceExternalBreezSigner.register();uniffiCallbackInterfaceExternalSigningSigner.register();uniffiCallbackInterfaceExternalSparkSigner.register();uniffiCallbackInterfaceFiatService.register();uniffiCallbackInterfacePaymentObserver.register();uniffiCallbackInterfacePrfProvider.register();uniffiCallbackInterfaceRestClient.register();uniffiCallbackInterfaceSessionStore.register();uniffiCallbackInterfaceStorage.register();}export default Object.freeze({initialize:uniffiEnsureInitialized,converters:{FfiConverterTypeAddContactRequest,FfiConverterTypeAesSuccessActionData,FfiConverterTypeAesSuccessActionDataDecrypted,FfiConverterTypeAesSuccessActionDataResult,FfiConverterTypeAmount,FfiConverterTypeAmountAdjustmentReason,FfiConverterTypeAssetFilter,FfiConverterTypeAuthorizeTransferRequest,FfiConverterTypeAutoOptimizationEvent,FfiConverterTypeBip21Details,FfiConverterTypeBip21Extra,FfiConverterTypeBitcoinAddressDetails,FfiConverterTypeBitcoinChainService,FfiConverterTypeBitcoinNetwork,FfiConverterTypeBolt11Invoice,FfiConverterTypeBolt11InvoiceDetails,FfiConverterTypeBolt11RouteHint,FfiConverterTypeBolt11RouteHintHop,FfiConverterTypeBolt12Invoice,FfiConverterTypeBolt12InvoiceDetails,FfiConverterTypeBolt12InvoiceRequestDetails,FfiConverterTypeBolt12Offer,FfiConverterTypeBolt12OfferBlindedPath,FfiConverterTypeBolt12OfferDetails,FfiConverterTypeBreezSdk,FfiConverterTypeBurnIssuerTokenRequest,FfiConverterTypeBuyBitcoinRequest,FfiConverterTypeBuyBitcoinResponse,FfiConverterTypeChainApiType,FfiConverterTypeChainServiceError,FfiConverterTypeCheckLightningAddressRequest,FfiConverterTypeCheckMessageRequest,FfiConverterTypeCheckMessageResponse,FfiConverterTypeClaimDepositRequest,FfiConverterTypeClaimDepositResponse,FfiConverterTypeClaimHtlcPaymentRequest,FfiConverterTypeClaimHtlcPaymentResponse,FfiConverterTypeClaimTransferRequest,FfiConverterTypeConfig,FfiConverterTypeConnectRequest,FfiConverterTypeConnectWithPasskeyRequest,FfiConverterTypeConnectWithPasskeyResponse,FfiConverterTypeConnectWithSignerRequest,FfiConverterTypeConnectWithSigningOnlySignerRequest,FfiConverterTypeContact,FfiConverterTypeConversion,FfiConverterTypeConversionAsset,FfiConverterTypeConversionChain,FfiConverterTypeConversionDetails,FfiConverterTypeConversionEstimate,FfiConverterTypeConversionFilter,FfiConverterTypeConversionInfo,FfiConverterTypeConversionOptions,FfiConverterTypeConversionProvider,FfiConverterTypeConversionPurpose,FfiConverterTypeConversionSide,FfiConverterTypeConversionStatus,FfiConverterTypeConversionType,FfiConverterTypeCreateIssuerTokenRequest,FfiConverterTypeCredentials,FfiConverterTypeCrossChainAddressDetails,FfiConverterTypeCrossChainAddressFamily,FfiConverterTypeCrossChainConfig,FfiConverterTypeCrossChainFeeMode,FfiConverterTypeCrossChainProvider,FfiConverterTypeCrossChainProviderContext,FfiConverterTypeCrossChainRouteFilter,FfiConverterTypeCrossChainRoutePair,FfiConverterTypeCurrencyInfo,FfiConverterTypeDepositClaimError,FfiConverterTypeDepositInfo,FfiConverterTypeDeriveSeedsOutput,FfiConverterTypeDeriveSeedsRequest,FfiConverterTypeDomainAssociation,FfiConverterTypeEcdsaSignatureBytes,FfiConverterTypeErrorKind,FfiConverterTypeExternalBreezSigner,FfiConverterTypeExternalClaimLeafInput,FfiConverterTypeExternalFrostCommitments,FfiConverterTypeExternalFrostDerivation,FfiConverterTypeExternalFrostJob,FfiConverterTypeExternalFrostShareResult,FfiConverterTypeExternalFrostSignature,FfiConverterTypeExternalFrostSignatureShare,FfiConverterTypeExternalIdentifier,FfiConverterTypeExternalInputParser,FfiConverterTypeExternalNewLeafKey,FfiConverterTypeExternalOperatorPackage,FfiConverterTypeExternalOperatorRecipient,FfiConverterTypeExternalPrepareClaimRequest,FfiConverterTypeExternalPrepareLightningReceiveRequest,FfiConverterTypeExternalPrepareStaticDepositClaimRequest,FfiConverterTypeExternalPrepareStaticDepositRequest,FfiConverterTypeExternalPrepareTokenTransactionRequest,FfiConverterTypeExternalPrepareTransferRequest,FfiConverterTypeExternalPreparedClaim,FfiConverterTypeExternalPreparedLightningReceive,FfiConverterTypeExternalPreparedStaticDeposit,FfiConverterTypeExternalPreparedStaticDepositClaim,FfiConverterTypeExternalPreparedTokenTransaction,FfiConverterTypeExternalPreparedTransfer,FfiConverterTypeExternalSignSparkInvoiceRequest,FfiConverterTypeExternalSignStaticDepositRefundRequest,FfiConverterTypeExternalSignedSparkInvoice,FfiConverterTypeExternalSigners,FfiConverterTypeExternalSigningCommitments,FfiConverterTypeExternalSigningSigner,FfiConverterTypeExternalSparkInvoiceKind,FfiConverterTypeExternalSparkSigner,FfiConverterTypeExternalStartStaticDepositRefundRequest,FfiConverterTypeExternalStartedStaticDepositRefund,FfiConverterTypeExternalTokenTransactionKind,FfiConverterTypeExternalTransferLeafInput,FfiConverterTypeExternalTreeNodeId,FfiConverterTypeFee,FfiConverterTypeFeePolicy,FfiConverterTypeFetchConversionLimitsRequest,FfiConverterTypeFetchConversionLimitsResponse,FfiConverterTypeFiatCurrency,FfiConverterTypeFiatService,FfiConverterTypeFreezeIssuerTokenRequest,FfiConverterTypeFreezeIssuerTokenResponse,FfiConverterTypeGetInfoRequest,FfiConverterTypeGetInfoResponse,FfiConverterTypeGetPaymentRequest,FfiConverterTypeGetPaymentResponse,FfiConverterTypeGetTokensMetadataRequest,FfiConverterTypeGetTokensMetadataResponse,FfiConverterTypeHashedMessageBytes,FfiConverterTypeIdentifierCommitmentPair,FfiConverterTypeIdentifierPublicKeyPair,FfiConverterTypeIdentifierSignaturePair,FfiConverterTypeIncomingChange,FfiConverterTypeInputType,FfiConverterTypeLeafOptimizationConfig,FfiConverterTypeLightningAddressDetails,FfiConverterTypeLightningAddressInfo,FfiConverterTypeListContactsRequest,FfiConverterTypeListFiatCurrenciesResponse,FfiConverterTypeListFiatRatesResponse,FfiConverterTypeListPaymentsRequest,FfiConverterTypeListPaymentsResponse,FfiConverterTypeListUnclaimedDepositsRequest,FfiConverterTypeListUnclaimedDepositsResponse,FfiConverterTypeLnurlAuthRequestDetails,FfiConverterTypeLnurlCallbackStatus,FfiConverterTypeLnurlErrorDetails,FfiConverterTypeLnurlInfo,FfiConverterTypeLnurlPayInfo,FfiConverterTypeLnurlPayRequest,FfiConverterTypeLnurlPayRequestDetails,FfiConverterTypeLnurlPayResponse,FfiConverterTypeLnurlReceiveMetadata,FfiConverterTypeLnurlWithdrawInfo,FfiConverterTypeLnurlWithdrawRequest,FfiConverterTypeLnurlWithdrawRequestDetails,FfiConverterTypeLnurlWithdrawResponse,FfiConverterTypeLocaleOverrides,FfiConverterTypeLocalizedName,FfiConverterTypeLogEntry,FfiConverterTypeMaxFee,FfiConverterTypeMessageBytes,FfiConverterTypeMessageSuccessActionData,FfiConverterTypeMintIssuerTokenRequest,FfiConverterTypeNetwork,FfiConverterTypeOnchainConfirmationSpeed,FfiConverterTypeOptimizationMode,FfiConverterTypeOptimizationOutcome,FfiConverterTypeOptimizeLeavesRequest,FfiConverterTypeOptimizeLeavesResponse,FfiConverterTypeOutgoingChange,FfiConverterTypePasskeyAvailability,FfiConverterTypePasskeyClient,FfiConverterTypePasskeyConfig,FfiConverterTypePasskeyCredential,FfiConverterTypePasskeyError,FfiConverterTypePasskeyLabels,FfiConverterTypePasskeyProviderOptions,FfiConverterTypePayment,FfiConverterTypePaymentDetails,FfiConverterTypePaymentDetailsFilter,FfiConverterTypePaymentIdUpdate,FfiConverterTypePaymentMetadata,FfiConverterTypePaymentMethod,FfiConverterTypePaymentObserver,FfiConverterTypePaymentObserverError,FfiConverterTypePaymentRequest,FfiConverterTypePaymentRequestSource,FfiConverterTypePaymentStatus,FfiConverterTypePaymentType,FfiConverterTypePrepareLnurlPayRequest,FfiConverterTypePrepareLnurlPayResponse,FfiConverterTypePrepareSendPaymentRequest,FfiConverterTypePrepareSendPaymentResponse,FfiConverterTypePrfProvider,FfiConverterTypePrfProviderError,FfiConverterTypeProvisionalPayment,FfiConverterTypeProvisionalPaymentDetails,FfiConverterTypePublicKey,FfiConverterTypePublicKeyBytes,FfiConverterTypeRate,FfiConverterTypeReceivePaymentMethod,FfiConverterTypeReceivePaymentRequest,FfiConverterTypeReceivePaymentResponse,FfiConverterTypeRecommendedFees,FfiConverterTypeRecord,FfiConverterTypeRecordChange,FfiConverterTypeRecordId,FfiConverterTypeRecoverableEcdsaSignatureBytes,FfiConverterTypeRefundDepositRequest,FfiConverterTypeRefundDepositResponse,FfiConverterTypeRegisterLightningAddressRequest,FfiConverterTypeRegisterRequest,FfiConverterTypeRegisterResponse,FfiConverterTypeRegisterWebhookRequest,FfiConverterTypeRegisterWebhookResponse,FfiConverterTypeResolvedStores,FfiConverterTypeRestClient,FfiConverterTypeRestResponse,FfiConverterTypeSchnorrSignatureBytes,FfiConverterTypeSdkBuilder,FfiConverterTypeSdkContext,FfiConverterTypeSdkContextConfig,FfiConverterTypeSdkError,FfiConverterTypeSdkEvent,FfiConverterTypeSecretBytes,FfiConverterTypeSeed,FfiConverterTypeSendOnchainFeeQuote,FfiConverterTypeSendOnchainSpeedFeeQuote,FfiConverterTypeSendPaymentMethod,FfiConverterTypeSendPaymentOptions,FfiConverterTypeSendPaymentRequest,FfiConverterTypeSendPaymentResponse,FfiConverterTypeServiceConnectivityError,FfiConverterTypeServiceStatus,FfiConverterTypeSession,FfiConverterTypeSessionStore,FfiConverterTypeSessionStoreError,FfiConverterTypeSetLnurlMetadataItem,FfiConverterTypeSetupWalletRequest,FfiConverterTypeSignInRequest,FfiConverterTypeSignInResponse,FfiConverterTypeSignMessageRequest,FfiConverterTypeSignMessageResponse,FfiConverterTypeSignerError,FfiConverterTypeSigningOnlyExternalSigners,FfiConverterTypeSilentPaymentAddressDetails,FfiConverterTypeSourceAsset,FfiConverterTypeSparkAddressDetails,FfiConverterTypeSparkConfig,FfiConverterTypeSparkHtlcDetails,FfiConverterTypeSparkHtlcOptions,FfiConverterTypeSparkHtlcStatus,FfiConverterTypeSparkInvoiceDetails,FfiConverterTypeSparkInvoicePaymentDetails,FfiConverterTypeSparkSigningOperator,FfiConverterTypeSparkSspConfig,FfiConverterTypeSparkStatus,FfiConverterTypeStableBalanceActiveLabel,FfiConverterTypeStableBalanceConfig,FfiConverterTypeStableBalanceToken,FfiConverterTypeStorage,FfiConverterTypeStorageBackend,FfiConverterTypeStorageError,FfiConverterTypeStorageListPaymentsRequest,FfiConverterTypeStoragePaymentDetailsFilter,FfiConverterTypeStoredCrossChainSwap,FfiConverterTypeSuccessAction,FfiConverterTypeSuccessActionProcessed,FfiConverterTypeSymbol,FfiConverterTypeSyncWalletRequest,FfiConverterTypeSyncWalletResponse,FfiConverterTypeTokenBalance,FfiConverterTypeTokenIssuer,FfiConverterTypeTokenMetadata,FfiConverterTypeTokenOptimizationConfig,FfiConverterTypeTokenTransactionType,FfiConverterTypeTransferAuthorization,FfiConverterTypeTurnkeyConfig,FfiConverterTypeTurnkeyRetryConfig,FfiConverterTypeTxStatus,FfiConverterTypeUnfreezeIssuerTokenRequest,FfiConverterTypeUnfreezeIssuerTokenResponse,FfiConverterTypeUnregisterWebhookRequest,FfiConverterTypeUnversionedRecordChange,FfiConverterTypeUpdateContactRequest,FfiConverterTypeUpdateDepositPayload,FfiConverterTypeUpdateUserSettingsRequest,FfiConverterTypeUrlSuccessActionData,FfiConverterTypeUserSettings,FfiConverterTypeUtxo,FfiConverterTypeWallet,FfiConverterTypeWalletSetup,FfiConverterTypeWebhook,FfiConverterTypeWebhookEventType,FfiConverterTypeu128}});
|
|
5233
|
+
const scaffoldingContractVersion=nativeModule().ubrn_ffi_breez_sdk_spark_uniffi_contract_version();if(bindingsContractVersion!==scaffoldingContractVersion){throw new UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion,bindingsContractVersion);}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_connect()!==40345){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signer()!==1399){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect_with_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signing_only_signer()!==17952){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect_with_signing_only_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_create_turnkey_signer()!==50635){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_create_turnkey_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_create_turnkey_signing_only_signer()!==37791){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_create_turnkey_signing_only_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_custom_storage()!==18116){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_custom_storage');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_default_config()!==62194){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_config');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signers()!==58595){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_external_signers');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_default_server_config()!==40188){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_server_config');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_default_session_store()!==24904){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_session_store');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_default_storage()!==56226){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_storage');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_get_spark_status()!==62888){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_get_spark_status');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_init_logging()!==8518){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_init_logging');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_new_rest_chain_service()!==23177){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_new_rest_chain_service');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_new_shared_sdk_context()!==7027){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_new_shared_sdk_context');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos()!==20959){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status()!==23018){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex()!==59376){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction()!==65179){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees()!==43230){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact()!==26497){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener()!==19224){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_authorize_lightning_address_transfer()!==15257){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_authorize_lightning_address_transfer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_lnurl_pay_package()!==23822){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_lnurl_pay_package');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_transfer_package()!==60228){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_transfer_package');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin()!==34179){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available()!==31624){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message()!==4385){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit()!==43529){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment()!==57587){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_lightning_address_transfer()!==20680){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_lightning_address_transfer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact()!==15670){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address()!==44132){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect()!==20026){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits()!==50958){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_cross_chain_routes()!==25164){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_cross_chain_routes');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info()!==6771){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address()!==36552){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment()!==11540){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer()!==26649){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata()!==40125){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings()!==38537){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts()!==2729){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies()!==63366){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates()!==5904){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments()!==39170){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits()!==22486){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_webhooks()!==28432){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_webhooks');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth()!==125){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay()!==10147){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw()!==45652){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_optimize_leaves()!==39254){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_optimize_leaves');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_parse()!==14285){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_parse');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay()!==37691){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment()!==34185){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_publish_signed_lnurl_pay_package()!==48698){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_publish_signed_lnurl_pay_package');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_publish_signed_transfer_package()!==59188){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_publish_signed_transfer_package');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment()!==36984){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees()!==16947){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit()!==33646){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_pending_conversions()!==24173){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_pending_conversions');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address()!==530){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_webhook()!==13529){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_register_webhook');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener()!==41066){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment()!==54349){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message()!==57563){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet()!==30368){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_unregister_webhook()!==34100){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_unregister_webhook');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact()!==21170){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings()!==1721){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_derive_public_key()!==26700){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_derive_public_key');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa()!==17969){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa_recoverable()!==45907){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa_recoverable');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_encrypt_ecies()!==5296){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_encrypt_ecies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_decrypt_ecies()!==6089){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_decrypt_ecies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_hash_schnorr()!==1766){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_hash_schnorr');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_hmac_sha256()!==65429){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_hmac_sha256');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_derive_public_key()!==28092){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_derive_public_key');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa()!==13755){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa_recoverable()!==34935){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa_recoverable');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_hash_schnorr()!==21395){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_hash_schnorr');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_identity_public_key()!==38705){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_identity_public_key');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_public_key_for_leaf()!==39015){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_public_key_for_leaf');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_is_remote()!==63049){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_is_remote');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_static_deposit_public_key()!==54380){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_static_deposit_public_key');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_authentication_challenge()!==53611){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_authentication_challenge');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_message()!==1815){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_message');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_frost()!==41995){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_frost');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_transfer()!==7663){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_transfer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_claim()!==40463){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_claim');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_lightning_receive()!==22362){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_lightning_receive');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit()!==44945){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_start_static_deposit_refund()!==15575){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_start_static_deposit_refund');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_static_deposit_refund()!==3082){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_static_deposit_refund');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_spark_invoice()!==33){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_spark_invoice');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_token_transaction()!==33122){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_token_transaction');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit_claim()!==14601){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit_claim');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies()!==19092){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates()!==11512){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_check_availability()!==35189){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_check_availability');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_connect_with_passkey()!==47815){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_connect_with_passkey');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_labels()!==35849){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_labels');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_register()!==18330){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_register');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_sign_in()!==42245){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_sign_in');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_list()!==54877){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeylabels_list');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_store()!==58514){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeylabels_store');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send()!==27806){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_after_send()!==31673){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_paymentobserver_after_send');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_derive_seeds()!==18550){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_derive_seeds');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_is_supported()!==46331){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_is_supported');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_create_passkey()!==1967){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_create_passkey');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_check_domain_association()!==18713){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_check_domain_association');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_get_request()!==8260){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_get_request');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_post_request()!==24889){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_post_request');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_delete_request()!==51072){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_delete_request');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build()!==8126){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_account_number()!==6550){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_account_number');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service()!==2848){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage()!==14543){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service()!==37854){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client()!==51060){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer()!==21617){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service()!==63155){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_session_store()!==32818){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_session_store');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_shared_context()!==64829){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_shared_context');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage()!==20369){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage_backend()!==28545){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage_backend');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_get_session()!==49546){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sessionstore_get_session');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_set_session()!==13629){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sessionstore_set_session');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item()!==6883){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item()!==30248){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item()!==7970){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_payments()!==51078){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_payments');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_apply_payment_update()!==8631){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_apply_payment_update');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata()!==32757){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id()!==35394){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice()!==57075){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payments_by_parent_ids()!==10948){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payments_by_parent_ids');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_deposit()!==35363){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_add_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit()!==28477){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_deposits()!==62636){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_deposits');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_deposit()!==18714){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_update_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata()!==64210){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_contacts()!==10490){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_contacts');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_contact()!==19980){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_contact()!==38342){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_contact()!==50274){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cross_chain_swap()!==31116){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_cross_chain_swap');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cross_chain_swap()!==20172){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_cross_chain_swap');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_active_cross_chain_swaps()!==23493){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_active_cross_chain_swaps');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change()!==44890){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync()!==8492){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes()!==54668){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_last_revision()!==17237){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_last_revision');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_incoming_records()!==35265){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_incoming_records');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_incoming_record()!==32789){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_incoming_record');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records()!==18699){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change()!==59591){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming()!==30443){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storagebackend_create_stores()!==51497){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storagebackend_create_stores');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token()!==56056){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token()!==33277){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token()!==32344){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_balance()!==9758){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_balance');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata()!==57707){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token()!==36459){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token()!==65025){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_constructor_passkeyclient_new()!==51278){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_passkeyclient_new');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new()!==65435){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signer()!==28871){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signing_only_signer()!==27342){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signing_only_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event()!==24807){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_logger_log()!==11839){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_logger_log');}uniffiCallbackInterfaceEventListener.register();uniffiCallbackInterfaceLogger.register();uniffiCallbackInterfaceBitcoinChainService.register();uniffiCallbackInterfaceExternalBreezSigner.register();uniffiCallbackInterfaceExternalSigningSigner.register();uniffiCallbackInterfaceExternalSparkSigner.register();uniffiCallbackInterfaceFiatService.register();uniffiCallbackInterfacePaymentObserver.register();uniffiCallbackInterfacePrfProvider.register();uniffiCallbackInterfaceRestClient.register();uniffiCallbackInterfaceSessionStore.register();uniffiCallbackInterfaceStorage.register();}export default Object.freeze({initialize:uniffiEnsureInitialized,converters:{FfiConverterTypeAddContactRequest,FfiConverterTypeAesSuccessActionData,FfiConverterTypeAesSuccessActionDataDecrypted,FfiConverterTypeAesSuccessActionDataResult,FfiConverterTypeAmount,FfiConverterTypeAmountAdjustmentReason,FfiConverterTypeAssetFilter,FfiConverterTypeAuthorizeTransferRequest,FfiConverterTypeAutoOptimizationEvent,FfiConverterTypeBip21Details,FfiConverterTypeBip21Extra,FfiConverterTypeBitcoinAddressDetails,FfiConverterTypeBitcoinChainService,FfiConverterTypeBitcoinNetwork,FfiConverterTypeBolt11Invoice,FfiConverterTypeBolt11InvoiceDetails,FfiConverterTypeBolt11RouteHint,FfiConverterTypeBolt11RouteHintHop,FfiConverterTypeBolt12Invoice,FfiConverterTypeBolt12InvoiceDetails,FfiConverterTypeBolt12InvoiceRequestDetails,FfiConverterTypeBolt12Offer,FfiConverterTypeBolt12OfferBlindedPath,FfiConverterTypeBolt12OfferDetails,FfiConverterTypeBreezSdk,FfiConverterTypeBuildTransferPackageOptions,FfiConverterTypeBuildUnsignedLnurlPayPackageRequest,FfiConverterTypeBuildUnsignedTransferPackageRequest,FfiConverterTypeBurnIssuerTokenRequest,FfiConverterTypeBuyBitcoinRequest,FfiConverterTypeBuyBitcoinResponse,FfiConverterTypeChainApiType,FfiConverterTypeChainServiceError,FfiConverterTypeCheckLightningAddressRequest,FfiConverterTypeCheckMessageRequest,FfiConverterTypeCheckMessageResponse,FfiConverterTypeClaimDepositRequest,FfiConverterTypeClaimDepositResponse,FfiConverterTypeClaimHtlcPaymentRequest,FfiConverterTypeClaimHtlcPaymentResponse,FfiConverterTypeClaimTransferRequest,FfiConverterTypeConfig,FfiConverterTypeConnectRequest,FfiConverterTypeConnectWithPasskeyRequest,FfiConverterTypeConnectWithPasskeyResponse,FfiConverterTypeConnectWithSignerRequest,FfiConverterTypeConnectWithSigningOnlySignerRequest,FfiConverterTypeContact,FfiConverterTypeConversion,FfiConverterTypeConversionAsset,FfiConverterTypeConversionChain,FfiConverterTypeConversionDetails,FfiConverterTypeConversionEstimate,FfiConverterTypeConversionFilter,FfiConverterTypeConversionInfo,FfiConverterTypeConversionOptions,FfiConverterTypeConversionProvider,FfiConverterTypeConversionPurpose,FfiConverterTypeConversionSide,FfiConverterTypeConversionStatus,FfiConverterTypeConversionType,FfiConverterTypeCreateIssuerTokenRequest,FfiConverterTypeCredentials,FfiConverterTypeCrossChainAddressDetails,FfiConverterTypeCrossChainAddressFamily,FfiConverterTypeCrossChainConfig,FfiConverterTypeCrossChainFeeMode,FfiConverterTypeCrossChainProvider,FfiConverterTypeCrossChainProviderContext,FfiConverterTypeCrossChainRouteFilter,FfiConverterTypeCrossChainRoutePair,FfiConverterTypeCurrencyInfo,FfiConverterTypeDepositClaimError,FfiConverterTypeDepositInfo,FfiConverterTypeDeriveSeedsOutput,FfiConverterTypeDeriveSeedsRequest,FfiConverterTypeDomainAssociation,FfiConverterTypeEcdsaSignatureBytes,FfiConverterTypeErrorKind,FfiConverterTypeExternalBreezSigner,FfiConverterTypeExternalClaimLeafInput,FfiConverterTypeExternalFrostCommitments,FfiConverterTypeExternalFrostDerivation,FfiConverterTypeExternalFrostJob,FfiConverterTypeExternalFrostShareResult,FfiConverterTypeExternalFrostSignature,FfiConverterTypeExternalFrostSignatureShare,FfiConverterTypeExternalIdentifier,FfiConverterTypeExternalInputParser,FfiConverterTypeExternalNewLeafKey,FfiConverterTypeExternalOperatorPackage,FfiConverterTypeExternalOperatorRecipient,FfiConverterTypeExternalPrepareClaimRequest,FfiConverterTypeExternalPrepareLightningReceiveRequest,FfiConverterTypeExternalPrepareStaticDepositClaimRequest,FfiConverterTypeExternalPrepareStaticDepositRequest,FfiConverterTypeExternalPrepareTokenTransactionRequest,FfiConverterTypeExternalPrepareTransferRequest,FfiConverterTypeExternalPreparedClaim,FfiConverterTypeExternalPreparedLightningReceive,FfiConverterTypeExternalPreparedStaticDeposit,FfiConverterTypeExternalPreparedStaticDepositClaim,FfiConverterTypeExternalPreparedTokenTransaction,FfiConverterTypeExternalPreparedTransfer,FfiConverterTypeExternalSignSparkInvoiceRequest,FfiConverterTypeExternalSignStaticDepositRefundRequest,FfiConverterTypeExternalSignedSparkInvoice,FfiConverterTypeExternalSigners,FfiConverterTypeExternalSigningCommitments,FfiConverterTypeExternalSigningSigner,FfiConverterTypeExternalSparkInvoiceKind,FfiConverterTypeExternalSparkSigner,FfiConverterTypeExternalStartStaticDepositRefundRequest,FfiConverterTypeExternalStartedStaticDepositRefund,FfiConverterTypeExternalTokenTransactionKind,FfiConverterTypeExternalTransferLeafInput,FfiConverterTypeExternalTreeNodeId,FfiConverterTypeFee,FfiConverterTypeFeePolicy,FfiConverterTypeFetchConversionLimitsRequest,FfiConverterTypeFetchConversionLimitsResponse,FfiConverterTypeFiatCurrency,FfiConverterTypeFiatService,FfiConverterTypeFreezeIssuerTokenRequest,FfiConverterTypeFreezeIssuerTokenResponse,FfiConverterTypeGetInfoRequest,FfiConverterTypeGetInfoResponse,FfiConverterTypeGetPaymentRequest,FfiConverterTypeGetPaymentResponse,FfiConverterTypeGetTokensMetadataRequest,FfiConverterTypeGetTokensMetadataResponse,FfiConverterTypeHashedMessageBytes,FfiConverterTypeIdentifierCommitmentPair,FfiConverterTypeIdentifierPublicKeyPair,FfiConverterTypeIdentifierSignaturePair,FfiConverterTypeIncomingChange,FfiConverterTypeInputType,FfiConverterTypeLeafOptimizationConfig,FfiConverterTypeLightningAddressDetails,FfiConverterTypeLightningAddressInfo,FfiConverterTypeListContactsRequest,FfiConverterTypeListFiatCurrenciesResponse,FfiConverterTypeListFiatRatesResponse,FfiConverterTypeListPaymentsRequest,FfiConverterTypeListPaymentsResponse,FfiConverterTypeListUnclaimedDepositsRequest,FfiConverterTypeListUnclaimedDepositsResponse,FfiConverterTypeLnurlAuthRequestDetails,FfiConverterTypeLnurlCallbackStatus,FfiConverterTypeLnurlErrorDetails,FfiConverterTypeLnurlInfo,FfiConverterTypeLnurlPayContext,FfiConverterTypeLnurlPayInfo,FfiConverterTypeLnurlPayRequest,FfiConverterTypeLnurlPayRequestDetails,FfiConverterTypeLnurlPayResponse,FfiConverterTypeLnurlReceiveMetadata,FfiConverterTypeLnurlWithdrawInfo,FfiConverterTypeLnurlWithdrawRequest,FfiConverterTypeLnurlWithdrawRequestDetails,FfiConverterTypeLnurlWithdrawResponse,FfiConverterTypeLocaleOverrides,FfiConverterTypeLocalizedName,FfiConverterTypeLogEntry,FfiConverterTypeMaxFee,FfiConverterTypeMessageBytes,FfiConverterTypeMessageSuccessActionData,FfiConverterTypeMintIssuerTokenRequest,FfiConverterTypeNetwork,FfiConverterTypeOnchainConfirmationSpeed,FfiConverterTypeOptimizationMode,FfiConverterTypeOptimizationOutcome,FfiConverterTypeOptimizeLeavesRequest,FfiConverterTypeOptimizeLeavesResponse,FfiConverterTypeOutgoingChange,FfiConverterTypePasskeyAvailability,FfiConverterTypePasskeyClient,FfiConverterTypePasskeyConfig,FfiConverterTypePasskeyCredential,FfiConverterTypePasskeyError,FfiConverterTypePasskeyLabels,FfiConverterTypePasskeyProviderOptions,FfiConverterTypePayment,FfiConverterTypePaymentDetails,FfiConverterTypePaymentDetailsFilter,FfiConverterTypePaymentIdUpdate,FfiConverterTypePaymentMetadata,FfiConverterTypePaymentMethod,FfiConverterTypePaymentObserver,FfiConverterTypePaymentObserverError,FfiConverterTypePaymentRequest,FfiConverterTypePaymentRequestSource,FfiConverterTypePaymentStatus,FfiConverterTypePaymentType,FfiConverterTypePrepareLnurlPayRequest,FfiConverterTypePrepareLnurlPayResponse,FfiConverterTypePrepareSendPaymentRequest,FfiConverterTypePrepareSendPaymentResponse,FfiConverterTypePrfProvider,FfiConverterTypePrfProviderError,FfiConverterTypeProvisionalPayment,FfiConverterTypeProvisionalPaymentDetails,FfiConverterTypePublicKey,FfiConverterTypePublicKeyBytes,FfiConverterTypePublishSignedLnurlPayPackageRequest,FfiConverterTypePublishSignedLnurlPayResponse,FfiConverterTypePublishSignedTransferPackageRequest,FfiConverterTypePublishSignedTransferPackageResponse,FfiConverterTypeRate,FfiConverterTypeReceivePaymentMethod,FfiConverterTypeReceivePaymentRequest,FfiConverterTypeReceivePaymentResponse,FfiConverterTypeRecommendedFees,FfiConverterTypeRecord,FfiConverterTypeRecordChange,FfiConverterTypeRecordId,FfiConverterTypeRecoverableEcdsaSignatureBytes,FfiConverterTypeRefundDepositRequest,FfiConverterTypeRefundDepositResponse,FfiConverterTypeRegisterLightningAddressRequest,FfiConverterTypeRegisterRequest,FfiConverterTypeRegisterResponse,FfiConverterTypeRegisterWebhookRequest,FfiConverterTypeRegisterWebhookResponse,FfiConverterTypeResolvedStores,FfiConverterTypeRestClient,FfiConverterTypeRestResponse,FfiConverterTypeSchnorrSignatureBytes,FfiConverterTypeSdkBuilder,FfiConverterTypeSdkContext,FfiConverterTypeSdkContextConfig,FfiConverterTypeSdkError,FfiConverterTypeSdkEvent,FfiConverterTypeSecretBytes,FfiConverterTypeSeed,FfiConverterTypeSendOnchainFeeQuote,FfiConverterTypeSendOnchainSpeedFeeQuote,FfiConverterTypeSendPaymentMethod,FfiConverterTypeSendPaymentOptions,FfiConverterTypeSendPaymentRequest,FfiConverterTypeSendPaymentResponse,FfiConverterTypeServiceConnectivityError,FfiConverterTypeServiceStatus,FfiConverterTypeSession,FfiConverterTypeSessionStore,FfiConverterTypeSessionStoreError,FfiConverterTypeSetLnurlMetadataItem,FfiConverterTypeSetupWalletRequest,FfiConverterTypeSignInRequest,FfiConverterTypeSignInResponse,FfiConverterTypeSignMessageRequest,FfiConverterTypeSignMessageResponse,FfiConverterTypeSignedTransferPackage,FfiConverterTypeSignerError,FfiConverterTypeSigningOnlyExternalSigners,FfiConverterTypeSilentPaymentAddressDetails,FfiConverterTypeSourceAsset,FfiConverterTypeSparkAddressDetails,FfiConverterTypeSparkConfig,FfiConverterTypeSparkHtlcDetails,FfiConverterTypeSparkHtlcOptions,FfiConverterTypeSparkHtlcStatus,FfiConverterTypeSparkInvoiceDetails,FfiConverterTypeSparkInvoicePaymentDetails,FfiConverterTypeSparkSigningOperator,FfiConverterTypeSparkSspConfig,FfiConverterTypeSparkStatus,FfiConverterTypeStableBalanceActiveLabel,FfiConverterTypeStableBalanceConfig,FfiConverterTypeStableBalanceToken,FfiConverterTypeStorage,FfiConverterTypeStorageBackend,FfiConverterTypeStorageError,FfiConverterTypeStorageListPaymentsRequest,FfiConverterTypeStoragePaymentDetailsFilter,FfiConverterTypeStoredCrossChainSwap,FfiConverterTypeSuccessAction,FfiConverterTypeSuccessActionProcessed,FfiConverterTypeSymbol,FfiConverterTypeSyncWalletRequest,FfiConverterTypeSyncWalletResponse,FfiConverterTypeTokenBalance,FfiConverterTypeTokenIssuer,FfiConverterTypeTokenMetadata,FfiConverterTypeTokenOptimizationConfig,FfiConverterTypeTokenTransactionType,FfiConverterTypeTransferAuthorization,FfiConverterTypeTransferSignature,FfiConverterTypeTransferTarget,FfiConverterTypeTurnkeyConfig,FfiConverterTypeTurnkeyRetryConfig,FfiConverterTypeTxStatus,FfiConverterTypeUnfreezeIssuerTokenRequest,FfiConverterTypeUnfreezeIssuerTokenResponse,FfiConverterTypeUnregisterWebhookRequest,FfiConverterTypeUnsignedTransferPackage,FfiConverterTypeUnversionedRecordChange,FfiConverterTypeUpdateContactRequest,FfiConverterTypeUpdateDepositPayload,FfiConverterTypeUpdateUserSettingsRequest,FfiConverterTypeUrlSuccessActionData,FfiConverterTypeUserSettings,FfiConverterTypeUtxo,FfiConverterTypeWallet,FfiConverterTypeWalletSetup,FfiConverterTypeWebhook,FfiConverterTypeWebhookEventType,FfiConverterTypeu128}});
|
|
5087
5234
|
//# sourceMappingURL=breez_sdk_spark.js.map
|