@breeztech/breez-sdk-spark-react-native 0.13.12-dev1 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:true});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.ExternalVerifiableSecretShare=exports.ExternalTreeNodeId=exports.ExternalSigningCommitments=exports.ExternalSignerImpl=exports.ExternalSignFrostRequest=exports.ExternalSecretToSplit_Tags=exports.ExternalSecretToSplit=exports.ExternalSecretSource_Tags=exports.ExternalSecretSource=exports.ExternalSecretShare=exports.ExternalScalar=exports.ExternalInputParser=exports.ExternalIdentifier=exports.ExternalFrostSignatureShare=exports.ExternalFrostSignature=exports.ExternalFrostCommitments=exports.ExternalEncryptedSecret=exports.ExternalAggregateFrostRequest=exports.EcdsaSignatureBytes=exports.DepositInfo=exports.DepositClaimError_Tags=exports.DepositClaimError=exports.CurrencyInfo=exports.Credentials=exports.CreateIssuerTokenRequest=exports.ConversionType_Tags=exports.ConversionType=exports.ConversionStep=exports.ConversionStatus=exports.ConversionPurpose_Tags=exports.ConversionPurpose=exports.ConversionOptions=exports.ConversionInfo=exports.ConversionEstimate=exports.ConversionDetails=exports.Contact=exports.ConnectionManager=exports.ConnectWithSignerRequest=exports.ConnectRequest=exports.Config=exports.ClaimHtlcPaymentResponse=exports.ClaimHtlcPaymentRequest=exports.ClaimDepositResponse=exports.ClaimDepositRequest=exports.CheckMessageResponse=exports.CheckMessageRequest=exports.CheckLightningAddressRequest=exports.ChainServiceError_Tags=exports.ChainServiceError=exports.ChainApiType=exports.BuyBitcoinResponse=exports.BuyBitcoinRequest_Tags=exports.BuyBitcoinRequest=exports.BurnIssuerTokenRequest=exports.BreezSdk=exports.Bolt12OfferDetails=exports.Bolt12OfferBlindedPath=exports.Bolt12Offer=exports.Bolt12InvoiceRequestDetails=exports.Bolt12InvoiceDetails=exports.Bolt12Invoice=exports.Bolt11RouteHintHop=exports.Bolt11RouteHint=exports.Bolt11InvoiceDetails=exports.Bolt11Invoice=exports.BitcoinNetwork=exports.BitcoinChainServiceImpl=exports.BitcoinAddressDetails=exports.Bip21Extra=exports.Bip21Details=exports.AssetFilter_Tags=exports.AssetFilter=exports.Amount_Tags=exports.AmountAdjustmentReason=exports.Amount=exports.AesSuccessActionDataResult_Tags=exports.AesSuccessActionDataResult=exports.AesSuccessActionDataDecrypted=exports.AesSuccessActionData=exports.AddContactRequest=void 0;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.SdkBuilder=exports.SchnorrSignatureBytes=exports.RestResponse=exports.RestClientImpl=exports.RegisterWebhookResponse=exports.RegisterWebhookRequest=exports.RegisterLightningAddressRequest=exports.RefundDepositResponse=exports.RefundDepositRequest=exports.RecoverableEcdsaSignatureBytes=exports.RecordId=exports.RecordChange=exports.Record=exports.RecommendedFees=exports.ReceivePaymentResponse=exports.ReceivePaymentRequest=exports.ReceivePaymentMethod_Tags=exports.ReceivePaymentMethod=exports.Rate=exports.PublicKeyBytes=exports.ProvisionalPaymentDetails_Tags=exports.ProvisionalPaymentDetails=exports.ProvisionalPayment=exports.PrepareSendPaymentResponse=exports.PrepareSendPaymentRequest=exports.PrepareLnurlPayResponse=exports.PrepareLnurlPayRequest=exports.PaymentType=exports.PaymentStatus=exports.PaymentRequestSource=exports.PaymentObserverImpl=exports.PaymentObserverError_Tags=exports.PaymentObserverError=exports.PaymentMethod=exports.PaymentMetadata=exports.PaymentDetails_Tags=exports.PaymentDetailsFilter_Tags=exports.PaymentDetailsFilter=exports.PaymentDetails=exports.Payment=exports.PasskeyPrfProviderImpl=exports.PasskeyPrfError_Tags=exports.PasskeyPrfError=exports.PasskeyError_Tags=exports.PasskeyError=exports.Passkey=exports.OutgoingChange=exports.OptimizationProgress=exports.OptimizationEvent_Tags=exports.OptimizationEvent=exports.OptimizationConfig=exports.OnchainConfirmationSpeed=exports.NostrRelayConfig=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.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.KeySetType=exports.KeySetConfig=exports.InputType_Tags=exports.InputType=void 0;exports.WebhookEventType_Tags=exports.WebhookEventType=exports.Webhook=exports.Wallet=exports.Utxo=exports.UserSettings=exports.UrlSuccessActionData=exports.UpdateUserSettingsRequest=exports.UpdateDepositPayload_Tags=exports.UpdateDepositPayload=exports.UpdateContactRequest=exports.UnversionedRecordChange=exports.UnregisterWebhookRequest=exports.UnfreezeIssuerTokenResponse=exports.UnfreezeIssuerTokenRequest=exports.TxStatus=exports.TokenTransactionType=exports.TokenMetadata=exports.TokenIssuer=exports.TokenBalance=exports.SyncWalletResponse=exports.SyncWalletRequest=exports.Symbol=exports.SuccessAction_Tags=exports.SuccessActionProcessed_Tags=exports.SuccessActionProcessed=exports.SuccessAction=exports.StoragePaymentDetailsFilter_Tags=exports.StoragePaymentDetailsFilter=exports.StorageListPaymentsRequest=exports.StorageImpl=exports.StorageError_Tags=exports.StorageError=exports.StableBalanceToken=exports.StableBalanceConfig=exports.StableBalanceActiveLabel_Tags=exports.StableBalanceActiveLabel=exports.SspConnectionManager=exports.SparkStatus=exports.SparkSspConfig=exports.SparkSigningOperator=exports.SparkInvoicePaymentDetails=exports.SparkInvoiceDetails=exports.SparkHtlcStatus=exports.SparkHtlcOptions=exports.SparkHtlcDetails=exports.SparkConfig=exports.SparkAddressDetails=exports.SilentPaymentAddressDetails=exports.SignerError_Tags=exports.SignerError=exports.SignMessageResponse=exports.SignMessageRequest=exports.SetLnurlMetadataItem=exports.SessionManagerImpl=exports.SessionManagerError_Tags=exports.SessionManagerError=exports.Session=exports.ServiceStatus=exports.ServiceConnectivityError_Tags=exports.ServiceConnectivityError=exports.SendPaymentResponse=exports.SendPaymentRequest=exports.SendPaymentOptions_Tags=exports.SendPaymentOptions=void 0;exports.connect=connect;exports.connectWithSigner=connectWithSigner;exports.default=void 0;exports.defaultConfig=defaultConfig;exports.defaultExternalSigner=defaultExternalSigner;exports.getSparkStatus=getSparkStatus;exports.initLogging=initLogging;exports.newConnectionManager=newConnectionManager;exports.newRestChainService=newRestChainService;exports.newSspConnectionManager=newSspConnectionManager;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.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.ExternalVerifiableSecretShare=exports.ExternalTreeNodeId=exports.ExternalSigningCommitments=exports.ExternalSignerImpl=exports.ExternalSignFrostRequest=exports.ExternalSecretToSplit_Tags=exports.ExternalSecretToSplit=exports.ExternalSecretSource_Tags=exports.ExternalSecretSource=exports.ExternalSecretShare=exports.ExternalScalar=exports.ExternalInputParser=exports.ExternalIdentifier=exports.ExternalFrostSignatureShare=exports.ExternalFrostSignature=exports.ExternalFrostCommitments=exports.ExternalEncryptedSecret=exports.ExternalAggregateFrostRequest=exports.EcdsaSignatureBytes=exports.DepositInfo=exports.DepositClaimError_Tags=exports.DepositClaimError=exports.CurrencyInfo=exports.Credentials=exports.CreateIssuerTokenRequest=exports.ConversionType_Tags=exports.ConversionType=exports.ConversionStep=exports.ConversionStatus=exports.ConversionPurpose_Tags=exports.ConversionPurpose=exports.ConversionOptions=exports.ConversionInfo=exports.ConversionEstimate=exports.ConversionDetails=exports.Contact=exports.ConnectWithSignerRequest=exports.ConnectRequest=exports.Config=exports.ClaimHtlcPaymentResponse=exports.ClaimHtlcPaymentRequest=exports.ClaimDepositResponse=exports.ClaimDepositRequest=exports.CheckMessageResponse=exports.CheckMessageRequest=exports.CheckLightningAddressRequest=exports.ChainServiceError_Tags=exports.ChainServiceError=exports.ChainApiType=exports.BuyBitcoinResponse=exports.BuyBitcoinRequest_Tags=exports.BuyBitcoinRequest=exports.BurnIssuerTokenRequest=exports.BreezSdk=exports.Bolt12OfferDetails=exports.Bolt12OfferBlindedPath=exports.Bolt12Offer=exports.Bolt12InvoiceRequestDetails=exports.Bolt12InvoiceDetails=exports.Bolt12Invoice=exports.Bolt11RouteHintHop=exports.Bolt11RouteHint=exports.Bolt11InvoiceDetails=exports.Bolt11Invoice=exports.BitcoinNetwork=exports.BitcoinChainServiceImpl=exports.BitcoinAddressDetails=exports.Bip21Extra=exports.Bip21Details=exports.AssetFilter_Tags=exports.AssetFilter=exports.Amount_Tags=exports.AmountAdjustmentReason=exports.Amount=exports.AesSuccessActionDataResult_Tags=exports.AesSuccessActionDataResult=exports.AesSuccessActionDataDecrypted=exports.AesSuccessActionData=exports.AddContactRequest=void 0;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.RegisterWebhookResponse=exports.RegisterWebhookRequest=exports.RegisterLightningAddressRequest=exports.RefundDepositResponse=exports.RefundDepositRequest=exports.RecoverableEcdsaSignatureBytes=exports.RecordId=exports.RecordChange=exports.Record=exports.RecommendedFees=exports.ReceivePaymentResponse=exports.ReceivePaymentRequest=exports.ReceivePaymentMethod_Tags=exports.ReceivePaymentMethod=exports.Rate=exports.PublicKeyBytes=exports.ProvisionalPaymentDetails_Tags=exports.ProvisionalPaymentDetails=exports.ProvisionalPayment=exports.PrepareSendPaymentResponse=exports.PrepareSendPaymentRequest=exports.PrepareLnurlPayResponse=exports.PrepareLnurlPayRequest=exports.PaymentType=exports.PaymentStatus=exports.PaymentRequestSource=exports.PaymentObserverImpl=exports.PaymentObserverError_Tags=exports.PaymentObserverError=exports.PaymentMethod=exports.PaymentMetadata=exports.PaymentDetails_Tags=exports.PaymentDetailsFilter_Tags=exports.PaymentDetailsFilter=exports.PaymentDetails=exports.Payment=exports.PasskeyPrfProviderImpl=exports.PasskeyPrfError_Tags=exports.PasskeyPrfError=exports.PasskeyError_Tags=exports.PasskeyError=exports.Passkey=exports.OutgoingChange=exports.OptimizationProgress=exports.OptimizationEvent_Tags=exports.OptimizationEvent=exports.OnchainConfirmationSpeed=exports.NostrRelayConfig=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.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.KeySetType=exports.KeySetConfig=exports.InputType_Tags=void 0;exports.WebhookEventType_Tags=exports.WebhookEventType=exports.Webhook=exports.Wallet=exports.Utxo=exports.UserSettings=exports.UrlSuccessActionData=exports.UpdateUserSettingsRequest=exports.UpdateDepositPayload_Tags=exports.UpdateDepositPayload=exports.UpdateContactRequest=exports.UnversionedRecordChange=exports.UnregisterWebhookRequest=exports.UnfreezeIssuerTokenResponse=exports.UnfreezeIssuerTokenRequest=exports.TxStatus=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.StoragePaymentDetailsFilter_Tags=exports.StoragePaymentDetailsFilter=exports.StorageListPaymentsRequest=exports.StorageImpl=exports.StorageError_Tags=exports.StorageError=exports.StableBalanceToken=exports.StableBalanceConfig=exports.StableBalanceActiveLabel_Tags=exports.StableBalanceActiveLabel=exports.SparkStatus=exports.SparkSspConfig=exports.SparkSigningOperator=exports.SparkInvoicePaymentDetails=exports.SparkInvoiceDetails=exports.SparkHtlcStatus=exports.SparkHtlcOptions=exports.SparkHtlcDetails=exports.SparkConfig=exports.SparkAddressDetails=exports.SilentPaymentAddressDetails=exports.SignerError_Tags=exports.SignerError=exports.SignMessageResponse=exports.SignMessageRequest=exports.SetLnurlMetadataItem=exports.SessionManagerImpl=exports.SessionManagerError_Tags=exports.SessionManagerError=exports.Session=exports.ServiceStatus=exports.ServiceConnectivityError_Tags=exports.ServiceConnectivityError=exports.SendPaymentResponse=exports.SendPaymentRequest=exports.SendPaymentOptions_Tags=exports.SendPaymentOptions=exports.SendPaymentMethod_Tags=void 0;exports.connect=connect;exports.connectWithSigner=connectWithSigner;exports.default=void 0;exports.defaultConfig=defaultConfig;exports.defaultExternalSigner=defaultExternalSigner;exports.defaultServerConfig=defaultServerConfig;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.
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
@@ -44,18 +44,45 @@ process?.env?.NODE_ENV!=='production'||false;// Public interface members begin h
44
44
  *
45
45
  * Result containing the signer as `Arc<dyn ExternalSigner>`
46
46
  */function defaultExternalSigner(mnemonic,passphrase,network,keySetConfig)/*throws*/{return FfiConverterTypeExternalSigner.lift(uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError),/*caller:*/callStatus=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_func_default_external_signer(FfiConverterString.lower(mnemonic),FfiConverterOptionalString.lower(passphrase),FfiConverterTypeNetwork.lower(network),FfiConverterOptionalTypeKeySetConfig.lower(keySetConfig),callStatus);},/*liftString:*/FfiConverterString.lift));}/**
47
+ * Builds a [`Config`] suitable for multi-tenant server-mode deployments.
48
+ *
49
+ * This preset returns the same configuration as [`default_config`] with
50
+ * [`background_tasks_enabled`](Config::background_tasks_enabled) set to
51
+ * `false`. In server mode, the SDK is treated as a library: the host
52
+ * orchestrates sync, claiming, and event delivery (typically via webhooks)
53
+ * explicitly, so an ephemeral SDK instance stays cheap and predictable.
54
+ *
55
+ * Config fields whose background services are gated off are reset to their
56
+ * inactive shape: `real_time_sync_server_url` is set to `None`, and both
57
+ * `leaf_optimization_config.auto_enabled` and
58
+ * `token_optimization_config.auto_enabled` are set to `false`. The SDK
59
+ * rejects builds where `background_tasks_enabled` is `false` and any of
60
+ * those fields is left in its active shape, so flip the flag via this
61
+ * helper rather than by hand.
62
+ *
63
+ * Explicit operations (`sync_wallet`, `claim_deposit`,
64
+ * `list_unclaimed_deposits`, `refund_deposit`,
65
+ * `refund_pending_conversions`, etc.) continue to work and are the intended
66
+ * entry points in this mode.
67
+ *
68
+ * Stable Balance is not supported in this mode because its conversion worker
69
+ * is a background service.
70
+ *
71
+ * One-time setup that the SDK normally applies automatically — notably
72
+ * `private_enabled_default` — is NOT applied in this mode. Drive setup
73
+ * explicitly via `update_user_settings` (and any other relevant APIs) so
74
+ * ephemeral per-request SDK instances incur no implicit setup overhead.
75
+ *
76
+ * `get_info` reads balance directly from the spark wallet in this mode
77
+ * rather than from the background-maintained storage cache, so balance
78
+ * reflects the latest local sync and `ensure_synced=true` is rejected with
79
+ * an invalid-input error
80
+ */function defaultServerConfig(network){return FfiConverterTypeConfig.lift(uniffiCaller.rustCall(/*caller:*/callStatus=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_func_default_server_config(FfiConverterTypeNetwork.lower(network),callStatus);},/*liftString:*/FfiConverterString.lift));}/**
47
81
  * Fetches the current status of Spark network services relevant to the SDK.
48
82
  *
49
83
  * This function queries the Spark status API and returns the worst status
50
84
  * across the Spark Operators and SSP services.
51
85
  */async function getSparkStatus(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_get_spark_status();},/*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:*/FfiConverterTypeSparkStatus.lift.bind(FfiConverterTypeSparkStatus),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}function initLogging(logDir,appLogger,logFilter)/*throws*/{uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError),/*caller:*/callStatus=>{(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_func_init_logging(FfiConverterOptionalString.lower(logDir),FfiConverterOptionalTypeLogger.lower(appLogger),FfiConverterOptionalString.lower(logFilter),callStatus);},/*liftString:*/FfiConverterString.lift);}/**
52
- * Creates a new shareable [`ConnectionManager`].
53
- *
54
- * `connections_per_operator` controls per-operator connection pooling:
55
- * `None` keeps a single connection per operator (suitable for almost every
56
- * deployment); `Some(n)` opens `n` connections per operator and balances
57
- * requests across them.
58
- */function newConnectionManager(connectionsPerOperator){return FfiConverterTypeConnectionManager.lift(uniffiCaller.rustCall(/*caller:*/callStatus=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_func_new_connection_manager(FfiConverterOptionalUInt32.lower(connectionsPerOperator),callStatus);},/*liftString:*/FfiConverterString.lift));}/**
59
86
  * Constructs a shareable REST-based [`BitcoinChainService`].
60
87
  *
61
88
  * Pass the returned `Arc` to multiple [`SdkBuilder`](crate::SdkBuilder)s via
@@ -65,14 +92,14 @@ process?.env?.NODE_ENV!=='production'||false;// Public interface members begin h
65
92
  *
66
93
  * For one-off, non-shared use, prefer
67
94
  * [`SdkBuilder::with_rest_chain_service`](crate::SdkBuilder::with_rest_chain_service).
68
- */function newRestChainService(url,network,apiType,credentials){return FfiConverterTypeBitcoinChainService.lift(uniffiCaller.rustCall(/*caller:*/callStatus=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_func_new_rest_chain_service(FfiConverterString.lower(url),FfiConverterTypeNetwork.lower(network),FfiConverterTypeChainApiType.lower(apiType),FfiConverterOptionalTypeCredentials.lower(credentials),callStatus);},/*liftString:*/FfiConverterString.lift));}/**
69
- * Construct a new shared SSP connection manager.
70
- *
71
- * Pass the returned `Arc<SspConnectionManager>` to
72
- * [`SdkBuilder::with_ssp_connection_manager`](crate::SdkBuilder::with_ssp_connection_manager)
73
- * when building each SDK instance that should share the underlying HTTP
74
- * connection pool.
75
- */function newSspConnectionManager(userAgent){return FfiConverterTypeSspConnectionManager.lift(uniffiCaller.rustCall(/*caller:*/callStatus=>{return(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_func_new_ssp_connection_manager(FfiConverterOptionalString.lower(userAgent),callStatus);},/*liftString:*/FfiConverterString.lift));}/**
95
+ */async function newRestChainService(url,network,apiType,credentials,asyncOpts_){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_rest_chain_service(FfiConverterString.lower(url),FfiConverterTypeNetwork.lower(network),FfiConverterTypeChainApiType.lower(apiType),FfiConverterOptionalTypeCredentials.lower(credentials));},/*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:*/FfiConverterTypeBitcoinChainService.lift.bind(FfiConverterTypeBitcoinChainService),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_);}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
96
+ * Constructs an [`SdkContext`] from a `SdkContextConfig`.
97
+ *
98
+ * The returned `Arc` is cheap to clone and can back many SDK instances.
99
+ * `SdkContextConfig::new(network)` yields an in-memory, single-tenant setup;
100
+ * supply a DB config to back the SDKs with a shared `PostgreSQL` or `MySQL`
101
+ * pool.
102
+ */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;}}/**
76
103
  * Trait for event listeners
77
104
  */// Put the implementation in a struct so we don't pollute the top-level namespace
78
105
  const uniffiCallbackInterfaceEventListener={// Create the VTable using a series of closures.
@@ -355,7 +382,7 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
355
382
  * in Rust, in the {@link breez_sdk_spark} crate.
356
383
  */new:create,/**
357
384
  * Defaults specified in the {@link breez_sdk_spark} crate.
358
- */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeConfig=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{apiKey:FfiConverterOptionalString.read(from),network:FfiConverterTypeNetwork.read(from),syncIntervalSecs:_uniffiBindgenReactNative.FfiConverterUInt32.read(from),maxDepositClaimFee:FfiConverterOptionalTypeMaxFee.read(from),lnurlDomain:FfiConverterOptionalString.read(from),preferSparkOverLightning:_uniffiBindgenReactNative.FfiConverterBool.read(from),externalInputParsers:FfiConverterOptionalArrayTypeExternalInputParser.read(from),useDefaultExternalInputParsers:_uniffiBindgenReactNative.FfiConverterBool.read(from),realTimeSyncServerUrl:FfiConverterOptionalString.read(from),privateEnabledDefault:_uniffiBindgenReactNative.FfiConverterBool.read(from),optimizationConfig:FfiConverterTypeOptimizationConfig.read(from),stableBalanceConfig:FfiConverterOptionalTypeStableBalanceConfig.read(from),maxConcurrentClaims:_uniffiBindgenReactNative.FfiConverterUInt32.read(from),sparkConfig:FfiConverterOptionalTypeSparkConfig.read(from)};}write(value,into){FfiConverterOptionalString.write(value.apiKey,into);FfiConverterTypeNetwork.write(value.network,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(value.syncIntervalSecs,into);FfiConverterOptionalTypeMaxFee.write(value.maxDepositClaimFee,into);FfiConverterOptionalString.write(value.lnurlDomain,into);_uniffiBindgenReactNative.FfiConverterBool.write(value.preferSparkOverLightning,into);FfiConverterOptionalArrayTypeExternalInputParser.write(value.externalInputParsers,into);_uniffiBindgenReactNative.FfiConverterBool.write(value.useDefaultExternalInputParsers,into);FfiConverterOptionalString.write(value.realTimeSyncServerUrl,into);_uniffiBindgenReactNative.FfiConverterBool.write(value.privateEnabledDefault,into);FfiConverterTypeOptimizationConfig.write(value.optimizationConfig,into);FfiConverterOptionalTypeStableBalanceConfig.write(value.stableBalanceConfig,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(value.maxConcurrentClaims,into);FfiConverterOptionalTypeSparkConfig.write(value.sparkConfig,into);}allocationSize(value){return FfiConverterOptionalString.allocationSize(value.apiKey)+FfiConverterTypeNetwork.allocationSize(value.network)+_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.syncIntervalSecs)+FfiConverterOptionalTypeMaxFee.allocationSize(value.maxDepositClaimFee)+FfiConverterOptionalString.allocationSize(value.lnurlDomain)+_uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.preferSparkOverLightning)+FfiConverterOptionalArrayTypeExternalInputParser.allocationSize(value.externalInputParsers)+_uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.useDefaultExternalInputParsers)+FfiConverterOptionalString.allocationSize(value.realTimeSyncServerUrl)+_uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.privateEnabledDefault)+FfiConverterTypeOptimizationConfig.allocationSize(value.optimizationConfig)+FfiConverterOptionalTypeStableBalanceConfig.allocationSize(value.stableBalanceConfig)+_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.maxConcurrentClaims)+FfiConverterOptionalTypeSparkConfig.allocationSize(value.sparkConfig);}}return new FFIConverter();})();/**
385
+ */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeConfig=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{apiKey:FfiConverterOptionalString.read(from),network:FfiConverterTypeNetwork.read(from),syncIntervalSecs:_uniffiBindgenReactNative.FfiConverterUInt32.read(from),maxDepositClaimFee:FfiConverterOptionalTypeMaxFee.read(from),lnurlDomain:FfiConverterOptionalString.read(from),preferSparkOverLightning:_uniffiBindgenReactNative.FfiConverterBool.read(from),externalInputParsers:FfiConverterOptionalArrayTypeExternalInputParser.read(from),useDefaultExternalInputParsers:_uniffiBindgenReactNative.FfiConverterBool.read(from),realTimeSyncServerUrl:FfiConverterOptionalString.read(from),privateEnabledDefault:_uniffiBindgenReactNative.FfiConverterBool.read(from),leafOptimizationConfig:FfiConverterTypeLeafOptimizationConfig.read(from),tokenOptimizationConfig:FfiConverterTypeTokenOptimizationConfig.read(from),stableBalanceConfig:FfiConverterOptionalTypeStableBalanceConfig.read(from),maxConcurrentClaims:_uniffiBindgenReactNative.FfiConverterUInt32.read(from),sparkConfig:FfiConverterOptionalTypeSparkConfig.read(from),backgroundTasksEnabled:_uniffiBindgenReactNative.FfiConverterBool.read(from)};}write(value,into){FfiConverterOptionalString.write(value.apiKey,into);FfiConverterTypeNetwork.write(value.network,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(value.syncIntervalSecs,into);FfiConverterOptionalTypeMaxFee.write(value.maxDepositClaimFee,into);FfiConverterOptionalString.write(value.lnurlDomain,into);_uniffiBindgenReactNative.FfiConverterBool.write(value.preferSparkOverLightning,into);FfiConverterOptionalArrayTypeExternalInputParser.write(value.externalInputParsers,into);_uniffiBindgenReactNative.FfiConverterBool.write(value.useDefaultExternalInputParsers,into);FfiConverterOptionalString.write(value.realTimeSyncServerUrl,into);_uniffiBindgenReactNative.FfiConverterBool.write(value.privateEnabledDefault,into);FfiConverterTypeLeafOptimizationConfig.write(value.leafOptimizationConfig,into);FfiConverterTypeTokenOptimizationConfig.write(value.tokenOptimizationConfig,into);FfiConverterOptionalTypeStableBalanceConfig.write(value.stableBalanceConfig,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(value.maxConcurrentClaims,into);FfiConverterOptionalTypeSparkConfig.write(value.sparkConfig,into);_uniffiBindgenReactNative.FfiConverterBool.write(value.backgroundTasksEnabled,into);}allocationSize(value){return FfiConverterOptionalString.allocationSize(value.apiKey)+FfiConverterTypeNetwork.allocationSize(value.network)+_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.syncIntervalSecs)+FfiConverterOptionalTypeMaxFee.allocationSize(value.maxDepositClaimFee)+FfiConverterOptionalString.allocationSize(value.lnurlDomain)+_uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.preferSparkOverLightning)+FfiConverterOptionalArrayTypeExternalInputParser.allocationSize(value.externalInputParsers)+_uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.useDefaultExternalInputParsers)+FfiConverterOptionalString.allocationSize(value.realTimeSyncServerUrl)+_uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.privateEnabledDefault)+FfiConverterTypeLeafOptimizationConfig.allocationSize(value.leafOptimizationConfig)+FfiConverterTypeTokenOptimizationConfig.allocationSize(value.tokenOptimizationConfig)+FfiConverterOptionalTypeStableBalanceConfig.allocationSize(value.stableBalanceConfig)+_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.maxConcurrentClaims)+FfiConverterOptionalTypeSparkConfig.allocationSize(value.sparkConfig)+_uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.backgroundTasksEnabled);}}return new FFIConverter();})();/**
359
386
  * Generated factory for {@link ConnectRequest} record objects.
360
387
  */const ConnectRequest=exports.ConnectRequest=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
361
388
  * Create a frozen instance of {@link ConnectRequest}, with defaults specified
@@ -851,6 +878,18 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
851
878
  */new:create,/**
852
879
  * Defaults specified in the {@link breez_sdk_spark} crate.
853
880
  */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeKeySetConfig=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{keySetType:FfiConverterTypeKeySetType.read(from),useAddressIndex:_uniffiBindgenReactNative.FfiConverterBool.read(from),accountNumber:FfiConverterOptionalUInt32.read(from)};}write(value,into){FfiConverterTypeKeySetType.write(value.keySetType,into);_uniffiBindgenReactNative.FfiConverterBool.write(value.useAddressIndex,into);FfiConverterOptionalUInt32.write(value.accountNumber,into);}allocationSize(value){return FfiConverterTypeKeySetType.allocationSize(value.keySetType)+_uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.useAddressIndex)+FfiConverterOptionalUInt32.allocationSize(value.accountNumber);}}return new FFIConverter();})();/**
881
+ * Configuration for leaf optimization.
882
+ *//**
883
+ * Generated factory for {@link LeafOptimizationConfig} record objects.
884
+ */const LeafOptimizationConfig=exports.LeafOptimizationConfig=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
885
+ * Create a frozen instance of {@link LeafOptimizationConfig}, with defaults specified
886
+ * in Rust, in the {@link breez_sdk_spark} crate.
887
+ */create,/**
888
+ * Create a frozen instance of {@link LeafOptimizationConfig}, with defaults specified
889
+ * in Rust, in the {@link breez_sdk_spark} crate.
890
+ */new:create,/**
891
+ * Defaults specified in the {@link breez_sdk_spark} crate.
892
+ */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeLeafOptimizationConfig=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{autoEnabled:_uniffiBindgenReactNative.FfiConverterBool.read(from),multiplicity:_uniffiBindgenReactNative.FfiConverterUInt8.read(from)};}write(value,into){_uniffiBindgenReactNative.FfiConverterBool.write(value.autoEnabled,into);_uniffiBindgenReactNative.FfiConverterUInt8.write(value.multiplicity,into);}allocationSize(value){return _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.autoEnabled)+_uniffiBindgenReactNative.FfiConverterUInt8.allocationSize(value.multiplicity);}}return new FFIConverter();})();/**
854
893
  * Generated factory for {@link LightningAddressDetails} record objects.
855
894
  */const LightningAddressDetails=exports.LightningAddressDetails=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
856
895
  * Create a frozen instance of {@link LightningAddressDetails}, with defaults specified
@@ -1165,16 +1204,6 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
1165
1204
  */new:create,/**
1166
1205
  * Defaults specified in the {@link breez_sdk_spark} crate.
1167
1206
  */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeNostrRelayConfig=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{breezApiKey:FfiConverterOptionalString.read(from),timeoutSecs:FfiConverterOptionalUInt32.read(from)};}write(value,into){FfiConverterOptionalString.write(value.breezApiKey,into);FfiConverterOptionalUInt32.write(value.timeoutSecs,into);}allocationSize(value){return FfiConverterOptionalString.allocationSize(value.breezApiKey)+FfiConverterOptionalUInt32.allocationSize(value.timeoutSecs);}}return new FFIConverter();})();/**
1168
- * Generated factory for {@link OptimizationConfig} record objects.
1169
- */const OptimizationConfig=exports.OptimizationConfig=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
1170
- * Create a frozen instance of {@link OptimizationConfig}, with defaults specified
1171
- * in Rust, in the {@link breez_sdk_spark} crate.
1172
- */create,/**
1173
- * Create a frozen instance of {@link OptimizationConfig}, with defaults specified
1174
- * in Rust, in the {@link breez_sdk_spark} crate.
1175
- */new:create,/**
1176
- * Defaults specified in the {@link breez_sdk_spark} crate.
1177
- */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeOptimizationConfig=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{autoEnabled:_uniffiBindgenReactNative.FfiConverterBool.read(from),multiplicity:_uniffiBindgenReactNative.FfiConverterUInt8.read(from)};}write(value,into){_uniffiBindgenReactNative.FfiConverterBool.write(value.autoEnabled,into);_uniffiBindgenReactNative.FfiConverterUInt8.write(value.multiplicity,into);}allocationSize(value){return _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.autoEnabled)+_uniffiBindgenReactNative.FfiConverterUInt8.allocationSize(value.multiplicity);}}return new FFIConverter();})();/**
1178
1207
  * Generated factory for {@link OptimizationProgress} record objects.
1179
1208
  */const OptimizationProgress=exports.OptimizationProgress=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
1180
1209
  * Create a frozen instance of {@link OptimizationProgress}, with defaults specified
@@ -1451,6 +1480,19 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
1451
1480
  */new:create,/**
1452
1481
  * Defaults specified in the {@link breez_sdk_spark} crate.
1453
1482
  */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeSchnorrSignatureBytes=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{bytes:_uniffiBindgenReactNative.FfiConverterArrayBuffer.read(from)};}write(value,into){_uniffiBindgenReactNative.FfiConverterArrayBuffer.write(value.bytes,into);}allocationSize(value){return _uniffiBindgenReactNative.FfiConverterArrayBuffer.allocationSize(value.bytes);}}return new FFIConverter();})();/**
1483
+ * Settings for [`new_shared_sdk_context`]. All fields are optional; the defaults
1484
+ * match the single-SDK happy path.
1485
+ *//**
1486
+ * Generated factory for {@link SdkContextConfig} record objects.
1487
+ */const SdkContextConfig=exports.SdkContextConfig=(()=>{const defaults=()=>({apiKey:undefined,connectionsPerOperator:undefined});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
1488
+ * Create a frozen instance of {@link SdkContextConfig}, with defaults specified
1489
+ * in Rust, in the {@link breez_sdk_spark} crate.
1490
+ */create,/**
1491
+ * Create a frozen instance of {@link SdkContextConfig}, with defaults specified
1492
+ * in Rust, in the {@link breez_sdk_spark} crate.
1493
+ */new:create,/**
1494
+ * Defaults specified in the {@link breez_sdk_spark} crate.
1495
+ */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeSdkContextConfig=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{network:FfiConverterTypeNetwork.read(from),apiKey:FfiConverterOptionalString.read(from),connectionsPerOperator:FfiConverterOptionalUInt32.read(from)};}write(value,into){FfiConverterTypeNetwork.write(value.network,into);FfiConverterOptionalString.write(value.apiKey,into);FfiConverterOptionalUInt32.write(value.connectionsPerOperator,into);}allocationSize(value){return FfiConverterTypeNetwork.allocationSize(value.network)+FfiConverterOptionalString.allocationSize(value.apiKey)+FfiConverterOptionalUInt32.allocationSize(value.connectionsPerOperator);}}return new FFIConverter();})();/**
1454
1496
  * FFI-safe representation of a private key (32 bytes)
1455
1497
  *//**
1456
1498
  * Generated factory for {@link SecretBytes} record objects.
@@ -1762,6 +1804,18 @@ const FfiConverterTypeLogger=new _uniffiBindgenReactNative.FfiConverterCallback(
1762
1804
  */new:create,/**
1763
1805
  * Defaults specified in the {@link breez_sdk_spark} crate.
1764
1806
  */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeTokenMetadata=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{identifier:FfiConverterString.read(from),issuerPublicKey:FfiConverterString.read(from),name:FfiConverterString.read(from),ticker:FfiConverterString.read(from),decimals:_uniffiBindgenReactNative.FfiConverterUInt32.read(from),maxSupply:FfiConverterTypeu128.read(from),isFreezable:_uniffiBindgenReactNative.FfiConverterBool.read(from)};}write(value,into){FfiConverterString.write(value.identifier,into);FfiConverterString.write(value.issuerPublicKey,into);FfiConverterString.write(value.name,into);FfiConverterString.write(value.ticker,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(value.decimals,into);FfiConverterTypeu128.write(value.maxSupply,into);_uniffiBindgenReactNative.FfiConverterBool.write(value.isFreezable,into);}allocationSize(value){return FfiConverterString.allocationSize(value.identifier)+FfiConverterString.allocationSize(value.issuerPublicKey)+FfiConverterString.allocationSize(value.name)+FfiConverterString.allocationSize(value.ticker)+_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.decimals)+FfiConverterTypeu128.allocationSize(value.maxSupply)+_uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.isFreezable);}}return new FFIConverter();})();/**
1807
+ * Configuration for token-output optimization.
1808
+ *//**
1809
+ * Generated factory for {@link TokenOptimizationConfig} record objects.
1810
+ */const TokenOptimizationConfig=exports.TokenOptimizationConfig=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
1811
+ * Create a frozen instance of {@link TokenOptimizationConfig}, with defaults specified
1812
+ * in Rust, in the {@link breez_sdk_spark} crate.
1813
+ */create,/**
1814
+ * Create a frozen instance of {@link TokenOptimizationConfig}, with defaults specified
1815
+ * in Rust, in the {@link breez_sdk_spark} crate.
1816
+ */new:create,/**
1817
+ * Defaults specified in the {@link breez_sdk_spark} crate.
1818
+ */defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeTokenOptimizationConfig=(()=>{class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray{read(from){return{autoEnabled:_uniffiBindgenReactNative.FfiConverterBool.read(from),targetOutputCount:_uniffiBindgenReactNative.FfiConverterUInt32.read(from),minOutputsThreshold:_uniffiBindgenReactNative.FfiConverterUInt32.read(from)};}write(value,into){_uniffiBindgenReactNative.FfiConverterBool.write(value.autoEnabled,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(value.targetOutputCount,into);_uniffiBindgenReactNative.FfiConverterUInt32.write(value.minOutputsThreshold,into);}allocationSize(value){return _uniffiBindgenReactNative.FfiConverterBool.allocationSize(value.autoEnabled)+_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.targetOutputCount)+_uniffiBindgenReactNative.FfiConverterUInt32.allocationSize(value.minOutputsThreshold);}}return new FFIConverter();})();/**
1765
1819
  * Generated factory for {@link TxStatus} record objects.
1766
1820
  */const TxStatus=exports.TxStatus=(()=>{const defaults=()=>({});const create=(()=>{return(0,_uniffiBindgenReactNative.uniffiCreateRecord)(defaults);})();return Object.freeze({/**
1767
1821
  * Create a frozen instance of {@link TxStatus}, with defaults specified
@@ -2938,7 +2992,17 @@ constructor(pointer){super();this[_uniffiBindgenReactNative.pointerLiteralSymbol
2938
2992
  * * `SdkError` - If there was an error during the withdraw process
2939
2993
  */async lnurlWithdraw(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_lnurl_withdraw(uniffiTypeBreezSdkObjectFactory.clonePointer(this),FfiConverterTypeLnurlWithdrawRequest.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:*/FfiConverterTypeLnurlWithdrawResponse.lift.bind(FfiConverterTypeLnurlWithdrawResponse),/*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 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;}}/**
2940
2994
  * Get the recommended BTC fees based on the configured chain service.
2941
- */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;}}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;}}/**
2995
+ */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;}}/**
2996
+ * Runs one pass of the pending-conversion refunder.
2997
+ *
2998
+ * Iterates over payments whose conversions failed and have a refund
2999
+ * pending, then attempts to refund each one. This is the same logic the
3000
+ * SDK runs internally on a periodic schedule when
3001
+ * `background_tasks_enabled` is `true`. When background tasks are
3002
+ * disabled the periodic refunder does not run, and this method is the
3003
+ * explicit entry point for driving the pass; when background tasks are
3004
+ * enabled, it can be called to force an immediate refund pass.
3005
+ */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;}}/**
2942
3006
  * Registers a webhook to receive notifications for wallet events.
2943
3007
  *
2944
3008
  * When registered events occur (e.g., a Lightning payment is received),
@@ -3001,34 +3065,6 @@ constructor(pointer){super();this[_uniffiBindgenReactNative.pointerLiteralSymbol
3001
3065
  * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
3002
3066
  */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
3003
3067
  const FfiConverterTypeBreezSdk=new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeBreezSdkObjectFactory);/**
3004
- * A shareable manager for gRPC connections to the Spark operators.
3005
- *
3006
- * Construct one via [`new_connection_manager`] and pass the same `Arc` to
3007
- * multiple [`SdkBuilder`](crate::SdkBuilder)s via
3008
- * [`SdkBuilder::with_connection_manager`](crate::SdkBuilder::with_connection_manager).
3009
- * Connections close when the last `Arc<ConnectionManager>` is dropped;
3010
- * [`BreezSdk::disconnect`](crate::BreezSdk::disconnect) does not affect them.
3011
- *
3012
- * All SDK instances sharing a `ConnectionManager` must be configured for the
3013
- * same network and operator pool. The TLS settings and user agent of the
3014
- * first SDK to connect to a given operator are reused for everyone afterwards.
3015
- *//**
3016
- * A shareable manager for gRPC connections to the Spark operators.
3017
- *
3018
- * Construct one via [`new_connection_manager`] and pass the same `Arc` to
3019
- * multiple [`SdkBuilder`](crate::SdkBuilder)s via
3020
- * [`SdkBuilder::with_connection_manager`](crate::SdkBuilder::with_connection_manager).
3021
- * Connections close when the last `Arc<ConnectionManager>` is dropped;
3022
- * [`BreezSdk::disconnect`](crate::BreezSdk::disconnect) does not affect them.
3023
- *
3024
- * All SDK instances sharing a `ConnectionManager` must be configured for the
3025
- * same network and operator pool. The TLS settings and user agent of the
3026
- * first SDK to connect to a given operator are reused for everyone afterwards.
3027
- */class ConnectionManager extends _uniffiBindgenReactNative.UniffiAbstractObject{[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='ConnectionManager';// No primary constructor declared for this class.
3028
- constructor(pointer){super();this[_uniffiBindgenReactNative.pointerLiteralSymbol]=pointer;this[_uniffiBindgenReactNative.destructorGuardSymbol]=uniffiTypeConnectionManagerObjectFactory.bless(pointer);}/**
3029
- * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
3030
- */uniffiDestroy(){const ptr=this[_uniffiBindgenReactNative.destructorGuardSymbol];if(ptr!==undefined){const pointer=uniffiTypeConnectionManagerObjectFactory.pointer(this);uniffiTypeConnectionManagerObjectFactory.freePointer(pointer);uniffiTypeConnectionManagerObjectFactory.unbless(ptr);delete this[_uniffiBindgenReactNative.destructorGuardSymbol];}}static instanceOf(obj){return uniffiTypeConnectionManagerObjectFactory.isConcreteType(obj);}}exports.ConnectionManager=ConnectionManager;const uniffiTypeConnectionManagerObjectFactory=(()=>{return{create(pointer){const instance=Object.create(ConnectionManager.prototype);instance[_uniffiBindgenReactNative.pointerLiteralSymbol]=pointer;instance[_uniffiBindgenReactNative.destructorGuardSymbol]=this.bless(pointer);instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='ConnectionManager';return instance;},bless(p){return uniffiCaller.rustCall(/*caller:*/status=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_internal_fn_method_connectionmanager_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_connectionmanager(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},freePointer(pointer){uniffiCaller.rustCall(/*caller:*/callStatus=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_free_connectionmanager(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},isConcreteType(obj){return obj[_uniffiBindgenReactNative.destructorGuardSymbol]&&obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='ConnectionManager';}};})();// FfiConverter for ConnectionManagerInterface
3031
- const FfiConverterTypeConnectionManager=new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeConnectionManagerObjectFactory);/**
3032
3068
  * External signer trait that can be implemented by users and passed to the SDK.
3033
3069
  *
3034
3070
  * This trait mirrors the `BreezSigner` trait but uses FFI-compatible types (bytes, strings)
@@ -3480,10 +3516,6 @@ FfiConverterTypeRestClient.drop(uniffiHandle);}},register:()=>{(0,_breez_sdk_spa
3480
3516
  * Arguments:
3481
3517
  * - `chain_service`: The chain service to be used.
3482
3518
  */async withChainService(chainService,asyncOpts_){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_sdkbuilder_with_chain_service(uniffiTypeSdkBuilderObjectFactory.clonePointer(this),FfiConverterTypeBitcoinChainService.lower(chainService));},/*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_);}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
3483
- * Sets a shared connection manager to be reused across SDK instances.
3484
- * Arguments:
3485
- * - `connection_manager`: The shared connection manager.
3486
- */async withConnectionManager(connectionManager,asyncOpts_){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_sdkbuilder_with_connection_manager(uniffiTypeSdkBuilderObjectFactory.clonePointer(this),FfiConverterTypeConnectionManager.lower(connectionManager));},/*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_);}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
3487
3519
  * Sets the root storage directory to initialize the default storage with.
3488
3520
  * This initializes both storage and real-time sync storage with the
3489
3521
  * default implementations.
@@ -3508,16 +3540,13 @@ FfiConverterTypeRestClient.drop(uniffiHandle);}},register:()=>{(0,_breez_sdk_spa
3508
3540
  * - `api_type`: The API type to be used.
3509
3541
  * - `credentials`: Optional credentials for basic authentication.
3510
3542
  */async withRestChainService(url,apiType,credentials,asyncOpts_){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_sdkbuilder_with_rest_chain_service(uniffiTypeSdkBuilderObjectFactory.clonePointer(this),FfiConverterString.lower(url),FfiConverterTypeChainApiType.lower(apiType),FfiConverterOptionalTypeCredentials.lower(credentials));},/*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_);}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
3511
- * Sets a custom session manager used to persist authentication sessions.
3543
+ * Threads a shared [`SdkContext`](crate::SdkContext) into the builder.
3512
3544
  *
3513
- * Provide a shared, persistent implementation (e.g. backed by `PostgreSQL`
3514
- * or Redis) to let multiple SDK instances share authentication state and
3515
- * bootstrap quickly. If not set, an in-memory session manager is used.
3516
- */async withSessionManager(sessionManager,asyncOpts_){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_sdkbuilder_with_session_manager(uniffiTypeSdkBuilderObjectFactory.clonePointer(this),FfiConverterTypeSessionManager.lower(sessionManager));},/*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_);}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
3517
- * Sets a shared SSP connection manager to be reused across SDK instances.
3518
- * Arguments:
3519
- * - `manager`: The shared SSP connection manager.
3520
- */async withSspConnectionManager(manager,asyncOpts_){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_sdkbuilder_with_ssp_connection_manager(uniffiTypeSdkBuilderObjectFactory.clonePointer(this),FfiConverterTypeSspConnectionManager.lower(manager));},/*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_);}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
3545
+ * Construct the context once via
3546
+ * [`new_shared_sdk_context`](crate::new_shared_sdk_context) and pass the
3547
+ * same `Arc` to every `SdkBuilder` whose SDKs should share its resources
3548
+ * (operator gRPC channels, SSP HTTP client, database pool).
3549
+ */async withSharedContext(context,asyncOpts_){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_sdkbuilder_with_shared_context(uniffiTypeSdkBuilderObjectFactory.clonePointer(this),FfiConverterTypeSdkContext.lower(context));},/*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_);}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
3521
3550
  * Sets the storage implementation to be used by the SDK.
3522
3551
  * Arguments:
3523
3552
  * - `storage`: The storage implementation to be used.
@@ -3525,6 +3554,38 @@ FfiConverterTypeRestClient.drop(uniffiHandle);}},register:()=>{(0,_breez_sdk_spa
3525
3554
  * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
3526
3555
  */uniffiDestroy(){const ptr=this[_uniffiBindgenReactNative.destructorGuardSymbol];if(ptr!==undefined){const pointer=uniffiTypeSdkBuilderObjectFactory.pointer(this);uniffiTypeSdkBuilderObjectFactory.freePointer(pointer);uniffiTypeSdkBuilderObjectFactory.unbless(ptr);delete this[_uniffiBindgenReactNative.destructorGuardSymbol];}}static instanceOf(obj){return uniffiTypeSdkBuilderObjectFactory.isConcreteType(obj);}}exports.SdkBuilder=SdkBuilder;const uniffiTypeSdkBuilderObjectFactory=(()=>{return{create(pointer){const instance=Object.create(SdkBuilder.prototype);instance[_uniffiBindgenReactNative.pointerLiteralSymbol]=pointer;instance[_uniffiBindgenReactNative.destructorGuardSymbol]=this.bless(pointer);instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='SdkBuilder';return instance;},bless(p){return uniffiCaller.rustCall(/*caller:*/status=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_internal_fn_method_sdkbuilder_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_sdkbuilder(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},freePointer(pointer){uniffiCaller.rustCall(/*caller:*/callStatus=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_free_sdkbuilder(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},isConcreteType(obj){return obj[_uniffiBindgenReactNative.destructorGuardSymbol]&&obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='SdkBuilder';}};})();// FfiConverter for SdkBuilderInterface
3527
3556
  const FfiConverterTypeSdkBuilder=new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeSdkBuilderObjectFactory);/**
3557
+ * Process-shared resources that can back many `BreezSdk` instances.
3558
+ *
3559
+ * Construct one with [`new_shared_sdk_context`] and pass the same `Arc` to every
3560
+ * [`SdkBuilder`](crate::SdkBuilder) whose SDKs should share those resources
3561
+ * (a single HTTP client across SSP / chain / LNURL / JWT / etc., a gRPC
3562
+ * channel pool to the Spark operators, the Breez backend gRPC client, a
3563
+ * database connection pool, …). Useful for multi-tenant servers that load
3564
+ * many wallets in one process.
3565
+ *
3566
+ * The struct is intentionally opaque — all fields are crate-private. There
3567
+ * is no way to inject pre-built sub-components: the factory builds them
3568
+ * from settings so callers don't need to know about session managers,
3569
+ * connection-manager wiring, or pool plumbing.
3570
+ *//**
3571
+ * Process-shared resources that can back many `BreezSdk` instances.
3572
+ *
3573
+ * Construct one with [`new_shared_sdk_context`] and pass the same `Arc` to every
3574
+ * [`SdkBuilder`](crate::SdkBuilder) whose SDKs should share those resources
3575
+ * (a single HTTP client across SSP / chain / LNURL / JWT / etc., a gRPC
3576
+ * channel pool to the Spark operators, the Breez backend gRPC client, a
3577
+ * database connection pool, …). Useful for multi-tenant servers that load
3578
+ * many wallets in one process.
3579
+ *
3580
+ * The struct is intentionally opaque — all fields are crate-private. There
3581
+ * is no way to inject pre-built sub-components: the factory builds them
3582
+ * from settings so callers don't need to know about session managers,
3583
+ * connection-manager wiring, or pool plumbing.
3584
+ */class SdkContext extends _uniffiBindgenReactNative.UniffiAbstractObject{[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='SdkContext';// No primary constructor declared for this class.
3585
+ constructor(pointer){super();this[_uniffiBindgenReactNative.pointerLiteralSymbol]=pointer;this[_uniffiBindgenReactNative.destructorGuardSymbol]=uniffiTypeSdkContextObjectFactory.bless(pointer);}/**
3586
+ * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
3587
+ */uniffiDestroy(){const ptr=this[_uniffiBindgenReactNative.destructorGuardSymbol];if(ptr!==undefined){const pointer=uniffiTypeSdkContextObjectFactory.pointer(this);uniffiTypeSdkContextObjectFactory.freePointer(pointer);uniffiTypeSdkContextObjectFactory.unbless(ptr);delete this[_uniffiBindgenReactNative.destructorGuardSymbol];}}static instanceOf(obj){return uniffiTypeSdkContextObjectFactory.isConcreteType(obj);}}exports.SdkContext=SdkContext;const uniffiTypeSdkContextObjectFactory=(()=>{return{create(pointer){const instance=Object.create(SdkContext.prototype);instance[_uniffiBindgenReactNative.pointerLiteralSymbol]=pointer;instance[_uniffiBindgenReactNative.destructorGuardSymbol]=this.bless(pointer);instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='SdkContext';return instance;},bless(p){return uniffiCaller.rustCall(/*caller:*/status=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_internal_fn_method_sdkcontext_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_sdkcontext(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},freePointer(pointer){uniffiCaller.rustCall(/*caller:*/callStatus=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_free_sdkcontext(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},isConcreteType(obj){return obj[_uniffiBindgenReactNative.destructorGuardSymbol]&&obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='SdkContext';}};})();// FfiConverter for SdkContextInterface
3588
+ const FfiConverterTypeSdkContext=new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeSdkContextObjectFactory);/**
3528
3589
  * Persistent storage for authentication sessions, keyed by the service's
3529
3590
  * identity public key. Implementations should be thread-safe and may be
3530
3591
  * backed by an in-memory map (default) or a shared database for cross-pod
@@ -3546,42 +3607,6 @@ vtable:{getSession:(uniffiHandle,serviceIdentityKey,uniffiFutureCallback,uniffiC
3546
3607
  callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SessionManagerError.instanceOf,/*lowerError:*/FfiConverterTypeSessionManagerError.lower.bind(FfiConverterTypeSessionManagerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},setSession:(uniffiHandle,serviceIdentityKey,session,uniffiFutureCallback,uniffiCallbackData)=>{const uniffiMakeCall=async signal=>{const jsCallback=FfiConverterTypeSessionManager.lift(uniffiHandle);return await jsCallback.setSession(FfiConverterTypePublicKey.lift(serviceIdentityKey),FfiConverterTypeSession.lift(session),{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.
3547
3608
  callStatus:uniffiCaller.createErrorStatus(code,errorBuf)});};const uniffiForeignFuture=(0,_uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall,/*handleSuccess:*/uniffiHandleSuccess,/*handleError:*/uniffiHandleError,/*isErrorType:*/SessionManagerError.instanceOf,/*lowerError:*/FfiConverterTypeSessionManagerError.lower.bind(FfiConverterTypeSessionManagerError),/*lowerString:*/FfiConverterString.lower);return uniffiForeignFuture;},uniffiFree:uniffiHandle=>{// SessionManager: this will throw a stale handle error if the handle isn't found.
3548
3609
  FfiConverterTypeSessionManager.drop(uniffiHandle);}},register:()=>{(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_sessionmanager(uniffiCallbackInterfaceSessionManager.vtable);}};/**
3549
- * A shared HTTP transport for SSP GraphQL traffic.
3550
- *
3551
- * All SDK instances that are built with the same `SspConnectionManager` send
3552
- * SSP requests over the same pooled `reqwest::Client`. This means each
3553
- * process opens at most one TCP+TLS+HTTP/2 connection to the SSP regardless
3554
- * of how many wallets are loaded — useful for multi-tenant servers running
3555
- * many SDK instances.
3556
- *
3557
- * # Caveats
3558
- *
3559
- * - The user-agent of the first SDK to construct this manager is reused for
3560
- * all subsequent instances. This is rarely a problem since SDK instances
3561
- * in one process typically share a build version.
3562
- * - Connections close when the last `Arc<SspConnectionManager>` is dropped.
3563
- * `BreezSdk::disconnect` does not close them.
3564
- *//**
3565
- * A shared HTTP transport for SSP GraphQL traffic.
3566
- *
3567
- * All SDK instances that are built with the same `SspConnectionManager` send
3568
- * SSP requests over the same pooled `reqwest::Client`. This means each
3569
- * process opens at most one TCP+TLS+HTTP/2 connection to the SSP regardless
3570
- * of how many wallets are loaded — useful for multi-tenant servers running
3571
- * many SDK instances.
3572
- *
3573
- * # Caveats
3574
- *
3575
- * - The user-agent of the first SDK to construct this manager is reused for
3576
- * all subsequent instances. This is rarely a problem since SDK instances
3577
- * in one process typically share a build version.
3578
- * - Connections close when the last `Arc<SspConnectionManager>` is dropped.
3579
- * `BreezSdk::disconnect` does not close them.
3580
- */class SspConnectionManager extends _uniffiBindgenReactNative.UniffiAbstractObject{[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='SspConnectionManager';// No primary constructor declared for this class.
3581
- constructor(pointer){super();this[_uniffiBindgenReactNative.pointerLiteralSymbol]=pointer;this[_uniffiBindgenReactNative.destructorGuardSymbol]=uniffiTypeSspConnectionManagerObjectFactory.bless(pointer);}/**
3582
- * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
3583
- */uniffiDestroy(){const ptr=this[_uniffiBindgenReactNative.destructorGuardSymbol];if(ptr!==undefined){const pointer=uniffiTypeSspConnectionManagerObjectFactory.pointer(this);uniffiTypeSspConnectionManagerObjectFactory.freePointer(pointer);uniffiTypeSspConnectionManagerObjectFactory.unbless(ptr);delete this[_uniffiBindgenReactNative.destructorGuardSymbol];}}static instanceOf(obj){return uniffiTypeSspConnectionManagerObjectFactory.isConcreteType(obj);}}exports.SspConnectionManager=SspConnectionManager;const uniffiTypeSspConnectionManagerObjectFactory=(()=>{return{create(pointer){const instance=Object.create(SspConnectionManager.prototype);instance[_uniffiBindgenReactNative.pointerLiteralSymbol]=pointer;instance[_uniffiBindgenReactNative.destructorGuardSymbol]=this.bless(pointer);instance[_uniffiBindgenReactNative.uniffiTypeNameSymbol]='SspConnectionManager';return instance;},bless(p){return uniffiCaller.rustCall(/*caller:*/status=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_internal_fn_method_sspconnectionmanager_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_sspconnectionmanager(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},freePointer(pointer){uniffiCaller.rustCall(/*caller:*/callStatus=>(0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_free_sspconnectionmanager(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},isConcreteType(obj){return obj[_uniffiBindgenReactNative.destructorGuardSymbol]&&obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol]==='SspConnectionManager';}};})();// FfiConverter for SspConnectionManagerInterface
3584
- const FfiConverterTypeSspConnectionManager=new _uniffiBindgenReactNative.FfiConverterObject(uniffiTypeSspConnectionManagerObjectFactory);/**
3585
3610
  * Trait for persistent storage
3586
3611
  *//**
3587
3612
  * Trait for persistent storage
@@ -3922,5 +3947,5 @@ const FfiConverterOptionalArrayTypeStoragePaymentDetailsFilter=new _uniffiBindge
3922
3947
  * It also initializes the machinery to enable Rust to talk back to Javascript.
3923
3948
  */function uniffiEnsureInitialized(){// Get the bindings contract version from our ComponentInterface
3924
3949
  const bindingsContractVersion=29;// Get the scaffolding contract version by calling the into the dylib
3925
- const scaffoldingContractVersion=(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_uniffi_contract_version();if(bindingsContractVersion!==scaffoldingContractVersion){throw new _uniffiBindgenReactNative.UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion,bindingsContractVersion);}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_connect()!==40345){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signer()!==1399){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect_with_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_default_config()!==62194){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_config');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signer()!==40694){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_external_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_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_connection_manager()!==25164){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_new_connection_manager');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_new_rest_chain_service()!==62980){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_ssp_connection_manager()!==15222){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_new_ssp_connection_manager');}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()!==37737){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_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_cancel_leaf_optimization()!==56996){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_cancel_leaf_optimization');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available()!==31624){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message()!==4385){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit()!==43529){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment()!==57587){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_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()!==330){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits()!==50958){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info()!==6771){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_leaf_optimization_progress()!==38008){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_leaf_optimization_progress');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address()!==36552){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment()!==11540){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer()!==26649){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata()!==40125){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings()!==38537){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_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_parse()!==14285){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_parse');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay()!==37691){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment()!==34185){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment()!==36984){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees()!==16947){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit()!==33646){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address()!==530){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_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_start_leaf_optimization()!==44923){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_start_leaf_optimization');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet()!==30368){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_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_externalsigner_identity_public_key()!==62941){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_identity_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key()!==23137){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa()!==37648){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable()!==3107){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies()!==60224){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies()!==59601){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr()!==57220){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_hmac_sha256()!==57517){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_hmac_sha256');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment()!==31862){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node()!==37434){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_secret()!==26114){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_secret');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_encrypted()!==38925){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_encrypted');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret()!==45280){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key()!==62519){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secrets()!==45969){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secrets');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs()!==19489){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_for_receiver()!==51627){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_for_receiver');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret()!==53055){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost()!==20635){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost()!==53544){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost');}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_passkey_get_wallet()!==28830){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_get_wallet');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_is_available()!==31283){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_is_available');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_list_labels()!==5351){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_list_labels');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_store_label()!==42949){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_store_label');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_derive_prf_seed()!==44905){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_derive_prf_seed');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_is_prf_available()!==33931){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_is_prf_available');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send()!==30686){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_get_request()!==8260){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_get_request');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_post_request()!==24889){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_post_request');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_delete_request()!==51072){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_delete_request');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build()!==8126){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service()!==2848){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_connection_manager()!==51797){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_connection_manager');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage()!==14543){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service()!==37854){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set()!==50052){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client()!==51060){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer()!==21617){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_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_manager()!==64189){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_session_manager');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_ssp_connection_manager()!==65505){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_ssp_connection_manager');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage()!==59400){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sessionmanager_get_session()!==64481){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sessionmanager_get_session');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sessionmanager_set_session()!==55262){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sessionmanager_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_insert_payment()!==28075){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_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_add_outgoing_change()!==1304){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()!==7860){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()!==30862){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()!==6931){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()!==59522){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()!==19643){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()!==28540){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()!==41369){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()!==18793){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_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_passkey_new()!==25404){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_passkey_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_method_eventlistener_on_event()!==24807){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_logger_log()!==11839){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_logger_log');}uniffiCallbackInterfaceEventListener.register();uniffiCallbackInterfaceLogger.register();uniffiCallbackInterfaceBitcoinChainService.register();uniffiCallbackInterfaceExternalSigner.register();uniffiCallbackInterfaceFiatService.register();uniffiCallbackInterfacePasskeyPrfProvider.register();uniffiCallbackInterfacePaymentObserver.register();uniffiCallbackInterfaceRestClient.register();uniffiCallbackInterfaceSessionManager.register();uniffiCallbackInterfaceStorage.register();}var _default=exports.default=Object.freeze({initialize:uniffiEnsureInitialized,converters:{FfiConverterTypeAddContactRequest,FfiConverterTypeAesSuccessActionData,FfiConverterTypeAesSuccessActionDataDecrypted,FfiConverterTypeAesSuccessActionDataResult,FfiConverterTypeAmount,FfiConverterTypeAmountAdjustmentReason,FfiConverterTypeAssetFilter,FfiConverterTypeBip21Details,FfiConverterTypeBip21Extra,FfiConverterTypeBitcoinAddressDetails,FfiConverterTypeBitcoinChainService,FfiConverterTypeBitcoinNetwork,FfiConverterTypeBolt11Invoice,FfiConverterTypeBolt11InvoiceDetails,FfiConverterTypeBolt11RouteHint,FfiConverterTypeBolt11RouteHintHop,FfiConverterTypeBolt12Invoice,FfiConverterTypeBolt12InvoiceDetails,FfiConverterTypeBolt12InvoiceRequestDetails,FfiConverterTypeBolt12Offer,FfiConverterTypeBolt12OfferBlindedPath,FfiConverterTypeBolt12OfferDetails,FfiConverterTypeBreezSdk,FfiConverterTypeBurnIssuerTokenRequest,FfiConverterTypeBuyBitcoinRequest,FfiConverterTypeBuyBitcoinResponse,FfiConverterTypeChainApiType,FfiConverterTypeChainServiceError,FfiConverterTypeCheckLightningAddressRequest,FfiConverterTypeCheckMessageRequest,FfiConverterTypeCheckMessageResponse,FfiConverterTypeClaimDepositRequest,FfiConverterTypeClaimDepositResponse,FfiConverterTypeClaimHtlcPaymentRequest,FfiConverterTypeClaimHtlcPaymentResponse,FfiConverterTypeConfig,FfiConverterTypeConnectRequest,FfiConverterTypeConnectWithSignerRequest,FfiConverterTypeConnectionManager,FfiConverterTypeContact,FfiConverterTypeConversionDetails,FfiConverterTypeConversionEstimate,FfiConverterTypeConversionInfo,FfiConverterTypeConversionOptions,FfiConverterTypeConversionPurpose,FfiConverterTypeConversionStatus,FfiConverterTypeConversionStep,FfiConverterTypeConversionType,FfiConverterTypeCreateIssuerTokenRequest,FfiConverterTypeCredentials,FfiConverterTypeCurrencyInfo,FfiConverterTypeDepositClaimError,FfiConverterTypeDepositInfo,FfiConverterTypeEcdsaSignatureBytes,FfiConverterTypeExternalAggregateFrostRequest,FfiConverterTypeExternalEncryptedSecret,FfiConverterTypeExternalFrostCommitments,FfiConverterTypeExternalFrostSignature,FfiConverterTypeExternalFrostSignatureShare,FfiConverterTypeExternalIdentifier,FfiConverterTypeExternalInputParser,FfiConverterTypeExternalScalar,FfiConverterTypeExternalSecretShare,FfiConverterTypeExternalSecretSource,FfiConverterTypeExternalSecretToSplit,FfiConverterTypeExternalSignFrostRequest,FfiConverterTypeExternalSigner,FfiConverterTypeExternalSigningCommitments,FfiConverterTypeExternalTreeNodeId,FfiConverterTypeExternalVerifiableSecretShare,FfiConverterTypeFee,FfiConverterTypeFeePolicy,FfiConverterTypeFetchConversionLimitsRequest,FfiConverterTypeFetchConversionLimitsResponse,FfiConverterTypeFiatCurrency,FfiConverterTypeFiatService,FfiConverterTypeFreezeIssuerTokenRequest,FfiConverterTypeFreezeIssuerTokenResponse,FfiConverterTypeGetInfoRequest,FfiConverterTypeGetInfoResponse,FfiConverterTypeGetPaymentRequest,FfiConverterTypeGetPaymentResponse,FfiConverterTypeGetTokensMetadataRequest,FfiConverterTypeGetTokensMetadataResponse,FfiConverterTypeHashedMessageBytes,FfiConverterTypeIdentifierCommitmentPair,FfiConverterTypeIdentifierPublicKeyPair,FfiConverterTypeIdentifierSignaturePair,FfiConverterTypeIncomingChange,FfiConverterTypeInputType,FfiConverterTypeKeySetConfig,FfiConverterTypeKeySetType,FfiConverterTypeLightningAddressDetails,FfiConverterTypeLightningAddressInfo,FfiConverterTypeListContactsRequest,FfiConverterTypeListFiatCurrenciesResponse,FfiConverterTypeListFiatRatesResponse,FfiConverterTypeListPaymentsRequest,FfiConverterTypeListPaymentsResponse,FfiConverterTypeListUnclaimedDepositsRequest,FfiConverterTypeListUnclaimedDepositsResponse,FfiConverterTypeLnurlAuthRequestDetails,FfiConverterTypeLnurlCallbackStatus,FfiConverterTypeLnurlErrorDetails,FfiConverterTypeLnurlInfo,FfiConverterTypeLnurlPayInfo,FfiConverterTypeLnurlPayRequest,FfiConverterTypeLnurlPayRequestDetails,FfiConverterTypeLnurlPayResponse,FfiConverterTypeLnurlReceiveMetadata,FfiConverterTypeLnurlWithdrawInfo,FfiConverterTypeLnurlWithdrawRequest,FfiConverterTypeLnurlWithdrawRequestDetails,FfiConverterTypeLnurlWithdrawResponse,FfiConverterTypeLocaleOverrides,FfiConverterTypeLocalizedName,FfiConverterTypeLogEntry,FfiConverterTypeMaxFee,FfiConverterTypeMessageBytes,FfiConverterTypeMessageSuccessActionData,FfiConverterTypeMintIssuerTokenRequest,FfiConverterTypeNetwork,FfiConverterTypeNostrRelayConfig,FfiConverterTypeOnchainConfirmationSpeed,FfiConverterTypeOptimizationConfig,FfiConverterTypeOptimizationEvent,FfiConverterTypeOptimizationProgress,FfiConverterTypeOutgoingChange,FfiConverterTypePasskey,FfiConverterTypePasskeyError,FfiConverterTypePasskeyPrfError,FfiConverterTypePasskeyPrfProvider,FfiConverterTypePayment,FfiConverterTypePaymentDetails,FfiConverterTypePaymentDetailsFilter,FfiConverterTypePaymentMetadata,FfiConverterTypePaymentMethod,FfiConverterTypePaymentObserver,FfiConverterTypePaymentObserverError,FfiConverterTypePaymentRequestSource,FfiConverterTypePaymentStatus,FfiConverterTypePaymentType,FfiConverterTypePrepareLnurlPayRequest,FfiConverterTypePrepareLnurlPayResponse,FfiConverterTypePrepareSendPaymentRequest,FfiConverterTypePrepareSendPaymentResponse,FfiConverterTypeProvisionalPayment,FfiConverterTypeProvisionalPaymentDetails,FfiConverterTypePublicKey,FfiConverterTypePublicKeyBytes,FfiConverterTypeRate,FfiConverterTypeReceivePaymentMethod,FfiConverterTypeReceivePaymentRequest,FfiConverterTypeReceivePaymentResponse,FfiConverterTypeRecommendedFees,FfiConverterTypeRecord,FfiConverterTypeRecordChange,FfiConverterTypeRecordId,FfiConverterTypeRecoverableEcdsaSignatureBytes,FfiConverterTypeRefundDepositRequest,FfiConverterTypeRefundDepositResponse,FfiConverterTypeRegisterLightningAddressRequest,FfiConverterTypeRegisterWebhookRequest,FfiConverterTypeRegisterWebhookResponse,FfiConverterTypeRestClient,FfiConverterTypeRestResponse,FfiConverterTypeSchnorrSignatureBytes,FfiConverterTypeSdkBuilder,FfiConverterTypeSdkError,FfiConverterTypeSdkEvent,FfiConverterTypeSecretBytes,FfiConverterTypeSeed,FfiConverterTypeSendOnchainFeeQuote,FfiConverterTypeSendOnchainSpeedFeeQuote,FfiConverterTypeSendPaymentMethod,FfiConverterTypeSendPaymentOptions,FfiConverterTypeSendPaymentRequest,FfiConverterTypeSendPaymentResponse,FfiConverterTypeServiceConnectivityError,FfiConverterTypeServiceStatus,FfiConverterTypeSession,FfiConverterTypeSessionManager,FfiConverterTypeSessionManagerError,FfiConverterTypeSetLnurlMetadataItem,FfiConverterTypeSignMessageRequest,FfiConverterTypeSignMessageResponse,FfiConverterTypeSignerError,FfiConverterTypeSilentPaymentAddressDetails,FfiConverterTypeSparkAddressDetails,FfiConverterTypeSparkConfig,FfiConverterTypeSparkHtlcDetails,FfiConverterTypeSparkHtlcOptions,FfiConverterTypeSparkHtlcStatus,FfiConverterTypeSparkInvoiceDetails,FfiConverterTypeSparkInvoicePaymentDetails,FfiConverterTypeSparkSigningOperator,FfiConverterTypeSparkSspConfig,FfiConverterTypeSparkStatus,FfiConverterTypeSspConnectionManager,FfiConverterTypeStableBalanceActiveLabel,FfiConverterTypeStableBalanceConfig,FfiConverterTypeStableBalanceToken,FfiConverterTypeStorage,FfiConverterTypeStorageError,FfiConverterTypeStorageListPaymentsRequest,FfiConverterTypeStoragePaymentDetailsFilter,FfiConverterTypeSuccessAction,FfiConverterTypeSuccessActionProcessed,FfiConverterTypeSymbol,FfiConverterTypeSyncWalletRequest,FfiConverterTypeSyncWalletResponse,FfiConverterTypeTokenBalance,FfiConverterTypeTokenIssuer,FfiConverterTypeTokenMetadata,FfiConverterTypeTokenTransactionType,FfiConverterTypeTxStatus,FfiConverterTypeUnfreezeIssuerTokenRequest,FfiConverterTypeUnfreezeIssuerTokenResponse,FfiConverterTypeUnregisterWebhookRequest,FfiConverterTypeUnversionedRecordChange,FfiConverterTypeUpdateContactRequest,FfiConverterTypeUpdateDepositPayload,FfiConverterTypeUpdateUserSettingsRequest,FfiConverterTypeUrlSuccessActionData,FfiConverterTypeUserSettings,FfiConverterTypeUtxo,FfiConverterTypeWallet,FfiConverterTypeWebhook,FfiConverterTypeWebhookEventType,FfiConverterTypeu128}});
3950
+ const scaffoldingContractVersion=(0,_breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_uniffi_contract_version();if(bindingsContractVersion!==scaffoldingContractVersion){throw new _uniffiBindgenReactNative.UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion,bindingsContractVersion);}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_connect()!==40345){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signer()!==1399){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect_with_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_default_config()!==62194){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_config');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signer()!==40694){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_external_signer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_func_default_server_config()!==33858){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_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()!==28438){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()!==37737){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_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_cancel_leaf_optimization()!==56996){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_cancel_leaf_optimization');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available()!==31624){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message()!==4385){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit()!==43529){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment()!==57587){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_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()!==330){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits()!==50958){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info()!==6771){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_leaf_optimization_progress()!==38008){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_leaf_optimization_progress');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address()!==36552){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment()!==11540){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer()!==26649){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata()!==40125){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings()!==38537){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_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_parse()!==14285){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_parse');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay()!==37691){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment()!==34185){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment()!==36984){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees()!==16947){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit()!==33646){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_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_start_leaf_optimization()!==44923){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_start_leaf_optimization');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet()!==30368){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_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_externalsigner_identity_public_key()!==62941){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_identity_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key()!==23137){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa()!==37648){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable()!==3107){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies()!==60224){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies()!==59601){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr()!==57220){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_hmac_sha256()!==57517){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_hmac_sha256');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment()!==31862){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node()!==37434){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_secret()!==26114){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_secret');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_encrypted()!==38925){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_encrypted');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret()!==45280){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key()!==62519){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secrets()!==45969){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secrets');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs()!==19489){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_for_receiver()!==51627){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_for_receiver');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret()!==53055){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost()!==20635){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost()!==53544){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost');}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_passkey_get_wallet()!==28830){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_get_wallet');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_is_available()!==31283){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_is_available');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_list_labels()!==5351){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_list_labels');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_store_label()!==42949){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_store_label');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_derive_prf_seed()!==44905){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_derive_prf_seed');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_is_prf_available()!==33931){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_is_prf_available');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send()!==30686){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_get_request()!==8260){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_get_request');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_post_request()!==24889){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_post_request');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_delete_request()!==51072){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_delete_request');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build()!==8126){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service()!==2848){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage()!==14543){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service()!==37854){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set()!==50052){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client()!==51060){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer()!==21617){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_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_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()!==59400){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sessionmanager_get_session()!==64481){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sessionmanager_get_session');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sessionmanager_set_session()!==55262){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sessionmanager_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_insert_payment()!==28075){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_payment');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_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_add_outgoing_change()!==1304){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()!==7860){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()!==30862){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()!==6931){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()!==59522){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()!==19643){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()!==28540){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()!==41369){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()!==18793){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_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_passkey_new()!==25404){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_passkey_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_method_eventlistener_on_event()!==24807){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event');}if((0,_breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_logger_log()!==11839){throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_logger_log');}uniffiCallbackInterfaceEventListener.register();uniffiCallbackInterfaceLogger.register();uniffiCallbackInterfaceBitcoinChainService.register();uniffiCallbackInterfaceExternalSigner.register();uniffiCallbackInterfaceFiatService.register();uniffiCallbackInterfacePasskeyPrfProvider.register();uniffiCallbackInterfacePaymentObserver.register();uniffiCallbackInterfaceRestClient.register();uniffiCallbackInterfaceSessionManager.register();uniffiCallbackInterfaceStorage.register();}var _default=exports.default=Object.freeze({initialize:uniffiEnsureInitialized,converters:{FfiConverterTypeAddContactRequest,FfiConverterTypeAesSuccessActionData,FfiConverterTypeAesSuccessActionDataDecrypted,FfiConverterTypeAesSuccessActionDataResult,FfiConverterTypeAmount,FfiConverterTypeAmountAdjustmentReason,FfiConverterTypeAssetFilter,FfiConverterTypeBip21Details,FfiConverterTypeBip21Extra,FfiConverterTypeBitcoinAddressDetails,FfiConverterTypeBitcoinChainService,FfiConverterTypeBitcoinNetwork,FfiConverterTypeBolt11Invoice,FfiConverterTypeBolt11InvoiceDetails,FfiConverterTypeBolt11RouteHint,FfiConverterTypeBolt11RouteHintHop,FfiConverterTypeBolt12Invoice,FfiConverterTypeBolt12InvoiceDetails,FfiConverterTypeBolt12InvoiceRequestDetails,FfiConverterTypeBolt12Offer,FfiConverterTypeBolt12OfferBlindedPath,FfiConverterTypeBolt12OfferDetails,FfiConverterTypeBreezSdk,FfiConverterTypeBurnIssuerTokenRequest,FfiConverterTypeBuyBitcoinRequest,FfiConverterTypeBuyBitcoinResponse,FfiConverterTypeChainApiType,FfiConverterTypeChainServiceError,FfiConverterTypeCheckLightningAddressRequest,FfiConverterTypeCheckMessageRequest,FfiConverterTypeCheckMessageResponse,FfiConverterTypeClaimDepositRequest,FfiConverterTypeClaimDepositResponse,FfiConverterTypeClaimHtlcPaymentRequest,FfiConverterTypeClaimHtlcPaymentResponse,FfiConverterTypeConfig,FfiConverterTypeConnectRequest,FfiConverterTypeConnectWithSignerRequest,FfiConverterTypeContact,FfiConverterTypeConversionDetails,FfiConverterTypeConversionEstimate,FfiConverterTypeConversionInfo,FfiConverterTypeConversionOptions,FfiConverterTypeConversionPurpose,FfiConverterTypeConversionStatus,FfiConverterTypeConversionStep,FfiConverterTypeConversionType,FfiConverterTypeCreateIssuerTokenRequest,FfiConverterTypeCredentials,FfiConverterTypeCurrencyInfo,FfiConverterTypeDepositClaimError,FfiConverterTypeDepositInfo,FfiConverterTypeEcdsaSignatureBytes,FfiConverterTypeExternalAggregateFrostRequest,FfiConverterTypeExternalEncryptedSecret,FfiConverterTypeExternalFrostCommitments,FfiConverterTypeExternalFrostSignature,FfiConverterTypeExternalFrostSignatureShare,FfiConverterTypeExternalIdentifier,FfiConverterTypeExternalInputParser,FfiConverterTypeExternalScalar,FfiConverterTypeExternalSecretShare,FfiConverterTypeExternalSecretSource,FfiConverterTypeExternalSecretToSplit,FfiConverterTypeExternalSignFrostRequest,FfiConverterTypeExternalSigner,FfiConverterTypeExternalSigningCommitments,FfiConverterTypeExternalTreeNodeId,FfiConverterTypeExternalVerifiableSecretShare,FfiConverterTypeFee,FfiConverterTypeFeePolicy,FfiConverterTypeFetchConversionLimitsRequest,FfiConverterTypeFetchConversionLimitsResponse,FfiConverterTypeFiatCurrency,FfiConverterTypeFiatService,FfiConverterTypeFreezeIssuerTokenRequest,FfiConverterTypeFreezeIssuerTokenResponse,FfiConverterTypeGetInfoRequest,FfiConverterTypeGetInfoResponse,FfiConverterTypeGetPaymentRequest,FfiConverterTypeGetPaymentResponse,FfiConverterTypeGetTokensMetadataRequest,FfiConverterTypeGetTokensMetadataResponse,FfiConverterTypeHashedMessageBytes,FfiConverterTypeIdentifierCommitmentPair,FfiConverterTypeIdentifierPublicKeyPair,FfiConverterTypeIdentifierSignaturePair,FfiConverterTypeIncomingChange,FfiConverterTypeInputType,FfiConverterTypeKeySetConfig,FfiConverterTypeKeySetType,FfiConverterTypeLeafOptimizationConfig,FfiConverterTypeLightningAddressDetails,FfiConverterTypeLightningAddressInfo,FfiConverterTypeListContactsRequest,FfiConverterTypeListFiatCurrenciesResponse,FfiConverterTypeListFiatRatesResponse,FfiConverterTypeListPaymentsRequest,FfiConverterTypeListPaymentsResponse,FfiConverterTypeListUnclaimedDepositsRequest,FfiConverterTypeListUnclaimedDepositsResponse,FfiConverterTypeLnurlAuthRequestDetails,FfiConverterTypeLnurlCallbackStatus,FfiConverterTypeLnurlErrorDetails,FfiConverterTypeLnurlInfo,FfiConverterTypeLnurlPayInfo,FfiConverterTypeLnurlPayRequest,FfiConverterTypeLnurlPayRequestDetails,FfiConverterTypeLnurlPayResponse,FfiConverterTypeLnurlReceiveMetadata,FfiConverterTypeLnurlWithdrawInfo,FfiConverterTypeLnurlWithdrawRequest,FfiConverterTypeLnurlWithdrawRequestDetails,FfiConverterTypeLnurlWithdrawResponse,FfiConverterTypeLocaleOverrides,FfiConverterTypeLocalizedName,FfiConverterTypeLogEntry,FfiConverterTypeMaxFee,FfiConverterTypeMessageBytes,FfiConverterTypeMessageSuccessActionData,FfiConverterTypeMintIssuerTokenRequest,FfiConverterTypeNetwork,FfiConverterTypeNostrRelayConfig,FfiConverterTypeOnchainConfirmationSpeed,FfiConverterTypeOptimizationEvent,FfiConverterTypeOptimizationProgress,FfiConverterTypeOutgoingChange,FfiConverterTypePasskey,FfiConverterTypePasskeyError,FfiConverterTypePasskeyPrfError,FfiConverterTypePasskeyPrfProvider,FfiConverterTypePayment,FfiConverterTypePaymentDetails,FfiConverterTypePaymentDetailsFilter,FfiConverterTypePaymentMetadata,FfiConverterTypePaymentMethod,FfiConverterTypePaymentObserver,FfiConverterTypePaymentObserverError,FfiConverterTypePaymentRequestSource,FfiConverterTypePaymentStatus,FfiConverterTypePaymentType,FfiConverterTypePrepareLnurlPayRequest,FfiConverterTypePrepareLnurlPayResponse,FfiConverterTypePrepareSendPaymentRequest,FfiConverterTypePrepareSendPaymentResponse,FfiConverterTypeProvisionalPayment,FfiConverterTypeProvisionalPaymentDetails,FfiConverterTypePublicKey,FfiConverterTypePublicKeyBytes,FfiConverterTypeRate,FfiConverterTypeReceivePaymentMethod,FfiConverterTypeReceivePaymentRequest,FfiConverterTypeReceivePaymentResponse,FfiConverterTypeRecommendedFees,FfiConverterTypeRecord,FfiConverterTypeRecordChange,FfiConverterTypeRecordId,FfiConverterTypeRecoverableEcdsaSignatureBytes,FfiConverterTypeRefundDepositRequest,FfiConverterTypeRefundDepositResponse,FfiConverterTypeRegisterLightningAddressRequest,FfiConverterTypeRegisterWebhookRequest,FfiConverterTypeRegisterWebhookResponse,FfiConverterTypeRestClient,FfiConverterTypeRestResponse,FfiConverterTypeSchnorrSignatureBytes,FfiConverterTypeSdkBuilder,FfiConverterTypeSdkContext,FfiConverterTypeSdkContextConfig,FfiConverterTypeSdkError,FfiConverterTypeSdkEvent,FfiConverterTypeSecretBytes,FfiConverterTypeSeed,FfiConverterTypeSendOnchainFeeQuote,FfiConverterTypeSendOnchainSpeedFeeQuote,FfiConverterTypeSendPaymentMethod,FfiConverterTypeSendPaymentOptions,FfiConverterTypeSendPaymentRequest,FfiConverterTypeSendPaymentResponse,FfiConverterTypeServiceConnectivityError,FfiConverterTypeServiceStatus,FfiConverterTypeSession,FfiConverterTypeSessionManager,FfiConverterTypeSessionManagerError,FfiConverterTypeSetLnurlMetadataItem,FfiConverterTypeSignMessageRequest,FfiConverterTypeSignMessageResponse,FfiConverterTypeSignerError,FfiConverterTypeSilentPaymentAddressDetails,FfiConverterTypeSparkAddressDetails,FfiConverterTypeSparkConfig,FfiConverterTypeSparkHtlcDetails,FfiConverterTypeSparkHtlcOptions,FfiConverterTypeSparkHtlcStatus,FfiConverterTypeSparkInvoiceDetails,FfiConverterTypeSparkInvoicePaymentDetails,FfiConverterTypeSparkSigningOperator,FfiConverterTypeSparkSspConfig,FfiConverterTypeSparkStatus,FfiConverterTypeStableBalanceActiveLabel,FfiConverterTypeStableBalanceConfig,FfiConverterTypeStableBalanceToken,FfiConverterTypeStorage,FfiConverterTypeStorageError,FfiConverterTypeStorageListPaymentsRequest,FfiConverterTypeStoragePaymentDetailsFilter,FfiConverterTypeSuccessAction,FfiConverterTypeSuccessActionProcessed,FfiConverterTypeSymbol,FfiConverterTypeSyncWalletRequest,FfiConverterTypeSyncWalletResponse,FfiConverterTypeTokenBalance,FfiConverterTypeTokenIssuer,FfiConverterTypeTokenMetadata,FfiConverterTypeTokenOptimizationConfig,FfiConverterTypeTokenTransactionType,FfiConverterTypeTxStatus,FfiConverterTypeUnfreezeIssuerTokenRequest,FfiConverterTypeUnfreezeIssuerTokenResponse,FfiConverterTypeUnregisterWebhookRequest,FfiConverterTypeUnversionedRecordChange,FfiConverterTypeUpdateContactRequest,FfiConverterTypeUpdateDepositPayload,FfiConverterTypeUpdateUserSettingsRequest,FfiConverterTypeUrlSuccessActionData,FfiConverterTypeUserSettings,FfiConverterTypeUtxo,FfiConverterTypeWallet,FfiConverterTypeWebhook,FfiConverterTypeWebhookEventType,FfiConverterTypeu128}});
3926
3951
  //# sourceMappingURL=breez_sdk_spark.js.map