@breeztech/breez-sdk-spark-react-native 0.11.0 → 0.12.2-dev1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cpp/generated/breez_sdk_spark.cpp +53 -54
- package/cpp/generated/breez_sdk_spark.hpp +4 -6
- package/lib/commonjs/generated/breez_sdk_spark.js +22 -22
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark.js +22 -22
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +5 -5
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts +35 -35
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts +5 -5
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts +35 -35
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/generated/breez_sdk_spark-ffi.ts +6 -6
- package/src/generated/breez_sdk_spark.ts +51 -51
|
@@ -1751,7 +1751,7 @@ const FfiConverterTypeLogger=new FfiConverterCallback();/**
|
|
|
1751
1751
|
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeUtxo=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{txid:FfiConverterString.read(from),vout:FfiConverterUInt32.read(from),value:FfiConverterUInt64.read(from),status:FfiConverterTypeTxStatus.read(from)};}write(value,into){FfiConverterString.write(value.txid,into);FfiConverterUInt32.write(value.vout,into);FfiConverterUInt64.write(value.value,into);FfiConverterTypeTxStatus.write(value.status,into);}allocationSize(value){return FfiConverterString.allocationSize(value.txid)+FfiConverterUInt32.allocationSize(value.vout)+FfiConverterUInt64.allocationSize(value.value)+FfiConverterTypeTxStatus.allocationSize(value.status);}}return new FFIConverter();})();/**
|
|
1752
1752
|
* A wallet derived from a passkey.
|
|
1753
1753
|
*
|
|
1754
|
-
* Contains the derived seed and the
|
|
1754
|
+
* Contains the derived seed and the label used during derivation.
|
|
1755
1755
|
*//**
|
|
1756
1756
|
* Generated factory for {@link Wallet} record objects.
|
|
1757
1757
|
*/export const Wallet=(()=>{const defaults=()=>({});const create=(()=>{return uniffiCreateRecord(defaults);})();return Object.freeze({/**
|
|
@@ -1762,7 +1762,7 @@ const FfiConverterTypeLogger=new FfiConverterCallback();/**
|
|
|
1762
1762
|
* in Rust, in the {@link breez_sdk_spark} crate.
|
|
1763
1763
|
*/new:create,/**
|
|
1764
1764
|
* Defaults specified in the {@link breez_sdk_spark} crate.
|
|
1765
|
-
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeWallet=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{seed:FfiConverterTypeSeed.read(from),
|
|
1765
|
+
*/defaults:()=>Object.freeze(defaults())});})();const FfiConverterTypeWallet=(()=>{class FFIConverter extends AbstractFfiConverterByteArray{read(from){return{seed:FfiConverterTypeSeed.read(from),label:FfiConverterString.read(from)};}write(value,into){FfiConverterTypeSeed.write(value.seed,into);FfiConverterString.write(value.label,into);}allocationSize(value){return FfiConverterTypeSeed.allocationSize(value.seed)+FfiConverterString.allocationSize(value.label);}}return new FFIConverter();})();const stringConverter={stringToBytes:s=>uniffiCaller.rustCall(status=>nativeModule().ubrn_uniffi_internal_fn_func_ffi__string_to_arraybuffer(s,status)),bytesToString:ab=>uniffiCaller.rustCall(status=>nativeModule().ubrn_uniffi_internal_fn_func_ffi__arraybuffer_to_string(ab,status)),stringByteLength:s=>uniffiCaller.rustCall(status=>nativeModule().ubrn_uniffi_internal_fn_func_ffi__string_to_byte_length(s,status))};const FfiConverterString=uniffiCreateFfiConverterString(stringConverter);/**
|
|
1766
1766
|
* Typealias from the type name used in the UDL file to the custom type. This
|
|
1767
1767
|
* is needed because the UDL type name is used in function/method signatures.
|
|
1768
1768
|
*/// FfiConverter for U128
|
|
@@ -3023,20 +3023,20 @@ FfiConverterTypeFiatService.drop(uniffiHandle);}},register:()=>{nativeModule().u
|
|
|
3023
3023
|
* Orchestrates passkey-based wallet creation and restore operations.
|
|
3024
3024
|
*
|
|
3025
3025
|
* This struct coordinates between the platform's passkey PRF provider and
|
|
3026
|
-
* Nostr relays to derive wallet mnemonics and manage
|
|
3026
|
+
* Nostr relays to derive wallet mnemonics and manage labels.
|
|
3027
3027
|
*
|
|
3028
3028
|
* The Nostr identity (derived from the passkey's magic salt) is cached after
|
|
3029
|
-
* the first derivation so that subsequent calls to [`Passkey::
|
|
3030
|
-
* and [`Passkey::
|
|
3029
|
+
* the first derivation so that subsequent calls to [`Passkey::list_labels`]
|
|
3030
|
+
* and [`Passkey::store_label`] do not require additional PRF interactions.
|
|
3031
3031
|
*//**
|
|
3032
3032
|
* Orchestrates passkey-based wallet creation and restore operations.
|
|
3033
3033
|
*
|
|
3034
3034
|
* This struct coordinates between the platform's passkey PRF provider and
|
|
3035
|
-
* Nostr relays to derive wallet mnemonics and manage
|
|
3035
|
+
* Nostr relays to derive wallet mnemonics and manage labels.
|
|
3036
3036
|
*
|
|
3037
3037
|
* The Nostr identity (derived from the passkey's magic salt) is cached after
|
|
3038
|
-
* the first derivation so that subsequent calls to [`Passkey::
|
|
3039
|
-
* and [`Passkey::
|
|
3038
|
+
* the first derivation so that subsequent calls to [`Passkey::list_labels`]
|
|
3039
|
+
* and [`Passkey::store_label`] do not require additional PRF interactions.
|
|
3040
3040
|
*/export class Passkey extends UniffiAbstractObject{[uniffiTypeNameSymbol]='Passkey';/**
|
|
3041
3041
|
* Create a new `Passkey` instance.
|
|
3042
3042
|
*
|
|
@@ -3044,33 +3044,33 @@ FfiConverterTypeFiatService.drop(uniffiHandle);}},register:()=>{nativeModule().u
|
|
|
3044
3044
|
* * `prf_provider` - Platform implementation of passkey PRF operations
|
|
3045
3045
|
* * `relay_config` - Optional configuration for Nostr relay connections (uses default if None)
|
|
3046
3046
|
*/constructor(prfProvider,relayConfig){super();const pointer=uniffiCaller.rustCall(/*caller:*/callStatus=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_constructor_passkey_new(FfiConverterTypePasskeyPrfProvider.lower(prfProvider),FfiConverterOptionalTypeNostrRelayConfig.lower(relayConfig),callStatus);},/*liftString:*/FfiConverterString.lift);this[pointerLiteralSymbol]=pointer;this[destructorGuardSymbol]=uniffiTypePasskeyObjectFactory.bless(pointer);}/**
|
|
3047
|
-
* Derive a wallet for a given
|
|
3047
|
+
* Derive a wallet for a given label.
|
|
3048
3048
|
*
|
|
3049
|
-
* Uses the passkey PRF to derive a
|
|
3050
|
-
* and returns it as a [`Wallet`] containing the seed and resolved
|
|
3049
|
+
* Uses the passkey PRF to derive a 12-word BIP39 mnemonic from the label
|
|
3050
|
+
* and returns it as a [`Wallet`] containing the seed and resolved label.
|
|
3051
3051
|
* This works for both creating a new wallet and restoring an existing one.
|
|
3052
3052
|
*
|
|
3053
3053
|
* # Arguments
|
|
3054
|
-
* * `
|
|
3055
|
-
* If `None`, defaults to [`
|
|
3056
|
-
*/async getWallet(
|
|
3054
|
+
* * `label` - A user-chosen label (e.g., "personal", "business").
|
|
3055
|
+
* If `None`, defaults to [`DEFAULT_LABEL`].
|
|
3056
|
+
*/async getWallet(label,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_passkey_get_wallet(uniffiTypePasskeyObjectFactory.clonePointer(this),FfiConverterOptionalString.lower(label));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterTypeWallet.lift.bind(FfiConverterTypeWallet),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypePasskeyError.lift.bind(FfiConverterTypePasskeyError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
3057
3057
|
* Check if passkey PRF is available on this device.
|
|
3058
3058
|
*
|
|
3059
3059
|
* Delegates to the platform's `PasskeyPrfProvider` implementation.
|
|
3060
3060
|
*/async isAvailable(asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_passkey_is_available(uniffiTypePasskeyObjectFactory.clonePointer(this));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_i8,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_i8,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_i8,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_i8,/*liftFunc:*/FfiConverterBool.lift.bind(FfiConverterBool),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypePasskeyError.lift.bind(FfiConverterTypePasskeyError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
3061
|
-
* List all
|
|
3061
|
+
* List all labels published to Nostr for this passkey's identity.
|
|
3062
3062
|
*
|
|
3063
|
-
* Queries Nostr relays for all
|
|
3063
|
+
* Queries Nostr relays for all labels associated with the Nostr identity
|
|
3064
3064
|
* derived from this passkey. Requires 1 PRF call.
|
|
3065
|
-
*/async
|
|
3066
|
-
* Publish a
|
|
3065
|
+
*/async listLabels(asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_passkey_list_labels(uniffiTypePasskeyObjectFactory.clonePointer(this));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer,/*liftFunc:*/FfiConverterArrayString.lift.bind(FfiConverterArrayString),/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypePasskeyError.lift.bind(FfiConverterTypePasskeyError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
3066
|
+
* Publish a label to Nostr relays for this passkey's identity.
|
|
3067
3067
|
*
|
|
3068
|
-
* Idempotent: if the
|
|
3068
|
+
* Idempotent: if the label already exists, it is not published again.
|
|
3069
3069
|
* Requires 1 PRF call.
|
|
3070
3070
|
*
|
|
3071
3071
|
* # Arguments
|
|
3072
|
-
* * `
|
|
3073
|
-
*/async
|
|
3072
|
+
* * `label` - A user-chosen label (e.g., "personal", "business")
|
|
3073
|
+
*/async storeLabel(label,asyncOpts_)/*throws*/{const __stack=uniffiIsDebug?new Error().stack:undefined;try{return await uniffiRustCallAsync(/*rustCaller:*/uniffiCaller,/*rustFutureFunc:*/()=>{return nativeModule().ubrn_uniffi_breez_sdk_spark_fn_method_passkey_store_label(uniffiTypePasskeyObjectFactory.clonePointer(this),FfiConverterString.lower(label));},/*pollFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_poll_void,/*cancelFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_cancel_void,/*completeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_complete_void,/*freeFunc:*/nativeModule().ubrn_ffi_breez_sdk_spark_rust_future_free_void,/*liftFunc:*/_v=>{},/*liftString:*/FfiConverterString.lift,/*asyncOpts:*/asyncOpts_,/*errorHandler:*/FfiConverterTypePasskeyError.lift.bind(FfiConverterTypePasskeyError));}catch(__error){if(uniffiIsDebug&&__error instanceof Error){__error.stack=__stack;}throw __error;}}/**
|
|
3074
3074
|
* {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
|
|
3075
3075
|
*/uniffiDestroy(){const ptr=this[destructorGuardSymbol];if(ptr!==undefined){const pointer=uniffiTypePasskeyObjectFactory.pointer(this);uniffiTypePasskeyObjectFactory.freePointer(pointer);uniffiTypePasskeyObjectFactory.unbless(ptr);delete this[destructorGuardSymbol];}}static instanceOf(obj){return uniffiTypePasskeyObjectFactory.isConcreteType(obj);}}const uniffiTypePasskeyObjectFactory={create(pointer){const instance=Object.create(Passkey.prototype);instance[pointerLiteralSymbol]=pointer;instance[destructorGuardSymbol]=this.bless(pointer);instance[uniffiTypeNameSymbol]='Passkey';return instance;},bless(p){return uniffiCaller.rustCall(/*caller:*/status=>nativeModule().ubrn_uniffi_internal_fn_method_passkey_ffi__bless_pointer(p,status),/*liftString:*/FfiConverterString.lift);},unbless(ptr){ptr.markDestroyed();},pointer(obj){if(obj[destructorGuardSymbol]===undefined){throw new UniffiInternalError.UnexpectedNullPointer();}return obj[pointerLiteralSymbol];},clonePointer(obj){const pointer=this.pointer(obj);return uniffiCaller.rustCall(/*caller:*/callStatus=>nativeModule().ubrn_uniffi_breez_sdk_spark_fn_clone_passkey(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},freePointer(pointer){uniffiCaller.rustCall(/*caller:*/callStatus=>nativeModule().ubrn_uniffi_breez_sdk_spark_fn_free_passkey(pointer,callStatus),/*liftString:*/FfiConverterString.lift);},isConcreteType(obj){return obj[destructorGuardSymbol]&&obj[uniffiTypeNameSymbol]==='Passkey';}};// FfiConverter for PasskeyInterface
|
|
3076
3076
|
const FfiConverterTypePasskey=new FfiConverterObject(uniffiTypePasskeyObjectFactory);/**
|
|
@@ -3557,5 +3557,5 @@ const FfiConverterOptionalArrayTypeStoragePaymentDetailsFilter=new FfiConverterO
|
|
|
3557
3557
|
* It also initializes the machinery to enable Rust to talk back to Javascript.
|
|
3558
3558
|
*/function uniffiEnsureInitialized(){// Get the bindings contract version from our ComponentInterface
|
|
3559
3559
|
const bindingsContractVersion=26;// Get the scaffolding contract version by calling the into the dylib
|
|
3560
|
-
const scaffoldingContractVersion=nativeModule().ubrn_ffi_breez_sdk_spark_uniffi_contract_version();if(bindingsContractVersion!==scaffoldingContractVersion){throw new UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion,bindingsContractVersion);}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_connect()!==40345){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signer()!==1399){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect_with_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_default_config()!==62194){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_config');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signer()!==40694){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_external_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_get_spark_status()!==62888){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_get_spark_status');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_init_logging()!==8518){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_init_logging');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos()!==20959){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status()!==23018){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex()!==59376){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction()!==65179){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees()!==43230){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact()!==26497){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener()!==37737){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin()!==32150){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_cancel_leaf_optimization()!==56996){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_cancel_leaf_optimization');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available()!==31624){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message()!==4385){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit()!==43529){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment()!==57587){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact()!==15670){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address()!==44132){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect()!==330){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits()!==50958){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info()!==6771){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_leaf_optimization_progress()!==38008){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_leaf_optimization_progress');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address()!==36552){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment()!==11540){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer()!==26649){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata()!==40125){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings()!==38537){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts()!==2729){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies()!==63366){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates()!==5904){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments()!==39170){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits()!==22486){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth()!==125){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay()!==10147){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw()!==45652){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_parse()!==14285){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_parse');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay()!==37691){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment()!==34185){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment()!==36984){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees()!==16947){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit()!==33646){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address()!==530){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener()!==41066){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment()!==54349){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message()!==57563){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_start_leaf_optimization()!==22827){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_start_leaf_optimization');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet()!==30368){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact()!==21170){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings()!==1721){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_identity_public_key()!==62941){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_identity_public_key');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key()!==23137){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa()!==37648){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable()!==3107){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies()!==60224){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies()!==59601){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr()!==57220){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_hmac_sha256()!==57517){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_hmac_sha256');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment()!==31862){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node()!==37434){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_secret()!==26114){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_secret');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_encrypted()!==38925){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_encrypted');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret()!==45280){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key()!==62519){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secrets()!==45969){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secrets');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs()!==19489){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_for_receiver()!==51627){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_for_receiver');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret()!==53055){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost()!==20635){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost()!==53544){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies()!==19092){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates()!==11512){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_get_wallet()!==499){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_get_wallet');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_is_available()!==31283){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_is_available');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_list_wallet_names()!==37080){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_list_wallet_names');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_store_wallet_name()!==2664){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_store_wallet_name');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_derive_prf_seed()!==44905){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_derive_prf_seed');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_is_prf_available()!==33931){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_is_prf_available');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send()!==30686){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_get_request()!==8260){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_get_request');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_post_request()!==24889){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_post_request');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_delete_request()!==51072){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_delete_request');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build()!==8126){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service()!==2848){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage()!==14543){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service()!==37854){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set()!==50052){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client()!==51060){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer()!==21617){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service()!==63155){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage()!==59400){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item()!==6883){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item()!==30248){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item()!==7970){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_payments()!==51078){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_payments');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment()!==28075){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata()!==32757){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id()!==35394){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice()!==57075){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payments_by_parent_ids()!==10948){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payments_by_parent_ids');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_deposit()!==13181){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_add_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit()!==28477){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_deposits()!==62636){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_deposits');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_deposit()!==18714){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_update_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata()!==64210){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_contacts()!==10490){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_contacts');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_contact()!==19980){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_contact()!==38342){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_contact()!==50274){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change()!==1304){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync()!==7860){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes()!==30862){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_last_revision()!==6931){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_last_revision');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_incoming_records()!==59522){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_incoming_records');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_incoming_record()!==19643){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_incoming_record');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records()!==28540){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change()!==41369){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming()!==18793){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token()!==56056){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token()!==33277){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token()!==32344){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_balance()!==9758){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_balance');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata()!==57707){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token()!==36459){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token()!==65025){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_constructor_passkey_new()!==25404){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_passkey_new');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new()!==65435){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event()!==24807){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_logger_log()!==11839){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_logger_log');}uniffiCallbackInterfaceEventListener.register();uniffiCallbackInterfaceLogger.register();uniffiCallbackInterfaceBitcoinChainService.register();uniffiCallbackInterfaceExternalSigner.register();uniffiCallbackInterfaceFiatService.register();uniffiCallbackInterfacePasskeyPrfProvider.register();uniffiCallbackInterfacePaymentObserver.register();uniffiCallbackInterfaceRestClient.register();uniffiCallbackInterfaceStorage.register();}export default Object.freeze({initialize:uniffiEnsureInitialized,converters:{FfiConverterTypeAddContactRequest,FfiConverterTypeAesSuccessActionData,FfiConverterTypeAesSuccessActionDataDecrypted,FfiConverterTypeAesSuccessActionDataResult,FfiConverterTypeAmount,FfiConverterTypeAssetFilter,FfiConverterTypeBip21Details,FfiConverterTypeBip21Extra,FfiConverterTypeBitcoinAddressDetails,FfiConverterTypeBitcoinChainService,FfiConverterTypeBitcoinNetwork,FfiConverterTypeBolt11Invoice,FfiConverterTypeBolt11InvoiceDetails,FfiConverterTypeBolt11RouteHint,FfiConverterTypeBolt11RouteHintHop,FfiConverterTypeBolt12Invoice,FfiConverterTypeBolt12InvoiceDetails,FfiConverterTypeBolt12InvoiceRequestDetails,FfiConverterTypeBolt12Offer,FfiConverterTypeBolt12OfferBlindedPath,FfiConverterTypeBolt12OfferDetails,FfiConverterTypeBreezSdk,FfiConverterTypeBurnIssuerTokenRequest,FfiConverterTypeBuyBitcoinRequest,FfiConverterTypeBuyBitcoinResponse,FfiConverterTypeChainApiType,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,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,FfiConverterTypePasskeyPrfProvider,FfiConverterTypePayment,FfiConverterTypePaymentDetails,FfiConverterTypePaymentDetailsFilter,FfiConverterTypePaymentMetadata,FfiConverterTypePaymentMethod,FfiConverterTypePaymentObserver,FfiConverterTypePaymentRequestSource,FfiConverterTypePaymentStatus,FfiConverterTypePaymentType,FfiConverterTypePrepareLnurlPayRequest,FfiConverterTypePrepareLnurlPayResponse,FfiConverterTypePrepareSendPaymentRequest,FfiConverterTypePrepareSendPaymentResponse,FfiConverterTypeProvisionalPayment,FfiConverterTypeProvisionalPaymentDetails,FfiConverterTypePublicKeyBytes,FfiConverterTypeRate,FfiConverterTypeReceivePaymentMethod,FfiConverterTypeReceivePaymentRequest,FfiConverterTypeReceivePaymentResponse,FfiConverterTypeRecommendedFees,FfiConverterTypeRecord,FfiConverterTypeRecordChange,FfiConverterTypeRecordId,FfiConverterTypeRecoverableEcdsaSignatureBytes,FfiConverterTypeRefundDepositRequest,FfiConverterTypeRefundDepositResponse,FfiConverterTypeRegisterLightningAddressRequest,FfiConverterTypeRestClient,FfiConverterTypeRestResponse,FfiConverterTypeSchnorrSignatureBytes,FfiConverterTypeSdkBuilder,FfiConverterTypeSdkEvent,FfiConverterTypeSecretBytes,FfiConverterTypeSeed,FfiConverterTypeSendOnchainFeeQuote,FfiConverterTypeSendOnchainSpeedFeeQuote,FfiConverterTypeSendPaymentMethod,FfiConverterTypeSendPaymentOptions,FfiConverterTypeSendPaymentRequest,FfiConverterTypeSendPaymentResponse,FfiConverterTypeServiceStatus,FfiConverterTypeSetLnurlMetadataItem,FfiConverterTypeSignMessageRequest,FfiConverterTypeSignMessageResponse,FfiConverterTypeSilentPaymentAddressDetails,FfiConverterTypeSparkAddressDetails,FfiConverterTypeSparkHtlcDetails,FfiConverterTypeSparkHtlcOptions,FfiConverterTypeSparkHtlcStatus,FfiConverterTypeSparkInvoiceDetails,FfiConverterTypeSparkInvoicePaymentDetails,FfiConverterTypeSparkStatus,FfiConverterTypeStableBalanceConfig,FfiConverterTypeStorage,FfiConverterTypeStorageListPaymentsRequest,FfiConverterTypeStoragePaymentDetailsFilter,FfiConverterTypeSuccessAction,FfiConverterTypeSuccessActionProcessed,FfiConverterTypeSymbol,FfiConverterTypeSyncWalletRequest,FfiConverterTypeSyncWalletResponse,FfiConverterTypeTokenBalance,FfiConverterTypeTokenIssuer,FfiConverterTypeTokenMetadata,FfiConverterTypeTokenTransactionType,FfiConverterTypeTxStatus,FfiConverterTypeUnfreezeIssuerTokenRequest,FfiConverterTypeUnfreezeIssuerTokenResponse,FfiConverterTypeUnversionedRecordChange,FfiConverterTypeUpdateContactRequest,FfiConverterTypeUpdateDepositPayload,FfiConverterTypeUpdateUserSettingsRequest,FfiConverterTypeUrlSuccessActionData,FfiConverterTypeUserSettings,FfiConverterTypeUtxo,FfiConverterTypeWallet,FfiConverterTypeu128}});
|
|
3560
|
+
const scaffoldingContractVersion=nativeModule().ubrn_ffi_breez_sdk_spark_uniffi_contract_version();if(bindingsContractVersion!==scaffoldingContractVersion){throw new UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion,bindingsContractVersion);}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_connect()!==40345){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signer()!==1399){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_connect_with_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_default_config()!==62194){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_config');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signer()!==40694){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_default_external_signer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_get_spark_status()!==62888){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_get_spark_status');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_func_init_logging()!==8518){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_func_init_logging');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos()!==20959){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status()!==23018){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex()!==59376){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction()!==65179){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees()!==43230){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact()!==26497){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener()!==37737){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin()!==32150){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_cancel_leaf_optimization()!==56996){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_cancel_leaf_optimization');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available()!==31624){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message()!==4385){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit()!==43529){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment()!==57587){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact()!==15670){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address()!==44132){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect()!==330){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits()!==50958){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info()!==6771){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_leaf_optimization_progress()!==38008){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_leaf_optimization_progress');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address()!==36552){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment()!==11540){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer()!==26649){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata()!==40125){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings()!==38537){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts()!==2729){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies()!==63366){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates()!==5904){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments()!==39170){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits()!==22486){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth()!==125){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay()!==10147){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw()!==45652){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_parse()!==14285){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_parse');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay()!==37691){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment()!==34185){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment()!==36984){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees()!==16947){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit()!==33646){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address()!==530){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener()!==41066){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment()!==54349){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message()!==57563){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_start_leaf_optimization()!==22827){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_start_leaf_optimization');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet()!==30368){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact()!==21170){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings()!==1721){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_identity_public_key()!==62941){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_identity_public_key');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key()!==23137){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa()!==37648){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable()!==3107){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies()!==60224){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies()!==59601){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr()!==57220){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_hmac_sha256()!==57517){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_hmac_sha256');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment()!==31862){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node()!==37434){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_secret()!==26114){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_secret');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_encrypted()!==38925){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_encrypted');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret()!==45280){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key()!==62519){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secrets()!==45969){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secrets');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs()!==19489){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_for_receiver()!==51627){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_for_receiver');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret()!==53055){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost()!==20635){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost()!==53544){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies()!==19092){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates()!==11512){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_get_wallet()!==28830){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_get_wallet');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_is_available()!==31283){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_is_available');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_list_labels()!==5351){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_list_labels');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_store_label()!==42949){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkey_store_label');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_derive_prf_seed()!==44905){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_derive_prf_seed');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_is_prf_available()!==33931){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_is_prf_available');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send()!==30686){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_get_request()!==8260){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_get_request');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_post_request()!==24889){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_post_request');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_delete_request()!==51072){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_restclient_delete_request');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build()!==8126){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service()!==2848){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage()!==14543){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service()!==37854){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set()!==50052){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client()!==51060){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer()!==21617){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service()!==63155){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage()!==59400){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item()!==6883){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item()!==30248){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item()!==7970){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_payments()!==51078){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_payments');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment()!==28075){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_payment');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata()!==32757){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id()!==35394){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice()!==57075){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payments_by_parent_ids()!==10948){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payments_by_parent_ids');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_deposit()!==13181){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_add_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit()!==28477){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_deposits()!==62636){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_deposits');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_deposit()!==18714){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_update_deposit');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata()!==64210){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_contacts()!==10490){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_contacts');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_contact()!==19980){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_contact()!==38342){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_contact()!==50274){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_contact');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change()!==1304){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync()!==7860){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes()!==30862){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_last_revision()!==6931){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_last_revision');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_incoming_records()!==59522){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_insert_incoming_records');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_incoming_record()!==19643){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_incoming_record');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records()!==28540){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change()!==41369){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming()!==18793){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token()!==56056){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token()!==33277){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token()!==32344){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_balance()!==9758){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_balance');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata()!==57707){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token()!==36459){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token()!==65025){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_constructor_passkey_new()!==25404){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_passkey_new');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new()!==65435){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event()!==24807){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event');}if(nativeModule().ubrn_uniffi_breez_sdk_spark_checksum_method_logger_log()!==11839){throw new UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_logger_log');}uniffiCallbackInterfaceEventListener.register();uniffiCallbackInterfaceLogger.register();uniffiCallbackInterfaceBitcoinChainService.register();uniffiCallbackInterfaceExternalSigner.register();uniffiCallbackInterfaceFiatService.register();uniffiCallbackInterfacePasskeyPrfProvider.register();uniffiCallbackInterfacePaymentObserver.register();uniffiCallbackInterfaceRestClient.register();uniffiCallbackInterfaceStorage.register();}export default Object.freeze({initialize:uniffiEnsureInitialized,converters:{FfiConverterTypeAddContactRequest,FfiConverterTypeAesSuccessActionData,FfiConverterTypeAesSuccessActionDataDecrypted,FfiConverterTypeAesSuccessActionDataResult,FfiConverterTypeAmount,FfiConverterTypeAssetFilter,FfiConverterTypeBip21Details,FfiConverterTypeBip21Extra,FfiConverterTypeBitcoinAddressDetails,FfiConverterTypeBitcoinChainService,FfiConverterTypeBitcoinNetwork,FfiConverterTypeBolt11Invoice,FfiConverterTypeBolt11InvoiceDetails,FfiConverterTypeBolt11RouteHint,FfiConverterTypeBolt11RouteHintHop,FfiConverterTypeBolt12Invoice,FfiConverterTypeBolt12InvoiceDetails,FfiConverterTypeBolt12InvoiceRequestDetails,FfiConverterTypeBolt12Offer,FfiConverterTypeBolt12OfferBlindedPath,FfiConverterTypeBolt12OfferDetails,FfiConverterTypeBreezSdk,FfiConverterTypeBurnIssuerTokenRequest,FfiConverterTypeBuyBitcoinRequest,FfiConverterTypeBuyBitcoinResponse,FfiConverterTypeChainApiType,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,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,FfiConverterTypePasskeyPrfProvider,FfiConverterTypePayment,FfiConverterTypePaymentDetails,FfiConverterTypePaymentDetailsFilter,FfiConverterTypePaymentMetadata,FfiConverterTypePaymentMethod,FfiConverterTypePaymentObserver,FfiConverterTypePaymentRequestSource,FfiConverterTypePaymentStatus,FfiConverterTypePaymentType,FfiConverterTypePrepareLnurlPayRequest,FfiConverterTypePrepareLnurlPayResponse,FfiConverterTypePrepareSendPaymentRequest,FfiConverterTypePrepareSendPaymentResponse,FfiConverterTypeProvisionalPayment,FfiConverterTypeProvisionalPaymentDetails,FfiConverterTypePublicKeyBytes,FfiConverterTypeRate,FfiConverterTypeReceivePaymentMethod,FfiConverterTypeReceivePaymentRequest,FfiConverterTypeReceivePaymentResponse,FfiConverterTypeRecommendedFees,FfiConverterTypeRecord,FfiConverterTypeRecordChange,FfiConverterTypeRecordId,FfiConverterTypeRecoverableEcdsaSignatureBytes,FfiConverterTypeRefundDepositRequest,FfiConverterTypeRefundDepositResponse,FfiConverterTypeRegisterLightningAddressRequest,FfiConverterTypeRestClient,FfiConverterTypeRestResponse,FfiConverterTypeSchnorrSignatureBytes,FfiConverterTypeSdkBuilder,FfiConverterTypeSdkEvent,FfiConverterTypeSecretBytes,FfiConverterTypeSeed,FfiConverterTypeSendOnchainFeeQuote,FfiConverterTypeSendOnchainSpeedFeeQuote,FfiConverterTypeSendPaymentMethod,FfiConverterTypeSendPaymentOptions,FfiConverterTypeSendPaymentRequest,FfiConverterTypeSendPaymentResponse,FfiConverterTypeServiceStatus,FfiConverterTypeSetLnurlMetadataItem,FfiConverterTypeSignMessageRequest,FfiConverterTypeSignMessageResponse,FfiConverterTypeSilentPaymentAddressDetails,FfiConverterTypeSparkAddressDetails,FfiConverterTypeSparkHtlcDetails,FfiConverterTypeSparkHtlcOptions,FfiConverterTypeSparkHtlcStatus,FfiConverterTypeSparkInvoiceDetails,FfiConverterTypeSparkInvoicePaymentDetails,FfiConverterTypeSparkStatus,FfiConverterTypeStableBalanceConfig,FfiConverterTypeStorage,FfiConverterTypeStorageListPaymentsRequest,FfiConverterTypeStoragePaymentDetailsFilter,FfiConverterTypeSuccessAction,FfiConverterTypeSuccessActionProcessed,FfiConverterTypeSymbol,FfiConverterTypeSyncWalletRequest,FfiConverterTypeSyncWalletResponse,FfiConverterTypeTokenBalance,FfiConverterTypeTokenIssuer,FfiConverterTypeTokenMetadata,FfiConverterTypeTokenTransactionType,FfiConverterTypeTxStatus,FfiConverterTypeUnfreezeIssuerTokenRequest,FfiConverterTypeUnfreezeIssuerTokenResponse,FfiConverterTypeUnversionedRecordChange,FfiConverterTypeUpdateContactRequest,FfiConverterTypeUpdateDepositPayload,FfiConverterTypeUpdateUserSettingsRequest,FfiConverterTypeUrlSuccessActionData,FfiConverterTypeUserSettings,FfiConverterTypeUtxo,FfiConverterTypeWallet,FfiConverterTypeu128}});
|
|
3561
3561
|
//# sourceMappingURL=breez_sdk_spark.js.map
|