@breeztech/breez-sdk-spark-react-native 0.7.2 → 0.7.3
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 +14 -15
- package/cpp/generated/breez_sdk_spark.hpp +2 -2
- package/lib/commonjs/generated/breez_sdk_spark.js +105 -63
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark.js +104 -62
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +2 -2
- 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 +404 -242
- 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 +2 -2
- 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 +404 -242
- 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 +2 -2
- package/src/generated/breez_sdk_spark.ts +837 -560
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ListUnclaimedDepositsRequest=exports.ListPaymentsResponse=exports.ListPaymentsRequest=exports.ListFiatRatesResponse=exports.ListFiatCurrenciesResponse=exports.LightningAddressInfo=exports.LightningAddressDetails=exports.KeySetType=exports.KeySetConfig=exports.InputType_Tags=exports.InputType=exports.IncomingChange=exports.IdentifierSignaturePair=exports.IdentifierPublicKeyPair=exports.IdentifierCommitmentPair=exports.GetTokensMetadataResponse=exports.GetTokensMetadataRequest=exports.GetPaymentResponse=exports.GetPaymentRequest=exports.GetInfoResponse=exports.GetInfoRequest=exports.FreezeIssuerTokenResponse=exports.FreezeIssuerTokenRequest=exports.FiatServiceImpl=exports.FiatCurrency=exports.FetchConversionLimitsResponse=exports.FetchConversionLimitsRequest=exports.Fee_Tags=exports.Fee=exports.ExternalVerifiableSecretShare=exports.ExternalTreeNodeId=exports.ExternalSigningCommitments=exports.ExternalSignerImpl=exports.ExternalSignFrostRequest=exports.ExternalSecretToSplit_Tags=exports.ExternalSecretToSplit=exports.ExternalSecretShare=exports.ExternalScalar=exports.ExternalPrivateKeySource_Tags=exports.ExternalPrivateKeySource=exports.ExternalInputParser=exports.ExternalIdentifier=exports.ExternalFrostSignatureShare=exports.ExternalFrostSignature=exports.ExternalFrostCommitments=exports.ExternalEncryptedPrivateKey=exports.ExternalAggregateFrostRequest=exports.EcdsaSignatureBytes=exports.DepositInfo=exports.DepositClaimError_Tags=exports.DepositClaimError=exports.CurrencyInfo=exports.Credentials=exports.CreateIssuerTokenRequest=exports.ConversionType_Tags=exports.ConversionType=exports.ConversionStatus=exports.ConversionPurpose_Tags=exports.ConversionPurpose=exports.ConversionOptions=exports.ConversionInfo=exports.ConversionEstimate=exports.ConnectWithSignerRequest=exports.ConnectRequest=exports.Config=exports.ClaimHtlcPaymentResponse=exports.ClaimHtlcPaymentRequest=exports.ClaimDepositResponse=exports.ClaimDepositRequest=exports.CheckMessageResponse=exports.CheckMessageRequest=exports.CheckLightningAddressRequest=exports.ChainServiceError_Tags=exports.ChainServiceError=exports.ChainApiType=exports.BurnIssuerTokenRequest=exports.BreezSdk=exports.Bolt12OfferDetails=exports.Bolt12OfferBlindedPath=exports.Bolt12Offer=exports.Bolt12InvoiceRequestDetails=exports.Bolt12InvoiceDetails=exports.Bolt12Invoice=exports.Bolt11RouteHintHop=exports.Bolt11RouteHint=exports.Bolt11InvoiceDetails=exports.Bolt11Invoice=exports.BitcoinNetwork=exports.BitcoinChainServiceImpl=exports.BitcoinAddressDetails=exports.Bip21Extra=exports.Bip21Details=exports.AssetFilter_Tags=exports.AssetFilter=exports.Amount_Tags=exports.Amount=exports.AesSuccessActionDataResult_Tags=exports.AesSuccessActionDataResult=exports.AesSuccessActionDataDecrypted=exports.AesSuccessActionData=void 0;exports.Symbol=exports.SuccessAction_Tags=exports.SuccessActionProcessed_Tags=exports.SuccessActionProcessed=exports.SuccessAction=exports.StorageImpl=exports.StorageError_Tags=exports.StorageError=exports.SparkInvoicePaymentDetails=exports.SparkInvoiceDetails=exports.SparkHtlcStatus=exports.SparkHtlcOptions=exports.SparkHtlcDetails=exports.SparkAddressDetails=exports.SilentPaymentAddressDetails=exports.SignerError_Tags=exports.SignerError=exports.SignMessageResponse=exports.SignMessageRequest=exports.SetLnurlMetadataItem=exports.ServiceConnectivityError_Tags=exports.ServiceConnectivityError=exports.SendPaymentResponse=exports.SendPaymentRequest=exports.SendPaymentOptions_Tags=exports.SendPaymentOptions=exports.SendPaymentMethod_Tags=exports.SendPaymentMethod=exports.SendOnchainSpeedFeeQuote=exports.SendOnchainFeeQuote=exports.Seed_Tags=exports.Seed=exports.SdkEvent_Tags=exports.SdkEvent=exports.SdkError_Tags=exports.SdkError=exports.SdkBuilder=exports.SchnorrSignatureBytes=exports.RestResponse=exports.RestClientImpl=exports.RegisterLightningAddressRequest=exports.RefundDepositResponse=exports.RefundDepositRequest=exports.RecoverableEcdsaSignatureBytes=exports.RecordId=exports.RecordChange=exports.Record=exports.RecommendedFees=exports.ReceivePaymentResponse=exports.ReceivePaymentRequest=exports.ReceivePaymentMethod_Tags=exports.ReceivePaymentMethod=exports.Rate=exports.PublicKeyBytes=exports.ProvisionalPaymentDetails_Tags=exports.ProvisionalPaymentDetails=exports.ProvisionalPayment=exports.PrivateKeyBytes=exports.PrepareSendPaymentResponse=exports.PrepareSendPaymentRequest=exports.PrepareLnurlPayResponse=exports.PrepareLnurlPayRequest=exports.PaymentType=exports.PaymentStatus=exports.PaymentRequestSource=exports.PaymentObserverImpl=exports.PaymentObserverError_Tags=exports.PaymentObserverError=exports.PaymentMethod=exports.PaymentMetadata=exports.PaymentDetails_Tags=exports.PaymentDetailsFilter_Tags=exports.PaymentDetailsFilter=exports.PaymentDetails=exports.Payment=exports.OutgoingChange=exports.OptimizationProgress=exports.OptimizationEvent_Tags=exports.OptimizationEvent=exports.OptimizationConfig=exports.OnchainConfirmationSpeed=exports.Network=exports.MintIssuerTokenRequest=exports.MessageSuccessActionData=exports.MaxFee_Tags=exports.MaxFee=exports.LogEntry=exports.LocalizedName=exports.LocaleOverrides=exports.LnurlWithdrawResponse=exports.LnurlWithdrawRequestDetails=exports.LnurlWithdrawRequest=exports.LnurlWithdrawInfo=exports.LnurlReceiveMetadata=exports.LnurlPayResponse=exports.LnurlPayRequestDetails=exports.LnurlPayRequest=exports.LnurlPayInfo=exports.LnurlAuthRequestDetails=exports.ListUnclaimedDepositsResponse=void 0;exports.Utxo=exports.UserSettings=exports.UrlSuccessActionData=exports.UpdateUserSettingsRequest=exports.UpdateDepositPayload_Tags=exports.UpdateDepositPayload=exports.UnversionedRecordChange=exports.UnfreezeIssuerTokenResponse=exports.UnfreezeIssuerTokenRequest=exports.TxStatus=exports.TokenMetadata=exports.TokenIssuer=exports.TokenBalance=exports.SyncWalletResponse=exports.SyncWalletRequest=exports.SyncStorageImpl=exports.SyncStorageError_Tags=exports.SyncStorageError=void 0;exports.connect=connect;exports.connectWithSigner=connectWithSigner;exports.default=void 0;exports.defaultConfig=defaultConfig;exports.defaultExternalSigner=defaultExternalSigner;exports.initLogging=initLogging;var _breez_sdk_sparkFfi=_interopRequireDefault(require("./breez_sdk_spark-ffi.js"));var _uniffiBindgenReactNative=require("uniffi-bindgen-react-native");function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e};}// This file was autogenerated by some hot garbage in the `uniffi-bindgen-react-native` crate.
|
|
2
2
|
// Trust me, you don't want to mess with it!
|
|
3
3
|
// Get converters from the other files, if any.
|
|
4
4
|
const uniffiCaller=new _uniffiBindgenReactNative.UniffiRustCaller();const uniffiIsDebug=// @ts-ignore -- The process global might not be defined
|
|
@@ -327,6 +327,42 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
|
|
|
327
327
|
*/new:create,/**
|
|
328
328
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
329
329
|
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeConnectWithSignerRequest=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{config:FfiConverterTypeConfig.read(from),signer:FfiConverterTypeExternalSigner.read(from),storageDir:FfiConverterString.read(from)};}write(value,into){FfiConverterTypeConfig.write(value.config,into);FfiConverterTypeExternalSigner.write(value.signer,into);FfiConverterString.write(value.storageDir,into);}allocationSize(value){return FfiConverterTypeConfig.allocationSize(value.config)+FfiConverterTypeExternalSigner.allocationSize(value.signer)+FfiConverterString.allocationSize(value.storageDir);}}return new FFIConverter();})();/**
|
|
330
|
+
* Response from estimating a conversion, used when preparing a payment that requires conversion
|
|
331
|
+
*//**
|
|
332
|
+
* Generated factory for {@link ConversionEstimate} record objects.
|
|
333
|
+
*/const ConversionEstimate=exports.ConversionEstimate=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
|
|
334
|
+
* Create a frozen instance of {@link ConversionEstimate}, with defaults specified
|
|
335
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
336
|
+
*/create,/**
|
|
337
|
+
* Create a frozen instance of {@link ConversionEstimate}, with defaults specified
|
|
338
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
339
|
+
*/new:create,/**
|
|
340
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
341
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeConversionEstimate=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{options:FfiConverterTypeConversionOptions.read(from),amount:FfiConverterTypeu128.read(from),fee:FfiConverterTypeu128.read(from)};}write(value,into){FfiConverterTypeConversionOptions.write(value.options,into);FfiConverterTypeu128.write(value.amount,into);FfiConverterTypeu128.write(value.fee,into);}allocationSize(value){return FfiConverterTypeConversionOptions.allocationSize(value.options)+FfiConverterTypeu128.allocationSize(value.amount)+FfiConverterTypeu128.allocationSize(value.fee);}}return new FFIConverter();})();/**
|
|
342
|
+
* Generated factory for {@link ConversionInfo} record objects.
|
|
343
|
+
*/const ConversionInfo=exports.ConversionInfo=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
|
|
344
|
+
* Create a frozen instance of {@link ConversionInfo}, with defaults specified
|
|
345
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
346
|
+
*/create,/**
|
|
347
|
+
* Create a frozen instance of {@link ConversionInfo}, with defaults specified
|
|
348
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
349
|
+
*/new:create,/**
|
|
350
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
351
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeConversionInfo=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{poolId:FfiConverterString.read(from),conversionId:FfiConverterString.read(from),status:FfiConverterTypeConversionStatus.read(from),fee:FfiConverterOptionalTypeu128.read(from),purpose:FfiConverterOptionalTypeConversionPurpose.read(from)};}write(value,into){FfiConverterString.write(value.poolId,into);FfiConverterString.write(value.conversionId,into);FfiConverterTypeConversionStatus.write(value.status,into);FfiConverterOptionalTypeu128.write(value.fee,into);FfiConverterOptionalTypeConversionPurpose.write(value.purpose,into);}allocationSize(value){return FfiConverterString.allocationSize(value.poolId)+FfiConverterString.allocationSize(value.conversionId)+FfiConverterTypeConversionStatus.allocationSize(value.status)+FfiConverterOptionalTypeu128.allocationSize(value.fee)+FfiConverterOptionalTypeConversionPurpose.allocationSize(value.purpose);}}return new FFIConverter();})();/**
|
|
352
|
+
* Options for conversion when fulfilling a payment. When set, the SDK will
|
|
353
|
+
* perform a conversion before fulfilling the payment. If not set, the payment
|
|
354
|
+
* will only be fulfilled if the wallet has sufficient balance of the required asset.
|
|
355
|
+
*//**
|
|
356
|
+
* Generated factory for {@link ConversionOptions} record objects.
|
|
357
|
+
*/const ConversionOptions=exports.ConversionOptions=(()=>{const defaults=()=>({maxSlippageBps:undefined,completionTimeoutSecs:undefined});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
|
|
358
|
+
* Create a frozen instance of {@link ConversionOptions}, with defaults specified
|
|
359
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
360
|
+
*/create,/**
|
|
361
|
+
* Create a frozen instance of {@link ConversionOptions}, with defaults specified
|
|
362
|
+
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
363
|
+
*/new:create,/**
|
|
364
|
+
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
365
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeConversionOptions=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{conversionType:FfiConverterTypeConversionType.read(from),maxSlippageBps:FfiConverterOptionalUInt32.read(from),completionTimeoutSecs:FfiConverterOptionalUInt32.read(from)};}write(value,into){FfiConverterTypeConversionType.write(value.conversionType,into);FfiConverterOptionalUInt32.write(value.maxSlippageBps,into);FfiConverterOptionalUInt32.write(value.completionTimeoutSecs,into);}allocationSize(value){return FfiConverterTypeConversionType.allocationSize(value.conversionType)+FfiConverterOptionalUInt32.allocationSize(value.maxSlippageBps)+FfiConverterOptionalUInt32.allocationSize(value.completionTimeoutSecs);}}return new FFIConverter();})();/**
|
|
330
366
|
* Generated factory for {@link CreateIssuerTokenRequest} record objects.
|
|
331
367
|
*/const CreateIssuerTokenRequest=exports.CreateIssuerTokenRequest=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
|
|
332
368
|
* Create a frozen instance of {@link CreateIssuerTokenRequest}, with defaults specified
|
|
@@ -537,26 +573,26 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
|
|
|
537
573
|
*/new:create,/**
|
|
538
574
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
539
575
|
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeExternalVerifiableSecretShare=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{secretShare:FfiConverterTypeExternalSecretShare.read(from),proofs:FfiConverterArrayArrayBuffer.read(from)};}write(value,into){FfiConverterTypeExternalSecretShare.write(value.secretShare,into);FfiConverterArrayArrayBuffer.write(value.proofs,into);}allocationSize(value){return FfiConverterTypeExternalSecretShare.allocationSize(value.secretShare)+FfiConverterArrayArrayBuffer.allocationSize(value.proofs);}}return new FFIConverter();})();/**
|
|
540
|
-
* Generated factory for {@link
|
|
541
|
-
*/const
|
|
542
|
-
* Create a frozen instance of {@link
|
|
576
|
+
* Generated factory for {@link FetchConversionLimitsRequest} record objects.
|
|
577
|
+
*/const FetchConversionLimitsRequest=exports.FetchConversionLimitsRequest=(()=>{const defaults=()=>({tokenIdentifier:undefined});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
|
|
578
|
+
* Create a frozen instance of {@link FetchConversionLimitsRequest}, with defaults specified
|
|
543
579
|
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
544
580
|
*/create,/**
|
|
545
|
-
* Create a frozen instance of {@link
|
|
581
|
+
* Create a frozen instance of {@link FetchConversionLimitsRequest}, with defaults specified
|
|
546
582
|
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
547
583
|
*/new:create,/**
|
|
548
584
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
549
|
-
*/defaults:()=>Object.freeze(defaults())});})();const
|
|
550
|
-
* Generated factory for {@link
|
|
551
|
-
*/const
|
|
552
|
-
* Create a frozen instance of {@link
|
|
585
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeFetchConversionLimitsRequest=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{conversionType:FfiConverterTypeConversionType.read(from),tokenIdentifier:FfiConverterOptionalString.read(from)};}write(value,into){FfiConverterTypeConversionType.write(value.conversionType,into);FfiConverterOptionalString.write(value.tokenIdentifier,into);}allocationSize(value){return FfiConverterTypeConversionType.allocationSize(value.conversionType)+FfiConverterOptionalString.allocationSize(value.tokenIdentifier);}}return new FFIConverter();})();/**
|
|
586
|
+
* Generated factory for {@link FetchConversionLimitsResponse} record objects.
|
|
587
|
+
*/const FetchConversionLimitsResponse=exports.FetchConversionLimitsResponse=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
|
|
588
|
+
* Create a frozen instance of {@link FetchConversionLimitsResponse}, with defaults specified
|
|
553
589
|
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
554
590
|
*/create,/**
|
|
555
|
-
* Create a frozen instance of {@link
|
|
591
|
+
* Create a frozen instance of {@link FetchConversionLimitsResponse}, with defaults specified
|
|
556
592
|
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
557
593
|
*/new:create,/**
|
|
558
594
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
559
|
-
*/defaults:()=>Object.freeze(defaults())});})();const
|
|
595
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeFetchConversionLimitsResponse=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{minFromAmount:FfiConverterOptionalTypeu128.read(from),minToAmount:FfiConverterOptionalTypeu128.read(from)};}write(value,into){FfiConverterOptionalTypeu128.write(value.minFromAmount,into);FfiConverterOptionalTypeu128.write(value.minToAmount,into);}allocationSize(value){return FfiConverterOptionalTypeu128.allocationSize(value.minFromAmount)+FfiConverterOptionalTypeu128.allocationSize(value.minToAmount);}}return new FFIConverter();})();/**
|
|
560
596
|
* Wrapper around the [`CurrencyInfo`] of a fiat currency
|
|
561
597
|
*//**
|
|
562
598
|
* Generated factory for {@link FiatCurrency} record objects.
|
|
@@ -1018,7 +1054,7 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
|
|
|
1018
1054
|
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
1019
1055
|
*/new:create,/**
|
|
1020
1056
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
1021
|
-
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypePaymentMetadata=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{parentPaymentId:FfiConverterOptionalString.read(from),lnurlPayInfo:FfiConverterOptionalTypeLnurlPayInfo.read(from),lnurlWithdrawInfo:FfiConverterOptionalTypeLnurlWithdrawInfo.read(from),lnurlDescription:FfiConverterOptionalString.read(from),
|
|
1057
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypePaymentMetadata=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{parentPaymentId:FfiConverterOptionalString.read(from),lnurlPayInfo:FfiConverterOptionalTypeLnurlPayInfo.read(from),lnurlWithdrawInfo:FfiConverterOptionalTypeLnurlWithdrawInfo.read(from),lnurlDescription:FfiConverterOptionalString.read(from),conversionInfo:FfiConverterOptionalTypeConversionInfo.read(from)};}write(value,into){FfiConverterOptionalString.write(value.parentPaymentId,into);FfiConverterOptionalTypeLnurlPayInfo.write(value.lnurlPayInfo,into);FfiConverterOptionalTypeLnurlWithdrawInfo.write(value.lnurlWithdrawInfo,into);FfiConverterOptionalString.write(value.lnurlDescription,into);FfiConverterOptionalTypeConversionInfo.write(value.conversionInfo,into);}allocationSize(value){return FfiConverterOptionalString.allocationSize(value.parentPaymentId)+FfiConverterOptionalTypeLnurlPayInfo.allocationSize(value.lnurlPayInfo)+FfiConverterOptionalTypeLnurlWithdrawInfo.allocationSize(value.lnurlWithdrawInfo)+FfiConverterOptionalString.allocationSize(value.lnurlDescription)+FfiConverterOptionalTypeConversionInfo.allocationSize(value.conversionInfo);}}return new FFIConverter();})();/**
|
|
1022
1058
|
* Generated factory for {@link PaymentRequestSource} record objects.
|
|
1023
1059
|
*/const PaymentRequestSource=exports.PaymentRequestSource=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
|
|
1024
1060
|
* Create a frozen instance of {@link PaymentRequestSource}, with defaults specified
|
|
@@ -1050,7 +1086,7 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
|
|
|
1050
1086
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
1051
1087
|
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypePrepareLnurlPayResponse=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{amountSats:_uniffiBindgenReactNative.FfiConverterUInt64.read(from),comment:FfiConverterOptionalString.read(from),payRequest:FfiConverterTypeLnurlPayRequestDetails.read(from),feeSats:_uniffiBindgenReactNative.FfiConverterUInt64.read(from),invoiceDetails:FfiConverterTypeBolt11InvoiceDetails.read(from),successAction:FfiConverterOptionalTypeSuccessAction.read(from)};}write(value,into){_uniffiBindgenReactNative.FfiConverterUInt64.write(value.amountSats,into);FfiConverterOptionalString.write(value.comment,into);FfiConverterTypeLnurlPayRequestDetails.write(value.payRequest,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(value.feeSats,into);FfiConverterTypeBolt11InvoiceDetails.write(value.invoiceDetails,into);FfiConverterOptionalTypeSuccessAction.write(value.successAction,into);}allocationSize(value){return _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.amountSats)+FfiConverterOptionalString.allocationSize(value.comment)+FfiConverterTypeLnurlPayRequestDetails.allocationSize(value.payRequest)+_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.feeSats)+FfiConverterTypeBolt11InvoiceDetails.allocationSize(value.invoiceDetails)+FfiConverterOptionalTypeSuccessAction.allocationSize(value.successAction);}}return new FFIConverter();})();/**
|
|
1052
1088
|
* Generated factory for {@link PrepareSendPaymentRequest} record objects.
|
|
1053
|
-
*/const PrepareSendPaymentRequest=exports.PrepareSendPaymentRequest=(()=>{const defaults=()=>({amount:undefined,tokenIdentifier:undefined,
|
|
1089
|
+
*/const PrepareSendPaymentRequest=exports.PrepareSendPaymentRequest=(()=>{const defaults=()=>({amount:undefined,tokenIdentifier:undefined,conversionOptions:undefined});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
|
|
1054
1090
|
* Create a frozen instance of {@link PrepareSendPaymentRequest}, with defaults specified
|
|
1055
1091
|
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
1056
1092
|
*/create,/**
|
|
@@ -1058,7 +1094,7 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
|
|
|
1058
1094
|
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
1059
1095
|
*/new:create,/**
|
|
1060
1096
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
1061
|
-
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypePrepareSendPaymentRequest=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{paymentRequest:FfiConverterString.read(from),amount:FfiConverterOptionalTypeu128.read(from),tokenIdentifier:FfiConverterOptionalString.read(from),
|
|
1097
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypePrepareSendPaymentRequest=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{paymentRequest:FfiConverterString.read(from),amount:FfiConverterOptionalTypeu128.read(from),tokenIdentifier:FfiConverterOptionalString.read(from),conversionOptions:FfiConverterOptionalTypeConversionOptions.read(from)};}write(value,into){FfiConverterString.write(value.paymentRequest,into);FfiConverterOptionalTypeu128.write(value.amount,into);FfiConverterOptionalString.write(value.tokenIdentifier,into);FfiConverterOptionalTypeConversionOptions.write(value.conversionOptions,into);}allocationSize(value){return FfiConverterString.allocationSize(value.paymentRequest)+FfiConverterOptionalTypeu128.allocationSize(value.amount)+FfiConverterOptionalString.allocationSize(value.tokenIdentifier)+FfiConverterOptionalTypeConversionOptions.allocationSize(value.conversionOptions);}}return new FFIConverter();})();/**
|
|
1062
1098
|
* Generated factory for {@link PrepareSendPaymentResponse} record objects.
|
|
1063
1099
|
*/const PrepareSendPaymentResponse=exports.PrepareSendPaymentResponse=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
|
|
1064
1100
|
* Create a frozen instance of {@link PrepareSendPaymentResponse}, with defaults specified
|
|
@@ -1068,7 +1104,7 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
|
|
|
1068
1104
|
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
1069
1105
|
*/new:create,/**
|
|
1070
1106
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
1071
|
-
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypePrepareSendPaymentResponse=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{paymentMethod:FfiConverterTypeSendPaymentMethod.read(from),amount:FfiConverterTypeu128.read(from),tokenIdentifier:FfiConverterOptionalString.read(from),
|
|
1107
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypePrepareSendPaymentResponse=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{paymentMethod:FfiConverterTypeSendPaymentMethod.read(from),amount:FfiConverterTypeu128.read(from),tokenIdentifier:FfiConverterOptionalString.read(from),conversionEstimate:FfiConverterOptionalTypeConversionEstimate.read(from)};}write(value,into){FfiConverterTypeSendPaymentMethod.write(value.paymentMethod,into);FfiConverterTypeu128.write(value.amount,into);FfiConverterOptionalString.write(value.tokenIdentifier,into);FfiConverterOptionalTypeConversionEstimate.write(value.conversionEstimate,into);}allocationSize(value){return FfiConverterTypeSendPaymentMethod.allocationSize(value.paymentMethod)+FfiConverterTypeu128.allocationSize(value.amount)+FfiConverterOptionalString.allocationSize(value.tokenIdentifier)+FfiConverterOptionalTypeConversionEstimate.allocationSize(value.conversionEstimate);}}return new FFIConverter();})();/**
|
|
1072
1108
|
* FFI-safe representation of a private key (32 bytes)
|
|
1073
1109
|
*//**
|
|
1074
1110
|
* Generated factory for {@link PrivateKeyBytes} record objects.
|
|
@@ -1415,30 +1451,6 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
|
|
|
1415
1451
|
*/new:create,/**
|
|
1416
1452
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
1417
1453
|
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeTokenBalance=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{balance:FfiConverterTypeu128.read(from),tokenMetadata:FfiConverterTypeTokenMetadata.read(from)};}write(value,into){FfiConverterTypeu128.write(value.balance,into);FfiConverterTypeTokenMetadata.write(value.tokenMetadata,into);}allocationSize(value){return FfiConverterTypeu128.allocationSize(value.balance)+FfiConverterTypeTokenMetadata.allocationSize(value.tokenMetadata);}}return new FFIConverter();})();/**
|
|
1418
|
-
* Generated factory for {@link TokenConversionInfo} record objects.
|
|
1419
|
-
*/const TokenConversionInfo=exports.TokenConversionInfo=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
|
|
1420
|
-
* Create a frozen instance of {@link TokenConversionInfo}, with defaults specified
|
|
1421
|
-
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
1422
|
-
*/create,/**
|
|
1423
|
-
* Create a frozen instance of {@link TokenConversionInfo}, with defaults specified
|
|
1424
|
-
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
1425
|
-
*/new:create,/**
|
|
1426
|
-
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
1427
|
-
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeTokenConversionInfo=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{poolId:FfiConverterString.read(from),paymentId:FfiConverterOptionalString.read(from),fee:FfiConverterOptionalTypeu128.read(from),refundIdentifier:FfiConverterOptionalString.read(from)};}write(value,into){FfiConverterString.write(value.poolId,into);FfiConverterOptionalString.write(value.paymentId,into);FfiConverterOptionalTypeu128.write(value.fee,into);FfiConverterOptionalString.write(value.refundIdentifier,into);}allocationSize(value){return FfiConverterString.allocationSize(value.poolId)+FfiConverterOptionalString.allocationSize(value.paymentId)+FfiConverterOptionalTypeu128.allocationSize(value.fee)+FfiConverterOptionalString.allocationSize(value.refundIdentifier);}}return new FFIConverter();})();/**
|
|
1428
|
-
* Options for token conversion when fulfilling a payment. When set, the SDK will
|
|
1429
|
-
* perform a token conversion before fulfilling the payment. If not set, the payment
|
|
1430
|
-
* will only be fulfilled if the wallet has sufficient balance of the required asset.
|
|
1431
|
-
*//**
|
|
1432
|
-
* Generated factory for {@link TokenConversionOptions} record objects.
|
|
1433
|
-
*/const TokenConversionOptions=exports.TokenConversionOptions=(()=>{const defaults=()=>({maxSlippageBps:undefined,completionTimeoutSecs:undefined});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
|
|
1434
|
-
* Create a frozen instance of {@link TokenConversionOptions}, with defaults specified
|
|
1435
|
-
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
1436
|
-
*/create,/**
|
|
1437
|
-
* Create a frozen instance of {@link TokenConversionOptions}, with defaults specified
|
|
1438
|
-
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
1439
|
-
*/new:create,/**
|
|
1440
|
-
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
1441
|
-
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeTokenConversionOptions=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{conversionType:FfiConverterTypeTokenConversionType.read(from),maxSlippageBps:FfiConverterOptionalUInt32.read(from),completionTimeoutSecs:FfiConverterOptionalUInt32.read(from)};}write(value,into){FfiConverterTypeTokenConversionType.write(value.conversionType,into);FfiConverterOptionalUInt32.write(value.maxSlippageBps,into);FfiConverterOptionalUInt32.write(value.completionTimeoutSecs,into);}allocationSize(value){return FfiConverterTypeTokenConversionType.allocationSize(value.conversionType)+FfiConverterOptionalUInt32.allocationSize(value.maxSlippageBps)+FfiConverterOptionalUInt32.allocationSize(value.completionTimeoutSecs);}}return new FFIConverter();})();/**
|
|
1442
1454
|
* Generated factory for {@link TokenMetadata} record objects.
|
|
1443
1455
|
*/const TokenMetadata=exports.TokenMetadata=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
|
|
1444
1456
|
* Create a frozen instance of {@link TokenMetadata}, with defaults specified
|
|
@@ -1584,7 +1596,48 @@ let ChainServiceError_Tags=exports.ChainServiceError_Tags=/*#__PURE__*/function(
|
|
|
1584
1596
|
* This field is private and should not be used, use `tag` instead.
|
|
1585
1597
|
*/[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='ChainServiceError';tag=ChainServiceError_Tags.Generic;constructor(v0){super('ChainServiceError','Generic');this.inner=Object.freeze([v0]);}static new(v0){return new Generic_(v0);}static instanceOf(obj){return obj.tag===ChainServiceError_Tags.Generic;}static hasInner(obj){return Generic_.instanceOf(obj);}static getInner(obj){return obj.inner;}}function instanceOf(obj){return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='ChainServiceError';}return Object.freeze({instanceOf,InvalidAddress:InvalidAddress_,ServiceConnectivity:ServiceConnectivity_,Generic:Generic_});})();// FfiConverter for enum ChainServiceError
|
|
1586
1598
|
const FfiConverterTypeChainServiceError=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new ChainServiceError.InvalidAddress(FfiConverterString.read(from));case 2:return new ChainServiceError.ServiceConnectivity(FfiConverterString.read(from));case 3:return new ChainServiceError.Generic(FfiConverterString.read(from));default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case ChainServiceError_Tags.InvalidAddress:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case ChainServiceError_Tags.ServiceConnectivity:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case ChainServiceError_Tags.Generic:{ordinalConverter.write(3,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}default:// Throwing from here means that ChainServiceError_Tags hasn't matched an ordinal.
|
|
1587
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case ChainServiceError_Tags.InvalidAddress:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterString.allocationSize(inner[0]);return size;}case ChainServiceError_Tags.ServiceConnectivity:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterString.allocationSize(inner[0]);return size;}case ChainServiceError_Tags.Generic:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterString.allocationSize(inner[0]);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum:
|
|
1599
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case ChainServiceError_Tags.InvalidAddress:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterString.allocationSize(inner[0]);return size;}case ChainServiceError_Tags.ServiceConnectivity:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterString.allocationSize(inner[0]);return size;}case ChainServiceError_Tags.Generic:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterString.allocationSize(inner[0]);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: ConversionPurpose
|
|
1600
|
+
let ConversionPurpose_Tags=exports.ConversionPurpose_Tags=/*#__PURE__*/function(ConversionPurpose_Tags){ConversionPurpose_Tags["OngoingPayment"]="OngoingPayment";ConversionPurpose_Tags["SelfTransfer"]="SelfTransfer";return ConversionPurpose_Tags;}({});/**
|
|
1601
|
+
* The purpose of the conversion, which is used to provide context for the conversion
|
|
1602
|
+
* if its related to an ongoing payment or a self-transfer.
|
|
1603
|
+
*/const ConversionPurpose=exports.ConversionPurpose=(()=>{/**
|
|
1604
|
+
* Conversion is associated with an ongoing payment
|
|
1605
|
+
*/class OngoingPayment_ extends _uniffiBindgenReactNative.UniffiEnum{/**
|
|
1606
|
+
* @private
|
|
1607
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1608
|
+
*/[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='ConversionPurpose';tag=ConversionPurpose_Tags.OngoingPayment;constructor(inner){super('ConversionPurpose','OngoingPayment');this.inner=Object.freeze(inner);}static new(inner){return new OngoingPayment_(inner);}static instanceOf(obj){return obj.tag===ConversionPurpose_Tags.OngoingPayment;}}/**
|
|
1609
|
+
* Conversion is for self-transfer
|
|
1610
|
+
*/class SelfTransfer_ extends _uniffiBindgenReactNative.UniffiEnum{/**
|
|
1611
|
+
* @private
|
|
1612
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1613
|
+
*/[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='ConversionPurpose';tag=ConversionPurpose_Tags.SelfTransfer;constructor(){super('ConversionPurpose','SelfTransfer');}static new(){return new SelfTransfer_();}static instanceOf(obj){return obj.tag===ConversionPurpose_Tags.SelfTransfer;}}function instanceOf(obj){return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='ConversionPurpose';}return Object.freeze({instanceOf,OngoingPayment:OngoingPayment_,SelfTransfer:SelfTransfer_});})();/**
|
|
1614
|
+
* The purpose of the conversion, which is used to provide context for the conversion
|
|
1615
|
+
* if its related to an ongoing payment or a self-transfer.
|
|
1616
|
+
*/// FfiConverter for enum ConversionPurpose
|
|
1617
|
+
const FfiConverterTypeConversionPurpose=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new ConversionPurpose.OngoingPayment({paymentRequest:FfiConverterString.read(from)});case 2:return new ConversionPurpose.SelfTransfer();default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case ConversionPurpose_Tags.OngoingPayment:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterString.write(inner.paymentRequest,into);return;}case ConversionPurpose_Tags.SelfTransfer:{ordinalConverter.write(2,into);return;}default:// Throwing from here means that ConversionPurpose_Tags hasn't matched an ordinal.
|
|
1618
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case ConversionPurpose_Tags.OngoingPayment:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterString.allocationSize(inner.paymentRequest);return size;}case ConversionPurpose_Tags.SelfTransfer:{return ordinalConverter.allocationSize(2);}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();/**
|
|
1619
|
+
* The status of the conversion
|
|
1620
|
+
*/let ConversionStatus=exports.ConversionStatus=/*#__PURE__*/function(ConversionStatus){/**
|
|
1621
|
+
* The conversion was successful
|
|
1622
|
+
*/ConversionStatus[ConversionStatus["Completed"]=0]="Completed";/**
|
|
1623
|
+
* The conversion failed and no refund was made yet, which requires action by the SDK to
|
|
1624
|
+
* perform the refund. This can happen if there was a failure during the conversion process.
|
|
1625
|
+
*/ConversionStatus[ConversionStatus["RefundNeeded"]=1]="RefundNeeded";/**
|
|
1626
|
+
* The conversion failed and a refund was made
|
|
1627
|
+
*/ConversionStatus[ConversionStatus["Refunded"]=2]="Refunded";return ConversionStatus;}({});const FfiConverterTypeConversionStatus=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return ConversionStatus.Completed;case 2:return ConversionStatus.RefundNeeded;case 3:return ConversionStatus.Refunded;default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value){case ConversionStatus.Completed:return ordinalConverter.write(1,into);case ConversionStatus.RefundNeeded:return ordinalConverter.write(2,into);case ConversionStatus.Refunded:return ordinalConverter.write(3,into);}}allocationSize(value){return ordinalConverter.allocationSize(0);}}return new FFIConverter();})();// Enum: ConversionType
|
|
1628
|
+
let ConversionType_Tags=exports.ConversionType_Tags=/*#__PURE__*/function(ConversionType_Tags){ConversionType_Tags["FromBitcoin"]="FromBitcoin";ConversionType_Tags["ToBitcoin"]="ToBitcoin";return ConversionType_Tags;}({});const ConversionType=exports.ConversionType=(()=>{/**
|
|
1629
|
+
* Converting from Bitcoin to a token
|
|
1630
|
+
*/class FromBitcoin_ extends _uniffiBindgenReactNative.UniffiEnum{/**
|
|
1631
|
+
* @private
|
|
1632
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1633
|
+
*/[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='ConversionType';tag=ConversionType_Tags.FromBitcoin;constructor(){super('ConversionType','FromBitcoin');}static new(){return new FromBitcoin_();}static instanceOf(obj){return obj.tag===ConversionType_Tags.FromBitcoin;}}/**
|
|
1634
|
+
* Converting from a token to Bitcoin
|
|
1635
|
+
*/class ToBitcoin_ extends _uniffiBindgenReactNative.UniffiEnum{/**
|
|
1636
|
+
* @private
|
|
1637
|
+
* This field is private and should not be used, use `tag` instead.
|
|
1638
|
+
*/[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='ConversionType';tag=ConversionType_Tags.ToBitcoin;constructor(inner){super('ConversionType','ToBitcoin');this.inner=Object.freeze(inner);}static new(inner){return new ToBitcoin_(inner);}static instanceOf(obj){return obj.tag===ConversionType_Tags.ToBitcoin;}}function instanceOf(obj){return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='ConversionType';}return Object.freeze({instanceOf,FromBitcoin:FromBitcoin_,ToBitcoin:ToBitcoin_});})();// FfiConverter for enum ConversionType
|
|
1639
|
+
const FfiConverterTypeConversionType=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new ConversionType.FromBitcoin();case 2:return new ConversionType.ToBitcoin({fromTokenIdentifier:FfiConverterString.read(from)});default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case ConversionType_Tags.FromBitcoin:{ordinalConverter.write(1,into);return;}case ConversionType_Tags.ToBitcoin:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterString.write(inner.fromTokenIdentifier,into);return;}default:// Throwing from here means that ConversionType_Tags hasn't matched an ordinal.
|
|
1640
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case ConversionType_Tags.FromBitcoin:{return ordinalConverter.allocationSize(1);}case ConversionType_Tags.ToBitcoin:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterString.allocationSize(inner.fromTokenIdentifier);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: DepositClaimError
|
|
1588
1641
|
let DepositClaimError_Tags=exports.DepositClaimError_Tags=/*#__PURE__*/function(DepositClaimError_Tags){DepositClaimError_Tags["MaxDepositClaimFeeExceeded"]="MaxDepositClaimFeeExceeded";DepositClaimError_Tags["MissingUtxo"]="MissingUtxo";DepositClaimError_Tags["Generic"]="Generic";return DepositClaimError_Tags;}({});const DepositClaimError=exports.DepositClaimError=(()=>{class MaxDepositClaimFeeExceeded_ extends _uniffiBindgenReactNative.UniffiEnum{/**
|
|
1589
1642
|
* @private
|
|
1590
1643
|
* This field is private and should not be used, use `tag` instead.
|
|
@@ -1746,8 +1799,8 @@ let PaymentDetails_Tags=exports.PaymentDetails_Tags=/*#__PURE__*/function(Paymen
|
|
|
1746
1799
|
* @private
|
|
1747
1800
|
* This field is private and should not be used, use `tag` instead.
|
|
1748
1801
|
*/[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='PaymentDetails';tag=PaymentDetails_Tags.Deposit;constructor(inner){super('PaymentDetails','Deposit');this.inner=Object.freeze(inner);}static new(inner){return new Deposit_(inner);}static instanceOf(obj){return obj.tag===PaymentDetails_Tags.Deposit;}}function instanceOf(obj){return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='PaymentDetails';}return Object.freeze({instanceOf,Spark:Spark_,Token:Token_,Lightning:Lightning_,Withdraw:Withdraw_,Deposit:Deposit_});})();// FfiConverter for enum PaymentDetails
|
|
1749
|
-
const FfiConverterTypePaymentDetails=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new PaymentDetails.Spark({invoiceDetails:FfiConverterOptionalTypeSparkInvoicePaymentDetails.read(from),htlcDetails:FfiConverterOptionalTypeSparkHtlcDetails.read(from),
|
|
1750
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case PaymentDetails_Tags.Spark:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterOptionalTypeSparkInvoicePaymentDetails.allocationSize(inner.invoiceDetails);size+=FfiConverterOptionalTypeSparkHtlcDetails.allocationSize(inner.htlcDetails);size+=
|
|
1802
|
+
const FfiConverterTypePaymentDetails=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new PaymentDetails.Spark({invoiceDetails:FfiConverterOptionalTypeSparkInvoicePaymentDetails.read(from),htlcDetails:FfiConverterOptionalTypeSparkHtlcDetails.read(from),conversionInfo:FfiConverterOptionalTypeConversionInfo.read(from)});case 2:return new PaymentDetails.Token({metadata:FfiConverterTypeTokenMetadata.read(from),txHash:FfiConverterString.read(from),invoiceDetails:FfiConverterOptionalTypeSparkInvoicePaymentDetails.read(from),conversionInfo:FfiConverterOptionalTypeConversionInfo.read(from)});case 3:return new PaymentDetails.Lightning({description:FfiConverterOptionalString.read(from),preimage:FfiConverterOptionalString.read(from),invoice:FfiConverterString.read(from),paymentHash:FfiConverterString.read(from),destinationPubkey:FfiConverterString.read(from),lnurlPayInfo:FfiConverterOptionalTypeLnurlPayInfo.read(from),lnurlWithdrawInfo:FfiConverterOptionalTypeLnurlWithdrawInfo.read(from),lnurlReceiveMetadata:FfiConverterOptionalTypeLnurlReceiveMetadata.read(from)});case 4:return new PaymentDetails.Withdraw({txId:FfiConverterString.read(from)});case 5:return new PaymentDetails.Deposit({txId:FfiConverterString.read(from)});default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case PaymentDetails_Tags.Spark:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterOptionalTypeSparkInvoicePaymentDetails.write(inner.invoiceDetails,into);FfiConverterOptionalTypeSparkHtlcDetails.write(inner.htlcDetails,into);FfiConverterOptionalTypeConversionInfo.write(inner.conversionInfo,into);return;}case PaymentDetails_Tags.Token:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterTypeTokenMetadata.write(inner.metadata,into);FfiConverterString.write(inner.txHash,into);FfiConverterOptionalTypeSparkInvoicePaymentDetails.write(inner.invoiceDetails,into);FfiConverterOptionalTypeConversionInfo.write(inner.conversionInfo,into);return;}case PaymentDetails_Tags.Lightning:{ordinalConverter.write(3,into);const inner=value.inner;FfiConverterOptionalString.write(inner.description,into);FfiConverterOptionalString.write(inner.preimage,into);FfiConverterString.write(inner.invoice,into);FfiConverterString.write(inner.paymentHash,into);FfiConverterString.write(inner.destinationPubkey,into);FfiConverterOptionalTypeLnurlPayInfo.write(inner.lnurlPayInfo,into);FfiConverterOptionalTypeLnurlWithdrawInfo.write(inner.lnurlWithdrawInfo,into);FfiConverterOptionalTypeLnurlReceiveMetadata.write(inner.lnurlReceiveMetadata,into);return;}case PaymentDetails_Tags.Withdraw:{ordinalConverter.write(4,into);const inner=value.inner;FfiConverterString.write(inner.txId,into);return;}case PaymentDetails_Tags.Deposit:{ordinalConverter.write(5,into);const inner=value.inner;FfiConverterString.write(inner.txId,into);return;}default:// Throwing from here means that PaymentDetails_Tags hasn't matched an ordinal.
|
|
1803
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case PaymentDetails_Tags.Spark:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterOptionalTypeSparkInvoicePaymentDetails.allocationSize(inner.invoiceDetails);size+=FfiConverterOptionalTypeSparkHtlcDetails.allocationSize(inner.htlcDetails);size+=FfiConverterOptionalTypeConversionInfo.allocationSize(inner.conversionInfo);return size;}case PaymentDetails_Tags.Token:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterTypeTokenMetadata.allocationSize(inner.metadata);size+=FfiConverterString.allocationSize(inner.txHash);size+=FfiConverterOptionalTypeSparkInvoicePaymentDetails.allocationSize(inner.invoiceDetails);size+=FfiConverterOptionalTypeConversionInfo.allocationSize(inner.conversionInfo);return size;}case PaymentDetails_Tags.Lightning:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterOptionalString.allocationSize(inner.description);size+=FfiConverterOptionalString.allocationSize(inner.preimage);size+=FfiConverterString.allocationSize(inner.invoice);size+=FfiConverterString.allocationSize(inner.paymentHash);size+=FfiConverterString.allocationSize(inner.destinationPubkey);size+=FfiConverterOptionalTypeLnurlPayInfo.allocationSize(inner.lnurlPayInfo);size+=FfiConverterOptionalTypeLnurlWithdrawInfo.allocationSize(inner.lnurlWithdrawInfo);size+=FfiConverterOptionalTypeLnurlReceiveMetadata.allocationSize(inner.lnurlReceiveMetadata);return size;}case PaymentDetails_Tags.Withdraw:{const inner=value.inner;let size=ordinalConverter.allocationSize(4);size+=FfiConverterString.allocationSize(inner.txId);return size;}case PaymentDetails_Tags.Deposit:{const inner=value.inner;let size=ordinalConverter.allocationSize(5);size+=FfiConverterString.allocationSize(inner.txId);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: PaymentDetailsFilter
|
|
1751
1804
|
let PaymentDetailsFilter_Tags=exports.PaymentDetailsFilter_Tags=/*#__PURE__*/function(PaymentDetailsFilter_Tags){PaymentDetailsFilter_Tags["Spark"]="Spark";PaymentDetailsFilter_Tags["Token"]="Token";return PaymentDetailsFilter_Tags;}({});const PaymentDetailsFilter=exports.PaymentDetailsFilter=(()=>{class Spark_ extends _uniffiBindgenReactNative.UniffiEnum{/**
|
|
1752
1805
|
* @private
|
|
1753
1806
|
* This field is private and should not be used, use `tag` instead.
|
|
@@ -2101,20 +2154,7 @@ let SyncStorageError_Tags=exports.SyncStorageError_Tags=/*#__PURE__*/function(Sy
|
|
|
2101
2154
|
* Errors that can occur during storage operations
|
|
2102
2155
|
*/// FfiConverter for enum SyncStorageError
|
|
2103
2156
|
const FfiConverterTypeSyncStorageError=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new SyncStorageError.Implementation(FfiConverterString.read(from));case 2:return new SyncStorageError.InitializationError(FfiConverterString.read(from));case 3:return new SyncStorageError.Serialization(FfiConverterString.read(from));default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case SyncStorageError_Tags.Implementation:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SyncStorageError_Tags.InitializationError:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SyncStorageError_Tags.Serialization:{ordinalConverter.write(3,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}default:// Throwing from here means that SyncStorageError_Tags hasn't matched an ordinal.
|
|
2104
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case SyncStorageError_Tags.Implementation:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SyncStorageError_Tags.InitializationError:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SyncStorageError_Tags.Serialization:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterString.allocationSize(inner[0]);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum:
|
|
2105
|
-
let TokenConversionType_Tags=exports.TokenConversionType_Tags=/*#__PURE__*/function(TokenConversionType_Tags){TokenConversionType_Tags["FromBitcoin"]="FromBitcoin";TokenConversionType_Tags["ToBitcoin"]="ToBitcoin";return TokenConversionType_Tags;}({});const TokenConversionType=exports.TokenConversionType=(()=>{/**
|
|
2106
|
-
* Converting from Bitcoin to a token
|
|
2107
|
-
*/class FromBitcoin_ extends _uniffiBindgenReactNative.UniffiEnum{/**
|
|
2108
|
-
* @private
|
|
2109
|
-
* This field is private and should not be used, use `tag` instead.
|
|
2110
|
-
*/[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='TokenConversionType';tag=TokenConversionType_Tags.FromBitcoin;constructor(){super('TokenConversionType','FromBitcoin');}static new(){return new FromBitcoin_();}static instanceOf(obj){return obj.tag===TokenConversionType_Tags.FromBitcoin;}}/**
|
|
2111
|
-
* Converting from a token to Bitcoin
|
|
2112
|
-
*/class ToBitcoin_ extends _uniffiBindgenReactNative.UniffiEnum{/**
|
|
2113
|
-
* @private
|
|
2114
|
-
* This field is private and should not be used, use `tag` instead.
|
|
2115
|
-
*/[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='TokenConversionType';tag=TokenConversionType_Tags.ToBitcoin;constructor(inner){super('TokenConversionType','ToBitcoin');this.inner=Object.freeze(inner);}static new(inner){return new ToBitcoin_(inner);}static instanceOf(obj){return obj.tag===TokenConversionType_Tags.ToBitcoin;}}function instanceOf(obj){return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='TokenConversionType';}return Object.freeze({instanceOf,FromBitcoin:FromBitcoin_,ToBitcoin:ToBitcoin_});})();// FfiConverter for enum TokenConversionType
|
|
2116
|
-
const FfiConverterTypeTokenConversionType=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new TokenConversionType.FromBitcoin();case 2:return new TokenConversionType.ToBitcoin({fromTokenIdentifier:FfiConverterString.read(from)});default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case TokenConversionType_Tags.FromBitcoin:{ordinalConverter.write(1,into);return;}case TokenConversionType_Tags.ToBitcoin:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterString.write(inner.fromTokenIdentifier,into);return;}default:// Throwing from here means that TokenConversionType_Tags hasn't matched an ordinal.
|
|
2117
|
-
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case TokenConversionType_Tags.FromBitcoin:{return ordinalConverter.allocationSize(1);}case TokenConversionType_Tags.ToBitcoin:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterString.allocationSize(inner.fromTokenIdentifier);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: UpdateDepositPayload
|
|
2157
|
+
throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case SyncStorageError_Tags.Implementation:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SyncStorageError_Tags.InitializationError:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SyncStorageError_Tags.Serialization:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterString.allocationSize(inner[0]);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: UpdateDepositPayload
|
|
2118
2158
|
let UpdateDepositPayload_Tags=exports.UpdateDepositPayload_Tags=/*#__PURE__*/function(UpdateDepositPayload_Tags){UpdateDepositPayload_Tags["ClaimError"]="ClaimError";UpdateDepositPayload_Tags["Refund"]="Refund";return UpdateDepositPayload_Tags;}({});const UpdateDepositPayload=exports.UpdateDepositPayload=(()=>{class ClaimError_ extends _uniffiBindgenReactNative.UniffiEnum{/**
|
|
2119
2159
|
* @private
|
|
2120
2160
|
* This field is private and should not be used, use `tag` instead.
|
|
@@ -2178,7 +2218,7 @@ constructor(pointer){super();this[_uniffiBindgenReactNative.pointerLiteralSymbol
|
|
|
2178
2218
|
* # Returns
|
|
2179
2219
|
*
|
|
2180
2220
|
* Result containing either success or an `SdkError` if the background task couldn't be stopped
|
|
2181
|
-
*/async disconnect(asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_disconnect(uniffiTypeBreezSdkObjectFactory.clonePointer(this));},/*pollFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_poll_void,/*cancelFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_cancel_void,/*completeFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_complete_void,/*freeFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_free_void,/*liftFunc:*/_v=>{},/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async
|
|
2221
|
+
*/async disconnect(asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_disconnect(uniffiTypeBreezSdkObjectFactory.clonePointer(this));},/*pollFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_poll_void,/*cancelFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_cancel_void,/*completeFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_complete_void,/*freeFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_free_void,/*liftFunc:*/_v=>{},/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async fetchConversionLimits(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_fetch_conversion_limits(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeFetchConversionLimitsRequest.lower(request));},/*pollFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypeFetchConversionLimitsResponse.lift.bind(FfiConverterTypeFetchConversionLimitsResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
2182
2222
|
* Returns the balance of the wallet in satoshis
|
|
2183
2223
|
*/async getInfo(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_info(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeGetInfoRequest.lower(request));},/*pollFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypeGetInfoResponse.lift.bind(FfiConverterTypeGetInfoResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
2184
2224
|
* Returns the current optimization progress snapshot.
|
|
@@ -2815,7 +2855,10 @@ constructor(pointer){super();this[_uniffiBindgenReactNative.pointerLiteralSymbol
|
|
|
2815
2855
|
const FfiConverterTypeTokenIssuer=new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeTokenIssuerObjectFactory);// FfiConverter for boolean | undefined
|
|
2816
2856
|
const FfiConverterOptionalBool=new _uniffiBindgenReactNative.FfiConverterOptional(_uniffiBindgenReactNative.FfiConverterBool);// FfiConverter for ArrayBuffer | undefined
|
|
2817
2857
|
const FfiConverterOptionalArrayBuffer=new _uniffiBindgenReactNative.FfiConverterOptional(_uniffiBindgenReactNative.FfiConverterArrayBuffer);// FfiConverter for Logger | undefined
|
|
2818
|
-
const FfiConverterOptionalTypeLogger=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeLogger);// FfiConverter for
|
|
2858
|
+
const FfiConverterOptionalTypeLogger=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeLogger);// FfiConverter for ConversionEstimate | undefined
|
|
2859
|
+
const FfiConverterOptionalTypeConversionEstimate=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeConversionEstimate);// FfiConverter for ConversionInfo | undefined
|
|
2860
|
+
const FfiConverterOptionalTypeConversionInfo=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeConversionInfo);// FfiConverter for ConversionOptions | undefined
|
|
2861
|
+
const FfiConverterOptionalTypeConversionOptions=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeConversionOptions);// FfiConverter for Credentials | undefined
|
|
2819
2862
|
const FfiConverterOptionalTypeCredentials=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeCredentials);// FfiConverter for KeySetConfig | undefined
|
|
2820
2863
|
const FfiConverterOptionalTypeKeySetConfig=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeKeySetConfig);// FfiConverter for LightningAddressInfo | undefined
|
|
2821
2864
|
const FfiConverterOptionalTypeLightningAddressInfo=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeLightningAddressInfo);// FfiConverter for LnurlPayInfo | undefined
|
|
@@ -2828,9 +2871,7 @@ const FfiConverterOptionalTypeRecord=new _uniffiBindgenReactNative.FfiConverterO
|
|
|
2828
2871
|
const FfiConverterOptionalTypeSparkHtlcDetails=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeSparkHtlcDetails);// FfiConverter for SparkHtlcOptions | undefined
|
|
2829
2872
|
const FfiConverterOptionalTypeSparkHtlcOptions=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeSparkHtlcOptions);// FfiConverter for SparkInvoicePaymentDetails | undefined
|
|
2830
2873
|
const FfiConverterOptionalTypeSparkInvoicePaymentDetails=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeSparkInvoicePaymentDetails);// FfiConverter for Symbol | undefined
|
|
2831
|
-
const FfiConverterOptionalTypeSymbol=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeSymbol);// FfiConverter for
|
|
2832
|
-
const FfiConverterOptionalTypeTokenConversionInfo=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeTokenConversionInfo);// FfiConverter for TokenConversionOptions | undefined
|
|
2833
|
-
const FfiConverterOptionalTypeTokenConversionOptions=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeTokenConversionOptions);// FfiConverter for string | undefined
|
|
2874
|
+
const FfiConverterOptionalTypeSymbol=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeSymbol);// FfiConverter for string | undefined
|
|
2834
2875
|
const FfiConverterOptionalString=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterString);// FfiConverter for /*u32*/number | undefined
|
|
2835
2876
|
const FfiConverterOptionalUInt32=new _uniffiBindgenReactNative.FfiConverterOptional(_uniffiBindgenReactNative.FfiConverterUInt32);// FfiConverter for /*u64*/bigint | undefined
|
|
2836
2877
|
const FfiConverterOptionalUInt64=new _uniffiBindgenReactNative.FfiConverterOptional(_uniffiBindgenReactNative.FfiConverterUInt64);// FfiConverter for Array<ArrayBuffer>
|
|
@@ -2860,7 +2901,8 @@ const FfiConverterArrayTypeUtxo=new _uniffiBindgenReactNative.FfiConverterArray(
|
|
|
2860
2901
|
const FfiConverterArrayString=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterString);// FfiConverter for U128 | undefined
|
|
2861
2902
|
const FfiConverterOptionalTypeu128=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeu128);// FfiConverter for Amount | undefined
|
|
2862
2903
|
const FfiConverterOptionalTypeAmount=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeAmount);// FfiConverter for AssetFilter | undefined
|
|
2863
|
-
const FfiConverterOptionalTypeAssetFilter=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeAssetFilter);// FfiConverter for
|
|
2904
|
+
const FfiConverterOptionalTypeAssetFilter=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeAssetFilter);// FfiConverter for ConversionPurpose | undefined
|
|
2905
|
+
const FfiConverterOptionalTypeConversionPurpose=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeConversionPurpose);// FfiConverter for DepositClaimError | undefined
|
|
2864
2906
|
const FfiConverterOptionalTypeDepositClaimError=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeDepositClaimError);// FfiConverter for Fee | undefined
|
|
2865
2907
|
const FfiConverterOptionalTypeFee=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeFee);// FfiConverter for MaxFee | undefined
|
|
2866
2908
|
const FfiConverterOptionalTypeMaxFee=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeMaxFee);// FfiConverter for PaymentDetails | undefined
|
|
@@ -2889,5 +2931,5 @@ const FfiConverterOptionalArrayTypeSparkHtlcStatus=new _uniffiBindgenReactNative
|
|
|
2889
2931
|
* It also initializes the machinery to enable Rust to talk back to Javascript.
|
|
2890
2932
|
*/function uniffiEnsureInitialized(){// Get the bindings contract version from our ComponentInterface
|
|
2891
2933
|
const bindingsContractVersion=26;// Get the scaffolding contract version by calling the into the dylib
|
|
2892
|
-
const scaffoldingContractVersion=(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_uniffi_contract_version();if(bindingsContractVersion!==scaffoldingContractVersion){throw new _uniffiBindgenReactNative.UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion,bindingsContractVersion);}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_connect()!==40345){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signer()!==1399){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect_with_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_default_config()!==62194){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_config');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signer()!==40694){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_external_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_init_logging()!==8518){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_init_logging');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos()!==20959){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status()!==23018){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex()!==59376){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction()!==65179){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees()!==43230){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener()!==37737){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_cancel_leaf_optimization()!==56996){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_cancel_leaf_optimization');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available()!==31624){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message()!==4385){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit()!==43529){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment()!==57587){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address()!==44132){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect()!==330){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_token_conversion_limits()!==9413){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_token_conversion_limits');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info()!==6771){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_leaf_optimization_progress()!==38008){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_leaf_optimization_progress');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address()!==36552){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment()!==11540){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer()!==26649){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata()!==40125){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings()!==38537){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies()!==63366){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates()!==5904){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments()!==16156){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits()!==22486){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay()!==10147){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw()!==45652){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_parse()!==14285){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_parse');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay()!==37691){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment()!==34185){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment()!==36984){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees()!==16947){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit()!==33646){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address()!==530){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener()!==41066){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment()!==54349){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message()!==57563){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_start_leaf_optimization()!==22827){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_start_leaf_optimization');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet()!==30368){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings()!==1721){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_identity_public_key()!==44711){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_identity_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key()!==63908){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa()!==52291){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable()!==8564){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_encrypt()!==19449){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_encrypt');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_decrypt()!==46414){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_decrypt');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr()!==57220){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_frost_signing_commitments()!==24826){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_frost_signing_commitments');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node()!==32818){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_key()!==22789){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key_source()!==37751){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key_source');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key()!==55375){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_public_key()!==49264){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_private_keys()!==46671){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_private_keys');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret()!==840){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_private_key_for_receiver()!==42476){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_private_key_for_receiver');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_from_private_key_source()!==38684){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_from_private_key_source');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost()!==1497){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost_signatures()!==26523){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost_signatures');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies()!==19092){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates()!==11512){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send()!==30686){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_get_request()!==8260){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_get_request');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_post_request()!==24889){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_post_request');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_delete_request()!==51072){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_delete_request');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build()!==8126){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service()!==2848){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage()!==14543){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service()!==37854){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set()!==50052){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client()!==51060){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer()!==21617){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_real_time_sync_storage()!==20579){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_real_time_sync_storage');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service()!==63155){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage()!==59400){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item()!==6883){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item()!==30248){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item()!==7970){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_payments()!==19728){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_payments');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment()!==28075){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_payment_metadata()!==45500){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_payment_metadata');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id()!==35394){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice()!==57075){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_deposit()!==60240){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_add_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit()!==60586){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_deposits()!==54118){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_deposits');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_deposit()!==39803){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_update_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata()!==7460){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_add_outgoing_change()!==19087){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_add_outgoing_change');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_complete_outgoing_sync()!==20071){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_complete_outgoing_sync');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_get_pending_outgoing_changes()!==23473){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_get_pending_outgoing_changes');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_get_last_revision()!==36887){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_get_last_revision');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_insert_incoming_records()!==41782){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_insert_incoming_records');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_delete_incoming_record()!==23002){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_delete_incoming_record');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_rebase_pending_outgoing_records()!==61508){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_rebase_pending_outgoing_records');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_get_incoming_records()!==53552){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_get_incoming_records');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_get_latest_outgoing_change()!==16326){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_get_latest_outgoing_change');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_update_record_from_incoming()!==9986){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_update_record_from_incoming');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token()!==56056){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token()!==33277){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token()!==32344){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_balance()!==9758){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_balance');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata()!==57707){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token()!==36459){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token()!==65025){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new()!==65435){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event()!==24807){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_logger_log()!==11839){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_logger_log');}uniffiCallbackInterfaceEventListener.register();uniffiCallbackInterfaceLogger.register();uniffiCallbackInterfaceBitcoinChainService.register();uniffiCallbackInterfaceExternalSigner.register();uniffiCallbackInterfaceFiatService.register();uniffiCallbackInterfacePaymentObserver.register();uniffiCallbackInterfaceRestClient.register();uniffiCallbackInterfaceStorage.register();uniffiCallbackInterfaceSyncStorage.register();}var _default=exports.default=Object.freeze({initialize:uniffiEnsureInitialized,converters:{FfiConverterTypeAesSuccessActionData,FfiConverterTypeAesSuccessActionDataDecrypted,FfiConverterTypeAesSuccessActionDataResult,FfiConverterTypeAmount,FfiConverterTypeAssetFilter,FfiConverterTypeBip21Details,FfiConverterTypeBip21Extra,FfiConverterTypeBitcoinAddressDetails,FfiConverterTypeBitcoinChainService,FfiConverterTypeBitcoinNetwork,FfiConverterTypeBolt11Invoice,FfiConverterTypeBolt11InvoiceDetails,FfiConverterTypeBolt11RouteHint,FfiConverterTypeBolt11RouteHintHop,FfiConverterTypeBolt12Invoice,FfiConverterTypeBolt12InvoiceDetails,FfiConverterTypeBolt12InvoiceRequestDetails,FfiConverterTypeBolt12Offer,FfiConverterTypeBolt12OfferBlindedPath,FfiConverterTypeBolt12OfferDetails,FfiConverterTypeBreezSdk,FfiConverterTypeBurnIssuerTokenRequest,FfiConverterTypeChainApiType,FfiConverterTypeCheckLightningAddressRequest,FfiConverterTypeCheckMessageRequest,FfiConverterTypeCheckMessageResponse,FfiConverterTypeClaimDepositRequest,FfiConverterTypeClaimDepositResponse,FfiConverterTypeClaimHtlcPaymentRequest,FfiConverterTypeClaimHtlcPaymentResponse,FfiConverterTypeConfig,FfiConverterTypeConnectRequest,FfiConverterTypeConnectWithSignerRequest,FfiConverterTypeCreateIssuerTokenRequest,FfiConverterTypeCredentials,FfiConverterTypeCurrencyInfo,FfiConverterTypeDepositClaimError,FfiConverterTypeDepositInfo,FfiConverterTypeEcdsaSignatureBytes,FfiConverterTypeExternalAggregateFrostRequest,FfiConverterTypeExternalEncryptedPrivateKey,FfiConverterTypeExternalFrostCommitments,FfiConverterTypeExternalFrostSignature,FfiConverterTypeExternalFrostSignatureShare,FfiConverterTypeExternalIdentifier,FfiConverterTypeExternalInputParser,FfiConverterTypeExternalPrivateKeySource,FfiConverterTypeExternalScalar,FfiConverterTypeExternalSecretShare,FfiConverterTypeExternalSecretToSplit,FfiConverterTypeExternalSignFrostRequest,FfiConverterTypeExternalSigner,FfiConverterTypeExternalSigningCommitments,FfiConverterTypeExternalTreeNodeId,FfiConverterTypeExternalVerifiableSecretShare,FfiConverterTypeFee,FfiConverterTypeFetchTokenConversionLimitsRequest,FfiConverterTypeFetchTokenConversionLimitsResponse,FfiConverterTypeFiatCurrency,FfiConverterTypeFiatService,FfiConverterTypeFreezeIssuerTokenRequest,FfiConverterTypeFreezeIssuerTokenResponse,FfiConverterTypeGetInfoRequest,FfiConverterTypeGetInfoResponse,FfiConverterTypeGetPaymentRequest,FfiConverterTypeGetPaymentResponse,FfiConverterTypeGetTokensMetadataRequest,FfiConverterTypeGetTokensMetadataResponse,FfiConverterTypeIdentifierCommitmentPair,FfiConverterTypeIdentifierPublicKeyPair,FfiConverterTypeIdentifierSignaturePair,FfiConverterTypeIncomingChange,FfiConverterTypeInputType,FfiConverterTypeKeySetConfig,FfiConverterTypeKeySetType,FfiConverterTypeLightningAddressDetails,FfiConverterTypeLightningAddressInfo,FfiConverterTypeListFiatCurrenciesResponse,FfiConverterTypeListFiatRatesResponse,FfiConverterTypeListPaymentsRequest,FfiConverterTypeListPaymentsResponse,FfiConverterTypeListUnclaimedDepositsRequest,FfiConverterTypeListUnclaimedDepositsResponse,FfiConverterTypeLnurlAuthRequestDetails,FfiConverterTypeLnurlPayInfo,FfiConverterTypeLnurlPayRequest,FfiConverterTypeLnurlPayRequestDetails,FfiConverterTypeLnurlPayResponse,FfiConverterTypeLnurlReceiveMetadata,FfiConverterTypeLnurlWithdrawInfo,FfiConverterTypeLnurlWithdrawRequest,FfiConverterTypeLnurlWithdrawRequestDetails,FfiConverterTypeLnurlWithdrawResponse,FfiConverterTypeLocaleOverrides,FfiConverterTypeLocalizedName,FfiConverterTypeLogEntry,FfiConverterTypeMaxFee,FfiConverterTypeMessageSuccessActionData,FfiConverterTypeMintIssuerTokenRequest,FfiConverterTypeNetwork,FfiConverterTypeOnchainConfirmationSpeed,FfiConverterTypeOptimizationConfig,FfiConverterTypeOptimizationEvent,FfiConverterTypeOptimizationProgress,FfiConverterTypeOutgoingChange,FfiConverterTypePayment,FfiConverterTypePaymentDetails,FfiConverterTypePaymentDetailsFilter,FfiConverterTypePaymentMetadata,FfiConverterTypePaymentMethod,FfiConverterTypePaymentObserver,FfiConverterTypePaymentRequestSource,FfiConverterTypePaymentStatus,FfiConverterTypePaymentType,FfiConverterTypePrepareLnurlPayRequest,FfiConverterTypePrepareLnurlPayResponse,FfiConverterTypePrepareSendPaymentRequest,FfiConverterTypePrepareSendPaymentResponse,FfiConverterTypePrivateKeyBytes,FfiConverterTypeProvisionalPayment,FfiConverterTypeProvisionalPaymentDetails,FfiConverterTypePublicKeyBytes,FfiConverterTypeRate,FfiConverterTypeReceivePaymentMethod,FfiConverterTypeReceivePaymentRequest,FfiConverterTypeReceivePaymentResponse,FfiConverterTypeRecommendedFees,FfiConverterTypeRecord,FfiConverterTypeRecordChange,FfiConverterTypeRecordId,FfiConverterTypeRecoverableEcdsaSignatureBytes,FfiConverterTypeRefundDepositRequest,FfiConverterTypeRefundDepositResponse,FfiConverterTypeRegisterLightningAddressRequest,FfiConverterTypeRestClient,FfiConverterTypeRestResponse,FfiConverterTypeSchnorrSignatureBytes,FfiConverterTypeSdkBuilder,FfiConverterTypeSdkEvent,FfiConverterTypeSeed,FfiConverterTypeSendOnchainFeeQuote,FfiConverterTypeSendOnchainSpeedFeeQuote,FfiConverterTypeSendPaymentMethod,FfiConverterTypeSendPaymentOptions,FfiConverterTypeSendPaymentRequest,FfiConverterTypeSendPaymentResponse,FfiConverterTypeSetLnurlMetadataItem,FfiConverterTypeSignMessageRequest,FfiConverterTypeSignMessageResponse,FfiConverterTypeSilentPaymentAddressDetails,FfiConverterTypeSparkAddressDetails,FfiConverterTypeSparkHtlcDetails,FfiConverterTypeSparkHtlcOptions,FfiConverterTypeSparkHtlcStatus,FfiConverterTypeSparkInvoiceDetails,FfiConverterTypeSparkInvoicePaymentDetails,FfiConverterTypeStorage,FfiConverterTypeSuccessAction,FfiConverterTypeSuccessActionProcessed,FfiConverterTypeSymbol,FfiConverterTypeSyncStorage,FfiConverterTypeSyncWalletRequest,FfiConverterTypeSyncWalletResponse,FfiConverterTypeTokenBalance,FfiConverterTypeTokenConversionInfo,FfiConverterTypeTokenConversionOptions,FfiConverterTypeTokenConversionType,FfiConverterTypeTokenIssuer,FfiConverterTypeTokenMetadata,FfiConverterTypeTxStatus,FfiConverterTypeUnfreezeIssuerTokenRequest,FfiConverterTypeUnfreezeIssuerTokenResponse,FfiConverterTypeUnversionedRecordChange,FfiConverterTypeUpdateDepositPayload,FfiConverterTypeUpdateUserSettingsRequest,FfiConverterTypeUrlSuccessActionData,FfiConverterTypeUserSettings,FfiConverterTypeUtxo,FfiConverterTypeu128}});
|
|
2934
|
+
const scaffoldingContractVersion=(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_uniffi_contract_version();if(bindingsContractVersion!==scaffoldingContractVersion){throw new _uniffiBindgenReactNative.UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion,bindingsContractVersion);}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_connect()!==40345){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signer()!==1399){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect_with_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_default_config()!==62194){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_config');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signer()!==40694){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_external_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_init_logging()!==8518){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_init_logging');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos()!==20959){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status()!==23018){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex()!==59376){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction()!==65179){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees()!==43230){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener()!==37737){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_cancel_leaf_optimization()!==56996){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_cancel_leaf_optimization');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available()!==31624){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message()!==4385){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit()!==43529){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment()!==57587){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address()!==44132){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect()!==330){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits()!==50958){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info()!==6771){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_leaf_optimization_progress()!==38008){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_leaf_optimization_progress');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address()!==36552){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment()!==11540){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer()!==26649){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata()!==40125){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings()!==38537){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies()!==63366){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates()!==5904){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments()!==16156){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits()!==22486){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay()!==10147){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw()!==45652){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_parse()!==14285){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_parse');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay()!==37691){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment()!==34185){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment()!==36984){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees()!==16947){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit()!==33646){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address()!==530){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener()!==41066){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment()!==54349){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message()!==57563){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_start_leaf_optimization()!==22827){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_start_leaf_optimization');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet()!==30368){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings()!==1721){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_identity_public_key()!==44711){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_identity_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key()!==63908){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa()!==52291){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable()!==8564){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_encrypt()!==19449){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_encrypt');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_decrypt()!==46414){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_decrypt');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr()!==57220){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_frost_signing_commitments()!==24826){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_frost_signing_commitments');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node()!==32818){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_key()!==22789){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key_source()!==37751){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key_source');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key()!==55375){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_public_key()!==49264){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_private_keys()!==46671){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_private_keys');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret()!==840){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_private_key_for_receiver()!==42476){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_private_key_for_receiver');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_from_private_key_source()!==38684){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_from_private_key_source');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost()!==1497){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost_signatures()!==26523){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost_signatures');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies()!==19092){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates()!==11512){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send()!==30686){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_get_request()!==8260){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_get_request');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_post_request()!==24889){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_post_request');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_delete_request()!==51072){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_delete_request');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build()!==8126){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service()!==2848){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage()!==14543){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service()!==37854){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set()!==50052){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client()!==51060){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer()!==21617){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_real_time_sync_storage()!==20579){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_real_time_sync_storage');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service()!==63155){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage()!==59400){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item()!==6883){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item()!==30248){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item()!==7970){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_payments()!==19728){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_payments');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment()!==28075){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_payment_metadata()!==45500){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_payment_metadata');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id()!==35394){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice()!==57075){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_deposit()!==60240){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_add_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit()!==60586){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_deposits()!==54118){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_deposits');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_deposit()!==39803){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_update_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata()!==7460){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_add_outgoing_change()!==19087){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_add_outgoing_change');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_complete_outgoing_sync()!==20071){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_complete_outgoing_sync');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_get_pending_outgoing_changes()!==23473){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_get_pending_outgoing_changes');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_get_last_revision()!==36887){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_get_last_revision');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_insert_incoming_records()!==41782){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_insert_incoming_records');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_delete_incoming_record()!==23002){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_delete_incoming_record');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_rebase_pending_outgoing_records()!==61508){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_rebase_pending_outgoing_records');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_get_incoming_records()!==53552){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_get_incoming_records');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_get_latest_outgoing_change()!==16326){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_get_latest_outgoing_change');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_update_record_from_incoming()!==9986){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_syncstorage_update_record_from_incoming');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token()!==56056){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token()!==33277){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token()!==32344){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_balance()!==9758){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_balance');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata()!==57707){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token()!==36459){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token()!==65025){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new()!==65435){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event()!==24807){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_logger_log()!==11839){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_logger_log');}uniffiCallbackInterfaceEventListener.register();uniffiCallbackInterfaceLogger.register();uniffiCallbackInterfaceBitcoinChainService.register();uniffiCallbackInterfaceExternalSigner.register();uniffiCallbackInterfaceFiatService.register();uniffiCallbackInterfacePaymentObserver.register();uniffiCallbackInterfaceRestClient.register();uniffiCallbackInterfaceStorage.register();uniffiCallbackInterfaceSyncStorage.register();}var _default=exports.default=Object.freeze({initialize:uniffiEnsureInitialized,converters:{FfiConverterTypeAesSuccessActionData,FfiConverterTypeAesSuccessActionDataDecrypted,FfiConverterTypeAesSuccessActionDataResult,FfiConverterTypeAmount,FfiConverterTypeAssetFilter,FfiConverterTypeBip21Details,FfiConverterTypeBip21Extra,FfiConverterTypeBitcoinAddressDetails,FfiConverterTypeBitcoinChainService,FfiConverterTypeBitcoinNetwork,FfiConverterTypeBolt11Invoice,FfiConverterTypeBolt11InvoiceDetails,FfiConverterTypeBolt11RouteHint,FfiConverterTypeBolt11RouteHintHop,FfiConverterTypeBolt12Invoice,FfiConverterTypeBolt12InvoiceDetails,FfiConverterTypeBolt12InvoiceRequestDetails,FfiConverterTypeBolt12Offer,FfiConverterTypeBolt12OfferBlindedPath,FfiConverterTypeBolt12OfferDetails,FfiConverterTypeBreezSdk,FfiConverterTypeBurnIssuerTokenRequest,FfiConverterTypeChainApiType,FfiConverterTypeCheckLightningAddressRequest,FfiConverterTypeCheckMessageRequest,FfiConverterTypeCheckMessageResponse,FfiConverterTypeClaimDepositRequest,FfiConverterTypeClaimDepositResponse,FfiConverterTypeClaimHtlcPaymentRequest,FfiConverterTypeClaimHtlcPaymentResponse,FfiConverterTypeConfig,FfiConverterTypeConnectRequest,FfiConverterTypeConnectWithSignerRequest,FfiConverterTypeConversionEstimate,FfiConverterTypeConversionInfo,FfiConverterTypeConversionOptions,FfiConverterTypeConversionPurpose,FfiConverterTypeConversionStatus,FfiConverterTypeConversionType,FfiConverterTypeCreateIssuerTokenRequest,FfiConverterTypeCredentials,FfiConverterTypeCurrencyInfo,FfiConverterTypeDepositClaimError,FfiConverterTypeDepositInfo,FfiConverterTypeEcdsaSignatureBytes,FfiConverterTypeExternalAggregateFrostRequest,FfiConverterTypeExternalEncryptedPrivateKey,FfiConverterTypeExternalFrostCommitments,FfiConverterTypeExternalFrostSignature,FfiConverterTypeExternalFrostSignatureShare,FfiConverterTypeExternalIdentifier,FfiConverterTypeExternalInputParser,FfiConverterTypeExternalPrivateKeySource,FfiConverterTypeExternalScalar,FfiConverterTypeExternalSecretShare,FfiConverterTypeExternalSecretToSplit,FfiConverterTypeExternalSignFrostRequest,FfiConverterTypeExternalSigner,FfiConverterTypeExternalSigningCommitments,FfiConverterTypeExternalTreeNodeId,FfiConverterTypeExternalVerifiableSecretShare,FfiConverterTypeFee,FfiConverterTypeFetchConversionLimitsRequest,FfiConverterTypeFetchConversionLimitsResponse,FfiConverterTypeFiatCurrency,FfiConverterTypeFiatService,FfiConverterTypeFreezeIssuerTokenRequest,FfiConverterTypeFreezeIssuerTokenResponse,FfiConverterTypeGetInfoRequest,FfiConverterTypeGetInfoResponse,FfiConverterTypeGetPaymentRequest,FfiConverterTypeGetPaymentResponse,FfiConverterTypeGetTokensMetadataRequest,FfiConverterTypeGetTokensMetadataResponse,FfiConverterTypeIdentifierCommitmentPair,FfiConverterTypeIdentifierPublicKeyPair,FfiConverterTypeIdentifierSignaturePair,FfiConverterTypeIncomingChange,FfiConverterTypeInputType,FfiConverterTypeKeySetConfig,FfiConverterTypeKeySetType,FfiConverterTypeLightningAddressDetails,FfiConverterTypeLightningAddressInfo,FfiConverterTypeListFiatCurrenciesResponse,FfiConverterTypeListFiatRatesResponse,FfiConverterTypeListPaymentsRequest,FfiConverterTypeListPaymentsResponse,FfiConverterTypeListUnclaimedDepositsRequest,FfiConverterTypeListUnclaimedDepositsResponse,FfiConverterTypeLnurlAuthRequestDetails,FfiConverterTypeLnurlPayInfo,FfiConverterTypeLnurlPayRequest,FfiConverterTypeLnurlPayRequestDetails,FfiConverterTypeLnurlPayResponse,FfiConverterTypeLnurlReceiveMetadata,FfiConverterTypeLnurlWithdrawInfo,FfiConverterTypeLnurlWithdrawRequest,FfiConverterTypeLnurlWithdrawRequestDetails,FfiConverterTypeLnurlWithdrawResponse,FfiConverterTypeLocaleOverrides,FfiConverterTypeLocalizedName,FfiConverterTypeLogEntry,FfiConverterTypeMaxFee,FfiConverterTypeMessageSuccessActionData,FfiConverterTypeMintIssuerTokenRequest,FfiConverterTypeNetwork,FfiConverterTypeOnchainConfirmationSpeed,FfiConverterTypeOptimizationConfig,FfiConverterTypeOptimizationEvent,FfiConverterTypeOptimizationProgress,FfiConverterTypeOutgoingChange,FfiConverterTypePayment,FfiConverterTypePaymentDetails,FfiConverterTypePaymentDetailsFilter,FfiConverterTypePaymentMetadata,FfiConverterTypePaymentMethod,FfiConverterTypePaymentObserver,FfiConverterTypePaymentRequestSource,FfiConverterTypePaymentStatus,FfiConverterTypePaymentType,FfiConverterTypePrepareLnurlPayRequest,FfiConverterTypePrepareLnurlPayResponse,FfiConverterTypePrepareSendPaymentRequest,FfiConverterTypePrepareSendPaymentResponse,FfiConverterTypePrivateKeyBytes,FfiConverterTypeProvisionalPayment,FfiConverterTypeProvisionalPaymentDetails,FfiConverterTypePublicKeyBytes,FfiConverterTypeRate,FfiConverterTypeReceivePaymentMethod,FfiConverterTypeReceivePaymentRequest,FfiConverterTypeReceivePaymentResponse,FfiConverterTypeRecommendedFees,FfiConverterTypeRecord,FfiConverterTypeRecordChange,FfiConverterTypeRecordId,FfiConverterTypeRecoverableEcdsaSignatureBytes,FfiConverterTypeRefundDepositRequest,FfiConverterTypeRefundDepositResponse,FfiConverterTypeRegisterLightningAddressRequest,FfiConverterTypeRestClient,FfiConverterTypeRestResponse,FfiConverterTypeSchnorrSignatureBytes,FfiConverterTypeSdkBuilder,FfiConverterTypeSdkEvent,FfiConverterTypeSeed,FfiConverterTypeSendOnchainFeeQuote,FfiConverterTypeSendOnchainSpeedFeeQuote,FfiConverterTypeSendPaymentMethod,FfiConverterTypeSendPaymentOptions,FfiConverterTypeSendPaymentRequest,FfiConverterTypeSendPaymentResponse,FfiConverterTypeSetLnurlMetadataItem,FfiConverterTypeSignMessageRequest,FfiConverterTypeSignMessageResponse,FfiConverterTypeSilentPaymentAddressDetails,FfiConverterTypeSparkAddressDetails,FfiConverterTypeSparkHtlcDetails,FfiConverterTypeSparkHtlcOptions,FfiConverterTypeSparkHtlcStatus,FfiConverterTypeSparkInvoiceDetails,FfiConverterTypeSparkInvoicePaymentDetails,FfiConverterTypeStorage,FfiConverterTypeSuccessAction,FfiConverterTypeSuccessActionProcessed,FfiConverterTypeSymbol,FfiConverterTypeSyncStorage,FfiConverterTypeSyncWalletRequest,FfiConverterTypeSyncWalletResponse,FfiConverterTypeTokenBalance,FfiConverterTypeTokenIssuer,FfiConverterTypeTokenMetadata,FfiConverterTypeTxStatus,FfiConverterTypeUnfreezeIssuerTokenRequest,FfiConverterTypeUnfreezeIssuerTokenResponse,FfiConverterTypeUnversionedRecordChange,FfiConverterTypeUpdateDepositPayload,FfiConverterTypeUpdateUserSettingsRequest,FfiConverterTypeUrlSuccessActionData,FfiConverterTypeUserSettings,FfiConverterTypeUtxo,FfiConverterTypeu128}});
|
|
2893
2935
|
//# sourceMappingURL=breez_sdk_spark.js.map
|