@breeztech/breez-sdk-spark-react-native 0.19.0 → 0.20.0-dev1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ExternalFrostJob=exports.ExternalFrostDerivation_Tags=exports.ExternalFrostDerivation=exports.ExternalFrostCommitments=exports.ExternalClaimLeafInput=exports.ExternalBreezSignerImpl=exports.ErrorKind=exports.EcdsaSignatureBytes=exports.DomainAssociation_Tags=exports.DomainAssociation=exports.DeriveSeedsRequest=exports.DeriveSeedsOutput=exports.DepositInfo=exports.DepositClaimError_Tags=exports.DepositClaimError=exports.CurrencyInfo=exports.CrossChainRoutePair=exports.CrossChainRouteFilter_Tags=exports.CrossChainRouteFilter=exports.CrossChainProviderContext_Tags=exports.CrossChainProviderContext=exports.CrossChainProvider=exports.CrossChainFeeMode=exports.CrossChainConfig=exports.CrossChainAddressFamily=exports.CrossChainAddressDetails=exports.Credentials=exports.CreateIssuerTokenRequest=exports.ConversionType_Tags=exports.ConversionType=exports.ConversionStatus=exports.ConversionSide=exports.ConversionPurpose_Tags=exports.ConversionPurpose=exports.ConversionProvider=exports.ConversionOptions=exports.ConversionInfo_Tags=exports.ConversionInfo=exports.ConversionFilter=exports.ConversionEstimate=exports.ConversionDetails=exports.ConversionChain_Tags=exports.ConversionChain=exports.ConversionAsset=exports.Conversion=exports.Contact=exports.ConnectWithSigningOnlySignerRequest=exports.ConnectWithSignerRequest=exports.ConnectWithPasskeyResponse=exports.ConnectWithPasskeyRequest=exports.ConnectRequest=exports.Config=exports.ClaimTransferRequest=exports.ClaimHtlcPaymentResponse=exports.ClaimHtlcPaymentRequest=exports.ClaimDepositResponse=exports.ClaimDepositRequest=exports.CheckMessageResponse=exports.CheckMessageRequest=exports.CheckLightningAddressRequest=exports.ChainServiceError_Tags=exports.ChainServiceError=exports.ChainApiType=exports.BuyBitcoinResponse=exports.BuyBitcoinRequest_Tags=exports.BuyBitcoinRequest=exports.BurnIssuerTokenRequest=exports.BuildUnsignedTransferPackageRequest=exports.BuildUnsignedLnurlPayPackageRequest=exports.BuildTransferPackageOptions_Tags=exports.BuildTransferPackageOptions=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.AutoOptimizationEvent_Tags=exports.AutoOptimizationEvent=exports.AuthorizeTransferRequest=exports.AssetFilter_Tags=exports.AssetFilter=exports.Amount_Tags=exports.AmountAdjustmentReason=exports.Amount=exports.AesSuccessActionDataResult_Tags=exports.AesSuccessActionDataResult=exports.AesSuccessActionDataDecrypted=exports.AesSuccessActionData=exports.AddContactRequest=void 0;exports.PasskeyConfig=exports.PasskeyClient=exports.PasskeyAvailability_Tags=exports.PasskeyAvailability=exports.OutgoingChange=exports.OptimizeLeavesResponse=exports.OptimizeLeavesRequest=exports.OptimizationOutcome_Tags=exports.OptimizationOutcome=exports.OptimizationMode=exports.OnchainConfirmationSpeed=exports.Network=exports.MintIssuerTokenRequest=exports.MessageSuccessActionData=exports.MessageBytes=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.LnurlPayContext=exports.LnurlInfo=exports.LnurlErrorDetails=exports.LnurlCallbackStatus_Tags=exports.LnurlCallbackStatus=exports.LnurlAuthRequestDetails=exports.ListUnclaimedDepositsResponse=exports.ListUnclaimedDepositsRequest=exports.ListPaymentsResponse=exports.ListPaymentsRequest=exports.ListFiatRatesResponse=exports.ListFiatCurrenciesResponse=exports.ListContactsRequest=exports.LightningAddressInfo=exports.LightningAddressDetails=exports.LeafOptimizationConfig=exports.InputType_Tags=exports.InputType=exports.IncomingChange=exports.IdentifierSignaturePair=exports.IdentifierPublicKeyPair=exports.IdentifierCommitmentPair=exports.HashedMessageBytes=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.FeePolicy=exports.Fee=exports.ExternalTreeNodeId=exports.ExternalTransferLeafInput=exports.ExternalTokenTransactionKind=exports.ExternalStartedStaticDepositRefund=exports.ExternalStartStaticDepositRefundRequest=exports.ExternalSparkSignerImpl=exports.ExternalSparkInvoiceKind=exports.ExternalSigningSignerImpl=exports.ExternalSigningCommitments=exports.ExternalSigners=exports.ExternalSignedSparkInvoice=exports.ExternalSignStaticDepositRefundRequest=exports.ExternalSignSparkInvoiceRequest=exports.ExternalPreparedTransfer=exports.ExternalPreparedTokenTransaction=exports.ExternalPreparedStaticDepositClaim=exports.ExternalPreparedStaticDeposit=exports.ExternalPreparedLightningReceive=exports.ExternalPreparedClaim=exports.ExternalPrepareTransferRequest=exports.ExternalPrepareTokenTransactionRequest=exports.ExternalPrepareStaticDepositRequest=exports.ExternalPrepareStaticDepositClaimRequest=exports.ExternalPrepareLightningReceiveRequest=exports.ExternalPrepareClaimRequest=exports.ExternalOperatorRecipient=exports.ExternalOperatorPackage=exports.ExternalNewLeafKey=exports.ExternalInputParser=exports.ExternalIdentifier=exports.ExternalFrostSignatureShare=exports.ExternalFrostSignature=exports.ExternalFrostShareResult=void 0;exports.SparkHtlcDetails=exports.SparkConfig=exports.SparkAddressDetails=exports.SourceAsset_Tags=exports.SourceAsset=exports.SilentPaymentAddressDetails=exports.SigningOnlyExternalSigners=exports.SignerError_Tags=exports.SignerError=exports.SignedTransferPackage=exports.SignMessageResponse=exports.SignMessageRequest=exports.SignInResponse=exports.SignInRequest=exports.SetupWalletRequest=exports.SetLnurlMetadataItem=exports.SessionStoreImpl=exports.SessionStoreError_Tags=exports.SessionStoreError=exports.Session=exports.ServiceStatus=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.SecretBytes=exports.SdkEvent_Tags=exports.SdkEvent=exports.SdkError_Tags=exports.SdkError=exports.SdkContextConfig=exports.SdkContext=exports.SdkBuilder=exports.SchnorrSignatureBytes=exports.RestResponse=exports.RestClientImpl=exports.ResolvedStores=exports.RegisterWebhookResponse=exports.RegisterWebhookRequest=exports.RegisterResponse=exports.RegisterRequest=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.PublishSignedTransferPackageResponse_Tags=exports.PublishSignedTransferPackageResponse=exports.PublishSignedTransferPackageRequest=exports.PublishSignedLnurlPayResponse_Tags=exports.PublishSignedLnurlPayResponse=exports.PublishSignedLnurlPayPackageRequest=exports.PublicKeyBytes=exports.ProvisionalPaymentDetails_Tags=exports.ProvisionalPaymentDetails=exports.ProvisionalPayment=exports.PrfProviderImpl=exports.PrfProviderError_Tags=exports.PrfProviderError=exports.PrepareSendPaymentResponse=exports.PrepareSendPaymentRequest=exports.PrepareLnurlPayResponse=exports.PrepareLnurlPayRequest=exports.PaymentType=exports.PaymentStatus=exports.PaymentRequest_Tags=exports.PaymentRequestSource=exports.PaymentRequest=exports.PaymentObserverImpl=exports.PaymentObserverError_Tags=exports.PaymentObserverError=exports.PaymentMethod=exports.PaymentMetadata=exports.PaymentIdUpdate=exports.PaymentDetails_Tags=exports.PaymentDetailsFilter_Tags=exports.PaymentDetailsFilter=exports.PaymentDetails=exports.Payment=exports.PasskeyProviderOptions=exports.PasskeyLabels=exports.PasskeyError_Tags=exports.PasskeyError=exports.PasskeyCredential=void 0;exports.WebhookEventType_Tags=exports.WebhookEventType=exports.Webhook=exports.WalletSetup=exports.Wallet=exports.Utxo=exports.UserSettings=exports.UrlSuccessActionData=exports.UpdateUserSettingsRequest=exports.UpdateDepositPayload_Tags=exports.UpdateDepositPayload=exports.UpdateContactRequest=exports.UnversionedRecordChange=exports.UnsignedTransferPackage_Tags=exports.UnsignedTransferPackage=exports.UnregisterWebhookRequest=exports.UnfreezeIssuerTokenResponse=exports.UnfreezeIssuerTokenRequest=exports.TxStatus=exports.TurnkeyRetryConfig=exports.TurnkeyConfig=exports.TransferTarget_Tags=exports.TransferTarget=exports.TransferSignature_Tags=exports.TransferSignature=exports.TransferAuthorization=exports.TokenTransactionType=exports.TokenOptimizationConfig=exports.TokenMetadata=exports.TokenIssuer=exports.TokenBalance=exports.SyncWalletResponse=exports.SyncWalletRequest=exports.Symbol=exports.SuccessAction_Tags=exports.SuccessActionProcessed_Tags=exports.SuccessActionProcessed=exports.SuccessAction=exports.StoredCrossChainSwap=exports.StoragePaymentDetailsFilter_Tags=exports.StoragePaymentDetailsFilter=exports.StorageListPaymentsRequest=exports.StorageImpl=exports.StorageError_Tags=exports.StorageError=exports.StorageBackendImpl=exports.StableBalanceToken=exports.StableBalanceConfig=exports.StableBalanceActiveLabel_Tags=exports.StableBalanceActiveLabel=exports.SparkStatus=exports.SparkSspConfig=exports.SparkSigningOperator=exports.SparkInvoicePaymentDetails=exports.SparkInvoiceDetails=exports.SparkHtlcStatus=exports.SparkHtlcOptions=void 0;exports.connect=connect;exports.connectWithSigner=connectWithSigner;exports.connectWithSigningOnlySigner=connectWithSigningOnlySigner;exports.createTurnkeySigner=createTurnkeySigner;exports.createTurnkeySigningOnlySigner=createTurnkeySigningOnlySigner;exports.customStorage=customStorage;exports.default=void 0;exports.defaultConfig=defaultConfig;exports.defaultExternalSigners=defaultExternalSigners;exports.defaultServerConfig=defaultServerConfig;exports.defaultSessionStore=defaultSessionStore;exports.defaultStorage=defaultStorage;exports.getSparkStatus=getSparkStatus;exports.initLogging=initLogging;exports.newRestChainService=newRestChainService;exports.newSharedSdkContext=newSharedSdkContext;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.
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:true});exports.ErrorKind=exports.EcdsaSignatureBytes=exports.DomainAssociation_Tags=exports.DomainAssociation=exports.DeriveSeedsRequest=exports.DeriveSeedsOutput=exports.DepositInfo=exports.DepositClaimError_Tags=exports.DepositClaimError=exports.CurrencyInfo=exports.CrossChainRoutePair=exports.CrossChainRouteFilter_Tags=exports.CrossChainRouteFilter=exports.CrossChainProviderContext_Tags=exports.CrossChainProviderContext=exports.CrossChainProvider=exports.CrossChainFeeMode=exports.CrossChainConfig=exports.CrossChainAddressFamily=exports.CrossChainAddressDetails=exports.Credentials=exports.CreateIssuerTokenRequest=exports.CpfpSignerImpl=exports.CpfpInput_Tags=exports.CpfpInput=exports.CpfpFundingKind_Tags=exports.CpfpFundingKind=exports.ConversionType_Tags=exports.ConversionType=exports.ConversionStatus=exports.ConversionSide=exports.ConversionPurpose_Tags=exports.ConversionPurpose=exports.ConversionProvider=exports.ConversionOptions=exports.ConversionInfo_Tags=exports.ConversionInfo=exports.ConversionFilter=exports.ConversionEstimate=exports.ConversionDetails=exports.ConversionChain_Tags=exports.ConversionChain=exports.ConversionAsset=exports.Conversion=exports.Contact=exports.ConnectWithSigningOnlySignerRequest=exports.ConnectWithSignerRequest=exports.ConnectWithPasskeyResponse=exports.ConnectWithPasskeyRequest=exports.ConnectRequest=exports.ConfirmationStatus=exports.Config=exports.ClaimTransferRequest=exports.ClaimHtlcPaymentResponse=exports.ClaimHtlcPaymentRequest=exports.ClaimDepositResponse=exports.ClaimDepositRequest=exports.CheckMessageResponse=exports.CheckMessageRequest=exports.CheckLightningAddressRequest=exports.ChainServiceError_Tags=exports.ChainServiceError=exports.ChainApiType=exports.BuyBitcoinResponse=exports.BuyBitcoinRequest_Tags=exports.BuyBitcoinRequest=exports.BurnIssuerTokenRequest=exports.BuildUnsignedTransferPackageRequest=exports.BuildUnsignedLnurlPayPackageRequest=exports.BuildTransferPackageOptions_Tags=exports.BuildTransferPackageOptions=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.AutoOptimizationEvent_Tags=exports.AutoOptimizationEvent=exports.AuthorizeTransferRequest=exports.AssetFilter_Tags=exports.AssetFilter=exports.Amount_Tags=exports.AmountAdjustmentReason=exports.Amount=exports.AesSuccessActionDataResult_Tags=exports.AesSuccessActionDataResult=exports.AesSuccessActionDataDecrypted=exports.AesSuccessActionData=exports.AddContactRequest=void 0;exports.OptimizationOutcome=exports.OptimizationMode=exports.OnchainConfirmationSpeed=exports.Network=exports.MintIssuerTokenRequest=exports.MessageSuccessActionData=exports.MessageBytes=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.LnurlPayContext=exports.LnurlInfo=exports.LnurlErrorDetails=exports.LnurlCallbackStatus_Tags=exports.LnurlCallbackStatus=exports.LnurlAuthRequestDetails=exports.ListUnclaimedDepositsResponse=exports.ListUnclaimedDepositsRequest=exports.ListPaymentsResponse=exports.ListPaymentsRequest=exports.ListFiatRatesResponse=exports.ListFiatCurrenciesResponse=exports.ListContactsRequest=exports.LightningAddressInfo=exports.LightningAddressDetails=exports.LeafOptimizationConfig=exports.InputType_Tags=exports.InputType=exports.IncomingChange=exports.IdentifierSignaturePair=exports.IdentifierPublicKeyPair=exports.IdentifierCommitmentPair=exports.HashedMessageBytes=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.FeePolicy=exports.Fee=exports.ExternalTreeNodeId=exports.ExternalTransferLeafInput=exports.ExternalTokenTransactionKind=exports.ExternalStartedStaticDepositRefund=exports.ExternalStartStaticDepositRefundRequest=exports.ExternalSparkSignerImpl=exports.ExternalSparkInvoiceKind=exports.ExternalSigningSignerImpl=exports.ExternalSigningCommitments=exports.ExternalSigners=exports.ExternalSignedSparkInvoice=exports.ExternalSignStaticDepositRefundRequest=exports.ExternalSignSparkInvoiceRequest=exports.ExternalPreparedTransfer=exports.ExternalPreparedTokenTransaction=exports.ExternalPreparedStaticDepositClaim=exports.ExternalPreparedStaticDeposit=exports.ExternalPreparedLightningReceive=exports.ExternalPreparedClaim=exports.ExternalPrepareTransferRequest=exports.ExternalPrepareTokenTransactionRequest=exports.ExternalPrepareStaticDepositRequest=exports.ExternalPrepareStaticDepositClaimRequest=exports.ExternalPrepareLightningReceiveRequest=exports.ExternalPrepareClaimRequest=exports.ExternalOperatorRecipient=exports.ExternalOperatorPackage=exports.ExternalNewLeafKey=exports.ExternalInputParser=exports.ExternalIdentifier=exports.ExternalFrostSignatureShare=exports.ExternalFrostSignature=exports.ExternalFrostShareResult=exports.ExternalFrostJob=exports.ExternalFrostDerivation_Tags=exports.ExternalFrostDerivation=exports.ExternalFrostCommitments=exports.ExternalClaimLeafInput=exports.ExternalBreezSignerImpl=exports.ExitLeafSelection_Tags=exports.ExitLeafSelection=void 0;exports.SetupWalletRequest=exports.SetLnurlMetadataItem=exports.SessionStoreImpl=exports.SessionStoreError_Tags=exports.SessionStoreError=exports.Session=exports.ServiceStatus=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.SecretBytes=exports.SdkEvent_Tags=exports.SdkEvent=exports.SdkError_Tags=exports.SdkError=exports.SdkContextConfig=exports.SdkContext=exports.SdkBuilder=exports.SchnorrSignatureBytes=exports.RestResponse=exports.RestClientImpl=exports.ResolvedStores=exports.RegisterWebhookResponse=exports.RegisterWebhookRequest=exports.RegisterResponse=exports.RegisterRequest=exports.RegisterLightningAddressRequest=exports.RefundPendingConversionsResponse=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.PublishSignedTransferPackageResponse_Tags=exports.PublishSignedTransferPackageResponse=exports.PublishSignedTransferPackageRequest=exports.PublishSignedLnurlPayResponse_Tags=exports.PublishSignedLnurlPayResponse=exports.PublishSignedLnurlPayPackageRequest=exports.PublicKeyBytes=exports.ProvisionalPaymentDetails_Tags=exports.ProvisionalPaymentDetails=exports.ProvisionalPayment=exports.PrfProviderImpl=exports.PrfProviderError_Tags=exports.PrfProviderError=exports.PrepareUnilateralExitResponse=exports.PrepareUnilateralExitRequest=exports.PrepareSendPaymentResponse=exports.PrepareSendPaymentRequest=exports.PrepareLnurlPayResponse=exports.PrepareLnurlPayRequest=exports.PerBranchFunding=exports.PaymentType=exports.PaymentStatus=exports.PaymentRequest_Tags=exports.PaymentRequestSource=exports.PaymentRequest=exports.PaymentObserverImpl=exports.PaymentObserverError_Tags=exports.PaymentObserverError=exports.PaymentMethod=exports.PaymentMetadata=exports.PaymentIdUpdate=exports.PaymentDetails_Tags=exports.PaymentDetailsFilter_Tags=exports.PaymentDetailsFilter=exports.PaymentDetails=exports.Payment=exports.PasskeyProviderOptions=exports.PasskeyLabels=exports.PasskeyError_Tags=exports.PasskeyError=exports.PasskeyCredential=exports.PasskeyConfig=exports.PasskeyClient=exports.PasskeyAvailability_Tags=exports.PasskeyAvailability=exports.Outspend_Tags=exports.Outspend=exports.OutgoingChange=exports.OptimizeLeavesResponse=exports.OptimizeLeavesRequest=exports.OptimizationOutcome_Tags=void 0;exports.WebhookEventType_Tags=exports.WebhookEventType=exports.Webhook=exports.WalletSetup=exports.Wallet=exports.Utxo=exports.UserSettings=exports.UrlSuccessActionData=exports.UpdateUserSettingsRequest=exports.UpdateDepositPayload_Tags=exports.UpdateDepositPayload=exports.UpdateContactRequest=exports.UnversionedRecordChange=exports.UnsignedTransferPackage_Tags=exports.UnsignedTransferPackage=exports.UnregisterWebhookRequest=exports.UnilateralExitTxKind=exports.UnilateralExitTransaction=exports.UnilateralExitResponse=exports.UnilateralExitRequest=exports.UnilateralExitLeaf=exports.UnfreezeIssuerTokenResponse=exports.UnfreezeIssuerTokenRequest=exports.TxStatus=exports.TurnkeyRetryConfig=exports.TurnkeyConfig=exports.TransferTarget_Tags=exports.TransferTarget=exports.TransferSignature_Tags=exports.TransferSignature=exports.TransferAuthorization=exports.TokenTransactionType=exports.TokenOptimizationConfig=exports.TokenMetadata=exports.TokenIssuer=exports.TokenBalance=exports.SyncWalletResponse=exports.SyncWalletRequest=exports.Symbol=exports.SuccessAction_Tags=exports.SuccessActionProcessed_Tags=exports.SuccessActionProcessed=exports.SuccessAction=exports.StoredCrossChainSwap=exports.StoragePaymentDetailsFilter_Tags=exports.StoragePaymentDetailsFilter=exports.StorageListPaymentsRequest=exports.StorageImpl=exports.StorageError_Tags=exports.StorageError=exports.StorageBackendImpl=exports.StableBalanceToken=exports.StableBalanceConfig=exports.StableBalanceActiveLabel_Tags=exports.StableBalanceActiveLabel=exports.SparkStatus=exports.SparkSspConfig=exports.SparkSigningOperator=exports.SparkMasterIdentityPublicKey_Tags=exports.SparkMasterIdentityPublicKey=exports.SparkInvoicePaymentDetails=exports.SparkInvoiceDetails=exports.SparkHtlcStatus=exports.SparkHtlcOptions=exports.SparkHtlcDetails=exports.SparkConfig=exports.SparkAddressDetails=exports.SourceAsset_Tags=exports.SourceAsset=exports.SilentPaymentAddressDetails=exports.SigningOnlyExternalSigners=exports.SignerError_Tags=exports.SignerError=exports.SignedTransferPackage=exports.SignMessageResponse=exports.SignMessageRequest=exports.SignInResponse=exports.SignInRequest=void 0;exports.connect=connect;exports.connectWithSigner=connectWithSigner;exports.connectWithSigningOnlySigner=connectWithSigningOnlySigner;exports.createTurnkeySigner=createTurnkeySigner;exports.createTurnkeySigningOnlySigner=createTurnkeySigningOnlySigner;exports.customStorage=customStorage;exports.default=void 0;exports.defaultConfig=defaultConfig;exports.defaultExternalSigners=defaultExternalSigners;exports.defaultServerConfig=defaultServerConfig;exports.defaultSessionStore=defaultSessionStore;exports.defaultStorage=defaultStorage;exports.getSparkStatus=getSparkStatus;exports.initLogging=initLogging;exports.newRestChainService=newRestChainService;exports.newSharedSdkContext=newSharedSdkContext;exports.singleKeyCpfpSigner=singleKeyCpfpSigner;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(()=>({code:0}));const uniffiIsDebug=// @ts-ignore -- The process global might not be defined
@@ -147,6 +147,9 @@ process?.env?.NODE_ENV!=='production'||false;// Public interface members begin h
147
147
  * The returned `Arc` is cheap to clone and can back many SDK instances,
148
148
  * sharing their HTTP client and operator gRPC channels.
149
149
  */async function newSharedSdkContext(config,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_func_new_shared_sdk_context(FfiConverterTypeSdkContextConfig.lower(config));},/*pollFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_poll_pointer,/*cancelFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_cancel_pointer,/*completeFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_complete_pointer,/*freeFunc:*/(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_free_pointer,/*liftFunc:*/FfiConverterTypeSdkContext.lift.bind(FfiConverterTypeSdkContext),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
150
+ * A CPFP signer backed by a single private key. Signs P2WPKH and P2TR key-path
151
+ * inputs only; taproot script-path spends are not supported.
152
+ */function singleKeyCpfpSigner(secretKeyBytes)/*throws*/{return FfiConverterTypeCpfpSigner.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeSignerError.lift.bind(FfiConverterTypeSignerError),/*caller:*/callStatus=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_func_single_key_cpfp_signer(_uniffiBindgenReactNative.FfiConverterArrayBuffer.lower(secretKeyBytes),callStatus);},/*liftString:*/FfiConverterString.lift));}/**
150
153
  * Trait for event listeners
151
154
  */// Put the implementation in a struct so we don't pollute the top-level namespace
152
155
  const uniffiCallbackInterfaceEventListener={// Create the VTable using a series of closures.
@@ -506,6 +509,12 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
506
509
  * registered, when the provider surfaces it. The register path also
507
510
  * populates the attestation fields (`aaguid`, `backup_eligible`); the
508
511
  * sign-in path sets only `credential_id`.
512
+ *
513
+ * `labels` is the user's discovered label set when `request.label` was
514
+ * `None` (the returning-user multi-wallet case): `wallet` is the default
515
+ * label, and a host showing more than one entry lets the user pick
516
+ * another via [`PasskeyClient::sign_in`]. Empty on the register path (a
517
+ * new user has no other labels) and when a specific label was requested.
509
518
  *//**
510
519
  * Generated factory for {@link ConnectWithPasskeyResponse} record objects.
511
520
  */const ConnectWithPasskeyResponse=exports.ConnectWithPasskeyResponse=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
@@ -516,7 +525,7 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
516
525
  * in Rust, in the {@link breez_sdk_spark} crate.
517
526
  */new:create,/**
518
527
  * Defaults specified in the {@link breez_sdk_spark} crate.
519
- */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeConnectWithPasskeyResponse=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{wallet:FfiConverterTypeWallet.read(from),credential:FfiConverterOptionalTypePasskeyCredential.read(from)};}write(value,into){FfiConverterTypeWallet.write(value.wallet,into);FfiConverterOptionalTypePasskeyCredential.write(value.credential,into);}allocationSize(value){return FfiConverterTypeWallet.allocationSize(value.wallet)+FfiConverterOptionalTypePasskeyCredential.allocationSize(value.credential);}}return new FFIConverter();})();/**
528
+ */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeConnectWithPasskeyResponse=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{wallet:FfiConverterTypeWallet.read(from),credential:FfiConverterOptionalTypePasskeyCredential.read(from),labels:FfiConverterArrayString.read(from)};}write(value,into){FfiConverterTypeWallet.write(value.wallet,into);FfiConverterOptionalTypePasskeyCredential.write(value.credential,into);FfiConverterArrayString.write(value.labels,into);}allocationSize(value){return FfiConverterTypeWallet.allocationSize(value.wallet)+FfiConverterOptionalTypePasskeyCredential.allocationSize(value.credential)+FfiConverterArrayString.allocationSize(value.labels);}}return new FFIConverter();})();/**
520
529
  * Request object for connecting to the Spark network using an external signer.
521
530
  *
522
531
  * This allows using a custom signer implementation instead of providing a seed directly.
@@ -1757,6 +1766,18 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
1757
1766
  */new:create,/**
1758
1767
  * Defaults specified in the {@link breez_sdk_spark} crate.
1759
1768
  */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypePaymentRequestSource=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{bip21Uri:FfiConverterOptionalString.read(from),bip353Address:FfiConverterOptionalString.read(from)};}write(value,into){FfiConverterOptionalString.write(value.bip21Uri,into);FfiConverterOptionalString.write(value.bip353Address,into);}allocationSize(value){return FfiConverterOptionalString.allocationSize(value.bip21Uri)+FfiConverterOptionalString.allocationSize(value.bip353Address);}}return new FFIConverter();})();/**
1769
+ * How much to fund one branch of the exit to avoid a fan-out.
1770
+ *//**
1771
+ * Generated factory for {@link PerBranchFunding} record objects.
1772
+ */const PerBranchFunding=exports.PerBranchFunding=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
1773
+ * Create a frozen instance of {@link PerBranchFunding}, with defaults specified
1774
+ * in Rust, in the {@link breez_sdk_spark} crate.
1775
+ */create,/**
1776
+ * Create a frozen instance of {@link PerBranchFunding}, with defaults specified
1777
+ * in Rust, in the {@link breez_sdk_spark} crate.
1778
+ */new:create,/**
1779
+ * Defaults specified in the {@link breez_sdk_spark} crate.
1780
+ */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypePerBranchFunding=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{leafId:FfiConverterString.read(from),fundingSat:_uniffiBindgenReactNative.FfiConverterUInt64.read(from)};}write(value,into){FfiConverterString.write(value.leafId,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(value.fundingSat,into);}allocationSize(value){return FfiConverterString.allocationSize(value.leafId)+_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.fundingSat);}}return new FFIConverter();})();/**
1760
1781
  * Generated factory for {@link PrepareLnurlPayRequest} record objects.
1761
1782
  */const PrepareLnurlPayRequest=exports.PrepareLnurlPayRequest=(()=>{const defaults=()=>({comment:undefined,validateSuccessActionUrl:undefined,tokenIdentifier:undefined,conversionOptions:undefined,feePolicy:undefined});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
1762
1783
  * Create a frozen instance of {@link PrepareLnurlPayRequest}, with defaults specified
@@ -1797,6 +1818,31 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
1797
1818
  */new:create,/**
1798
1819
  * Defaults specified in the {@link breez_sdk_spark} crate.
1799
1820
  */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),feePolicy:FfiConverterTypeFeePolicy.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);FfiConverterTypeFeePolicy.write(value.feePolicy,into);}allocationSize(value){return FfiConverterTypeSendPaymentMethod.allocationSize(value.paymentMethod)+FfiConverterTypeu128.allocationSize(value.amount)+FfiConverterOptionalString.allocationSize(value.tokenIdentifier)+FfiConverterOptionalTypeConversionEstimate.allocationSize(value.conversionEstimate)+FfiConverterTypeFeePolicy.allocationSize(value.feePolicy);}}return new FFIConverter();})();/**
1821
+ * Request for `prepare_unilateral_exit`, the exit quote.
1822
+ *//**
1823
+ * Generated factory for {@link PrepareUnilateralExitRequest} record objects.
1824
+ */const PrepareUnilateralExitRequest=exports.PrepareUnilateralExitRequest=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
1825
+ * Create a frozen instance of {@link PrepareUnilateralExitRequest}, with defaults specified
1826
+ * in Rust, in the {@link breez_sdk_spark} crate.
1827
+ */create,/**
1828
+ * Create a frozen instance of {@link PrepareUnilateralExitRequest}, with defaults specified
1829
+ * in Rust, in the {@link breez_sdk_spark} crate.
1830
+ */new:create,/**
1831
+ * Defaults specified in the {@link breez_sdk_spark} crate.
1832
+ */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypePrepareUnilateralExitRequest=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{feeRateSatPerVbyte:_uniffiBindgenReactNative.FfiConverterUInt64.read(from),fundingKind:FfiConverterTypeCpfpFundingKind.read(from),destination:FfiConverterString.read(from),selection:FfiConverterTypeExitLeafSelection.read(from)};}write(value,into){_uniffiBindgenReactNative.FfiConverterUInt64.write(value.feeRateSatPerVbyte,into);FfiConverterTypeCpfpFundingKind.write(value.fundingKind,into);FfiConverterString.write(value.destination,into);FfiConverterTypeExitLeafSelection.write(value.selection,into);}allocationSize(value){return _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.feeRateSatPerVbyte)+FfiConverterTypeCpfpFundingKind.allocationSize(value.fundingKind)+FfiConverterString.allocationSize(value.destination)+FfiConverterTypeExitLeafSelection.allocationSize(value.selection);}}return new FFIConverter();})();/**
1833
+ * Response from `prepare_unilateral_exit`: which leaves would exit, the exact
1834
+ * fee at the requested rate, and how much to fund.
1835
+ *//**
1836
+ * Generated factory for {@link PrepareUnilateralExitResponse} record objects.
1837
+ */const PrepareUnilateralExitResponse=exports.PrepareUnilateralExitResponse=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
1838
+ * Create a frozen instance of {@link PrepareUnilateralExitResponse}, with defaults specified
1839
+ * in Rust, in the {@link breez_sdk_spark} crate.
1840
+ */create,/**
1841
+ * Create a frozen instance of {@link PrepareUnilateralExitResponse}, with defaults specified
1842
+ * in Rust, in the {@link breez_sdk_spark} crate.
1843
+ */new:create,/**
1844
+ * Defaults specified in the {@link breez_sdk_spark} crate.
1845
+ */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypePrepareUnilateralExitResponse=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{leaves:FfiConverterArrayTypeUnilateralExitLeaf.read(from),recoverableValueSat:_uniffiBindgenReactNative.FfiConverterUInt64.read(from),totalFeeSat:_uniffiBindgenReactNative.FfiConverterUInt64.read(from),fanoutFeeSat:_uniffiBindgenReactNative.FfiConverterUInt64.read(from),singleUtxoFundingSat:_uniffiBindgenReactNative.FfiConverterUInt64.read(from),perBranchFunding:FfiConverterArrayTypePerBranchFunding.read(from),feeRateSatPerVbyte:_uniffiBindgenReactNative.FfiConverterUInt64.read(from),destination:FfiConverterString.read(from)};}write(value,into){FfiConverterArrayTypeUnilateralExitLeaf.write(value.leaves,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(value.recoverableValueSat,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(value.totalFeeSat,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(value.fanoutFeeSat,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(value.singleUtxoFundingSat,into);FfiConverterArrayTypePerBranchFunding.write(value.perBranchFunding,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(value.feeRateSatPerVbyte,into);FfiConverterString.write(value.destination,into);}allocationSize(value){return FfiConverterArrayTypeUnilateralExitLeaf.allocationSize(value.leaves)+_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.recoverableValueSat)+_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.totalFeeSat)+_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.fanoutFeeSat)+_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.singleUtxoFundingSat)+FfiConverterArrayTypePerBranchFunding.allocationSize(value.perBranchFunding)+_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.feeRateSatPerVbyte)+FfiConverterString.allocationSize(value.destination);}}return new FFIConverter();})();/**
1800
1846
  * Generated factory for {@link ProvisionalPayment} record objects.
1801
1847
  */const ProvisionalPayment=exports.ProvisionalPayment=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
1802
1848
  * Create a frozen instance of {@link ProvisionalPayment}, with defaults specified
@@ -1943,6 +1989,18 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
1943
1989
  */new:create,/**
1944
1990
  * Defaults specified in the {@link breez_sdk_spark} crate.
1945
1991
  */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeRefundDepositResponse=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{txId:FfiConverterString.read(from),txHex:FfiConverterString.read(from)};}write(value,into){FfiConverterString.write(value.txId,into);FfiConverterString.write(value.txHex,into);}allocationSize(value){return FfiConverterString.allocationSize(value.txId)+FfiConverterString.allocationSize(value.txHex);}}return new FFIConverter();})();/**
1992
+ * Response from refunding pending conversions.
1993
+ *//**
1994
+ * Generated factory for {@link RefundPendingConversionsResponse} record objects.
1995
+ */const RefundPendingConversionsResponse=exports.RefundPendingConversionsResponse=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
1996
+ * Create a frozen instance of {@link RefundPendingConversionsResponse}, with defaults specified
1997
+ * in Rust, in the {@link breez_sdk_spark} crate.
1998
+ */create,/**
1999
+ * Create a frozen instance of {@link RefundPendingConversionsResponse}, with defaults specified
2000
+ * in Rust, in the {@link breez_sdk_spark} crate.
2001
+ */new:create,/**
2002
+ * Defaults specified in the {@link breez_sdk_spark} crate.
2003
+ */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeRefundPendingConversionsResponse=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{refunded:_uniffiBindgenReactNative.FfiConverterUInt32.read(from),skipped:_uniffiBindgenReactNative.FfiConverterUInt32.read(from),failed:_uniffiBindgenReactNative.FfiConverterUInt32.read(from)};}write(value,into){_uniffiBindgenReactNative.FfiConverterUInt32.write(value.refunded,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(value.skipped,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(value.failed,into);}allocationSize(value){return _uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.refunded)+_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.skipped)+_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.failed);}}return new FFIConverter();})();/**
1946
2004
  * Generated factory for {@link RegisterLightningAddressRequest} record objects.
1947
2005
  */const RegisterLightningAddressRequest=exports.RegisterLightningAddressRequest=(()=>{const defaults=()=>({description:undefined});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
1948
2006
  * Create a frozen instance of {@link RegisterLightningAddressRequest}, with defaults specified
@@ -2508,6 +2566,58 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
2508
2566
  */new:create,/**
2509
2567
  * Defaults specified in the {@link breez_sdk_spark} crate.
2510
2568
  */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeUnfreezeIssuerTokenResponse=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{impactedOutputIds:FfiConverterArrayString.read(from),impactedTokenAmount:FfiConverterTypeu128.read(from)};}write(value,into){FfiConverterArrayString.write(value.impactedOutputIds,into);FfiConverterTypeu128.write(value.impactedTokenAmount,into);}allocationSize(value){return FfiConverterArrayString.allocationSize(value.impactedOutputIds)+FfiConverterTypeu128.allocationSize(value.impactedTokenAmount);}}return new FFIConverter();})();/**
2569
+ * A leaf selected for exit, with its value.
2570
+ *//**
2571
+ * Generated factory for {@link UnilateralExitLeaf} record objects.
2572
+ */const UnilateralExitLeaf=exports.UnilateralExitLeaf=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
2573
+ * Create a frozen instance of {@link UnilateralExitLeaf}, with defaults specified
2574
+ * in Rust, in the {@link breez_sdk_spark} crate.
2575
+ */create,/**
2576
+ * Create a frozen instance of {@link UnilateralExitLeaf}, with defaults specified
2577
+ * in Rust, in the {@link breez_sdk_spark} crate.
2578
+ */new:create,/**
2579
+ * Defaults specified in the {@link breez_sdk_spark} crate.
2580
+ */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeUnilateralExitLeaf=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{leafId:FfiConverterString.read(from),value:_uniffiBindgenReactNative.FfiConverterUInt64.read(from)};}write(value,into){FfiConverterString.write(value.leafId,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(value.value,into);}allocationSize(value){return FfiConverterString.allocationSize(value.leafId)+_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.value);}}return new FFIConverter();})();/**
2581
+ * Request for `unilateral_exit`: a `prepare_unilateral_exit` quote plus the
2582
+ * funding UTXOs that pay its fees. The signer is passed separately (it is not a
2583
+ * plain data value).
2584
+ *//**
2585
+ * Generated factory for {@link UnilateralExitRequest} record objects.
2586
+ */const UnilateralExitRequest=exports.UnilateralExitRequest=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
2587
+ * Create a frozen instance of {@link UnilateralExitRequest}, with defaults specified
2588
+ * in Rust, in the {@link breez_sdk_spark} crate.
2589
+ */create,/**
2590
+ * Create a frozen instance of {@link UnilateralExitRequest}, with defaults specified
2591
+ * in Rust, in the {@link breez_sdk_spark} crate.
2592
+ */new:create,/**
2593
+ * Defaults specified in the {@link breez_sdk_spark} crate.
2594
+ */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeUnilateralExitRequest=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{prepared:FfiConverterTypePrepareUnilateralExitResponse.read(from),fundingInputs:FfiConverterArrayTypeCpfpInput.read(from)};}write(value,into){FfiConverterTypePrepareUnilateralExitResponse.write(value.prepared,into);FfiConverterArrayTypeCpfpInput.write(value.fundingInputs,into);}allocationSize(value){return FfiConverterTypePrepareUnilateralExitResponse.allocationSize(value.prepared)+FfiConverterArrayTypeCpfpInput.allocationSize(value.fundingInputs);}}return new FFIConverter();})();/**
2595
+ * Result of `unilateral_exit`: a cost summary plus the complete, signed exit
2596
+ * path.
2597
+ *//**
2598
+ * Generated factory for {@link UnilateralExitResponse} record objects.
2599
+ */const UnilateralExitResponse=exports.UnilateralExitResponse=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
2600
+ * Create a frozen instance of {@link UnilateralExitResponse}, with defaults specified
2601
+ * in Rust, in the {@link breez_sdk_spark} crate.
2602
+ */create,/**
2603
+ * Create a frozen instance of {@link UnilateralExitResponse}, with defaults specified
2604
+ * in Rust, in the {@link breez_sdk_spark} crate.
2605
+ */new:create,/**
2606
+ * Defaults specified in the {@link breez_sdk_spark} crate.
2607
+ */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeUnilateralExitResponse=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{recoverableValueSat:_uniffiBindgenReactNative.FfiConverterUInt64.read(from),totalFeeSat:_uniffiBindgenReactNative.FfiConverterUInt64.read(from),leaves:FfiConverterArrayTypeUnilateralExitLeaf.read(from),transactions:FfiConverterArrayTypeUnilateralExitTransaction.read(from)};}write(value,into){_uniffiBindgenReactNative.FfiConverterUInt64.write(value.recoverableValueSat,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(value.totalFeeSat,into);FfiConverterArrayTypeUnilateralExitLeaf.write(value.leaves,into);FfiConverterArrayTypeUnilateralExitTransaction.write(value.transactions,into);}allocationSize(value){return _uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.recoverableValueSat)+_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(value.totalFeeSat)+FfiConverterArrayTypeUnilateralExitLeaf.allocationSize(value.leaves)+FfiConverterArrayTypeUnilateralExitTransaction.allocationSize(value.transactions);}}return new FFIConverter();})();/**
2608
+ * One transaction in the unilateral exit path, with everything needed to
2609
+ * order and broadcast it.
2610
+ *//**
2611
+ * Generated factory for {@link UnilateralExitTransaction} record objects.
2612
+ */const UnilateralExitTransaction=exports.UnilateralExitTransaction=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
2613
+ * Create a frozen instance of {@link UnilateralExitTransaction}, with defaults specified
2614
+ * in Rust, in the {@link breez_sdk_spark} crate.
2615
+ */create,/**
2616
+ * Create a frozen instance of {@link UnilateralExitTransaction}, with defaults specified
2617
+ * in Rust, in the {@link breez_sdk_spark} crate.
2618
+ */new:create,/**
2619
+ * Defaults specified in the {@link breez_sdk_spark} crate.
2620
+ */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeUnilateralExitTransaction=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{kind:FfiConverterTypeUnilateralExitTxKind.read(from),nodeId:FfiConverterOptionalString.read(from),txid:FfiConverterString.read(from),txHex:FfiConverterString.read(from),cpfpTxHex:FfiConverterOptionalString.read(from),csvTimelockBlocks:FfiConverterOptionalUInt32.read(from),dependsOn:FfiConverterArrayString.read(from),status:FfiConverterTypeConfirmationStatus.read(from)};}write(value,into){FfiConverterTypeUnilateralExitTxKind.write(value.kind,into);FfiConverterOptionalString.write(value.nodeId,into);FfiConverterString.write(value.txid,into);FfiConverterString.write(value.txHex,into);FfiConverterOptionalString.write(value.cpfpTxHex,into);FfiConverterOptionalUInt32.write(value.csvTimelockBlocks,into);FfiConverterArrayString.write(value.dependsOn,into);FfiConverterTypeConfirmationStatus.write(value.status,into);}allocationSize(value){return FfiConverterTypeUnilateralExitTxKind.allocationSize(value.kind)+FfiConverterOptionalString.allocationSize(value.nodeId)+FfiConverterString.allocationSize(value.txid)+FfiConverterString.allocationSize(value.txHex)+FfiConverterOptionalString.allocationSize(value.cpfpTxHex)+FfiConverterOptionalUInt32.allocationSize(value.csvTimelockBlocks)+FfiConverterArrayString.allocationSize(value.dependsOn)+FfiConverterTypeConfirmationStatus.allocationSize(value.status);}}return new FFIConverter();})();/**
2511
2621
  * Request to unregister an existing webhook.
2512
2622
  *//**
2513
2623
  * Generated factory for {@link UnregisterWebhookRequest} record objects.
@@ -2543,7 +2653,7 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
2543
2653
  * Defaults specified in the {@link breez_sdk_spark} crate.
2544
2654
  */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeUpdateContactRequest=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{id:FfiConverterString.read(from),name:FfiConverterString.read(from),paymentIdentifier:FfiConverterString.read(from)};}write(value,into){FfiConverterString.write(value.id,into);FfiConverterString.write(value.name,into);FfiConverterString.write(value.paymentIdentifier,into);}allocationSize(value){return FfiConverterString.allocationSize(value.id)+FfiConverterString.allocationSize(value.name)+FfiConverterString.allocationSize(value.paymentIdentifier);}}return new FFIConverter();})();/**
2545
2655
  * Generated factory for {@link UpdateUserSettingsRequest} record objects.
2546
- */const UpdateUserSettingsRequest=exports.UpdateUserSettingsRequest=(()=>{const defaults=()=>({stableBalanceActiveLabel:undefined});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
2656
+ */const UpdateUserSettingsRequest=exports.UpdateUserSettingsRequest=(()=>{const defaults=()=>({stableBalanceActiveLabel:undefined,sparkMasterIdentityPublicKey:undefined});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
2547
2657
  * Create a frozen instance of {@link UpdateUserSettingsRequest}, with defaults specified
2548
2658
  * in Rust, in the {@link breez_sdk_spark} crate.
2549
2659
  */create,/**
@@ -2551,7 +2661,7 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
2551
2661
  * in Rust, in the {@link breez_sdk_spark} crate.
2552
2662
  */new:create,/**
2553
2663
  * Defaults specified in the {@link breez_sdk_spark} crate.
2554
- */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeUpdateUserSettingsRequest=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{sparkPrivateModeEnabled:FfiConverterOptionalBool.read(from),stableBalanceActiveLabel:FfiConverterOptionalTypeStableBalanceActiveLabel.read(from)};}write(value,into){FfiConverterOptionalBool.write(value.sparkPrivateModeEnabled,into);FfiConverterOptionalTypeStableBalanceActiveLabel.write(value.stableBalanceActiveLabel,into);}allocationSize(value){return FfiConverterOptionalBool.allocationSize(value.sparkPrivateModeEnabled)+FfiConverterOptionalTypeStableBalanceActiveLabel.allocationSize(value.stableBalanceActiveLabel);}}return new FFIConverter();})();/**
2664
+ */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeUpdateUserSettingsRequest=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{sparkPrivateModeEnabled:FfiConverterOptionalBool.read(from),stableBalanceActiveLabel:FfiConverterOptionalTypeStableBalanceActiveLabel.read(from),sparkMasterIdentityPublicKey:FfiConverterOptionalTypeSparkMasterIdentityPublicKey.read(from)};}write(value,into){FfiConverterOptionalBool.write(value.sparkPrivateModeEnabled,into);FfiConverterOptionalTypeStableBalanceActiveLabel.write(value.stableBalanceActiveLabel,into);FfiConverterOptionalTypeSparkMasterIdentityPublicKey.write(value.sparkMasterIdentityPublicKey,into);}allocationSize(value){return FfiConverterOptionalBool.allocationSize(value.sparkPrivateModeEnabled)+FfiConverterOptionalTypeStableBalanceActiveLabel.allocationSize(value.stableBalanceActiveLabel)+FfiConverterOptionalTypeSparkMasterIdentityPublicKey.allocationSize(value.sparkMasterIdentityPublicKey);}}return new FFIConverter();})();/**
2555
2665
  * Generated factory for {@link UrlSuccessActionData} record objects.
2556
2666
  */const UrlSuccessActionData=exports.UrlSuccessActionData=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
2557
2667
  * Create a frozen instance of {@link UrlSuccessActionData}, with defaults specified
@@ -2571,7 +2681,7 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
2571
2681
  * in Rust, in the {@link breez_sdk_spark} crate.
2572
2682
  */new:create,/**
2573
2683
  * Defaults specified in the {@link breez_sdk_spark} crate.
2574
- */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeUserSettings=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{sparkPrivateModeEnabled:_uniffiBindgenReactNative.FfiConverterBool.read(from),stableBalanceActiveLabel:FfiConverterOptionalString.read(from)};}write(value,into){_uniffiBindgenReactNative.FfiConverterBool.write(value.sparkPrivateModeEnabled,into);FfiConverterOptionalString.write(value.stableBalanceActiveLabel,into);}allocationSize(value){return _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.sparkPrivateModeEnabled)+FfiConverterOptionalString.allocationSize(value.stableBalanceActiveLabel);}}return new FFIConverter();})();/**
2684
+ */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeUserSettings=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{sparkPrivateModeEnabled:_uniffiBindgenReactNative.FfiConverterBool.read(from),stableBalanceActiveLabel:FfiConverterOptionalString.read(from),sparkMasterIdentityPublicKey:FfiConverterOptionalString.read(from)};}write(value,into){_uniffiBindgenReactNative.FfiConverterBool.write(value.sparkPrivateModeEnabled,into);FfiConverterOptionalString.write(value.stableBalanceActiveLabel,into);FfiConverterOptionalString.write(value.sparkMasterIdentityPublicKey,into);}allocationSize(value){return _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.sparkPrivateModeEnabled)+FfiConverterOptionalString.allocationSize(value.stableBalanceActiveLabel)+FfiConverterOptionalString.allocationSize(value.sparkMasterIdentityPublicKey);}}return new FFIConverter();})();/**
2575
2685
  * Generated factory for {@link Utxo} record objects.
2576
2686
  */const Utxo=exports.Utxo=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
2577
2687
  * Create a frozen instance of {@link Utxo}, with defaults specified
@@ -2757,7 +2867,16 @@ let ChainServiceError_Tags=exports.ChainServiceError_Tags=/*#__PURE__*/function(
2757
2867
  * This field is private and should not be used, use `tag` instead.
2758
2868
  */[_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
2759
2869
  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.
2760
- 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: ConversionChain
2870
+ 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();})();/**
2871
+ * Whether a transaction in the exit path is already on-chain.
2872
+ */let ConfirmationStatus=exports.ConfirmationStatus=/*#__PURE__*/function(ConfirmationStatus){/**
2873
+ * This transaction is confirmed in a block. It needs no action.
2874
+ */ConfirmationStatus[ConfirmationStatus["Confirmed"]=0]="Confirmed";/**
2875
+ * This transaction is not yet confirmed. Mempool state is not consulted.
2876
+ */ConfirmationStatus[ConfirmationStatus["Unconfirmed"]=1]="Unconfirmed";/**
2877
+ * The on-chain status could not be determined (the chain service errored).
2878
+ * Broadcasting may fail if a conflicting transaction already landed.
2879
+ */ConfirmationStatus[ConfirmationStatus["Unverified"]=2]="Unverified";return ConfirmationStatus;}({});const FfiConverterTypeConfirmationStatus=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return ConfirmationStatus.Confirmed;case 2:return ConfirmationStatus.Unconfirmed;case 3:return ConfirmationStatus.Unverified;default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value){case ConfirmationStatus.Confirmed:return ordinalConverter.write(1,into);case ConfirmationStatus.Unconfirmed:return ordinalConverter.write(2,into);case ConfirmationStatus.Unverified:return ordinalConverter.write(3,into);}}allocationSize(value){return ordinalConverter.allocationSize(0);}}return new FFIConverter();})();// Enum: ConversionChain
2761
2880
  let ConversionChain_Tags=exports.ConversionChain_Tags=/*#__PURE__*/function(ConversionChain_Tags){ConversionChain_Tags["Spark"]="Spark";ConversionChain_Tags["Lightning"]="Lightning";ConversionChain_Tags["External"]="External";return ConversionChain_Tags;}({});/**
2762
2881
  * The chain or network that a [`ConversionSide`] lives on.
2763
2882
  */const ConversionChain=exports.ConversionChain=(()=>{/**
@@ -2886,7 +3005,64 @@ let ConversionType_Tags=exports.ConversionType_Tags=/*#__PURE__*/function(Conver
2886
3005
  * This field is private and should not be used, use `tag` instead.
2887
3006
  */[_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
2888
3007
  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.
2889
- 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();})();let CrossChainAddressFamily=exports.CrossChainAddressFamily=/*#__PURE__*/function(CrossChainAddressFamily){CrossChainAddressFamily[CrossChainAddressFamily["Evm"]=0]="Evm";CrossChainAddressFamily[CrossChainAddressFamily["Solana"]=1]="Solana";CrossChainAddressFamily[CrossChainAddressFamily["Tron"]=2]="Tron";return CrossChainAddressFamily;}({});const FfiConverterTypeCrossChainAddressFamily=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return CrossChainAddressFamily.Evm;case 2:return CrossChainAddressFamily.Solana;case 3:return CrossChainAddressFamily.Tron;default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value){case CrossChainAddressFamily.Evm:return ordinalConverter.write(1,into);case CrossChainAddressFamily.Solana:return ordinalConverter.write(2,into);case CrossChainAddressFamily.Tron:return ordinalConverter.write(3,into);}}allocationSize(value){return ordinalConverter.allocationSize(0);}}return new FFIConverter();})();/**
3008
+ 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: CpfpFundingKind
3009
+ let CpfpFundingKind_Tags=exports.CpfpFundingKind_Tags=/*#__PURE__*/function(CpfpFundingKind_Tags){CpfpFundingKind_Tags["P2wpkh"]="P2wpkh";CpfpFundingKind_Tags["P2tr"]="P2tr";CpfpFundingKind_Tags["Custom"]="Custom";return CpfpFundingKind_Tags;}({});/**
3010
+ * The kind of UTXO that will fund an exit's fees.
3011
+ */const CpfpFundingKind=exports.CpfpFundingKind=(()=>{/**
3012
+ * Fees paid from P2WPKH (native segwit v0) UTXOs.
3013
+ */class P2wpkh_ extends _uniffiBindgenReactNative.UniffiEnum{/**
3014
+ * @private
3015
+ * This field is private and should not be used, use `tag` instead.
3016
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='CpfpFundingKind';tag=CpfpFundingKind_Tags.P2wpkh;constructor(){super('CpfpFundingKind','P2wpkh');}static new(){return new P2wpkh_();}static instanceOf(obj){return obj.tag===CpfpFundingKind_Tags.P2wpkh;}}/**
3017
+ * Fees paid from P2TR (taproot, key-path) UTXOs.
3018
+ */class P2tr_ extends _uniffiBindgenReactNative.UniffiEnum{/**
3019
+ * @private
3020
+ * This field is private and should not be used, use `tag` instead.
3021
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='CpfpFundingKind';tag=CpfpFundingKind_Tags.P2tr;constructor(){super('CpfpFundingKind','P2tr');}static new(){return new P2tr_();}static instanceOf(obj){return obj.tag===CpfpFundingKind_Tags.P2tr;}}/**
3022
+ * Fees paid from a custom witness-program script (legacy scripts are
3023
+ * rejected). `script_pubkey_hex` (the funding scriptPubKey) sizes the
3024
+ * fan-out output and dust; `signed_input_weight` (weight units) is an upper
3025
+ * bound on the input's signed weight, so the quote stays exact or slightly
3026
+ * conservative.
3027
+ */class Custom_ extends _uniffiBindgenReactNative.UniffiEnum{/**
3028
+ * @private
3029
+ * This field is private and should not be used, use `tag` instead.
3030
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='CpfpFundingKind';tag=CpfpFundingKind_Tags.Custom;constructor(inner){super('CpfpFundingKind','Custom');this.inner=Object.freeze(inner);}static new(inner){return new Custom_(inner);}static instanceOf(obj){return obj.tag===CpfpFundingKind_Tags.Custom;}}function instanceOf(obj){return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='CpfpFundingKind';}return Object.freeze({instanceOf,P2wpkh:P2wpkh_,P2tr:P2tr_,Custom:Custom_});})();/**
3031
+ * The kind of UTXO that will fund an exit's fees.
3032
+ */// FfiConverter for enum CpfpFundingKind
3033
+ const FfiConverterTypeCpfpFundingKind=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new CpfpFundingKind.P2wpkh();case 2:return new CpfpFundingKind.P2tr();case 3:return new CpfpFundingKind.Custom({scriptPubkeyHex:FfiConverterString.read(from),signedInputWeight:_uniffiBindgenReactNative.FfiConverterUInt64.read(from)});default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case CpfpFundingKind_Tags.P2wpkh:{ordinalConverter.write(1,into);return;}case CpfpFundingKind_Tags.P2tr:{ordinalConverter.write(2,into);return;}case CpfpFundingKind_Tags.Custom:{ordinalConverter.write(3,into);const inner=value.inner;FfiConverterString.write(inner.scriptPubkeyHex,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(inner.signedInputWeight,into);return;}default:// Throwing from here means that CpfpFundingKind_Tags hasn't matched an ordinal.
3034
+ throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case CpfpFundingKind_Tags.P2wpkh:{return ordinalConverter.allocationSize(1);}case CpfpFundingKind_Tags.P2tr:{return ordinalConverter.allocationSize(2);}case CpfpFundingKind_Tags.Custom:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterString.allocationSize(inner.scriptPubkeyHex);size+=_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(inner.signedInputWeight);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: CpfpInput
3035
+ let CpfpInput_Tags=exports.CpfpInput_Tags=/*#__PURE__*/function(CpfpInput_Tags){CpfpInput_Tags["P2wpkh"]="P2wpkh";CpfpInput_Tags["P2tr"]="P2tr";CpfpInput_Tags["Custom"]="Custom";return CpfpInput_Tags;}({});/**
3036
+ * A funding UTXO that pays the on-chain fees of a unilateral exit.
3037
+ */const CpfpInput=exports.CpfpInput=(()=>{/**
3038
+ * A P2WPKH (native segwit v0) UTXO controlled by `pubkey` (33-byte
3039
+ * compressed, hex).
3040
+ */class P2wpkh_ extends _uniffiBindgenReactNative.UniffiEnum{/**
3041
+ * @private
3042
+ * This field is private and should not be used, use `tag` instead.
3043
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='CpfpInput';tag=CpfpInput_Tags.P2wpkh;constructor(inner){super('CpfpInput','P2wpkh');this.inner=Object.freeze(inner);}static new(inner){return new P2wpkh_(inner);}static instanceOf(obj){return obj.tag===CpfpInput_Tags.P2wpkh;}}/**
3044
+ * A P2TR (taproot, key-path) UTXO. `pubkey` (x-only or compressed, hex) is
3045
+ * the **internal** (untweaked, BIP86 key-path) public key whose secret signs
3046
+ * the input, not the tweaked on-chain output key. The SDK applies the BIP86
3047
+ * taproot tweak itself to derive the funding scriptPubKey, so passing the
3048
+ * already-tweaked output key here produces a scriptPubKey that does not match
3049
+ * the UTXO and the built transaction is rejected at broadcast.
3050
+ */class P2tr_ extends _uniffiBindgenReactNative.UniffiEnum{/**
3051
+ * @private
3052
+ * This field is private and should not be used, use `tag` instead.
3053
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='CpfpInput';tag=CpfpInput_Tags.P2tr;constructor(inner){super('CpfpInput','P2tr');this.inner=Object.freeze(inner);}static new(inner){return new P2tr_(inner);}static instanceOf(obj){return obj.tag===CpfpInput_Tags.P2tr;}}/**
3054
+ * Any witness-program script, signed via a custom `CpfpSigner`. Legacy
3055
+ * (non-SegWit) scripts are rejected. `signed_input_weight` (weight units)
3056
+ * is an upper bound on the input's signed weight, so the fee stays exact,
3057
+ * or slightly conservative if the real signature is shorter.
3058
+ */class Custom_ extends _uniffiBindgenReactNative.UniffiEnum{/**
3059
+ * @private
3060
+ * This field is private and should not be used, use `tag` instead.
3061
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='CpfpInput';tag=CpfpInput_Tags.Custom;constructor(inner){super('CpfpInput','Custom');this.inner=Object.freeze(inner);}static new(inner){return new Custom_(inner);}static instanceOf(obj){return obj.tag===CpfpInput_Tags.Custom;}}function instanceOf(obj){return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='CpfpInput';}return Object.freeze({instanceOf,P2wpkh:P2wpkh_,P2tr:P2tr_,Custom:Custom_});})();/**
3062
+ * A funding UTXO that pays the on-chain fees of a unilateral exit.
3063
+ */// FfiConverter for enum CpfpInput
3064
+ const FfiConverterTypeCpfpInput=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new CpfpInput.P2wpkh({txid:FfiConverterString.read(from),vout:_uniffiBindgenReactNative.FfiConverterUInt32.read(from),value:_uniffiBindgenReactNative.FfiConverterUInt64.read(from),pubkey:FfiConverterString.read(from)});case 2:return new CpfpInput.P2tr({txid:FfiConverterString.read(from),vout:_uniffiBindgenReactNative.FfiConverterUInt32.read(from),value:_uniffiBindgenReactNative.FfiConverterUInt64.read(from),pubkey:FfiConverterString.read(from)});case 3:return new CpfpInput.Custom({txid:FfiConverterString.read(from),vout:_uniffiBindgenReactNative.FfiConverterUInt32.read(from),value:_uniffiBindgenReactNative.FfiConverterUInt64.read(from),scriptPubkeyHex:FfiConverterString.read(from),signedInputWeight:_uniffiBindgenReactNative.FfiConverterUInt64.read(from)});default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case CpfpInput_Tags.P2wpkh:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterString.write(inner.txid,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(inner.vout,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(inner.value,into);FfiConverterString.write(inner.pubkey,into);return;}case CpfpInput_Tags.P2tr:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterString.write(inner.txid,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(inner.vout,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(inner.value,into);FfiConverterString.write(inner.pubkey,into);return;}case CpfpInput_Tags.Custom:{ordinalConverter.write(3,into);const inner=value.inner;FfiConverterString.write(inner.txid,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(inner.vout,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(inner.value,into);FfiConverterString.write(inner.scriptPubkeyHex,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(inner.signedInputWeight,into);return;}default:// Throwing from here means that CpfpInput_Tags hasn't matched an ordinal.
3065
+ throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case CpfpInput_Tags.P2wpkh:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterString.allocationSize(inner.txid);size+=_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(inner.vout);size+=_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(inner.value);size+=FfiConverterString.allocationSize(inner.pubkey);return size;}case CpfpInput_Tags.P2tr:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterString.allocationSize(inner.txid);size+=_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(inner.vout);size+=_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(inner.value);size+=FfiConverterString.allocationSize(inner.pubkey);return size;}case CpfpInput_Tags.Custom:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterString.allocationSize(inner.txid);size+=_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(inner.vout);size+=_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(inner.value);size+=FfiConverterString.allocationSize(inner.scriptPubkeyHex);size+=_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(inner.signedInputWeight);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();let CrossChainAddressFamily=exports.CrossChainAddressFamily=/*#__PURE__*/function(CrossChainAddressFamily){CrossChainAddressFamily[CrossChainAddressFamily["Evm"]=0]="Evm";CrossChainAddressFamily[CrossChainAddressFamily["Solana"]=1]="Solana";CrossChainAddressFamily[CrossChainAddressFamily["Tron"]=2]="Tron";return CrossChainAddressFamily;}({});const FfiConverterTypeCrossChainAddressFamily=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return CrossChainAddressFamily.Evm;case 2:return CrossChainAddressFamily.Solana;case 3:return CrossChainAddressFamily.Tron;default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value){case CrossChainAddressFamily.Evm:return ordinalConverter.write(1,into);case CrossChainAddressFamily.Solana:return ordinalConverter.write(2,into);case CrossChainAddressFamily.Tron:return ordinalConverter.write(3,into);}}allocationSize(value){return ordinalConverter.allocationSize(0);}}return new FFIConverter();})();/**
2890
3066
  * How the caller wants fees handled against the request `amount`.
2891
3067
  *
2892
3068
  * - `FeesExcluded`: `amount` is the provider invoice/deposit target; the
@@ -3000,7 +3176,29 @@ throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}a
3000
3176
  * if it persists, the credential or RP setup may be at fault.
3001
3177
  */ErrorKind[ErrorKind["AuthFailure"]=7]="AuthFailure";/**
3002
3178
  * Failure the caller can't act on. Show a generic "try again".
3003
- */ErrorKind[ErrorKind["Internal"]=8]="Internal";return ErrorKind;}({});const FfiConverterTypeErrorKind=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return ErrorKind.Cancel;case 2:return ErrorKind.NoCredential;case 3:return ErrorKind.PrfUnsupported;case 4:return ErrorKind.PrfFailed;case 5:return ErrorKind.Configuration;case 6:return ErrorKind.AlreadyExists;case 7:return ErrorKind.Timeout;case 8:return ErrorKind.AuthFailure;case 9:return ErrorKind.Internal;default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value){case ErrorKind.Cancel:return ordinalConverter.write(1,into);case ErrorKind.NoCredential:return ordinalConverter.write(2,into);case ErrorKind.PrfUnsupported:return ordinalConverter.write(3,into);case ErrorKind.PrfFailed:return ordinalConverter.write(4,into);case ErrorKind.Configuration:return ordinalConverter.write(5,into);case ErrorKind.AlreadyExists:return ordinalConverter.write(6,into);case ErrorKind.Timeout:return ordinalConverter.write(7,into);case ErrorKind.AuthFailure:return ordinalConverter.write(8,into);case ErrorKind.Internal:return ordinalConverter.write(9,into);}}allocationSize(value){return ordinalConverter.allocationSize(0);}}return new FFIConverter();})();// Enum: ExternalFrostDerivation
3179
+ */ErrorKind[ErrorKind["Internal"]=8]="Internal";return ErrorKind;}({});const FfiConverterTypeErrorKind=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return ErrorKind.Cancel;case 2:return ErrorKind.NoCredential;case 3:return ErrorKind.PrfUnsupported;case 4:return ErrorKind.PrfFailed;case 5:return ErrorKind.Configuration;case 6:return ErrorKind.AlreadyExists;case 7:return ErrorKind.Timeout;case 8:return ErrorKind.AuthFailure;case 9:return ErrorKind.Internal;default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value){case ErrorKind.Cancel:return ordinalConverter.write(1,into);case ErrorKind.NoCredential:return ordinalConverter.write(2,into);case ErrorKind.PrfUnsupported:return ordinalConverter.write(3,into);case ErrorKind.PrfFailed:return ordinalConverter.write(4,into);case ErrorKind.Configuration:return ordinalConverter.write(5,into);case ErrorKind.AlreadyExists:return ordinalConverter.write(6,into);case ErrorKind.Timeout:return ordinalConverter.write(7,into);case ErrorKind.AuthFailure:return ordinalConverter.write(8,into);case ErrorKind.Internal:return ordinalConverter.write(9,into);}}allocationSize(value){return ordinalConverter.allocationSize(0);}}return new FFIConverter();})();// Enum: ExitLeafSelection
3180
+ let ExitLeafSelection_Tags=exports.ExitLeafSelection_Tags=/*#__PURE__*/function(ExitLeafSelection_Tags){ExitLeafSelection_Tags["Auto"]="Auto";ExitLeafSelection_Tags["Specific"]="Specific";return ExitLeafSelection_Tags;}({});/**
3181
+ * Which leaves to exit.
3182
+ */const ExitLeafSelection=exports.ExitLeafSelection=(()=>{/**
3183
+ * Exit every leaf whose value exceeds its own marginal exit cost (its tree
3184
+ * and refund CPFP fees plus its sweep input). This per-leaf test does not
3185
+ * include the shared fan-out fee, so funding many leaves from a single UTXO
3186
+ * adds `fanout_fee_sat` on top: compare `recoverable_value_sat` with
3187
+ * `total_fee_sat`, or fund one UTXO per branch to avoid the fan-out. Leaves
3188
+ * that fail the per-leaf test are skipped.
3189
+ */class Auto_ extends _uniffiBindgenReactNative.UniffiEnum{/**
3190
+ * @private
3191
+ * This field is private and should not be used, use `tag` instead.
3192
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='ExitLeafSelection';tag=ExitLeafSelection_Tags.Auto;constructor(){super('ExitLeafSelection','Auto');}static new(){return new Auto_();}static instanceOf(obj){return obj.tag===ExitLeafSelection_Tags.Auto;}}/**
3193
+ * Exit exactly these leaves, regardless of profitability.
3194
+ */class Specific_ extends _uniffiBindgenReactNative.UniffiEnum{/**
3195
+ * @private
3196
+ * This field is private and should not be used, use `tag` instead.
3197
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='ExitLeafSelection';tag=ExitLeafSelection_Tags.Specific;constructor(inner){super('ExitLeafSelection','Specific');this.inner=Object.freeze(inner);}static new(inner){return new Specific_(inner);}static instanceOf(obj){return obj.tag===ExitLeafSelection_Tags.Specific;}}function instanceOf(obj){return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='ExitLeafSelection';}return Object.freeze({instanceOf,Auto:Auto_,Specific:Specific_});})();/**
3198
+ * Which leaves to exit.
3199
+ */// FfiConverter for enum ExitLeafSelection
3200
+ const FfiConverterTypeExitLeafSelection=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new ExitLeafSelection.Auto();case 2:return new ExitLeafSelection.Specific({leafIds:FfiConverterArrayString.read(from)});default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case ExitLeafSelection_Tags.Auto:{ordinalConverter.write(1,into);return;}case ExitLeafSelection_Tags.Specific:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterArrayString.write(inner.leafIds,into);return;}default:// Throwing from here means that ExitLeafSelection_Tags hasn't matched an ordinal.
3201
+ throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case ExitLeafSelection_Tags.Auto:{return ordinalConverter.allocationSize(1);}case ExitLeafSelection_Tags.Specific:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterArrayString.allocationSize(inner.leafIds);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: ExternalFrostDerivation
3004
3202
  let ExternalFrostDerivation_Tags=exports.ExternalFrostDerivation_Tags=/*#__PURE__*/function(ExternalFrostDerivation_Tags){ExternalFrostDerivation_Tags["SigningLeaf"]="SigningLeaf";ExternalFrostDerivation_Tags["StaticDeposit"]="StaticDeposit";ExternalFrostDerivation_Tags["HtlcPreimage"]="HtlcPreimage";ExternalFrostDerivation_Tags["Identity"]="Identity";return ExternalFrostDerivation_Tags;}({});/**
3005
3203
  * FFI-safe representation of `spark_wallet::FrostDerivation`.
3006
3204
  */const ExternalFrostDerivation=exports.ExternalFrostDerivation=(()=>{/**
@@ -3207,7 +3405,23 @@ let OptimizationOutcome_Tags=exports.OptimizationOutcome_Tags=/*#__PURE__*/funct
3207
3405
  * ```
3208
3406
  */// FfiConverter for enum OptimizationOutcome
3209
3407
  const FfiConverterTypeOptimizationOutcome=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new OptimizationOutcome.Completed({roundsExecuted:_uniffiBindgenReactNative.FfiConverterUInt32.read(from)});case 2:return new OptimizationOutcome.InProgress();default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case OptimizationOutcome_Tags.Completed:{ordinalConverter.write(1,into);const inner=value.inner;_uniffiBindgenReactNative.FfiConverterUInt32.write(inner.roundsExecuted,into);return;}case OptimizationOutcome_Tags.InProgress:{ordinalConverter.write(2,into);return;}default:// Throwing from here means that OptimizationOutcome_Tags hasn't matched an ordinal.
3210
- throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case OptimizationOutcome_Tags.Completed:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(inner.roundsExecuted);return size;}case OptimizationOutcome_Tags.InProgress:{return ordinalConverter.allocationSize(2);}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: PasskeyAvailability
3408
+ throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case OptimizationOutcome_Tags.Completed:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(inner.roundsExecuted);return size;}case OptimizationOutcome_Tags.InProgress:{return ordinalConverter.allocationSize(2);}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: Outspend
3409
+ let Outspend_Tags=exports.Outspend_Tags=/*#__PURE__*/function(Outspend_Tags){Outspend_Tags["Unspent"]="Unspent";Outspend_Tags["Spent"]="Spent";return Outspend_Tags;}({});/**
3410
+ * The spend status of a transaction output.
3411
+ */const Outspend=exports.Outspend=(()=>{class Unspent_ extends _uniffiBindgenReactNative.UniffiEnum{/**
3412
+ * @private
3413
+ * This field is private and should not be used, use `tag` instead.
3414
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='Outspend';tag=Outspend_Tags.Unspent;constructor(){super('Outspend','Unspent');}static new(){return new Unspent_();}static instanceOf(obj){return obj.tag===Outspend_Tags.Unspent;}}/**
3415
+ * The output is spent by input `vin` of transaction `txid`; `status` is
3416
+ * that spending transaction's confirmation status.
3417
+ */class Spent_ extends _uniffiBindgenReactNative.UniffiEnum{/**
3418
+ * @private
3419
+ * This field is private and should not be used, use `tag` instead.
3420
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='Outspend';tag=Outspend_Tags.Spent;constructor(inner){super('Outspend','Spent');this.inner=Object.freeze(inner);}static new(inner){return new Spent_(inner);}static instanceOf(obj){return obj.tag===Outspend_Tags.Spent;}}function instanceOf(obj){return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='Outspend';}return Object.freeze({instanceOf,Unspent:Unspent_,Spent:Spent_});})();/**
3421
+ * The spend status of a transaction output.
3422
+ */// FfiConverter for enum Outspend
3423
+ const FfiConverterTypeOutspend=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new Outspend.Unspent();case 2:return new Outspend.Spent({txid:FfiConverterString.read(from),vin:_uniffiBindgenReactNative.FfiConverterUInt32.read(from),status:FfiConverterTypeTxStatus.read(from)});default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case Outspend_Tags.Unspent:{ordinalConverter.write(1,into);return;}case Outspend_Tags.Spent:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterString.write(inner.txid,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(inner.vin,into);FfiConverterTypeTxStatus.write(inner.status,into);return;}default:// Throwing from here means that Outspend_Tags hasn't matched an ordinal.
3424
+ throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case Outspend_Tags.Unspent:{return ordinalConverter.allocationSize(1);}case Outspend_Tags.Spent:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterString.allocationSize(inner.txid);size+=_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(inner.vin);size+=FfiConverterTypeTxStatus.allocationSize(inner.status);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: PasskeyAvailability
3211
3425
  let PasskeyAvailability_Tags=exports.PasskeyAvailability_Tags=/*#__PURE__*/function(PasskeyAvailability_Tags){PasskeyAvailability_Tags["Available"]="Available";PasskeyAvailability_Tags["PrfUnsupported"]="PrfUnsupported";PasskeyAvailability_Tags["NotAssociated"]="NotAssociated";PasskeyAvailability_Tags["Skipped"]="Skipped";return PasskeyAvailability_Tags;}({});/**
3212
3426
  * Single-value result of [`PasskeyClient::check_availability`].
3213
3427
  * Collapses [`PrfProvider::is_supported`] +
@@ -3459,7 +3673,7 @@ let ReceivePaymentMethod_Tags=exports.ReceivePaymentMethod_Tags=/*#__PURE__*/fun
3459
3673
  const FfiConverterTypeReceivePaymentMethod=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new ReceivePaymentMethod.SparkAddress();case 2:return new ReceivePaymentMethod.SparkInvoice({amount:FfiConverterOptionalTypeu128.read(from),tokenIdentifier:FfiConverterOptionalString.read(from),expiryTime:FfiConverterOptionalUInt64.read(from),description:FfiConverterOptionalString.read(from),senderPublicKey:FfiConverterOptionalString.read(from)});case 3:return new ReceivePaymentMethod.BitcoinAddress({newAddress:FfiConverterOptionalBool.read(from)});case 4:return new ReceivePaymentMethod.Bolt11Invoice({description:FfiConverterString.read(from),amountSats:FfiConverterOptionalUInt64.read(from),expirySecs:FfiConverterOptionalUInt32.read(from),paymentHash:FfiConverterOptionalString.read(from)});default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case ReceivePaymentMethod_Tags.SparkAddress:{ordinalConverter.write(1,into);return;}case ReceivePaymentMethod_Tags.SparkInvoice:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterOptionalTypeu128.write(inner.amount,into);FfiConverterOptionalString.write(inner.tokenIdentifier,into);FfiConverterOptionalUInt64.write(inner.expiryTime,into);FfiConverterOptionalString.write(inner.description,into);FfiConverterOptionalString.write(inner.senderPublicKey,into);return;}case ReceivePaymentMethod_Tags.BitcoinAddress:{ordinalConverter.write(3,into);const inner=value.inner;FfiConverterOptionalBool.write(inner.newAddress,into);return;}case ReceivePaymentMethod_Tags.Bolt11Invoice:{ordinalConverter.write(4,into);const inner=value.inner;FfiConverterString.write(inner.description,into);FfiConverterOptionalUInt64.write(inner.amountSats,into);FfiConverterOptionalUInt32.write(inner.expirySecs,into);FfiConverterOptionalString.write(inner.paymentHash,into);return;}default:// Throwing from here means that ReceivePaymentMethod_Tags hasn't matched an ordinal.
3460
3674
  throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case ReceivePaymentMethod_Tags.SparkAddress:{return ordinalConverter.allocationSize(1);}case ReceivePaymentMethod_Tags.SparkInvoice:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterOptionalTypeu128.allocationSize(inner.amount);size+=FfiConverterOptionalString.allocationSize(inner.tokenIdentifier);size+=FfiConverterOptionalUInt64.allocationSize(inner.expiryTime);size+=FfiConverterOptionalString.allocationSize(inner.description);size+=FfiConverterOptionalString.allocationSize(inner.senderPublicKey);return size;}case ReceivePaymentMethod_Tags.BitcoinAddress:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterOptionalBool.allocationSize(inner.newAddress);return size;}case ReceivePaymentMethod_Tags.Bolt11Invoice:{const inner=value.inner;let size=ordinalConverter.allocationSize(4);size+=FfiConverterString.allocationSize(inner.description);size+=FfiConverterOptionalUInt64.allocationSize(inner.amountSats);size+=FfiConverterOptionalUInt32.allocationSize(inner.expirySecs);size+=FfiConverterOptionalString.allocationSize(inner.paymentHash);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Error type: SdkError
3461
3675
  // Enum: SdkError
3462
- let SdkError_Tags=exports.SdkError_Tags=/*#__PURE__*/function(SdkError_Tags){SdkError_Tags["SparkError"]="SparkError";SdkError_Tags["InsufficientFunds"]="InsufficientFunds";SdkError_Tags["InvalidUuid"]="InvalidUuid";SdkError_Tags["InvalidInput"]="InvalidInput";SdkError_Tags["NetworkError"]="NetworkError";SdkError_Tags["StorageError"]="StorageError";SdkError_Tags["ChainServiceError"]="ChainServiceError";SdkError_Tags["MaxDepositClaimFeeExceeded"]="MaxDepositClaimFeeExceeded";SdkError_Tags["MissingUtxo"]="MissingUtxo";SdkError_Tags["LnurlError"]="LnurlError";SdkError_Tags["Signer"]="Signer";SdkError_Tags["OptimizationAlreadyRunning"]="OptimizationAlreadyRunning";SdkError_Tags["OptimizationCancelled"]="OptimizationCancelled";SdkError_Tags["Generic"]="Generic";return SdkError_Tags;}({});/**
3676
+ let SdkError_Tags=exports.SdkError_Tags=/*#__PURE__*/function(SdkError_Tags){SdkError_Tags["SparkError"]="SparkError";SdkError_Tags["InsufficientFunds"]="InsufficientFunds";SdkError_Tags["InvalidUuid"]="InvalidUuid";SdkError_Tags["InvalidInput"]="InvalidInput";SdkError_Tags["NetworkError"]="NetworkError";SdkError_Tags["StorageError"]="StorageError";SdkError_Tags["ChainServiceError"]="ChainServiceError";SdkError_Tags["MaxDepositClaimFeeExceeded"]="MaxDepositClaimFeeExceeded";SdkError_Tags["MissingUtxo"]="MissingUtxo";SdkError_Tags["LnurlError"]="LnurlError";SdkError_Tags["Signer"]="Signer";SdkError_Tags["OptimizationAlreadyRunning"]="OptimizationAlreadyRunning";SdkError_Tags["OptimizationCancelled"]="OptimizationCancelled";SdkError_Tags["InsufficientCpfpFunds"]="InsufficientCpfpFunds";SdkError_Tags["FundingUtxoConflict"]="FundingUtxoConflict";SdkError_Tags["Generic"]="Generic";return SdkError_Tags;}({});/**
3463
3677
  * Error type for the `BreezSdk`
3464
3678
  */const SdkError=exports.SdkError=(()=>{class SparkError_ extends _uniffiBindgenReactNative.UniffiError{/**
3465
3679
  * @private
@@ -3512,14 +3726,25 @@ let SdkError_Tags=exports.SdkError_Tags=/*#__PURE__*/function(SdkError_Tags){Sdk
3512
3726
  */class OptimizationCancelled_ extends _uniffiBindgenReactNative.UniffiError{/**
3513
3727
  * @private
3514
3728
  * This field is private and should not be used, use `tag` instead.
3515
- */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='SdkError';tag=SdkError_Tags.OptimizationCancelled;constructor(){super('SdkError','OptimizationCancelled');}static new(){return new OptimizationCancelled_();}static instanceOf(obj){return obj.tag===SdkError_Tags.OptimizationCancelled;}static hasInner(obj){return false;}}class Generic_ extends _uniffiBindgenReactNative.UniffiError{/**
3729
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='SdkError';tag=SdkError_Tags.OptimizationCancelled;constructor(){super('SdkError','OptimizationCancelled');}static new(){return new OptimizationCancelled_();}static instanceOf(obj){return obj.tag===SdkError_Tags.OptimizationCancelled;}static hasInner(obj){return false;}}/**
3730
+ * The provided CPFP funding is too low to cover the exit's on-chain fees.
3731
+ */class InsufficientCpfpFunds_ extends _uniffiBindgenReactNative.UniffiError{/**
3732
+ * @private
3733
+ * This field is private and should not be used, use `tag` instead.
3734
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='SdkError';tag=SdkError_Tags.InsufficientCpfpFunds;constructor(inner){super('SdkError','InsufficientCpfpFunds');this.inner=Object.freeze(inner);}static new(inner){return new InsufficientCpfpFunds_(inner);}static instanceOf(obj){return obj.tag===SdkError_Tags.InsufficientCpfpFunds;}static hasInner(obj){return InsufficientCpfpFunds_.instanceOf(obj);}static getInner(obj){return obj.inner;}}/**
3735
+ * A provided funding UTXO was already spent on-chain by a transaction that
3736
+ * is not the expected fan-out, so it cannot fund this exit.
3737
+ */class FundingUtxoConflict_ extends _uniffiBindgenReactNative.UniffiError{/**
3738
+ * @private
3739
+ * This field is private and should not be used, use `tag` instead.
3740
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='SdkError';tag=SdkError_Tags.FundingUtxoConflict;constructor(inner){super('SdkError','FundingUtxoConflict');this.inner=Object.freeze(inner);}static new(inner){return new FundingUtxoConflict_(inner);}static instanceOf(obj){return obj.tag===SdkError_Tags.FundingUtxoConflict;}static hasInner(obj){return FundingUtxoConflict_.instanceOf(obj);}static getInner(obj){return obj.inner;}}class Generic_ extends _uniffiBindgenReactNative.UniffiError{/**
3516
3741
  * @private
3517
3742
  * This field is private and should not be used, use `tag` instead.
3518
- */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='SdkError';tag=SdkError_Tags.Generic;constructor(v0){super('SdkError','Generic');this.inner=Object.freeze([v0]);}static new(v0){return new Generic_(v0);}static instanceOf(obj){return obj.tag===SdkError_Tags.Generic;}static hasInner(obj){return Generic_.instanceOf(obj);}static getInner(obj){return obj.inner;}}function instanceOf(obj){return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='SdkError';}return Object.freeze({instanceOf,SparkError:SparkError_,InsufficientFunds:InsufficientFunds_,InvalidUuid:InvalidUuid_,InvalidInput:InvalidInput_,NetworkError:NetworkError_,StorageError:StorageError_,ChainServiceError:ChainServiceError_,MaxDepositClaimFeeExceeded:MaxDepositClaimFeeExceeded_,MissingUtxo:MissingUtxo_,LnurlError:LnurlError_,Signer:Signer_,OptimizationAlreadyRunning:OptimizationAlreadyRunning_,OptimizationCancelled:OptimizationCancelled_,Generic:Generic_});})();/**
3743
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='SdkError';tag=SdkError_Tags.Generic;constructor(v0){super('SdkError','Generic');this.inner=Object.freeze([v0]);}static new(v0){return new Generic_(v0);}static instanceOf(obj){return obj.tag===SdkError_Tags.Generic;}static hasInner(obj){return Generic_.instanceOf(obj);}static getInner(obj){return obj.inner;}}function instanceOf(obj){return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='SdkError';}return Object.freeze({instanceOf,SparkError:SparkError_,InsufficientFunds:InsufficientFunds_,InvalidUuid:InvalidUuid_,InvalidInput:InvalidInput_,NetworkError:NetworkError_,StorageError:StorageError_,ChainServiceError:ChainServiceError_,MaxDepositClaimFeeExceeded:MaxDepositClaimFeeExceeded_,MissingUtxo:MissingUtxo_,LnurlError:LnurlError_,Signer:Signer_,OptimizationAlreadyRunning:OptimizationAlreadyRunning_,OptimizationCancelled:OptimizationCancelled_,InsufficientCpfpFunds:InsufficientCpfpFunds_,FundingUtxoConflict:FundingUtxoConflict_,Generic:Generic_});})();/**
3519
3744
  * Error type for the `BreezSdk`
3520
3745
  */// FfiConverter for enum SdkError
3521
- const FfiConverterTypeSdkError=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new SdkError.SparkError(FfiConverterString.read(from));case 2:return new SdkError.InsufficientFunds();case 3:return new SdkError.InvalidUuid(FfiConverterString.read(from));case 4:return new SdkError.InvalidInput(FfiConverterString.read(from));case 5:return new SdkError.NetworkError(FfiConverterString.read(from));case 6:return new SdkError.StorageError(FfiConverterString.read(from));case 7:return new SdkError.ChainServiceError(FfiConverterString.read(from));case 8:return new SdkError.MaxDepositClaimFeeExceeded({tx:FfiConverterString.read(from),vout:_uniffiBindgenReactNative.FfiConverterUInt32.read(from),maxFee:FfiConverterOptionalTypeFee.read(from),requiredFeeSats:_uniffiBindgenReactNative.FfiConverterUInt64.read(from),requiredFeeRateSatPerVbyte:_uniffiBindgenReactNative.FfiConverterUInt64.read(from)});case 9:return new SdkError.MissingUtxo({tx:FfiConverterString.read(from),vout:_uniffiBindgenReactNative.FfiConverterUInt32.read(from)});case 10:return new SdkError.LnurlError(FfiConverterString.read(from));case 11:return new SdkError.Signer(FfiConverterString.read(from));case 12:return new SdkError.OptimizationAlreadyRunning();case 13:return new SdkError.OptimizationCancelled();case 14:return new SdkError.Generic(FfiConverterString.read(from));default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case SdkError_Tags.SparkError:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.InsufficientFunds:{ordinalConverter.write(2,into);return;}case SdkError_Tags.InvalidUuid:{ordinalConverter.write(3,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.InvalidInput:{ordinalConverter.write(4,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.NetworkError:{ordinalConverter.write(5,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.StorageError:{ordinalConverter.write(6,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.ChainServiceError:{ordinalConverter.write(7,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.MaxDepositClaimFeeExceeded:{ordinalConverter.write(8,into);const inner=value.inner;FfiConverterString.write(inner.tx,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(inner.vout,into);FfiConverterOptionalTypeFee.write(inner.maxFee,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(inner.requiredFeeSats,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(inner.requiredFeeRateSatPerVbyte,into);return;}case SdkError_Tags.MissingUtxo:{ordinalConverter.write(9,into);const inner=value.inner;FfiConverterString.write(inner.tx,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(inner.vout,into);return;}case SdkError_Tags.LnurlError:{ordinalConverter.write(10,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.Signer:{ordinalConverter.write(11,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.OptimizationAlreadyRunning:{ordinalConverter.write(12,into);return;}case SdkError_Tags.OptimizationCancelled:{ordinalConverter.write(13,into);return;}case SdkError_Tags.Generic:{ordinalConverter.write(14,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}default:// Throwing from here means that SdkError_Tags hasn't matched an ordinal.
3522
- throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case SdkError_Tags.SparkError:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.InsufficientFunds:{return ordinalConverter.allocationSize(2);}case SdkError_Tags.InvalidUuid:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.InvalidInput:{const inner=value.inner;let size=ordinalConverter.allocationSize(4);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.NetworkError:{const inner=value.inner;let size=ordinalConverter.allocationSize(5);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.StorageError:{const inner=value.inner;let size=ordinalConverter.allocationSize(6);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.ChainServiceError:{const inner=value.inner;let size=ordinalConverter.allocationSize(7);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.MaxDepositClaimFeeExceeded:{const inner=value.inner;let size=ordinalConverter.allocationSize(8);size+=FfiConverterString.allocationSize(inner.tx);size+=_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(inner.vout);size+=FfiConverterOptionalTypeFee.allocationSize(inner.maxFee);size+=_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(inner.requiredFeeSats);size+=_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(inner.requiredFeeRateSatPerVbyte);return size;}case SdkError_Tags.MissingUtxo:{const inner=value.inner;let size=ordinalConverter.allocationSize(9);size+=FfiConverterString.allocationSize(inner.tx);size+=_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(inner.vout);return size;}case SdkError_Tags.LnurlError:{const inner=value.inner;let size=ordinalConverter.allocationSize(10);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.Signer:{const inner=value.inner;let size=ordinalConverter.allocationSize(11);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.OptimizationAlreadyRunning:{return ordinalConverter.allocationSize(12);}case SdkError_Tags.OptimizationCancelled:{return ordinalConverter.allocationSize(13);}case SdkError_Tags.Generic:{const inner=value.inner;let size=ordinalConverter.allocationSize(14);size+=FfiConverterString.allocationSize(inner[0]);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: SdkEvent
3746
+ const FfiConverterTypeSdkError=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new SdkError.SparkError(FfiConverterString.read(from));case 2:return new SdkError.InsufficientFunds();case 3:return new SdkError.InvalidUuid(FfiConverterString.read(from));case 4:return new SdkError.InvalidInput(FfiConverterString.read(from));case 5:return new SdkError.NetworkError(FfiConverterString.read(from));case 6:return new SdkError.StorageError(FfiConverterString.read(from));case 7:return new SdkError.ChainServiceError(FfiConverterString.read(from));case 8:return new SdkError.MaxDepositClaimFeeExceeded({tx:FfiConverterString.read(from),vout:_uniffiBindgenReactNative.FfiConverterUInt32.read(from),maxFee:FfiConverterOptionalTypeFee.read(from),requiredFeeSats:_uniffiBindgenReactNative.FfiConverterUInt64.read(from),requiredFeeRateSatPerVbyte:_uniffiBindgenReactNative.FfiConverterUInt64.read(from)});case 9:return new SdkError.MissingUtxo({tx:FfiConverterString.read(from),vout:_uniffiBindgenReactNative.FfiConverterUInt32.read(from)});case 10:return new SdkError.LnurlError(FfiConverterString.read(from));case 11:return new SdkError.Signer(FfiConverterString.read(from));case 12:return new SdkError.OptimizationAlreadyRunning();case 13:return new SdkError.OptimizationCancelled();case 14:return new SdkError.InsufficientCpfpFunds({requiredSat:_uniffiBindgenReactNative.FfiConverterUInt64.read(from)});case 15:return new SdkError.FundingUtxoConflict({txid:FfiConverterString.read(from),vout:_uniffiBindgenReactNative.FfiConverterUInt32.read(from)});case 16:return new SdkError.Generic(FfiConverterString.read(from));default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case SdkError_Tags.SparkError:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.InsufficientFunds:{ordinalConverter.write(2,into);return;}case SdkError_Tags.InvalidUuid:{ordinalConverter.write(3,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.InvalidInput:{ordinalConverter.write(4,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.NetworkError:{ordinalConverter.write(5,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.StorageError:{ordinalConverter.write(6,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.ChainServiceError:{ordinalConverter.write(7,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.MaxDepositClaimFeeExceeded:{ordinalConverter.write(8,into);const inner=value.inner;FfiConverterString.write(inner.tx,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(inner.vout,into);FfiConverterOptionalTypeFee.write(inner.maxFee,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(inner.requiredFeeSats,into);_uniffiBindgenReactNative.FfiConverterUInt64.write(inner.requiredFeeRateSatPerVbyte,into);return;}case SdkError_Tags.MissingUtxo:{ordinalConverter.write(9,into);const inner=value.inner;FfiConverterString.write(inner.tx,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(inner.vout,into);return;}case SdkError_Tags.LnurlError:{ordinalConverter.write(10,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.Signer:{ordinalConverter.write(11,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}case SdkError_Tags.OptimizationAlreadyRunning:{ordinalConverter.write(12,into);return;}case SdkError_Tags.OptimizationCancelled:{ordinalConverter.write(13,into);return;}case SdkError_Tags.InsufficientCpfpFunds:{ordinalConverter.write(14,into);const inner=value.inner;_uniffiBindgenReactNative.FfiConverterUInt64.write(inner.requiredSat,into);return;}case SdkError_Tags.FundingUtxoConflict:{ordinalConverter.write(15,into);const inner=value.inner;FfiConverterString.write(inner.txid,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(inner.vout,into);return;}case SdkError_Tags.Generic:{ordinalConverter.write(16,into);const inner=value.inner;FfiConverterString.write(inner[0],into);return;}default:// Throwing from here means that SdkError_Tags hasn't matched an ordinal.
3747
+ throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case SdkError_Tags.SparkError:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.InsufficientFunds:{return ordinalConverter.allocationSize(2);}case SdkError_Tags.InvalidUuid:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.InvalidInput:{const inner=value.inner;let size=ordinalConverter.allocationSize(4);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.NetworkError:{const inner=value.inner;let size=ordinalConverter.allocationSize(5);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.StorageError:{const inner=value.inner;let size=ordinalConverter.allocationSize(6);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.ChainServiceError:{const inner=value.inner;let size=ordinalConverter.allocationSize(7);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.MaxDepositClaimFeeExceeded:{const inner=value.inner;let size=ordinalConverter.allocationSize(8);size+=FfiConverterString.allocationSize(inner.tx);size+=_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(inner.vout);size+=FfiConverterOptionalTypeFee.allocationSize(inner.maxFee);size+=_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(inner.requiredFeeSats);size+=_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(inner.requiredFeeRateSatPerVbyte);return size;}case SdkError_Tags.MissingUtxo:{const inner=value.inner;let size=ordinalConverter.allocationSize(9);size+=FfiConverterString.allocationSize(inner.tx);size+=_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(inner.vout);return size;}case SdkError_Tags.LnurlError:{const inner=value.inner;let size=ordinalConverter.allocationSize(10);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.Signer:{const inner=value.inner;let size=ordinalConverter.allocationSize(11);size+=FfiConverterString.allocationSize(inner[0]);return size;}case SdkError_Tags.OptimizationAlreadyRunning:{return ordinalConverter.allocationSize(12);}case SdkError_Tags.OptimizationCancelled:{return ordinalConverter.allocationSize(13);}case SdkError_Tags.InsufficientCpfpFunds:{const inner=value.inner;let size=ordinalConverter.allocationSize(14);size+=_uniffiBindgenReactNative.FfiConverterUInt64.allocationSize(inner.requiredSat);return size;}case SdkError_Tags.FundingUtxoConflict:{const inner=value.inner;let size=ordinalConverter.allocationSize(15);size+=FfiConverterString.allocationSize(inner.txid);size+=_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(inner.vout);return size;}case SdkError_Tags.Generic:{const inner=value.inner;let size=ordinalConverter.allocationSize(16);size+=FfiConverterString.allocationSize(inner[0]);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: SdkEvent
3523
3748
  let SdkEvent_Tags=exports.SdkEvent_Tags=/*#__PURE__*/function(SdkEvent_Tags){SdkEvent_Tags["Synced"]="Synced";SdkEvent_Tags["UnclaimedDeposits"]="UnclaimedDeposits";SdkEvent_Tags["ClaimedDeposits"]="ClaimedDeposits";SdkEvent_Tags["PaymentSucceeded"]="PaymentSucceeded";SdkEvent_Tags["PaymentPending"]="PaymentPending";SdkEvent_Tags["PaymentFailed"]="PaymentFailed";SdkEvent_Tags["AutoOptimization"]="AutoOptimization";SdkEvent_Tags["LightningAddressChanged"]="LightningAddressChanged";SdkEvent_Tags["NewDeposits"]="NewDeposits";return SdkEvent_Tags;}({});/**
3524
3749
  * Events emitted by the SDK
3525
3750
  */const SdkEvent=exports.SdkEvent=(()=>{/**
@@ -3726,7 +3951,27 @@ throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}a
3726
3951
  * The HTLC preimage has been shared and the transfer can be or has been claimed by the receiver
3727
3952
  */SparkHtlcStatus[SparkHtlcStatus["PreimageShared"]=1]="PreimageShared";/**
3728
3953
  * The HTLC has been returned to the sender due to expiry
3729
- */SparkHtlcStatus[SparkHtlcStatus["Returned"]=2]="Returned";return SparkHtlcStatus;}({});const FfiConverterTypeSparkHtlcStatus=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return SparkHtlcStatus.WaitingForPreimage;case 2:return SparkHtlcStatus.PreimageShared;case 3:return SparkHtlcStatus.Returned;default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value){case SparkHtlcStatus.WaitingForPreimage:return ordinalConverter.write(1,into);case SparkHtlcStatus.PreimageShared:return ordinalConverter.write(2,into);case SparkHtlcStatus.Returned:return ordinalConverter.write(3,into);}}allocationSize(value){return ordinalConverter.allocationSize(0);}}return new FFIConverter();})();// Enum: StableBalanceActiveLabel
3954
+ */SparkHtlcStatus[SparkHtlcStatus["Returned"]=2]="Returned";return SparkHtlcStatus;}({});const FfiConverterTypeSparkHtlcStatus=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return SparkHtlcStatus.WaitingForPreimage;case 2:return SparkHtlcStatus.PreimageShared;case 3:return SparkHtlcStatus.Returned;default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value){case SparkHtlcStatus.WaitingForPreimage:return ordinalConverter.write(1,into);case SparkHtlcStatus.PreimageShared:return ordinalConverter.write(2,into);case SparkHtlcStatus.Returned:return ordinalConverter.write(3,into);}}allocationSize(value){return ordinalConverter.allocationSize(0);}}return new FFIConverter();})();// Enum: SparkMasterIdentityPublicKey
3955
+ let SparkMasterIdentityPublicKey_Tags=exports.SparkMasterIdentityPublicKey_Tags=/*#__PURE__*/function(SparkMasterIdentityPublicKey_Tags){SparkMasterIdentityPublicKey_Tags["Set"]="Set";SparkMasterIdentityPublicKey_Tags["Unset"]="Unset";return SparkMasterIdentityPublicKey_Tags;}({});/**
3956
+ * Specifies how to update the wallet's Spark master identity public key.
3957
+ */const SparkMasterIdentityPublicKey=exports.SparkMasterIdentityPublicKey=(()=>{/**
3958
+ * Designate the holder of this public key as the wallet's master
3959
+ * identity, replacing any previously designated key. Must be hex encoded
3960
+ * in the 33-byte compressed form.
3961
+ */class Set_ extends _uniffiBindgenReactNative.UniffiEnum{/**
3962
+ * @private
3963
+ * This field is private and should not be used, use `tag` instead.
3964
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='SparkMasterIdentityPublicKey';tag=SparkMasterIdentityPublicKey_Tags.Set;constructor(inner){super('SparkMasterIdentityPublicKey','Set');this.inner=Object.freeze(inner);}static new(inner){return new Set_(inner);}static instanceOf(obj){return obj.tag===SparkMasterIdentityPublicKey_Tags.Set;}}/**
3965
+ * Remove the designated master identity, leaving the owner as the only
3966
+ * party able to read the wallet under private mode.
3967
+ */class Unset_ extends _uniffiBindgenReactNative.UniffiEnum{/**
3968
+ * @private
3969
+ * This field is private and should not be used, use `tag` instead.
3970
+ */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='SparkMasterIdentityPublicKey';tag=SparkMasterIdentityPublicKey_Tags.Unset;constructor(){super('SparkMasterIdentityPublicKey','Unset');}static new(){return new Unset_();}static instanceOf(obj){return obj.tag===SparkMasterIdentityPublicKey_Tags.Unset;}}function instanceOf(obj){return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='SparkMasterIdentityPublicKey';}return Object.freeze({instanceOf,Set:Set_,Unset:Unset_});})();/**
3971
+ * Specifies how to update the wallet's Spark master identity public key.
3972
+ */// FfiConverter for enum SparkMasterIdentityPublicKey
3973
+ const FfiConverterTypeSparkMasterIdentityPublicKey=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new SparkMasterIdentityPublicKey.Set({publicKey:FfiConverterString.read(from)});case 2:return new SparkMasterIdentityPublicKey.Unset();default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case SparkMasterIdentityPublicKey_Tags.Set:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterString.write(inner.publicKey,into);return;}case SparkMasterIdentityPublicKey_Tags.Unset:{ordinalConverter.write(2,into);return;}default:// Throwing from here means that SparkMasterIdentityPublicKey_Tags hasn't matched an ordinal.
3974
+ throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case SparkMasterIdentityPublicKey_Tags.Set:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterString.allocationSize(inner.publicKey);return size;}case SparkMasterIdentityPublicKey_Tags.Unset:{return ordinalConverter.allocationSize(2);}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: StableBalanceActiveLabel
3730
3975
  let StableBalanceActiveLabel_Tags=exports.StableBalanceActiveLabel_Tags=/*#__PURE__*/function(StableBalanceActiveLabel_Tags){StableBalanceActiveLabel_Tags["Set"]="Set";StableBalanceActiveLabel_Tags["Unset"]="Unset";return StableBalanceActiveLabel_Tags;}({});/**
3731
3976
  * Specifies how to update the active stable balance token.
3732
3977
  */const StableBalanceActiveLabel=exports.StableBalanceActiveLabel=(()=>{/**
@@ -3864,7 +4109,18 @@ let TransferTarget_Tags=exports.TransferTarget_Tags=/*#__PURE__*/function(Transf
3864
4109
  * This field is private and should not be used, use `tag` instead.
3865
4110
  */[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='TransferTarget';tag=TransferTarget_Tags.CoopExit;constructor(inner){super('TransferTarget','CoopExit');this.inner=Object.freeze(inner);}static new(inner){return new CoopExit_(inner);}static instanceOf(obj){return obj.tag===TransferTarget_Tags.CoopExit;}}function instanceOf(obj){return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='TransferTarget';}return Object.freeze({instanceOf,Spark:Spark_,Lightning:Lightning_,CoopExit:CoopExit_});})();// FfiConverter for enum TransferTarget
3866
4111
  const FfiConverterTypeTransferTarget=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return new TransferTarget.Spark({address:FfiConverterString.read(from),sparkInvoice:FfiConverterOptionalString.read(from)});case 2:return new TransferTarget.Lightning({bolt11:FfiConverterString.read(from),lnurlPay:FfiConverterOptionalTypeLnurlPayContext.read(from),feePolicy:FfiConverterTypeFeePolicy.read(from),completionTimeoutSecs:FfiConverterOptionalUInt32.read(from)});case 3:return new TransferTarget.CoopExit({address:FfiConverterString.read(from),feeQuote:FfiConverterTypeSendOnchainFeeQuote.read(from),confirmationSpeed:FfiConverterTypeOnchainConfirmationSpeed.read(from)});default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value.tag){case TransferTarget_Tags.Spark:{ordinalConverter.write(1,into);const inner=value.inner;FfiConverterString.write(inner.address,into);FfiConverterOptionalString.write(inner.sparkInvoice,into);return;}case TransferTarget_Tags.Lightning:{ordinalConverter.write(2,into);const inner=value.inner;FfiConverterString.write(inner.bolt11,into);FfiConverterOptionalTypeLnurlPayContext.write(inner.lnurlPay,into);FfiConverterTypeFeePolicy.write(inner.feePolicy,into);FfiConverterOptionalUInt32.write(inner.completionTimeoutSecs,into);return;}case TransferTarget_Tags.CoopExit:{ordinalConverter.write(3,into);const inner=value.inner;FfiConverterString.write(inner.address,into);FfiConverterTypeSendOnchainFeeQuote.write(inner.feeQuote,into);FfiConverterTypeOnchainConfirmationSpeed.write(inner.confirmationSpeed,into);return;}default:// Throwing from here means that TransferTarget_Tags hasn't matched an ordinal.
3867
- throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case TransferTarget_Tags.Spark:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterString.allocationSize(inner.address);size+=FfiConverterOptionalString.allocationSize(inner.sparkInvoice);return size;}case TransferTarget_Tags.Lightning:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterString.allocationSize(inner.bolt11);size+=FfiConverterOptionalTypeLnurlPayContext.allocationSize(inner.lnurlPay);size+=FfiConverterTypeFeePolicy.allocationSize(inner.feePolicy);size+=FfiConverterOptionalUInt32.allocationSize(inner.completionTimeoutSecs);return size;}case TransferTarget_Tags.CoopExit:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterString.allocationSize(inner.address);size+=FfiConverterTypeSendOnchainFeeQuote.allocationSize(inner.feeQuote);size+=FfiConverterTypeOnchainConfirmationSpeed.allocationSize(inner.confirmationSpeed);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// Enum: UnsignedTransferPackage
4112
+ throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case TransferTarget_Tags.Spark:{const inner=value.inner;let size=ordinalConverter.allocationSize(1);size+=FfiConverterString.allocationSize(inner.address);size+=FfiConverterOptionalString.allocationSize(inner.sparkInvoice);return size;}case TransferTarget_Tags.Lightning:{const inner=value.inner;let size=ordinalConverter.allocationSize(2);size+=FfiConverterString.allocationSize(inner.bolt11);size+=FfiConverterOptionalTypeLnurlPayContext.allocationSize(inner.lnurlPay);size+=FfiConverterTypeFeePolicy.allocationSize(inner.feePolicy);size+=FfiConverterOptionalUInt32.allocationSize(inner.completionTimeoutSecs);return size;}case TransferTarget_Tags.CoopExit:{const inner=value.inner;let size=ordinalConverter.allocationSize(3);size+=FfiConverterString.allocationSize(inner.address);size+=FfiConverterTypeSendOnchainFeeQuote.allocationSize(inner.feeQuote);size+=FfiConverterTypeOnchainConfirmationSpeed.allocationSize(inner.confirmationSpeed);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();/**
4113
+ * The role of a transaction in the exit path.
4114
+ */let UnilateralExitTxKind=exports.UnilateralExitTxKind=/*#__PURE__*/function(UnilateralExitTxKind){/**
4115
+ * Splits the caller's funding into one output per branch. Present only
4116
+ * when the funding couldn't be matched one-to-one to branches.
4117
+ */UnilateralExitTxKind[UnilateralExitTxKind["FanOut"]=0]="FanOut";/**
4118
+ * A tree node transaction (root, intermediate, or leaf node).
4119
+ */UnilateralExitTxKind[UnilateralExitTxKind["Node"]=1]="Node";/**
4120
+ * A leaf's refund transaction.
4121
+ */UnilateralExitTxKind[UnilateralExitTxKind["Refund"]=2]="Refund";/**
4122
+ * The final transaction sweeping all refund outputs to the destination.
4123
+ */UnilateralExitTxKind[UnilateralExitTxKind["Sweep"]=3]="Sweep";return UnilateralExitTxKind;}({});const FfiConverterTypeUnilateralExitTxKind=(()=>{const ordinalConverter=_uniffiBindgenReactNative.FfiConverterInt32;class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){switch(ordinalConverter.read(from)){case 1:return UnilateralExitTxKind.FanOut;case 2:return UnilateralExitTxKind.Node;case 3:return UnilateralExitTxKind.Refund;case 4:return UnilateralExitTxKind.Sweep;default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}write(value,into){switch(value){case UnilateralExitTxKind.FanOut:return ordinalConverter.write(1,into);case UnilateralExitTxKind.Node:return ordinalConverter.write(2,into);case UnilateralExitTxKind.Refund:return ordinalConverter.write(3,into);case UnilateralExitTxKind.Sweep:return ordinalConverter.write(4,into);}}allocationSize(value){return ordinalConverter.allocationSize(0);}}return new FFIConverter();})();// Enum: UnsignedTransferPackage
3868
4124
  let UnsignedTransferPackage_Tags=exports.UnsignedTransferPackage_Tags=/*#__PURE__*/function(UnsignedTransferPackage_Tags){UnsignedTransferPackage_Tags["Swap"]="Swap";UnsignedTransferPackage_Tags["Transfer"]="Transfer";UnsignedTransferPackage_Tags["Token"]="Token";return UnsignedTransferPackage_Tags;}({});const UnsignedTransferPackage=exports.UnsignedTransferPackage=(()=>{class Swap_ extends _uniffiBindgenReactNative.UniffiEnum{/**
3869
4125
  * @private
3870
4126
  * This field is private and should not be used, use `tag` instead.
@@ -3920,7 +4176,12 @@ const FfiConverterTypeWebhookEventType=(()=>{const ordinalConverter=_uniffiBindg
3920
4176
  throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}allocationSize(value){switch(value.tag){case WebhookEventType_Tags.LightningReceiveFinished:{return ordinalConverter.allocationSize(1);}case WebhookEventType_Tags.LightningSendFinished:{return ordinalConverter.allocationSize(2);}case WebhookEventType_Tags.CoopExitFinished:{return ordinalConverter.allocationSize(3);}case WebhookEventType_Tags.StaticDepositFinished:{return ordinalConverter.allocationSize(4);}case WebhookEventType_Tags.Unknown:{const inner=value.inner;let size=ordinalConverter.allocationSize(5);size+=FfiConverterString.allocationSize(inner[0]);return size;}default:throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();}}}return new FFIConverter();})();// FfiConverter for Map<string, TokenBalance>
3921
4177
  const FfiConverterMapStringTypeTokenBalance=new _uniffiBindgenReactNative.FfiConverterMap(FfiConverterString,FfiConverterTypeTokenBalance);// FfiConverter for Map<string, string>
3922
4178
  const FfiConverterMapStringString=new _uniffiBindgenReactNative.FfiConverterMap(FfiConverterString,FfiConverterString);class BitcoinChainServiceImpl extends _uniffiBindgenReactNative.UniffiAbstractObject{[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='BitcoinChainServiceImpl';// No primary constructor declared for this class.
3923
- constructor(pointer){super();this[_uniffiBindgenReactNative.pointerLiteralSymbol]=pointer;this[_uniffiBindgenReactNative.destructorGuardSymbol]=uniffiTypeBitcoinChainServiceImplObjectFactory.bless(pointer);}async getAddressUtxos(address,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_bitcoinchainservice_get_address_utxos(uniffiTypeBitcoinChainServiceImplObjectFactory.clonePointer(this),FfiConverterString.lower(address));},/*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:*/FfiConverterArrayTypeUtxo.lift.bind(FfiConverterArrayTypeUtxo),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeChainServiceError.lift.bind(FfiConverterTypeChainServiceError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async getTransactionStatus(txid,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_bitcoinchainservice_get_transaction_status(uniffiTypeBitcoinChainServiceImplObjectFactory.clonePointer(this),FfiConverterString.lower(txid));},/*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:*/FfiConverterTypeTxStatus.lift.bind(FfiConverterTypeTxStatus),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeChainServiceError.lift.bind(FfiConverterTypeChainServiceError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async getTransactionHex(txid,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_bitcoinchainservice_get_transaction_hex(uniffiTypeBitcoinChainServiceImplObjectFactory.clonePointer(this),FfiConverterString.lower(txid));},/*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:*/FfiConverterString.lift.bind(FfiConverterString),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeChainServiceError.lift.bind(FfiConverterTypeChainServiceError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async broadcastTransaction(tx,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_bitcoinchainservice_broadcast_transaction(uniffiTypeBitcoinChainServiceImplObjectFactory.clonePointer(this),FfiConverterString.lower(tx));},/*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:*/FfiConverterTypeChainServiceError.lift.bind(FfiConverterTypeChainServiceError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async recommendedFees(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_bitcoinchainservice_recommended_fees(uniffiTypeBitcoinChainServiceImplObjectFactory.clonePointer(this));},/*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:*/FfiConverterTypeRecommendedFees.lift.bind(FfiConverterTypeRecommendedFees),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeChainServiceError.lift.bind(FfiConverterTypeChainServiceError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4179
+ constructor(pointer){super();this[_uniffiBindgenReactNative.pointerLiteralSymbol]=pointer;this[_uniffiBindgenReactNative.destructorGuardSymbol]=uniffiTypeBitcoinChainServiceImplObjectFactory.bless(pointer);}async getAddressUtxos(address,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_bitcoinchainservice_get_address_utxos(uniffiTypeBitcoinChainServiceImplObjectFactory.clonePointer(this),FfiConverterString.lower(address));},/*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:*/FfiConverterArrayTypeUtxo.lift.bind(FfiConverterArrayTypeUtxo),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeChainServiceError.lift.bind(FfiConverterTypeChainServiceError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4180
+ * Every output ever paid to `address`, spent or not, unlike
4181
+ * [`get_address_utxos`](Self::get_address_utxos) which omits spent ones.
4182
+ * Recovers an output's outpoint and value after it has been spent, so a
4183
+ * swept refund can still be distinguished from one never broadcast.
4184
+ */async getAddressTxos(address,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_bitcoinchainservice_get_address_txos(uniffiTypeBitcoinChainServiceImplObjectFactory.clonePointer(this),FfiConverterString.lower(address));},/*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:*/FfiConverterArrayTypeUtxo.lift.bind(FfiConverterArrayTypeUtxo),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeChainServiceError.lift.bind(FfiConverterTypeChainServiceError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async getTransactionStatus(txid,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_bitcoinchainservice_get_transaction_status(uniffiTypeBitcoinChainServiceImplObjectFactory.clonePointer(this),FfiConverterString.lower(txid));},/*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:*/FfiConverterTypeTxStatus.lift.bind(FfiConverterTypeTxStatus),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeChainServiceError.lift.bind(FfiConverterTypeChainServiceError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async getTransactionHex(txid,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_bitcoinchainservice_get_transaction_hex(uniffiTypeBitcoinChainServiceImplObjectFactory.clonePointer(this),FfiConverterString.lower(txid));},/*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:*/FfiConverterString.lift.bind(FfiConverterString),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeChainServiceError.lift.bind(FfiConverterTypeChainServiceError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async getOutspend(txid,vout,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_bitcoinchainservice_get_outspend(uniffiTypeBitcoinChainServiceImplObjectFactory.clonePointer(this),FfiConverterString.lower(txid),_uniffiBindgenReactNative.FfiConverterUInt32.lower(vout));},/*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:*/FfiConverterTypeOutspend.lift.bind(FfiConverterTypeOutspend),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeChainServiceError.lift.bind(FfiConverterTypeChainServiceError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async broadcastTransaction(tx,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_bitcoinchainservice_broadcast_transaction(uniffiTypeBitcoinChainServiceImplObjectFactory.clonePointer(this),FfiConverterString.lower(tx));},/*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:*/FfiConverterTypeChainServiceError.lift.bind(FfiConverterTypeChainServiceError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async recommendedFees(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_bitcoinchainservice_recommended_fees(uniffiTypeBitcoinChainServiceImplObjectFactory.clonePointer(this));},/*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:*/FfiConverterTypeRecommendedFees.lift.bind(FfiConverterTypeRecommendedFees),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeChainServiceError.lift.bind(FfiConverterTypeChainServiceError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
3924
4185
  * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
3925
4186
  */uniffiDestroy(){const ptr=this[_uniffiBindgenReactNative.destructorGuardSymbol];if(ptr!==undefined){const pointer=uniffiTypeBitcoinChainServiceImplObjectFactory.pointer(this);uniffiTypeBitcoinChainServiceImplObjectFactory.freePointer(pointer);uniffiTypeBitcoinChainServiceImplObjectFactory.unbless(ptr);delete this[_uniffiBindgenReactNative.destructorGuardSymbol];}}static instanceOf(obj){return uniffiTypeBitcoinChainServiceImplObjectFactory.isConcreteType(obj);}}exports.BitcoinChainServiceImpl=BitcoinChainServiceImpl;const uniffiTypeBitcoinChainServiceImplObjectFactory=(()=>{return{create(pointer){const instance=Object.create(BitcoinChainServiceImpl.prototype);instance[_uniffiBindgenReactNative.pointerLiteralSymbol]=pointer;instance[_uniffiBindgenReactNative.destructorGuardSymbol]=this.bless(pointer);instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='BitcoinChainServiceImpl';return instance;},bless(p){return uniffiCaller.rustCall(/*caller:*/status=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_internal_fn_method_bitcoinchainservice_ffi__bless_pointer(p,status),/*liftString:*/FfiConverterString.lift);},unbless(ptr){ptr.markDestroyed();},pointer(obj){if(obj[_uniffiBindgenReactNative.destructorGuardSymbol]===undefined){throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();}return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];},clonePointer(obj){const pointer=this.pointer(obj);return uniffiCaller.rustCall(/*caller:*/callStatus=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_clone_bitcoinchainservice(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},freePointer(pointer){uniffiCaller.rustCall(/*caller:*/callStatus=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_free_bitcoinchainservice(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},isConcreteType(obj){return obj[_uniffiBindgenReactNative.destructorGuardSymbol]&&obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='BitcoinChainServiceImpl';}};})();// FfiConverter for BitcoinChainService
3926
4187
  const FfiConverterTypeBitcoinChainService=new _uniffiBindgenReactNative.FfiConverterObjectWithCallbacks(uniffiTypeBitcoinChainServiceImplObjectFactory);// Add a vtavble for the callbacks that go in BitcoinChainService.
@@ -3928,8 +4189,10 @@ const FfiConverterTypeBitcoinChainService=new _uniffiBindgenReactNative.FfiConve
3928
4189
  const uniffiCallbackInterfaceBitcoinChainService={// Create the VTable using a series of closures.
3929
4190
  // ts automatically converts these into C callback functions.
3930
4191
  vtable:{getAddressUtxos:(uniffiHandle,address,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeBitcoinChainService.lift(uniffiHandle);return await jsCallback.getAddressUtxos(FfiConverterString.lift(address),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterArrayTypeUtxo.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
4192
+ callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/ChainServiceError.instanceOf,/*lowerError:*/FfiConverterTypeChainServiceError.lower.bind(FfiConverterTypeChainServiceError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},getAddressTxos:(uniffiHandle,address,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeBitcoinChainService.lift(uniffiHandle);return await jsCallback.getAddressTxos(FfiConverterString.lift(address),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterArrayTypeUtxo.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
3931
4193
  callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/ChainServiceError.instanceOf,/*lowerError:*/FfiConverterTypeChainServiceError.lower.bind(FfiConverterTypeChainServiceError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},getTransactionStatus:(uniffiHandle,txid,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeBitcoinChainService.lift(uniffiHandle);return await jsCallback.getTransactionStatus(FfiConverterString.lift(txid),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterTypeTxStatus.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
3932
4194
  callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/ChainServiceError.instanceOf,/*lowerError:*/FfiConverterTypeChainServiceError.lower.bind(FfiConverterTypeChainServiceError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},getTransactionHex:(uniffiHandle,txid,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeBitcoinChainService.lift(uniffiHandle);return await jsCallback.getTransactionHex(FfiConverterString.lift(txid),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterString.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
4195
+ callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/ChainServiceError.instanceOf,/*lowerError:*/FfiConverterTypeChainServiceError.lower.bind(FfiConverterTypeChainServiceError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},getOutspend:(uniffiHandle,txid,vout,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeBitcoinChainService.lift(uniffiHandle);return await jsCallback.getOutspend(FfiConverterString.lift(txid),_uniffiBindgenReactNative.FfiConverterUInt32.lift(vout),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterTypeOutspend.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
3933
4196
  callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/ChainServiceError.instanceOf,/*lowerError:*/FfiConverterTypeChainServiceError.lower.bind(FfiConverterTypeChainServiceError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},broadcastTransaction:(uniffiHandle,tx,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeBitcoinChainService.lift(uniffiHandle);return await jsCallback.broadcastTransaction(FfiConverterString.lift(tx),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructVoid */{callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructVoid */{// TODO create callstatus with error.
3934
4197
  callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/ChainServiceError.instanceOf,/*lowerError:*/FfiConverterTypeChainServiceError.lower.bind(FfiConverterTypeChainServiceError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},recommendedFees:(uniffiHandle,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeBitcoinChainService.lift(uniffiHandle);return await jsCallback.recommendedFees({signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterTypeRecommendedFees.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
3935
4198
  callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/ChainServiceError.instanceOf,/*lowerError:*/FfiConverterTypeChainServiceError.lower.bind(FfiConverterTypeChainServiceError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},uniffiFree:uniffiHandle=>{// BitcoinChainService: this will throw a stale handle error if the handle isn't found.
@@ -4117,19 +4380,24 @@ constructor(pointer){super();this[_uniffiBindgenReactNative.pointerLiteralSymbol
4117
4380
  *
4118
4381
  * Manual runs do not emit events; events ([`SdkEvent::AutoOptimization`])
4119
4382
  * are reserved for the background auto-optimizer.
4120
- */async optimizeLeaves(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_optimize_leaves(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeOptimizeLeavesRequest.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:*/FfiConverterTypeOptimizeLeavesResponse.lift.bind(FfiConverterTypeOptimizeLeavesResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async parse(input,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_parse(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterString.lower(input));},/*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:*/FfiConverterTypeInputType.lift.bind(FfiConverterTypeInputType),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async prepareLnurlPay(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_lnurl_pay(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypePrepareLnurlPayRequest.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:*/FfiConverterTypePrepareLnurlPayResponse.lift.bind(FfiConverterTypePrepareLnurlPayResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async prepareSendPayment(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_payment(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypePrepareSendPaymentRequest.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:*/FfiConverterTypePrepareSendPaymentResponse.lift.bind(FfiConverterTypePrepareSendPaymentResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async publishSignedLnurlPayPackage(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_publish_signed_lnurl_pay_package(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypePublishSignedLnurlPayPackageRequest.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:*/FfiConverterTypePublishSignedLnurlPayResponse.lift.bind(FfiConverterTypePublishSignedLnurlPayResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async publishSignedTransferPackage(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_publish_signed_transfer_package(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypePublishSignedTransferPackageRequest.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:*/FfiConverterTypePublishSignedTransferPackageResponse.lift.bind(FfiConverterTypePublishSignedTransferPackageResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async receivePayment(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_receive_payment(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeReceivePaymentRequest.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:*/FfiConverterTypeReceivePaymentResponse.lift.bind(FfiConverterTypeReceivePaymentResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4383
+ */async optimizeLeaves(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_optimize_leaves(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeOptimizeLeavesRequest.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:*/FfiConverterTypeOptimizeLeavesResponse.lift.bind(FfiConverterTypeOptimizeLeavesResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async parse(input,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_parse(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterString.lower(input));},/*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:*/FfiConverterTypeInputType.lift.bind(FfiConverterTypeInputType),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async prepareLnurlPay(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_lnurl_pay(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypePrepareLnurlPayRequest.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:*/FfiConverterTypePrepareLnurlPayResponse.lift.bind(FfiConverterTypePrepareLnurlPayResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async prepareSendPayment(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_payment(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypePrepareSendPaymentRequest.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:*/FfiConverterTypePrepareSendPaymentResponse.lift.bind(FfiConverterTypePrepareSendPaymentResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4384
+ * Quotes a unilateral exit without any funding UTXOs: selects which leaves
4385
+ * would exit, computes the exact fee for the given funding kind, and reports
4386
+ * how much to fund.
4387
+ */async prepareUnilateralExit(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_prepare_unilateral_exit(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypePrepareUnilateralExitRequest.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:*/FfiConverterTypePrepareUnilateralExitResponse.lift.bind(FfiConverterTypePrepareUnilateralExitResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async publishSignedLnurlPayPackage(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_publish_signed_lnurl_pay_package(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypePublishSignedLnurlPayPackageRequest.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:*/FfiConverterTypePublishSignedLnurlPayResponse.lift.bind(FfiConverterTypePublishSignedLnurlPayResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async publishSignedTransferPackage(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_publish_signed_transfer_package(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypePublishSignedTransferPackageRequest.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:*/FfiConverterTypePublishSignedTransferPackageResponse.lift.bind(FfiConverterTypePublishSignedTransferPackageResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async receivePayment(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_receive_payment(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeReceivePaymentRequest.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:*/FfiConverterTypeReceivePaymentResponse.lift.bind(FfiConverterTypeReceivePaymentResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4121
4388
  * Get the recommended BTC fees based on the configured chain service.
4122
4389
  */async recommendedFees(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_recommended_fees(uniffiTypeBreezSdkObjectFactory.clonePointer(this));},/*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:*/FfiConverterTypeRecommendedFees.lift.bind(FfiConverterTypeRecommendedFees),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async refundDeposit(request,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await(0,_uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_refund_deposit(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeRefundDepositRequest.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:*/FfiConverterTypeRefundDepositResponse.lift.bind(FfiConverterTypeRefundDepositResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4123
- * Runs one pass of the pending-conversion refunder.
4124
- *
4125
- * Iterates over payments whose conversions failed and have a refund
4126
- * pending, then attempts to refund each one. This is the same logic the
4127
- * SDK runs internally on a periodic schedule when
4128
- * `background_tasks_enabled` is `true`. When background tasks are
4129
- * disabled the periodic refunder does not run, and this method is the
4130
- * explicit entry point for driving the pass; when background tasks are
4131
- * enabled, it can be called to force an immediate refund pass.
4132
- */async refundPendingConversions(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_refund_pending_conversions(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 registerLightningAddress(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_register_lightning_address(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeRegisterLightningAddressRequest.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:*/FfiConverterTypeLightningAddressInfo.lift.bind(FfiConverterTypeLightningAddressInfo),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4390
+ * Runs one full pass of the pending-conversion refunder and returns how
4391
+ * many conversions were refunded, skipped (held back by a safety window),
4392
+ * or failed.
4393
+ *
4394
+ * The pass has two parts: refunding locally-marked failed conversions, and
4395
+ * reconciling against Flashnet's clawback-eligible listing to catch
4396
+ * conversions with no local marker (e.g. a storage write that never
4397
+ * landed). The SDK's periodic background schedule runs only the local
4398
+ * part; the reconcile runs at SDK init and on each call to this method, so
4399
+ * this is the explicit entry point for driving a full pass on demand.
4400
+ */async refundPendingConversions(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_refund_pending_conversions(uniffiTypeBreezSdkObjectFactory.clonePointer(this));},/*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:*/FfiConverterTypeRefundPendingConversionsResponse.lift.bind(FfiConverterTypeRefundPendingConversionsResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}async registerLightningAddress(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_register_lightning_address(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeRegisterLightningAddressRequest.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:*/FfiConverterTypeLightningAddressInfo.lift.bind(FfiConverterTypeLightningAddressInfo),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4133
4401
  * Registers a webhook to receive notifications for wallet events.
4134
4402
  *
4135
4403
  * When registered events occur (e.g., a Lightning payment is received),
@@ -4160,6 +4428,17 @@ constructor(pointer){super();this[_uniffiBindgenReactNative.pointerLiteralSymbol
4160
4428
  */async signMessage(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_sign_message(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeSignMessageRequest.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:*/FfiConverterTypeSignMessageResponse.lift.bind(FfiConverterTypeSignMessageResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4161
4429
  * Synchronizes the wallet with the Spark network
4162
4430
  */async syncWallet(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_sync_wallet(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeSyncWalletRequest.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:*/FfiConverterTypeSyncWalletResponse.lift.bind(FfiConverterTypeSyncWalletResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4431
+ * Builds and signs a complete unilateral exit from a `prepare_unilateral_exit`
4432
+ * quote and the actual funding UTXOs, returning the full transaction set in
4433
+ * topological broadcast order without broadcasting. Broadcast it over time,
4434
+ * respecting each transaction's `depends_on` and `csv_timelock_blocks`.
4435
+ *
4436
+ * It resolves on-chain state first (see [`resolve_exit_observations`]): an
4437
+ * already-confirmed fan-out or CPFP node is not rebuilt, and a leaf refund
4438
+ * already on-chain (recognized by the leaf's refund address, so any refund
4439
+ * variant counts) is swept directly. Re-running after partial progress
4440
+ * therefore resumes rather than restarts.
4441
+ */async unilateralExit(request,signer,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_unilateral_exit(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeUnilateralExitRequest.lower(request),FfiConverterTypeCpfpSigner.lower(signer));},/*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:*/FfiConverterTypeUnilateralExitResponse.lift.bind(FfiConverterTypeUnilateralExitResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4163
4442
  * Unregisters a previously registered webhook.
4164
4443
  *
4165
4444
  * After unregistering, the Spark service provider will no longer send
@@ -4186,6 +4465,26 @@ constructor(pointer){super();this[_uniffiBindgenReactNative.pointerLiteralSymbol
4186
4465
  * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
4187
4466
  */uniffiDestroy(){const ptr=this[_uniffiBindgenReactNative.destructorGuardSymbol];if(ptr!==undefined){const pointer=uniffiTypeBreezSdkObjectFactory.pointer(this);uniffiTypeBreezSdkObjectFactory.freePointer(pointer);uniffiTypeBreezSdkObjectFactory.unbless(ptr);delete this[_uniffiBindgenReactNative.destructorGuardSymbol];}}static instanceOf(obj){return uniffiTypeBreezSdkObjectFactory.isConcreteType(obj);}}exports.BreezSdk=BreezSdk;const uniffiTypeBreezSdkObjectFactory=(()=>{return{create(pointer){const instance=Object.create(BreezSdk.prototype);instance[_uniffiBindgenReactNative.pointerLiteralSymbol]=pointer;instance[_uniffiBindgenReactNative.destructorGuardSymbol]=this.bless(pointer);instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='BreezSdk';return instance;},bless(p){return uniffiCaller.rustCall(/*caller:*/status=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_internal_fn_method_breezsdk_ffi__bless_pointer(p,status),/*liftString:*/FfiConverterString.lift);},unbless(ptr){ptr.markDestroyed();},pointer(obj){if(obj[_uniffiBindgenReactNative.destructorGuardSymbol]===undefined){throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();}return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];},clonePointer(obj){const pointer=this.pointer(obj);return uniffiCaller.rustCall(/*caller:*/callStatus=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_clone_breezsdk(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},freePointer(pointer){uniffiCaller.rustCall(/*caller:*/callStatus=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_free_breezsdk(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},isConcreteType(obj){return obj[_uniffiBindgenReactNative.destructorGuardSymbol]&&obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='BreezSdk';}};})();// FfiConverter for BreezSdkInterface
4188
4467
  const FfiConverterTypeBreezSdk=new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeBreezSdkObjectFactory);/**
4468
+ * Signer for external UTXO inputs in CPFP fee-bumping transactions.
4469
+ *
4470
+ * Signs the non-finalized inputs of a PSBT (serialized as bytes) and returns the
4471
+ * signed PSBT (also serialized as bytes).
4472
+ *//**
4473
+ * Signer for external UTXO inputs in CPFP fee-bumping transactions.
4474
+ *
4475
+ * Signs the non-finalized inputs of a PSBT (serialized as bytes) and returns the
4476
+ * signed PSBT (also serialized as bytes).
4477
+ */class CpfpSignerImpl extends _uniffiBindgenReactNative.UniffiAbstractObject{[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='CpfpSignerImpl';// No primary constructor declared for this class.
4478
+ constructor(pointer){super();this[_uniffiBindgenReactNative.pointerLiteralSymbol]=pointer;this[_uniffiBindgenReactNative.destructorGuardSymbol]=uniffiTypeCpfpSignerImplObjectFactory.bless(pointer);}async signPsbt(psbtBytes,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_cpfpsigner_sign_psbt(uniffiTypeCpfpSignerImplObjectFactory.clonePointer(this),_uniffiBindgenReactNative.FfiConverterArrayBuffer.lower(psbtBytes));},/*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:*/_uniffiBindgenReactNative.FfiConverterArrayBuffer.lift.bind(_uniffiBindgenReactNative.FfiConverterArrayBuffer),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSignerError.lift.bind(FfiConverterTypeSignerError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4479
+ * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
4480
+ */uniffiDestroy(){const ptr=this[_uniffiBindgenReactNative.destructorGuardSymbol];if(ptr!==undefined){const pointer=uniffiTypeCpfpSignerImplObjectFactory.pointer(this);uniffiTypeCpfpSignerImplObjectFactory.freePointer(pointer);uniffiTypeCpfpSignerImplObjectFactory.unbless(ptr);delete this[_uniffiBindgenReactNative.destructorGuardSymbol];}}static instanceOf(obj){return uniffiTypeCpfpSignerImplObjectFactory.isConcreteType(obj);}}exports.CpfpSignerImpl=CpfpSignerImpl;const uniffiTypeCpfpSignerImplObjectFactory=(()=>{return{create(pointer){const instance=Object.create(CpfpSignerImpl.prototype);instance[_uniffiBindgenReactNative.pointerLiteralSymbol]=pointer;instance[_uniffiBindgenReactNative.destructorGuardSymbol]=this.bless(pointer);instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='CpfpSignerImpl';return instance;},bless(p){return uniffiCaller.rustCall(/*caller:*/status=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_internal_fn_method_cpfpsigner_ffi__bless_pointer(p,status),/*liftString:*/FfiConverterString.lift);},unbless(ptr){ptr.markDestroyed();},pointer(obj){if(obj[_uniffiBindgenReactNative.destructorGuardSymbol]===undefined){throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedNullPointer();}return obj[_uniffiBindgenReactNative.pointerLiteralSymbol];},clonePointer(obj){const pointer=this.pointer(obj);return uniffiCaller.rustCall(/*caller:*/callStatus=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_clone_cpfpsigner(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},freePointer(pointer){uniffiCaller.rustCall(/*caller:*/callStatus=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_free_cpfpsigner(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},isConcreteType(obj){return obj[_uniffiBindgenReactNative.destructorGuardSymbol]&&obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='CpfpSignerImpl';}};})();// FfiConverter for CpfpSigner
4481
+ const FfiConverterTypeCpfpSigner=new _uniffiBindgenReactNative.FfiConverterObjectWithCallbacks(uniffiTypeCpfpSignerImplObjectFactory);// Add a vtavble for the callbacks that go in CpfpSigner.
4482
+ // Put the implementation in a struct so we don't pollute the top-level namespace
4483
+ const uniffiCallbackInterfaceCpfpSigner={// Create the VTable using a series of closures.
4484
+ // ts automatically converts these into C callback functions.
4485
+ vtable:{signPsbt:(uniffiHandle,psbtBytes,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeCpfpSigner.lift(uniffiHandle);return await jsCallback.signPsbt(_uniffiBindgenReactNative.FfiConverterArrayBuffer.lift(psbtBytes),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:_uniffiBindgenReactNative.FfiConverterArrayBuffer.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
4486
+ callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SignerError.instanceOf,/*lowerError:*/FfiConverterTypeSignerError.lower.bind(FfiConverterTypeSignerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},uniffiFree:uniffiHandle=>{// CpfpSigner: this will throw a stale handle error if the handle isn't found.
4487
+ FfiConverterTypeCpfpSigner.drop(uniffiHandle);}},register:()=>{(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_cpfpsigner(uniffiCallbackInterfaceCpfpSigner.vtable);}};/**
4189
4488
  * External signer trait that can be implemented by users and passed to the SDK.
4190
4489
  *
4191
4490
  * This trait mirrors the `BreezSigner` trait but uses FFI-compatible types (bytes, strings)
@@ -4388,6 +4687,9 @@ constructor(pointer){super();this[_uniffiBindgenReactNative.pointerLiteralSymbol
4388
4687
  */async signAuthenticationChallenge(challenge,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_externalsparksigner_sign_authentication_challenge(uniffiTypeExternalSparkSignerImplObjectFactory.clonePointer(this),_uniffiBindgenReactNative.FfiConverterArrayBuffer.lower(challenge));},/*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:*/FfiConverterTypeEcdsaSignatureBytes.lift.bind(FfiConverterTypeEcdsaSignatureBytes),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSignerError.lift.bind(FfiConverterTypeSignerError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4389
4688
  * ECDSA-sign an arbitrary user message with the identity key.
4390
4689
  */async signMessage(message,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_externalsparksigner_sign_message(uniffiTypeExternalSparkSignerImplObjectFactory.clonePointer(this),_uniffiBindgenReactNative.FfiConverterArrayBuffer.lower(message));},/*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:*/FfiConverterTypeEcdsaSignatureBytes.lift.bind(FfiConverterTypeEcdsaSignatureBytes),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSignerError.lift.bind(FfiConverterTypeSignerError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4690
+ * Schnorr-sign `sighash` to spend a tree leaf's P2TR refund output as a
4691
+ * BIP341 key-path spend (empty script tree).
4692
+ */async signLeafRefundSpend(leafId,sighash,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_externalsparksigner_sign_leaf_refund_spend(uniffiTypeExternalSparkSignerImplObjectFactory.clonePointer(this),FfiConverterTypeExternalTreeNodeId.lower(leafId),_uniffiBindgenReactNative.FfiConverterArrayBuffer.lower(sighash));},/*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:*/FfiConverterTypeSchnorrSignatureBytes.lift.bind(FfiConverterTypeSchnorrSignatureBytes),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSignerError.lift.bind(FfiConverterTypeSignerError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4391
4693
  * Produce FROST shares for a batch of jobs.
4392
4694
  */async signFrost(jobs,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_externalsparksigner_sign_frost(uniffiTypeExternalSparkSignerImplObjectFactory.clonePointer(this),FfiConverterArrayTypeExternalFrostJob.lower(jobs));},/*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:*/FfiConverterArrayTypeExternalFrostShareResult.lift.bind(FfiConverterArrayTypeExternalFrostShareResult),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSignerError.lift.bind(FfiConverterTypeSignerError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4393
4695
  * Prepare an outbound transfer (key-tweak + packages + payload signature).
@@ -4419,6 +4721,7 @@ callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeign
4419
4721
  callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SignerError.instanceOf,/*lowerError:*/FfiConverterTypeSignerError.lower.bind(FfiConverterTypeSignerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},isRemote:uniffiHandle=>{const uniffiMakeCall=()=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return jsCallback.isRemote();};const uniffiResult=_uniffiBindgenReactNative.UniffiResult.ready();const uniffiHandleSuccess=obj=>{_uniffiBindgenReactNative.UniffiResult.writeSuccess(uniffiResult,_uniffiBindgenReactNative.FfiConverterBool.lower(obj));};const uniffiHandleError=(code,errBuf)=>{_uniffiBindgenReactNative.UniffiResult.writeError(uniffiResult,code,errBuf);};(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCall)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*lowerString:*/FfiConverterString.lower);return uniffiResult;},getStaticDepositPublicKey:(uniffiHandle,index,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return await jsCallback.getStaticDepositPublicKey(_uniffiBindgenReactNative.FfiConverterUInt32.lift(index),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterTypePublicKeyBytes.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
4420
4722
  callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SignerError.instanceOf,/*lowerError:*/FfiConverterTypeSignerError.lower.bind(FfiConverterTypeSignerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},signAuthenticationChallenge:(uniffiHandle,challenge,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return await jsCallback.signAuthenticationChallenge(_uniffiBindgenReactNative.FfiConverterArrayBuffer.lift(challenge),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterTypeEcdsaSignatureBytes.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
4421
4723
  callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SignerError.instanceOf,/*lowerError:*/FfiConverterTypeSignerError.lower.bind(FfiConverterTypeSignerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},signMessage:(uniffiHandle,message,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return await jsCallback.signMessage(_uniffiBindgenReactNative.FfiConverterArrayBuffer.lift(message),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterTypeEcdsaSignatureBytes.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
4724
+ callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SignerError.instanceOf,/*lowerError:*/FfiConverterTypeSignerError.lower.bind(FfiConverterTypeSignerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},signLeafRefundSpend:(uniffiHandle,leafId,sighash,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return await jsCallback.signLeafRefundSpend(FfiConverterTypeExternalTreeNodeId.lift(leafId),_uniffiBindgenReactNative.FfiConverterArrayBuffer.lift(sighash),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterTypeSchnorrSignatureBytes.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
4422
4725
  callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SignerError.instanceOf,/*lowerError:*/FfiConverterTypeSignerError.lower.bind(FfiConverterTypeSignerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},signFrost:(uniffiHandle,jobs,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return await jsCallback.signFrost(FfiConverterArrayTypeExternalFrostJob.lift(jobs),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterArrayTypeExternalFrostShareResult.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
4423
4726
  callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SignerError.instanceOf,/*lowerError:*/FfiConverterTypeSignerError.lower.bind(FfiConverterTypeSignerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},prepareTransfer:(uniffiHandle,request,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return await jsCallback.prepareTransfer(FfiConverterTypeExternalPrepareTransferRequest.lift(request),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterTypeExternalPreparedTransfer.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
4424
4727
  callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SignerError.instanceOf,/*lowerError:*/FfiConverterTypeSignerError.lower.bind(FfiConverterTypeSignerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},prepareClaim:(uniffiHandle,request,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeExternalSparkSigner.lift(uniffiHandle);return await jsCallback.prepareClaim(FfiConverterTypeExternalPrepareClaimRequest.lift(request),{signal});};const uniffiHandleSuccess=returnValue=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:FfiConverterTypeExternalPreparedClaim.lower(returnValue),callStatus:uniffiCaller.createCallStatus()});};const uniffiHandleError=(code,errorBuf)=>{uniffiFutureCallback.call(uniffiFutureCallback,uniffiCallbackData,/* UniffiForeignFutureStructRustBuffer */{returnValue:/*empty*/new Uint8Array(0),// TODO create callstatus with error.
@@ -4490,8 +4793,7 @@ FfiConverterTypeFiatService.drop(uniffiHandle);}},register:()=>{(0,_breez_sdk_sp
4490
4793
  * hosts can branch on.
4491
4794
  */async checkAvailability(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_passkeyclient_check_availability(uniffiTypePasskeyClientObjectFactory.clonePointer(this));},/*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:*/FfiConverterTypePasskeyAvailability.lift.bind(FfiConverterTypePasskeyAvailability),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypePasskeyError.lift.bind(FfiConverterTypePasskeyError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4492
4795
  * Single-CTA onboarding: silent sign-in, falling through to
4493
- * registration when no credential exists on the device. The returned
4494
- * [`ConnectFlow`] tells the caller which path ran.
4796
+ * registration when no credential exists on the device.
4495
4797
  *
4496
4798
  * The silent sign-in pins `prefer_immediately_available_credentials =
4497
4799
  * true` regardless of [`SignInRequest`]: the fallback depends on the OS
@@ -4500,11 +4802,12 @@ FfiConverterTypeFiatService.drop(uniffiHandle);}},register:()=>{(0,_breez_sdk_sp
4500
4802
  * register path; every other error (`Cancel`, `Timeout`, ...) propagates
4501
4803
  * unchanged.
4502
4804
  *
4503
- * Mobile-only: meant for iOS 18+ / Android 9+ where
4504
- * `preferImmediatelyAvailableCredentials` is honored. The web
4505
- * equivalent (`mediation: 'immediate'`) is not yet stable
4506
- * cross-browser, so this is not surfaced on WASM; web hosts call
4507
- * [`Self::sign_in`] and catch `CredentialNotFound` themselves.
4805
+ * On WASM the silent sign-in maps to `WebAuthn` `uiMode: 'immediate'`
4806
+ * where the browser advertises it. Web hosts gate on the browser's
4807
+ * immediate-mediation capability (the WASM client surfaces it):
4808
+ * without it the probe shows the standard picker and a dismiss is a
4809
+ * cancel, not `CredentialNotFound`, so it never reaches register.
4810
+ * Present an explicit create / sign-in choice there instead.
4508
4811
  */async connectWithPasskey(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_passkeyclient_connect_with_passkey(uniffiTypePasskeyClientObjectFactory.clonePointer(this),FfiConverterTypeConnectWithPasskeyRequest.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:*/FfiConverterTypeConnectWithPasskeyResponse.lift.bind(FfiConverterTypeConnectWithPasskeyResponse),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypePasskeyError.lift.bind(FfiConverterTypePasskeyError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
4509
4812
  * Label sub-object. List or publish labels for this passkey's
4510
4813
  * identity.
@@ -5170,7 +5473,8 @@ const FfiConverterArrayTypeLocaleOverrides=new _uniffiBindgenReactNative.FfiConv
5170
5473
  const FfiConverterArrayTypeLocalizedName=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeLocalizedName);// FfiConverter for Array<OutgoingChange>
5171
5474
  const FfiConverterArrayTypeOutgoingChange=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeOutgoingChange);// FfiConverter for Array<Payment>
5172
5475
  const FfiConverterArrayTypePayment=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypePayment);// FfiConverter for Array<PaymentIdUpdate>
5173
- const FfiConverterArrayTypePaymentIdUpdate=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypePaymentIdUpdate);// FfiConverter for Array<ProvisionalPayment>
5476
+ const FfiConverterArrayTypePaymentIdUpdate=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypePaymentIdUpdate);// FfiConverter for Array<PerBranchFunding>
5477
+ const FfiConverterArrayTypePerBranchFunding=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypePerBranchFunding);// FfiConverter for Array<ProvisionalPayment>
5174
5478
  const FfiConverterArrayTypeProvisionalPayment=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeProvisionalPayment);// FfiConverter for Array<Rate>
5175
5479
  const FfiConverterArrayTypeRate=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeRate);// FfiConverter for Array<Record>
5176
5480
  const FfiConverterArrayTypeRecord=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeRecord);// FfiConverter for Array<SetLnurlMetadataItem>
@@ -5178,7 +5482,9 @@ const FfiConverterArrayTypeSetLnurlMetadataItem=new _uniffiBindgenReactNative.Ff
5178
5482
  const FfiConverterArrayTypeSparkSigningOperator=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeSparkSigningOperator);// FfiConverter for Array<StableBalanceToken>
5179
5483
  const FfiConverterArrayTypeStableBalanceToken=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeStableBalanceToken);// FfiConverter for Array<StoredCrossChainSwap>
5180
5484
  const FfiConverterArrayTypeStoredCrossChainSwap=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeStoredCrossChainSwap);// FfiConverter for Array<TokenMetadata>
5181
- const FfiConverterArrayTypeTokenMetadata=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeTokenMetadata);// FfiConverter for Array<Utxo>
5485
+ const FfiConverterArrayTypeTokenMetadata=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeTokenMetadata);// FfiConverter for Array<UnilateralExitLeaf>
5486
+ const FfiConverterArrayTypeUnilateralExitLeaf=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeUnilateralExitLeaf);// FfiConverter for Array<UnilateralExitTransaction>
5487
+ const FfiConverterArrayTypeUnilateralExitTransaction=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeUnilateralExitTransaction);// FfiConverter for Array<Utxo>
5182
5488
  const FfiConverterArrayTypeUtxo=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeUtxo);// FfiConverter for Array<Webhook>
5183
5489
  const FfiConverterArrayTypeWebhook=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeWebhook);// FfiConverter for Array<string>
5184
5490
  const FfiConverterArrayString=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterString);// FfiConverter for Array</*u64*/bigint>
@@ -5198,7 +5504,8 @@ const FfiConverterOptionalTypeFee=new _uniffiBindgenReactNative.FfiConverterOpti
5198
5504
  const FfiConverterOptionalTypeFeePolicy=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeFeePolicy);// FfiConverter for MaxFee | undefined
5199
5505
  const FfiConverterOptionalTypeMaxFee=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeMaxFee);// FfiConverter for PaymentDetails | undefined
5200
5506
  const FfiConverterOptionalTypePaymentDetails=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypePaymentDetails);// FfiConverter for SendPaymentOptions | undefined
5201
- const FfiConverterOptionalTypeSendPaymentOptions=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeSendPaymentOptions);// FfiConverter for StableBalanceActiveLabel | undefined
5507
+ const FfiConverterOptionalTypeSendPaymentOptions=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeSendPaymentOptions);// FfiConverter for SparkMasterIdentityPublicKey | undefined
5508
+ const FfiConverterOptionalTypeSparkMasterIdentityPublicKey=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeSparkMasterIdentityPublicKey);// FfiConverter for StableBalanceActiveLabel | undefined
5202
5509
  const FfiConverterOptionalTypeStableBalanceActiveLabel=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeStableBalanceActiveLabel);// FfiConverter for SuccessAction | undefined
5203
5510
  const FfiConverterOptionalTypeSuccessAction=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeSuccessAction);// FfiConverter for SuccessActionProcessed | undefined
5204
5511
  const FfiConverterOptionalTypeSuccessActionProcessed=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeSuccessActionProcessed);// FfiConverter for TokenTransactionType | undefined
@@ -5206,7 +5513,8 @@ const FfiConverterOptionalTypeTokenTransactionType=new _uniffiBindgenReactNative
5206
5513
  const FfiConverterOptionalMapStringString=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterMapStringString);// FfiConverter for StorageBackend | undefined
5207
5514
  const FfiConverterOptionalTypeStorageBackend=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeStorageBackend);// FfiConverter for Array<ArrayBuffer> | undefined
5208
5515
  const FfiConverterOptionalArrayArrayBuffer=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterArrayArrayBuffer);// FfiConverter for Array<ExternalInputParser> | undefined
5209
- const FfiConverterOptionalArrayTypeExternalInputParser=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterArrayTypeExternalInputParser);// FfiConverter for Array<InputType>
5516
+ const FfiConverterOptionalArrayTypeExternalInputParser=new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterArrayTypeExternalInputParser);// FfiConverter for Array<CpfpInput>
5517
+ const FfiConverterArrayTypeCpfpInput=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeCpfpInput);// FfiConverter for Array<InputType>
5210
5518
  const FfiConverterArrayTypeInputType=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypeInputType);// FfiConverter for Array<PaymentDetailsFilter>
5211
5519
  const FfiConverterArrayTypePaymentDetailsFilter=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypePaymentDetailsFilter);// FfiConverter for Array<PaymentStatus>
5212
5520
  const FfiConverterArrayTypePaymentStatus=new _uniffiBindgenReactNative.FfiConverterArray(FfiConverterTypePaymentStatus);// FfiConverter for Array<PaymentType>
@@ -5230,5 +5538,5 @@ const FfiConverterOptionalArrayTypeStoragePaymentDetailsFilter=new _uniffiBindge
5230
5538
  * It also initializes the machinery to enable Rust to talk back to Javascript.
5231
5539
  */function uniffiEnsureInitialized(){// Get the bindings contract version from our ComponentInterface
5232
5540
  const bindingsContractVersion=29;// Get the scaffolding contract version by calling the into the dylib
5233
- 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_connect_with_signing_only_signer()!==17952){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect_with_signing_only_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_create_turnkey_signer()!==50635){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_create_turnkey_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_create_turnkey_signing_only_signer()!==37791){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_create_turnkey_signing_only_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_custom_storage()!==18116){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_custom_storage');}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_signers()!==58595){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_external_signers');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_default_server_config()!==40188){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_server_config');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_default_session_store()!==24904){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_session_store');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_default_storage()!==56226){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_storage');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_get_spark_status()!==62888){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_get_spark_status');}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_func_new_rest_chain_service()!==23177){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_new_rest_chain_service');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_new_shared_sdk_context()!==7027){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_new_shared_sdk_context');}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_contact()!==26497){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener()!==19224){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_authorize_lightning_address_transfer()!==15257){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_authorize_lightning_address_transfer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_lnurl_pay_package()!==23822){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_lnurl_pay_package');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_transfer_package()!==60228){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_transfer_package');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin()!==34179){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin');}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_claim_lightning_address_transfer()!==20680){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_lightning_address_transfer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact()!==15670){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact');}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()!==20026){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_cross_chain_routes()!==25164){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_cross_chain_routes');}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_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_contacts()!==2729){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts');}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()!==39170){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_list_webhooks()!==28432){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_webhooks');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth()!==125){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth');}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_optimize_leaves()!==39254){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_optimize_leaves');}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_publish_signed_lnurl_pay_package()!==48698){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_publish_signed_lnurl_pay_package');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_publish_signed_transfer_package()!==59188){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_publish_signed_transfer_package');}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_refund_pending_conversions()!==24173){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_pending_conversions');}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_register_webhook()!==13529){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_register_webhook');}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_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_unregister_webhook()!==34100){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_unregister_webhook');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact()!==21170){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact');}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_externalbreezsigner_derive_public_key()!==26700){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_derive_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa()!==17969){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa_recoverable()!==45907){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa_recoverable');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_encrypt_ecies()!==5296){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_encrypt_ecies');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_decrypt_ecies()!==6089){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_decrypt_ecies');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_hash_schnorr()!==1766){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_hash_schnorr');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_hmac_sha256()!==65429){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_hmac_sha256');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_derive_public_key()!==28092){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_derive_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa()!==13755){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa_recoverable()!==34935){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa_recoverable');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_hash_schnorr()!==21395){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_hash_schnorr');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_identity_public_key()!==38705){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_identity_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_public_key_for_leaf()!==39015){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_public_key_for_leaf');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_is_remote()!==63049){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_is_remote');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_static_deposit_public_key()!==54380){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_static_deposit_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_authentication_challenge()!==53611){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_authentication_challenge');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_message()!==1815){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_message');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_frost()!==41995){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_frost');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_transfer()!==7663){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_transfer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_claim()!==40463){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_claim');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_lightning_receive()!==22362){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_lightning_receive');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit()!==44945){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_start_static_deposit_refund()!==15575){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_start_static_deposit_refund');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_static_deposit_refund()!==3082){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_static_deposit_refund');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_spark_invoice()!==33){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_spark_invoice');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_token_transaction()!==33122){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_token_transaction');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit_claim()!==14601){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit_claim');}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_passkeyclient_check_availability()!==35189){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_check_availability');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_connect_with_passkey()!==47815){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_connect_with_passkey');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_labels()!==35849){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_labels');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_register()!==18330){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_register');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_sign_in()!==42245){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_sign_in');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_list()!==54877){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeylabels_list');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_store()!==58514){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeylabels_store');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send()!==27806){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_paymentobserver_after_send()!==31673){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_paymentobserver_after_send');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_derive_seeds()!==18550){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_derive_seeds');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_is_supported()!==46331){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_is_supported');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_create_passkey()!==1967){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_create_passkey');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_check_domain_association()!==18713){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_check_domain_association');}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_account_number()!==6550){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_account_number');}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_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_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_session_store()!==32818){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_session_store');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_shared_context()!==64829){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_shared_context');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage()!==20369){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_sdkbuilder_with_storage_backend()!==28545){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage_backend');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_get_session()!==49546){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sessionstore_get_session');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_set_session()!==13629){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sessionstore_set_session');}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()!==51078){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_apply_payment_update()!==8631){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_apply_payment_update');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata()!==32757){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_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_get_payments_by_parent_ids()!==10948){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payments_by_parent_ids');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_deposit()!==35363){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()!==28477){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()!==62636){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()!==18714){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()!==64210){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_storage_list_contacts()!==10490){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_contacts');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_contact()!==19980){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_contact');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_contact()!==38342){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_contact');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_contact()!==50274){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_contact');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cross_chain_swap()!==31116){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_cross_chain_swap');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cross_chain_swap()!==20172){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_cross_chain_swap');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_active_cross_chain_swaps()!==23493){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_active_cross_chain_swaps');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change()!==44890){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync()!==8492){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes()!==54668){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_last_revision()!==17237){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_last_revision');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_incoming_records()!==35265){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_incoming_records');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_incoming_record()!==32789){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_incoming_record');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records()!==18699){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change()!==59591){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming()!==30443){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storagebackend_create_stores()!==51497){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storagebackend_create_stores');}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_passkeyclient_new()!==51278){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_passkeyclient_new');}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_constructor_sdkbuilder_new_with_signer()!==28871){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signing_only_signer()!==27342){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signing_only_signer');}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();uniffiCallbackInterfaceExternalBreezSigner.register();uniffiCallbackInterfaceExternalSigningSigner.register();uniffiCallbackInterfaceExternalSparkSigner.register();uniffiCallbackInterfaceFiatService.register();uniffiCallbackInterfacePaymentObserver.register();uniffiCallbackInterfacePrfProvider.register();uniffiCallbackInterfaceRestClient.register();uniffiCallbackInterfaceSessionStore.register();uniffiCallbackInterfaceStorage.register();}var _default=exports.default=Object.freeze({initialize:uniffiEnsureInitialized,converters:{FfiConverterTypeAddContactRequest,FfiConverterTypeAesSuccessActionData,FfiConverterTypeAesSuccessActionDataDecrypted,FfiConverterTypeAesSuccessActionDataResult,FfiConverterTypeAmount,FfiConverterTypeAmountAdjustmentReason,FfiConverterTypeAssetFilter,FfiConverterTypeAuthorizeTransferRequest,FfiConverterTypeAutoOptimizationEvent,FfiConverterTypeBip21Details,FfiConverterTypeBip21Extra,FfiConverterTypeBitcoinAddressDetails,FfiConverterTypeBitcoinChainService,FfiConverterTypeBitcoinNetwork,FfiConverterTypeBolt11Invoice,FfiConverterTypeBolt11InvoiceDetails,FfiConverterTypeBolt11RouteHint,FfiConverterTypeBolt11RouteHintHop,FfiConverterTypeBolt12Invoice,FfiConverterTypeBolt12InvoiceDetails,FfiConverterTypeBolt12InvoiceRequestDetails,FfiConverterTypeBolt12Offer,FfiConverterTypeBolt12OfferBlindedPath,FfiConverterTypeBolt12OfferDetails,FfiConverterTypeBreezSdk,FfiConverterTypeBuildTransferPackageOptions,FfiConverterTypeBuildUnsignedLnurlPayPackageRequest,FfiConverterTypeBuildUnsignedTransferPackageRequest,FfiConverterTypeBurnIssuerTokenRequest,FfiConverterTypeBuyBitcoinRequest,FfiConverterTypeBuyBitcoinResponse,FfiConverterTypeChainApiType,FfiConverterTypeChainServiceError,FfiConverterTypeCheckLightningAddressRequest,FfiConverterTypeCheckMessageRequest,FfiConverterTypeCheckMessageResponse,FfiConverterTypeClaimDepositRequest,FfiConverterTypeClaimDepositResponse,FfiConverterTypeClaimHtlcPaymentRequest,FfiConverterTypeClaimHtlcPaymentResponse,FfiConverterTypeClaimTransferRequest,FfiConverterTypeConfig,FfiConverterTypeConnectRequest,FfiConverterTypeConnectWithPasskeyRequest,FfiConverterTypeConnectWithPasskeyResponse,FfiConverterTypeConnectWithSignerRequest,FfiConverterTypeConnectWithSigningOnlySignerRequest,FfiConverterTypeContact,FfiConverterTypeConversion,FfiConverterTypeConversionAsset,FfiConverterTypeConversionChain,FfiConverterTypeConversionDetails,FfiConverterTypeConversionEstimate,FfiConverterTypeConversionFilter,FfiConverterTypeConversionInfo,FfiConverterTypeConversionOptions,FfiConverterTypeConversionProvider,FfiConverterTypeConversionPurpose,FfiConverterTypeConversionSide,FfiConverterTypeConversionStatus,FfiConverterTypeConversionType,FfiConverterTypeCreateIssuerTokenRequest,FfiConverterTypeCredentials,FfiConverterTypeCrossChainAddressDetails,FfiConverterTypeCrossChainAddressFamily,FfiConverterTypeCrossChainConfig,FfiConverterTypeCrossChainFeeMode,FfiConverterTypeCrossChainProvider,FfiConverterTypeCrossChainProviderContext,FfiConverterTypeCrossChainRouteFilter,FfiConverterTypeCrossChainRoutePair,FfiConverterTypeCurrencyInfo,FfiConverterTypeDepositClaimError,FfiConverterTypeDepositInfo,FfiConverterTypeDeriveSeedsOutput,FfiConverterTypeDeriveSeedsRequest,FfiConverterTypeDomainAssociation,FfiConverterTypeEcdsaSignatureBytes,FfiConverterTypeErrorKind,FfiConverterTypeExternalBreezSigner,FfiConverterTypeExternalClaimLeafInput,FfiConverterTypeExternalFrostCommitments,FfiConverterTypeExternalFrostDerivation,FfiConverterTypeExternalFrostJob,FfiConverterTypeExternalFrostShareResult,FfiConverterTypeExternalFrostSignature,FfiConverterTypeExternalFrostSignatureShare,FfiConverterTypeExternalIdentifier,FfiConverterTypeExternalInputParser,FfiConverterTypeExternalNewLeafKey,FfiConverterTypeExternalOperatorPackage,FfiConverterTypeExternalOperatorRecipient,FfiConverterTypeExternalPrepareClaimRequest,FfiConverterTypeExternalPrepareLightningReceiveRequest,FfiConverterTypeExternalPrepareStaticDepositClaimRequest,FfiConverterTypeExternalPrepareStaticDepositRequest,FfiConverterTypeExternalPrepareTokenTransactionRequest,FfiConverterTypeExternalPrepareTransferRequest,FfiConverterTypeExternalPreparedClaim,FfiConverterTypeExternalPreparedLightningReceive,FfiConverterTypeExternalPreparedStaticDeposit,FfiConverterTypeExternalPreparedStaticDepositClaim,FfiConverterTypeExternalPreparedTokenTransaction,FfiConverterTypeExternalPreparedTransfer,FfiConverterTypeExternalSignSparkInvoiceRequest,FfiConverterTypeExternalSignStaticDepositRefundRequest,FfiConverterTypeExternalSignedSparkInvoice,FfiConverterTypeExternalSigners,FfiConverterTypeExternalSigningCommitments,FfiConverterTypeExternalSigningSigner,FfiConverterTypeExternalSparkInvoiceKind,FfiConverterTypeExternalSparkSigner,FfiConverterTypeExternalStartStaticDepositRefundRequest,FfiConverterTypeExternalStartedStaticDepositRefund,FfiConverterTypeExternalTokenTransactionKind,FfiConverterTypeExternalTransferLeafInput,FfiConverterTypeExternalTreeNodeId,FfiConverterTypeFee,FfiConverterTypeFeePolicy,FfiConverterTypeFetchConversionLimitsRequest,FfiConverterTypeFetchConversionLimitsResponse,FfiConverterTypeFiatCurrency,FfiConverterTypeFiatService,FfiConverterTypeFreezeIssuerTokenRequest,FfiConverterTypeFreezeIssuerTokenResponse,FfiConverterTypeGetInfoRequest,FfiConverterTypeGetInfoResponse,FfiConverterTypeGetPaymentRequest,FfiConverterTypeGetPaymentResponse,FfiConverterTypeGetTokensMetadataRequest,FfiConverterTypeGetTokensMetadataResponse,FfiConverterTypeHashedMessageBytes,FfiConverterTypeIdentifierCommitmentPair,FfiConverterTypeIdentifierPublicKeyPair,FfiConverterTypeIdentifierSignaturePair,FfiConverterTypeIncomingChange,FfiConverterTypeInputType,FfiConverterTypeLeafOptimizationConfig,FfiConverterTypeLightningAddressDetails,FfiConverterTypeLightningAddressInfo,FfiConverterTypeListContactsRequest,FfiConverterTypeListFiatCurrenciesResponse,FfiConverterTypeListFiatRatesResponse,FfiConverterTypeListPaymentsRequest,FfiConverterTypeListPaymentsResponse,FfiConverterTypeListUnclaimedDepositsRequest,FfiConverterTypeListUnclaimedDepositsResponse,FfiConverterTypeLnurlAuthRequestDetails,FfiConverterTypeLnurlCallbackStatus,FfiConverterTypeLnurlErrorDetails,FfiConverterTypeLnurlInfo,FfiConverterTypeLnurlPayContext,FfiConverterTypeLnurlPayInfo,FfiConverterTypeLnurlPayRequest,FfiConverterTypeLnurlPayRequestDetails,FfiConverterTypeLnurlPayResponse,FfiConverterTypeLnurlReceiveMetadata,FfiConverterTypeLnurlWithdrawInfo,FfiConverterTypeLnurlWithdrawRequest,FfiConverterTypeLnurlWithdrawRequestDetails,FfiConverterTypeLnurlWithdrawResponse,FfiConverterTypeLocaleOverrides,FfiConverterTypeLocalizedName,FfiConverterTypeLogEntry,FfiConverterTypeMaxFee,FfiConverterTypeMessageBytes,FfiConverterTypeMessageSuccessActionData,FfiConverterTypeMintIssuerTokenRequest,FfiConverterTypeNetwork,FfiConverterTypeOnchainConfirmationSpeed,FfiConverterTypeOptimizationMode,FfiConverterTypeOptimizationOutcome,FfiConverterTypeOptimizeLeavesRequest,FfiConverterTypeOptimizeLeavesResponse,FfiConverterTypeOutgoingChange,FfiConverterTypePasskeyAvailability,FfiConverterTypePasskeyClient,FfiConverterTypePasskeyConfig,FfiConverterTypePasskeyCredential,FfiConverterTypePasskeyError,FfiConverterTypePasskeyLabels,FfiConverterTypePasskeyProviderOptions,FfiConverterTypePayment,FfiConverterTypePaymentDetails,FfiConverterTypePaymentDetailsFilter,FfiConverterTypePaymentIdUpdate,FfiConverterTypePaymentMetadata,FfiConverterTypePaymentMethod,FfiConverterTypePaymentObserver,FfiConverterTypePaymentObserverError,FfiConverterTypePaymentRequest,FfiConverterTypePaymentRequestSource,FfiConverterTypePaymentStatus,FfiConverterTypePaymentType,FfiConverterTypePrepareLnurlPayRequest,FfiConverterTypePrepareLnurlPayResponse,FfiConverterTypePrepareSendPaymentRequest,FfiConverterTypePrepareSendPaymentResponse,FfiConverterTypePrfProvider,FfiConverterTypePrfProviderError,FfiConverterTypeProvisionalPayment,FfiConverterTypeProvisionalPaymentDetails,FfiConverterTypePublicKey,FfiConverterTypePublicKeyBytes,FfiConverterTypePublishSignedLnurlPayPackageRequest,FfiConverterTypePublishSignedLnurlPayResponse,FfiConverterTypePublishSignedTransferPackageRequest,FfiConverterTypePublishSignedTransferPackageResponse,FfiConverterTypeRate,FfiConverterTypeReceivePaymentMethod,FfiConverterTypeReceivePaymentRequest,FfiConverterTypeReceivePaymentResponse,FfiConverterTypeRecommendedFees,FfiConverterTypeRecord,FfiConverterTypeRecordChange,FfiConverterTypeRecordId,FfiConverterTypeRecoverableEcdsaSignatureBytes,FfiConverterTypeRefundDepositRequest,FfiConverterTypeRefundDepositResponse,FfiConverterTypeRegisterLightningAddressRequest,FfiConverterTypeRegisterRequest,FfiConverterTypeRegisterResponse,FfiConverterTypeRegisterWebhookRequest,FfiConverterTypeRegisterWebhookResponse,FfiConverterTypeResolvedStores,FfiConverterTypeRestClient,FfiConverterTypeRestResponse,FfiConverterTypeSchnorrSignatureBytes,FfiConverterTypeSdkBuilder,FfiConverterTypeSdkContext,FfiConverterTypeSdkContextConfig,FfiConverterTypeSdkError,FfiConverterTypeSdkEvent,FfiConverterTypeSecretBytes,FfiConverterTypeSeed,FfiConverterTypeSendOnchainFeeQuote,FfiConverterTypeSendOnchainSpeedFeeQuote,FfiConverterTypeSendPaymentMethod,FfiConverterTypeSendPaymentOptions,FfiConverterTypeSendPaymentRequest,FfiConverterTypeSendPaymentResponse,FfiConverterTypeServiceConnectivityError,FfiConverterTypeServiceStatus,FfiConverterTypeSession,FfiConverterTypeSessionStore,FfiConverterTypeSessionStoreError,FfiConverterTypeSetLnurlMetadataItem,FfiConverterTypeSetupWalletRequest,FfiConverterTypeSignInRequest,FfiConverterTypeSignInResponse,FfiConverterTypeSignMessageRequest,FfiConverterTypeSignMessageResponse,FfiConverterTypeSignedTransferPackage,FfiConverterTypeSignerError,FfiConverterTypeSigningOnlyExternalSigners,FfiConverterTypeSilentPaymentAddressDetails,FfiConverterTypeSourceAsset,FfiConverterTypeSparkAddressDetails,FfiConverterTypeSparkConfig,FfiConverterTypeSparkHtlcDetails,FfiConverterTypeSparkHtlcOptions,FfiConverterTypeSparkHtlcStatus,FfiConverterTypeSparkInvoiceDetails,FfiConverterTypeSparkInvoicePaymentDetails,FfiConverterTypeSparkSigningOperator,FfiConverterTypeSparkSspConfig,FfiConverterTypeSparkStatus,FfiConverterTypeStableBalanceActiveLabel,FfiConverterTypeStableBalanceConfig,FfiConverterTypeStableBalanceToken,FfiConverterTypeStorage,FfiConverterTypeStorageBackend,FfiConverterTypeStorageError,FfiConverterTypeStorageListPaymentsRequest,FfiConverterTypeStoragePaymentDetailsFilter,FfiConverterTypeStoredCrossChainSwap,FfiConverterTypeSuccessAction,FfiConverterTypeSuccessActionProcessed,FfiConverterTypeSymbol,FfiConverterTypeSyncWalletRequest,FfiConverterTypeSyncWalletResponse,FfiConverterTypeTokenBalance,FfiConverterTypeTokenIssuer,FfiConverterTypeTokenMetadata,FfiConverterTypeTokenOptimizationConfig,FfiConverterTypeTokenTransactionType,FfiConverterTypeTransferAuthorization,FfiConverterTypeTransferSignature,FfiConverterTypeTransferTarget,FfiConverterTypeTurnkeyConfig,FfiConverterTypeTurnkeyRetryConfig,FfiConverterTypeTxStatus,FfiConverterTypeUnfreezeIssuerTokenRequest,FfiConverterTypeUnfreezeIssuerTokenResponse,FfiConverterTypeUnregisterWebhookRequest,FfiConverterTypeUnsignedTransferPackage,FfiConverterTypeUnversionedRecordChange,FfiConverterTypeUpdateContactRequest,FfiConverterTypeUpdateDepositPayload,FfiConverterTypeUpdateUserSettingsRequest,FfiConverterTypeUrlSuccessActionData,FfiConverterTypeUserSettings,FfiConverterTypeUtxo,FfiConverterTypeWallet,FfiConverterTypeWalletSetup,FfiConverterTypeWebhook,FfiConverterTypeWebhookEventType,FfiConverterTypeu128}});
5541
+ 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_connect_with_signing_only_signer()!==17952){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect_with_signing_only_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_create_turnkey_signer()!==50635){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_create_turnkey_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_create_turnkey_signing_only_signer()!==37791){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_create_turnkey_signing_only_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_custom_storage()!==18116){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_custom_storage');}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_signers()!==58595){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_external_signers');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_default_server_config()!==40188){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_server_config');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_default_session_store()!==24904){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_session_store');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_default_storage()!==56226){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_storage');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_get_spark_status()!==62888){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_get_spark_status');}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_func_new_rest_chain_service()!==23177){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_new_rest_chain_service');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_new_shared_sdk_context()!==7027){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_new_shared_sdk_context');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_single_key_cpfp_signer()!==28762){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_single_key_cpfp_signer');}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_address_txos()!==10702){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_txos');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status()!==53546){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()!==16866){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_get_outspend()!==42521){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_outspend');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction()!==13500){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()!==50885){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_contact()!==26497){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener()!==19224){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_authorize_lightning_address_transfer()!==15257){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_authorize_lightning_address_transfer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_lnurl_pay_package()!==23822){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_lnurl_pay_package');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_transfer_package()!==60228){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_transfer_package');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin()!==34179){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin');}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_claim_lightning_address_transfer()!==20680){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_lightning_address_transfer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact()!==15670){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact');}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()!==20026){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_cross_chain_routes()!==25164){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_cross_chain_routes');}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_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_contacts()!==2729){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts');}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()!==39170){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_list_webhooks()!==28432){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_webhooks');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth()!==125){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth');}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_optimize_leaves()!==39254){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_optimize_leaves');}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_prepare_unilateral_exit()!==36492){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_unilateral_exit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_publish_signed_lnurl_pay_package()!==48698){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_publish_signed_lnurl_pay_package');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_publish_signed_transfer_package()!==59188){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_publish_signed_transfer_package');}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_refund_pending_conversions()!==11342){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_pending_conversions');}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_register_webhook()!==13529){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_register_webhook');}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_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_unilateral_exit()!==23033){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_unilateral_exit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_unregister_webhook()!==34100){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_unregister_webhook');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact()!==21170){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact');}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_cpfpsigner_sign_psbt()!==20736){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_cpfpsigner_sign_psbt');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_derive_public_key()!==26700){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_derive_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa()!==17969){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa_recoverable()!==45907){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa_recoverable');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_encrypt_ecies()!==5296){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_encrypt_ecies');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_decrypt_ecies()!==6089){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_decrypt_ecies');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_hash_schnorr()!==1766){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_hash_schnorr');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_hmac_sha256()!==65429){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_hmac_sha256');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_derive_public_key()!==28092){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_derive_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa()!==13755){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa_recoverable()!==34935){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_ecdsa_recoverable');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_hash_schnorr()!==21395){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigningsigner_sign_hash_schnorr');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_identity_public_key()!==38705){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_identity_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_public_key_for_leaf()!==39015){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_public_key_for_leaf');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_is_remote()!==63049){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_is_remote');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_static_deposit_public_key()!==54380){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_static_deposit_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_authentication_challenge()!==53611){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_authentication_challenge');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_message()!==1815){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_message');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_leaf_refund_spend()!==62629){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_leaf_refund_spend');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_frost()!==58732){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_frost');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_transfer()!==29829){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_transfer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_claim()!==17684){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_claim');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_lightning_receive()!==25306){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_lightning_receive');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit()!==3348){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_start_static_deposit_refund()!==22709){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_start_static_deposit_refund');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_static_deposit_refund()!==52719){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_static_deposit_refund');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_spark_invoice()!==39737){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_spark_invoice');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_token_transaction()!==12801){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_token_transaction');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit_claim()!==53174){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit_claim');}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_passkeyclient_check_availability()!==35189){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_check_availability');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_connect_with_passkey()!==32814){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_connect_with_passkey');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_labels()!==35849){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_labels');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_register()!==18330){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_register');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_sign_in()!==42245){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyclient_sign_in');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_list()!==54877){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeylabels_list');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_store()!==58514){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeylabels_store');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send()!==27806){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_paymentobserver_after_send()!==31673){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_paymentobserver_after_send');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_derive_seeds()!==18550){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_derive_seeds');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_is_supported()!==46331){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_is_supported');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_create_passkey()!==1967){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_create_passkey');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_check_domain_association()!==18713){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_prfprovider_check_domain_association');}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_account_number()!==6550){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_account_number');}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_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_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_session_store()!==32818){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_session_store');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_shared_context()!==64829){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_shared_context');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage()!==20369){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_sdkbuilder_with_storage_backend()!==28545){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage_backend');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_get_session()!==49546){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sessionstore_get_session');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_set_session()!==13629){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sessionstore_set_session');}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()!==51078){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_apply_payment_update()!==8631){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_apply_payment_update');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata()!==32757){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_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_get_payments_by_parent_ids()!==10948){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payments_by_parent_ids');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_deposit()!==35363){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()!==28477){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()!==62636){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()!==18714){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()!==64210){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_storage_list_contacts()!==10490){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_contacts');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_contact()!==19980){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_contact');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_contact()!==38342){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_contact');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_contact()!==50274){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_contact');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cross_chain_swap()!==31116){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_cross_chain_swap');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cross_chain_swap()!==20172){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_cross_chain_swap');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_active_cross_chain_swaps()!==23493){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_active_cross_chain_swaps');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change()!==44890){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync()!==8492){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes()!==54668){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_last_revision()!==17237){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_last_revision');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_incoming_records()!==35265){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_incoming_records');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_incoming_record()!==32789){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_incoming_record');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records()!==18699){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change()!==59591){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming()!==30443){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storagebackend_create_stores()!==51497){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storagebackend_create_stores');}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_passkeyclient_new()!==51278){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_passkeyclient_new');}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_constructor_sdkbuilder_new_with_signer()!==28871){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signing_only_signer()!==27342){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signing_only_signer');}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();uniffiCallbackInterfaceCpfpSigner.register();uniffiCallbackInterfaceExternalBreezSigner.register();uniffiCallbackInterfaceExternalSigningSigner.register();uniffiCallbackInterfaceExternalSparkSigner.register();uniffiCallbackInterfaceFiatService.register();uniffiCallbackInterfacePaymentObserver.register();uniffiCallbackInterfacePrfProvider.register();uniffiCallbackInterfaceRestClient.register();uniffiCallbackInterfaceSessionStore.register();uniffiCallbackInterfaceStorage.register();}var _default=exports.default=Object.freeze({initialize:uniffiEnsureInitialized,converters:{FfiConverterTypeAddContactRequest,FfiConverterTypeAesSuccessActionData,FfiConverterTypeAesSuccessActionDataDecrypted,FfiConverterTypeAesSuccessActionDataResult,FfiConverterTypeAmount,FfiConverterTypeAmountAdjustmentReason,FfiConverterTypeAssetFilter,FfiConverterTypeAuthorizeTransferRequest,FfiConverterTypeAutoOptimizationEvent,FfiConverterTypeBip21Details,FfiConverterTypeBip21Extra,FfiConverterTypeBitcoinAddressDetails,FfiConverterTypeBitcoinChainService,FfiConverterTypeBitcoinNetwork,FfiConverterTypeBolt11Invoice,FfiConverterTypeBolt11InvoiceDetails,FfiConverterTypeBolt11RouteHint,FfiConverterTypeBolt11RouteHintHop,FfiConverterTypeBolt12Invoice,FfiConverterTypeBolt12InvoiceDetails,FfiConverterTypeBolt12InvoiceRequestDetails,FfiConverterTypeBolt12Offer,FfiConverterTypeBolt12OfferBlindedPath,FfiConverterTypeBolt12OfferDetails,FfiConverterTypeBreezSdk,FfiConverterTypeBuildTransferPackageOptions,FfiConverterTypeBuildUnsignedLnurlPayPackageRequest,FfiConverterTypeBuildUnsignedTransferPackageRequest,FfiConverterTypeBurnIssuerTokenRequest,FfiConverterTypeBuyBitcoinRequest,FfiConverterTypeBuyBitcoinResponse,FfiConverterTypeChainApiType,FfiConverterTypeChainServiceError,FfiConverterTypeCheckLightningAddressRequest,FfiConverterTypeCheckMessageRequest,FfiConverterTypeCheckMessageResponse,FfiConverterTypeClaimDepositRequest,FfiConverterTypeClaimDepositResponse,FfiConverterTypeClaimHtlcPaymentRequest,FfiConverterTypeClaimHtlcPaymentResponse,FfiConverterTypeClaimTransferRequest,FfiConverterTypeConfig,FfiConverterTypeConfirmationStatus,FfiConverterTypeConnectRequest,FfiConverterTypeConnectWithPasskeyRequest,FfiConverterTypeConnectWithPasskeyResponse,FfiConverterTypeConnectWithSignerRequest,FfiConverterTypeConnectWithSigningOnlySignerRequest,FfiConverterTypeContact,FfiConverterTypeConversion,FfiConverterTypeConversionAsset,FfiConverterTypeConversionChain,FfiConverterTypeConversionDetails,FfiConverterTypeConversionEstimate,FfiConverterTypeConversionFilter,FfiConverterTypeConversionInfo,FfiConverterTypeConversionOptions,FfiConverterTypeConversionProvider,FfiConverterTypeConversionPurpose,FfiConverterTypeConversionSide,FfiConverterTypeConversionStatus,FfiConverterTypeConversionType,FfiConverterTypeCpfpFundingKind,FfiConverterTypeCpfpInput,FfiConverterTypeCpfpSigner,FfiConverterTypeCreateIssuerTokenRequest,FfiConverterTypeCredentials,FfiConverterTypeCrossChainAddressDetails,FfiConverterTypeCrossChainAddressFamily,FfiConverterTypeCrossChainConfig,FfiConverterTypeCrossChainFeeMode,FfiConverterTypeCrossChainProvider,FfiConverterTypeCrossChainProviderContext,FfiConverterTypeCrossChainRouteFilter,FfiConverterTypeCrossChainRoutePair,FfiConverterTypeCurrencyInfo,FfiConverterTypeDepositClaimError,FfiConverterTypeDepositInfo,FfiConverterTypeDeriveSeedsOutput,FfiConverterTypeDeriveSeedsRequest,FfiConverterTypeDomainAssociation,FfiConverterTypeEcdsaSignatureBytes,FfiConverterTypeErrorKind,FfiConverterTypeExitLeafSelection,FfiConverterTypeExternalBreezSigner,FfiConverterTypeExternalClaimLeafInput,FfiConverterTypeExternalFrostCommitments,FfiConverterTypeExternalFrostDerivation,FfiConverterTypeExternalFrostJob,FfiConverterTypeExternalFrostShareResult,FfiConverterTypeExternalFrostSignature,FfiConverterTypeExternalFrostSignatureShare,FfiConverterTypeExternalIdentifier,FfiConverterTypeExternalInputParser,FfiConverterTypeExternalNewLeafKey,FfiConverterTypeExternalOperatorPackage,FfiConverterTypeExternalOperatorRecipient,FfiConverterTypeExternalPrepareClaimRequest,FfiConverterTypeExternalPrepareLightningReceiveRequest,FfiConverterTypeExternalPrepareStaticDepositClaimRequest,FfiConverterTypeExternalPrepareStaticDepositRequest,FfiConverterTypeExternalPrepareTokenTransactionRequest,FfiConverterTypeExternalPrepareTransferRequest,FfiConverterTypeExternalPreparedClaim,FfiConverterTypeExternalPreparedLightningReceive,FfiConverterTypeExternalPreparedStaticDeposit,FfiConverterTypeExternalPreparedStaticDepositClaim,FfiConverterTypeExternalPreparedTokenTransaction,FfiConverterTypeExternalPreparedTransfer,FfiConverterTypeExternalSignSparkInvoiceRequest,FfiConverterTypeExternalSignStaticDepositRefundRequest,FfiConverterTypeExternalSignedSparkInvoice,FfiConverterTypeExternalSigners,FfiConverterTypeExternalSigningCommitments,FfiConverterTypeExternalSigningSigner,FfiConverterTypeExternalSparkInvoiceKind,FfiConverterTypeExternalSparkSigner,FfiConverterTypeExternalStartStaticDepositRefundRequest,FfiConverterTypeExternalStartedStaticDepositRefund,FfiConverterTypeExternalTokenTransactionKind,FfiConverterTypeExternalTransferLeafInput,FfiConverterTypeExternalTreeNodeId,FfiConverterTypeFee,FfiConverterTypeFeePolicy,FfiConverterTypeFetchConversionLimitsRequest,FfiConverterTypeFetchConversionLimitsResponse,FfiConverterTypeFiatCurrency,FfiConverterTypeFiatService,FfiConverterTypeFreezeIssuerTokenRequest,FfiConverterTypeFreezeIssuerTokenResponse,FfiConverterTypeGetInfoRequest,FfiConverterTypeGetInfoResponse,FfiConverterTypeGetPaymentRequest,FfiConverterTypeGetPaymentResponse,FfiConverterTypeGetTokensMetadataRequest,FfiConverterTypeGetTokensMetadataResponse,FfiConverterTypeHashedMessageBytes,FfiConverterTypeIdentifierCommitmentPair,FfiConverterTypeIdentifierPublicKeyPair,FfiConverterTypeIdentifierSignaturePair,FfiConverterTypeIncomingChange,FfiConverterTypeInputType,FfiConverterTypeLeafOptimizationConfig,FfiConverterTypeLightningAddressDetails,FfiConverterTypeLightningAddressInfo,FfiConverterTypeListContactsRequest,FfiConverterTypeListFiatCurrenciesResponse,FfiConverterTypeListFiatRatesResponse,FfiConverterTypeListPaymentsRequest,FfiConverterTypeListPaymentsResponse,FfiConverterTypeListUnclaimedDepositsRequest,FfiConverterTypeListUnclaimedDepositsResponse,FfiConverterTypeLnurlAuthRequestDetails,FfiConverterTypeLnurlCallbackStatus,FfiConverterTypeLnurlErrorDetails,FfiConverterTypeLnurlInfo,FfiConverterTypeLnurlPayContext,FfiConverterTypeLnurlPayInfo,FfiConverterTypeLnurlPayRequest,FfiConverterTypeLnurlPayRequestDetails,FfiConverterTypeLnurlPayResponse,FfiConverterTypeLnurlReceiveMetadata,FfiConverterTypeLnurlWithdrawInfo,FfiConverterTypeLnurlWithdrawRequest,FfiConverterTypeLnurlWithdrawRequestDetails,FfiConverterTypeLnurlWithdrawResponse,FfiConverterTypeLocaleOverrides,FfiConverterTypeLocalizedName,FfiConverterTypeLogEntry,FfiConverterTypeMaxFee,FfiConverterTypeMessageBytes,FfiConverterTypeMessageSuccessActionData,FfiConverterTypeMintIssuerTokenRequest,FfiConverterTypeNetwork,FfiConverterTypeOnchainConfirmationSpeed,FfiConverterTypeOptimizationMode,FfiConverterTypeOptimizationOutcome,FfiConverterTypeOptimizeLeavesRequest,FfiConverterTypeOptimizeLeavesResponse,FfiConverterTypeOutgoingChange,FfiConverterTypeOutspend,FfiConverterTypePasskeyAvailability,FfiConverterTypePasskeyClient,FfiConverterTypePasskeyConfig,FfiConverterTypePasskeyCredential,FfiConverterTypePasskeyError,FfiConverterTypePasskeyLabels,FfiConverterTypePasskeyProviderOptions,FfiConverterTypePayment,FfiConverterTypePaymentDetails,FfiConverterTypePaymentDetailsFilter,FfiConverterTypePaymentIdUpdate,FfiConverterTypePaymentMetadata,FfiConverterTypePaymentMethod,FfiConverterTypePaymentObserver,FfiConverterTypePaymentObserverError,FfiConverterTypePaymentRequest,FfiConverterTypePaymentRequestSource,FfiConverterTypePaymentStatus,FfiConverterTypePaymentType,FfiConverterTypePerBranchFunding,FfiConverterTypePrepareLnurlPayRequest,FfiConverterTypePrepareLnurlPayResponse,FfiConverterTypePrepareSendPaymentRequest,FfiConverterTypePrepareSendPaymentResponse,FfiConverterTypePrepareUnilateralExitRequest,FfiConverterTypePrepareUnilateralExitResponse,FfiConverterTypePrfProvider,FfiConverterTypePrfProviderError,FfiConverterTypeProvisionalPayment,FfiConverterTypeProvisionalPaymentDetails,FfiConverterTypePublicKey,FfiConverterTypePublicKeyBytes,FfiConverterTypePublishSignedLnurlPayPackageRequest,FfiConverterTypePublishSignedLnurlPayResponse,FfiConverterTypePublishSignedTransferPackageRequest,FfiConverterTypePublishSignedTransferPackageResponse,FfiConverterTypeRate,FfiConverterTypeReceivePaymentMethod,FfiConverterTypeReceivePaymentRequest,FfiConverterTypeReceivePaymentResponse,FfiConverterTypeRecommendedFees,FfiConverterTypeRecord,FfiConverterTypeRecordChange,FfiConverterTypeRecordId,FfiConverterTypeRecoverableEcdsaSignatureBytes,FfiConverterTypeRefundDepositRequest,FfiConverterTypeRefundDepositResponse,FfiConverterTypeRefundPendingConversionsResponse,FfiConverterTypeRegisterLightningAddressRequest,FfiConverterTypeRegisterRequest,FfiConverterTypeRegisterResponse,FfiConverterTypeRegisterWebhookRequest,FfiConverterTypeRegisterWebhookResponse,FfiConverterTypeResolvedStores,FfiConverterTypeRestClient,FfiConverterTypeRestResponse,FfiConverterTypeSchnorrSignatureBytes,FfiConverterTypeSdkBuilder,FfiConverterTypeSdkContext,FfiConverterTypeSdkContextConfig,FfiConverterTypeSdkError,FfiConverterTypeSdkEvent,FfiConverterTypeSecretBytes,FfiConverterTypeSeed,FfiConverterTypeSendOnchainFeeQuote,FfiConverterTypeSendOnchainSpeedFeeQuote,FfiConverterTypeSendPaymentMethod,FfiConverterTypeSendPaymentOptions,FfiConverterTypeSendPaymentRequest,FfiConverterTypeSendPaymentResponse,FfiConverterTypeServiceConnectivityError,FfiConverterTypeServiceStatus,FfiConverterTypeSession,FfiConverterTypeSessionStore,FfiConverterTypeSessionStoreError,FfiConverterTypeSetLnurlMetadataItem,FfiConverterTypeSetupWalletRequest,FfiConverterTypeSignInRequest,FfiConverterTypeSignInResponse,FfiConverterTypeSignMessageRequest,FfiConverterTypeSignMessageResponse,FfiConverterTypeSignedTransferPackage,FfiConverterTypeSignerError,FfiConverterTypeSigningOnlyExternalSigners,FfiConverterTypeSilentPaymentAddressDetails,FfiConverterTypeSourceAsset,FfiConverterTypeSparkAddressDetails,FfiConverterTypeSparkConfig,FfiConverterTypeSparkHtlcDetails,FfiConverterTypeSparkHtlcOptions,FfiConverterTypeSparkHtlcStatus,FfiConverterTypeSparkInvoiceDetails,FfiConverterTypeSparkInvoicePaymentDetails,FfiConverterTypeSparkMasterIdentityPublicKey,FfiConverterTypeSparkSigningOperator,FfiConverterTypeSparkSspConfig,FfiConverterTypeSparkStatus,FfiConverterTypeStableBalanceActiveLabel,FfiConverterTypeStableBalanceConfig,FfiConverterTypeStableBalanceToken,FfiConverterTypeStorage,FfiConverterTypeStorageBackend,FfiConverterTypeStorageError,FfiConverterTypeStorageListPaymentsRequest,FfiConverterTypeStoragePaymentDetailsFilter,FfiConverterTypeStoredCrossChainSwap,FfiConverterTypeSuccessAction,FfiConverterTypeSuccessActionProcessed,FfiConverterTypeSymbol,FfiConverterTypeSyncWalletRequest,FfiConverterTypeSyncWalletResponse,FfiConverterTypeTokenBalance,FfiConverterTypeTokenIssuer,FfiConverterTypeTokenMetadata,FfiConverterTypeTokenOptimizationConfig,FfiConverterTypeTokenTransactionType,FfiConverterTypeTransferAuthorization,FfiConverterTypeTransferSignature,FfiConverterTypeTransferTarget,FfiConverterTypeTurnkeyConfig,FfiConverterTypeTurnkeyRetryConfig,FfiConverterTypeTxStatus,FfiConverterTypeUnfreezeIssuerTokenRequest,FfiConverterTypeUnfreezeIssuerTokenResponse,FfiConverterTypeUnilateralExitLeaf,FfiConverterTypeUnilateralExitRequest,FfiConverterTypeUnilateralExitResponse,FfiConverterTypeUnilateralExitTransaction,FfiConverterTypeUnilateralExitTxKind,FfiConverterTypeUnregisterWebhookRequest,FfiConverterTypeUnsignedTransferPackage,FfiConverterTypeUnversionedRecordChange,FfiConverterTypeUpdateContactRequest,FfiConverterTypeUpdateDepositPayload,FfiConverterTypeUpdateUserSettingsRequest,FfiConverterTypeUrlSuccessActionData,FfiConverterTypeUserSettings,FfiConverterTypeUtxo,FfiConverterTypeWallet,FfiConverterTypeWalletSetup,FfiConverterTypeWebhook,FfiConverterTypeWebhookEventType,FfiConverterTypeu128}});
5234
5542
  //# sourceMappingURL=breez_sdk_spark.js.map