@breeztech/breez-sdk-spark-react-native 0.15.1 → 0.17.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.
Files changed (29) hide show
  1. package/cpp/generated/breez_sdk_spark.cpp +5561 -2579
  2. package/cpp/generated/breez_sdk_spark.hpp +285 -108
  3. package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
  4. package/lib/commonjs/generated/breez_sdk_spark.js +1631 -634
  5. package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
  6. package/lib/commonjs/passkey-prf-provider.js +300 -0
  7. package/lib/commonjs/passkey-prf-provider.js.map +1 -0
  8. package/lib/module/generated/breez_sdk_spark-ffi.js.map +1 -1
  9. package/lib/module/generated/breez_sdk_spark.js +1631 -634
  10. package/lib/module/generated/breez_sdk_spark.js.map +1 -1
  11. package/lib/module/passkey-prf-provider.js +293 -0
  12. package/lib/module/passkey-prf-provider.js.map +1 -0
  13. package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +230 -157
  14. package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
  15. package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts +9187 -4938
  16. package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
  17. package/lib/typescript/commonjs/src/passkey-prf-provider.d.ts +135 -0
  18. package/lib/typescript/commonjs/src/passkey-prf-provider.d.ts.map +1 -0
  19. package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts +230 -157
  20. package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
  21. package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts +9187 -4938
  22. package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
  23. package/lib/typescript/module/src/passkey-prf-provider.d.ts +135 -0
  24. package/lib/typescript/module/src/passkey-prf-provider.d.ts.map +1 -0
  25. package/package.json +17 -5
  26. package/scripts/post-ubrn.js +227 -0
  27. package/src/generated/breez_sdk_spark-ffi.ts +426 -215
  28. package/src/generated/breez_sdk_spark.ts +16695 -8325
  29. package/src/passkey-prf-provider.ts +372 -0
@@ -15,18 +15,19 @@ interface NativeModuleInterface {
15
15
  ubrn_uniffi_breez_sdk_spark_fn_free_breezsdk(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
16
16
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_add_contact(ptr: bigint, request: Uint8Array): bigint;
17
17
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_add_event_listener(ptr: bigint, listener: bigint): bigint;
18
+ ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_authorize_lightning_address_transfer(ptr: bigint, request: Uint8Array): bigint;
18
19
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_buy_bitcoin(ptr: bigint, request: Uint8Array): bigint;
19
- ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_cancel_leaf_optimization(ptr: bigint): bigint;
20
20
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_check_lightning_address_available(ptr: bigint, req: Uint8Array): bigint;
21
21
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_check_message(ptr: bigint, request: Uint8Array): bigint;
22
22
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_claim_deposit(ptr: bigint, request: Uint8Array): bigint;
23
23
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_claim_htlc_payment(ptr: bigint, request: Uint8Array): bigint;
24
+ ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_claim_lightning_address_transfer(ptr: bigint, request: Uint8Array): bigint;
24
25
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_delete_contact(ptr: bigint, id: Uint8Array): bigint;
25
26
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_delete_lightning_address(ptr: bigint): bigint;
26
27
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_disconnect(ptr: bigint): bigint;
27
28
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_fetch_conversion_limits(ptr: bigint, request: Uint8Array): bigint;
29
+ ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_cross_chain_routes(ptr: bigint, filter: Uint8Array): bigint;
28
30
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_info(ptr: bigint, request: Uint8Array): bigint;
29
- ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_leaf_optimization_progress(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
30
31
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_lightning_address(ptr: bigint): bigint;
31
32
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_payment(ptr: bigint, request: Uint8Array): bigint;
32
33
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_token_issuer(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
@@ -41,6 +42,7 @@ interface NativeModuleInterface {
41
42
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_lnurl_auth(ptr: bigint, requestData: Uint8Array): bigint;
42
43
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_lnurl_pay(ptr: bigint, request: Uint8Array): bigint;
43
44
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_lnurl_withdraw(ptr: bigint, request: Uint8Array): bigint;
45
+ ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_optimize_leaves(ptr: bigint, request: Uint8Array): bigint;
44
46
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_parse(ptr: bigint, input: Uint8Array): bigint;
45
47
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_lnurl_pay(ptr: bigint, request: Uint8Array): bigint;
46
48
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_payment(ptr: bigint, request: Uint8Array): bigint;
@@ -53,55 +55,69 @@ interface NativeModuleInterface {
53
55
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_remove_event_listener(ptr: bigint, id: Uint8Array): bigint;
54
56
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_send_payment(ptr: bigint, request: Uint8Array): bigint;
55
57
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_sign_message(ptr: bigint, request: Uint8Array): bigint;
56
- ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_start_leaf_optimization(ptr: bigint): bigint;
57
58
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_sync_wallet(ptr: bigint, request: Uint8Array): bigint;
58
59
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_unregister_webhook(ptr: bigint, request: Uint8Array): bigint;
59
60
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_update_contact(ptr: bigint, request: Uint8Array): bigint;
60
61
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_update_user_settings(ptr: bigint, request: Uint8Array): bigint;
61
- ubrn_uniffi_breez_sdk_spark_fn_clone_externalsigner(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
62
- ubrn_uniffi_breez_sdk_spark_fn_free_externalsigner(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
63
- ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalsigner(vtable: UniffiVTableCallbackInterfaceExternalSigner): void;
64
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_identity_public_key(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
65
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_derive_public_key(ptr: bigint, path: Uint8Array): bigint;
66
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_ecdsa(ptr: bigint, message: Uint8Array, path: Uint8Array): bigint;
67
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_ecdsa_recoverable(ptr: bigint, message: Uint8Array, path: Uint8Array): bigint;
68
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_ecies(ptr: bigint, message: Uint8Array, path: Uint8Array): bigint;
69
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_decrypt_ecies(ptr: bigint, message: Uint8Array, path: Uint8Array): bigint;
70
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_hash_schnorr(ptr: bigint, hash: Uint8Array, path: Uint8Array): bigint;
71
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_hmac_sha256(ptr: bigint, message: Uint8Array, path: Uint8Array): bigint;
72
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_signing_commitment(ptr: bigint): bigint;
73
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_for_node(ptr: bigint, id: Uint8Array): bigint;
74
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_secret(ptr: bigint): bigint;
75
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_encrypted(ptr: bigint, index: number): bigint;
76
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret(ptr: bigint, index: number): bigint;
77
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_signing_key(ptr: bigint, index: number): bigint;
78
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secrets(ptr: bigint, signingKey: Uint8Array, newSigningKey: Uint8Array): bigint;
79
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret_with_proofs(ptr: bigint, secret: Uint8Array, threshold: number, numShares: number): bigint;
80
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_for_receiver(ptr: bigint, encryptedSecret: Uint8Array, receiverPublicKey: Uint8Array): bigint;
81
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_secret(ptr: bigint, secret: Uint8Array): bigint;
82
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_frost(ptr: bigint, request: Uint8Array): bigint;
83
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost(ptr: bigint, request: Uint8Array): bigint;
62
+ ubrn_uniffi_breez_sdk_spark_fn_clone_externalbreezsigner(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
63
+ ubrn_uniffi_breez_sdk_spark_fn_free_externalbreezsigner(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
64
+ ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalbreezsigner(vtable: UniffiVTableCallbackInterfaceExternalBreezSigner): void;
65
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_derive_public_key(ptr: bigint, path: Uint8Array): bigint;
66
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_sign_ecdsa(ptr: bigint, message: Uint8Array, path: Uint8Array): bigint;
67
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_sign_ecdsa_recoverable(ptr: bigint, message: Uint8Array, path: Uint8Array): bigint;
68
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_encrypt_ecies(ptr: bigint, message: Uint8Array, path: Uint8Array): bigint;
69
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_decrypt_ecies(ptr: bigint, message: Uint8Array, path: Uint8Array): bigint;
70
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_sign_hash_schnorr(ptr: bigint, hash: Uint8Array, path: Uint8Array): bigint;
71
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_hmac_sha256(ptr: bigint, message: Uint8Array, path: Uint8Array): bigint;
72
+ ubrn_uniffi_breez_sdk_spark_fn_clone_externalsparksigner(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
73
+ ubrn_uniffi_breez_sdk_spark_fn_free_externalsparksigner(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
74
+ ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalsparksigner(vtable: UniffiVTableCallbackInterfaceExternalSparkSigner): void;
75
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_get_identity_public_key(ptr: bigint): bigint;
76
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_get_public_key_for_leaf(ptr: bigint, leafId: Uint8Array): bigint;
77
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_get_static_deposit_public_key(ptr: bigint, index: number): bigint;
78
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_authentication_challenge(ptr: bigint, challenge: Uint8Array): bigint;
79
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_message(ptr: bigint, message: Uint8Array): bigint;
80
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_frost(ptr: bigint, jobs: Uint8Array): bigint;
81
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_transfer(ptr: bigint, request: Uint8Array): bigint;
82
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_claim(ptr: bigint, request: Uint8Array): bigint;
83
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_lightning_receive(ptr: bigint, request: Uint8Array): bigint;
84
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_static_deposit(ptr: bigint, request: Uint8Array): bigint;
85
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_start_static_deposit_refund(ptr: bigint, request: Uint8Array): bigint;
86
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_static_deposit_refund(ptr: bigint, request: Uint8Array): bigint;
87
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_spark_invoice(ptr: bigint, request: Uint8Array): bigint;
88
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_token_transaction(ptr: bigint, request: Uint8Array): bigint;
89
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_static_deposit_claim(ptr: bigint, request: Uint8Array): bigint;
84
90
  ubrn_uniffi_breez_sdk_spark_fn_clone_fiatservice(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
85
91
  ubrn_uniffi_breez_sdk_spark_fn_free_fiatservice(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
86
92
  ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_fiatservice(vtable: UniffiVTableCallbackInterfaceFiatService): void;
87
93
  ubrn_uniffi_breez_sdk_spark_fn_method_fiatservice_fetch_fiat_currencies(ptr: bigint): bigint;
88
94
  ubrn_uniffi_breez_sdk_spark_fn_method_fiatservice_fetch_fiat_rates(ptr: bigint): bigint;
89
- ubrn_uniffi_breez_sdk_spark_fn_clone_passkey(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
90
- ubrn_uniffi_breez_sdk_spark_fn_free_passkey(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
91
- ubrn_uniffi_breez_sdk_spark_fn_constructor_passkey_new(prfProvider: bigint, relayConfig: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
92
- ubrn_uniffi_breez_sdk_spark_fn_method_passkey_get_wallet(ptr: bigint, label: Uint8Array): bigint;
93
- ubrn_uniffi_breez_sdk_spark_fn_method_passkey_is_available(ptr: bigint): bigint;
94
- ubrn_uniffi_breez_sdk_spark_fn_method_passkey_list_labels(ptr: bigint): bigint;
95
- ubrn_uniffi_breez_sdk_spark_fn_method_passkey_store_label(ptr: bigint, label: Uint8Array): bigint;
96
- ubrn_uniffi_breez_sdk_spark_fn_clone_passkeyprfprovider(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
97
- ubrn_uniffi_breez_sdk_spark_fn_free_passkeyprfprovider(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
98
- ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_passkeyprfprovider(vtable: UniffiVTableCallbackInterfacePasskeyPrfProvider): void;
99
- ubrn_uniffi_breez_sdk_spark_fn_method_passkeyprfprovider_derive_prf_seed(ptr: bigint, salt: Uint8Array): bigint;
100
- ubrn_uniffi_breez_sdk_spark_fn_method_passkeyprfprovider_is_prf_available(ptr: bigint): bigint;
95
+ ubrn_uniffi_breez_sdk_spark_fn_clone_passkeyclient(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
96
+ ubrn_uniffi_breez_sdk_spark_fn_free_passkeyclient(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
97
+ ubrn_uniffi_breez_sdk_spark_fn_constructor_passkeyclient_new(prfProvider: bigint, breezApiKey: Uint8Array, config: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
98
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_check_availability(ptr: bigint): bigint;
99
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_connect_with_passkey(ptr: bigint, request: Uint8Array): bigint;
100
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_labels(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
101
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_register(ptr: bigint, request: Uint8Array): bigint;
102
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_sign_in(ptr: bigint, request: Uint8Array): bigint;
103
+ ubrn_uniffi_breez_sdk_spark_fn_clone_passkeylabels(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
104
+ ubrn_uniffi_breez_sdk_spark_fn_free_passkeylabels(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
105
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeylabels_list(ptr: bigint): bigint;
106
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeylabels_store(ptr: bigint, label: Uint8Array): bigint;
101
107
  ubrn_uniffi_breez_sdk_spark_fn_clone_paymentobserver(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
102
108
  ubrn_uniffi_breez_sdk_spark_fn_free_paymentobserver(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
103
109
  ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_paymentobserver(vtable: UniffiVTableCallbackInterfacePaymentObserver): void;
104
110
  ubrn_uniffi_breez_sdk_spark_fn_method_paymentobserver_before_send(ptr: bigint, payments: Uint8Array): bigint;
111
+ ubrn_uniffi_breez_sdk_spark_fn_method_paymentobserver_after_send(ptr: bigint, updates: Uint8Array): bigint;
112
+ ubrn_uniffi_breez_sdk_spark_fn_clone_prfprovider(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
113
+ ubrn_uniffi_breez_sdk_spark_fn_free_prfprovider(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
114
+ ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_prfprovider(vtable: UniffiVTableCallbackInterfacePrfProvider): void;
115
+ ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_derive_seeds(ptr: bigint, request: Uint8Array): bigint;
116
+ ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_is_supported(ptr: bigint): bigint;
117
+ ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_create_passkey(ptr: bigint, excludeCredentials: Uint8Array): bigint;
118
+ ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_check_domain_association(ptr: bigint): bigint;
119
+ ubrn_uniffi_breez_sdk_spark_fn_clone_resolvedstores(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
120
+ ubrn_uniffi_breez_sdk_spark_fn_free_resolvedstores(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
105
121
  ubrn_uniffi_breez_sdk_spark_fn_clone_restclient(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
106
122
  ubrn_uniffi_breez_sdk_spark_fn_free_restclient(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
107
123
  ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_restclient(vtable: UniffiVTableCallbackInterfaceRestClient): void;
@@ -111,23 +127,25 @@ interface NativeModuleInterface {
111
127
  ubrn_uniffi_breez_sdk_spark_fn_clone_sdkbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
112
128
  ubrn_uniffi_breez_sdk_spark_fn_free_sdkbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
113
129
  ubrn_uniffi_breez_sdk_spark_fn_constructor_sdkbuilder_new(config: Uint8Array, seed: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
130
+ ubrn_uniffi_breez_sdk_spark_fn_constructor_sdkbuilder_new_with_signer(config: Uint8Array, breezSigner: bigint, sparkSigner: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
114
131
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_build(ptr: bigint): bigint;
132
+ ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_account_number(ptr: bigint, accountNumber: number): bigint;
115
133
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_chain_service(ptr: bigint, chainService: bigint): bigint;
116
134
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_default_storage(ptr: bigint, storageDir: Uint8Array): bigint;
117
135
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_fiat_service(ptr: bigint, fiatService: bigint): bigint;
118
- ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_key_set(ptr: bigint, config: Uint8Array): bigint;
119
136
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_lnurl_client(ptr: bigint, lnurlClient: bigint): bigint;
120
137
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_payment_observer(ptr: bigint, paymentObserver: bigint): bigint;
121
138
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_rest_chain_service(ptr: bigint, url: Uint8Array, apiType: Uint8Array, credentials: Uint8Array): bigint;
122
139
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_shared_context(ptr: bigint, context: bigint): bigint;
123
140
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_storage(ptr: bigint, storage: bigint): bigint;
141
+ ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_storage_backend(ptr: bigint, storage: bigint): bigint;
124
142
  ubrn_uniffi_breez_sdk_spark_fn_clone_sdkcontext(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
125
143
  ubrn_uniffi_breez_sdk_spark_fn_free_sdkcontext(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
126
- ubrn_uniffi_breez_sdk_spark_fn_clone_sessionmanager(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
127
- ubrn_uniffi_breez_sdk_spark_fn_free_sessionmanager(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
128
- ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_sessionmanager(vtable: UniffiVTableCallbackInterfaceSessionManager): void;
129
- ubrn_uniffi_breez_sdk_spark_fn_method_sessionmanager_get_session(ptr: bigint, serviceIdentityKey: Uint8Array): bigint;
130
- ubrn_uniffi_breez_sdk_spark_fn_method_sessionmanager_set_session(ptr: bigint, serviceIdentityKey: Uint8Array, session: Uint8Array): bigint;
144
+ ubrn_uniffi_breez_sdk_spark_fn_clone_sessionstore(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
145
+ ubrn_uniffi_breez_sdk_spark_fn_free_sessionstore(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
146
+ ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_sessionstore(vtable: UniffiVTableCallbackInterfaceSessionStore): void;
147
+ ubrn_uniffi_breez_sdk_spark_fn_method_sessionstore_get_session(ptr: bigint, serviceIdentityKey: Uint8Array): bigint;
148
+ ubrn_uniffi_breez_sdk_spark_fn_method_sessionstore_set_session(ptr: bigint, serviceIdentityKey: Uint8Array, session: Uint8Array): bigint;
131
149
  ubrn_uniffi_breez_sdk_spark_fn_clone_storage(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
132
150
  ubrn_uniffi_breez_sdk_spark_fn_free_storage(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
133
151
  ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_storage(vtable: UniffiVTableCallbackInterfaceStorage): void;
@@ -135,7 +153,7 @@ interface NativeModuleInterface {
135
153
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_cached_item(ptr: bigint, key: Uint8Array): bigint;
136
154
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_set_cached_item(ptr: bigint, key: Uint8Array, value: Uint8Array): bigint;
137
155
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_list_payments(ptr: bigint, request: Uint8Array): bigint;
138
- ubrn_uniffi_breez_sdk_spark_fn_method_storage_insert_payment(ptr: bigint, payment: Uint8Array): bigint;
156
+ ubrn_uniffi_breez_sdk_spark_fn_method_storage_apply_payment_update(ptr: bigint, payment: Uint8Array): bigint;
139
157
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_insert_payment_metadata(ptr: bigint, paymentId: Uint8Array, metadata: Uint8Array): bigint;
140
158
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_payment_by_id(ptr: bigint, id: Uint8Array): bigint;
141
159
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_payment_by_invoice(ptr: bigint, invoice: Uint8Array): bigint;
@@ -149,6 +167,9 @@ interface NativeModuleInterface {
149
167
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_contact(ptr: bigint, id: Uint8Array): bigint;
150
168
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_insert_contact(ptr: bigint, contact: Uint8Array): bigint;
151
169
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_delete_contact(ptr: bigint, id: Uint8Array): bigint;
170
+ ubrn_uniffi_breez_sdk_spark_fn_method_storage_set_cross_chain_swap(ptr: bigint, swap: Uint8Array): bigint;
171
+ ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_cross_chain_swap(ptr: bigint, provider: Uint8Array, id: Uint8Array): bigint;
172
+ ubrn_uniffi_breez_sdk_spark_fn_method_storage_list_active_cross_chain_swaps(ptr: bigint, provider: Uint8Array): bigint;
152
173
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_add_outgoing_change(ptr: bigint, record: Uint8Array): bigint;
153
174
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_complete_outgoing_sync(ptr: bigint, record: Uint8Array, localRevision: bigint): bigint;
154
175
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_pending_outgoing_changes(ptr: bigint, limit: number): bigint;
@@ -158,6 +179,9 @@ interface NativeModuleInterface {
158
179
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_incoming_records(ptr: bigint, limit: number): bigint;
159
180
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_latest_outgoing_change(ptr: bigint): bigint;
160
181
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_update_record_from_incoming(ptr: bigint, record: Uint8Array): bigint;
182
+ ubrn_uniffi_breez_sdk_spark_fn_clone_storagebackend(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
183
+ ubrn_uniffi_breez_sdk_spark_fn_free_storagebackend(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
184
+ ubrn_uniffi_breez_sdk_spark_fn_method_storagebackend_create_stores(ptr: bigint, network: Uint8Array, identity: Uint8Array): bigint;
161
185
  ubrn_uniffi_breez_sdk_spark_fn_clone_tokenissuer(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
162
186
  ubrn_uniffi_breez_sdk_spark_fn_free_tokenissuer(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
163
187
  ubrn_uniffi_breez_sdk_spark_fn_method_tokenissuer_burn_issuer_token(ptr: bigint, request: Uint8Array): bigint;
@@ -171,9 +195,12 @@ interface NativeModuleInterface {
171
195
  ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_logger(vtable: UniffiVTableCallbackInterfaceLogger): void;
172
196
  ubrn_uniffi_breez_sdk_spark_fn_func_connect(request: Uint8Array): bigint;
173
197
  ubrn_uniffi_breez_sdk_spark_fn_func_connect_with_signer(request: Uint8Array): bigint;
198
+ ubrn_uniffi_breez_sdk_spark_fn_func_create_turnkey_signer(config: Uint8Array): bigint;
199
+ ubrn_uniffi_breez_sdk_spark_fn_func_custom_storage(storage: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
174
200
  ubrn_uniffi_breez_sdk_spark_fn_func_default_config(network: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
175
- ubrn_uniffi_breez_sdk_spark_fn_func_default_external_signer(mnemonic: Uint8Array, passphrase: Uint8Array, network: Uint8Array, keySetConfig: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
201
+ ubrn_uniffi_breez_sdk_spark_fn_func_default_external_signers(mnemonic: Uint8Array, passphrase: Uint8Array, network: Uint8Array, accountNumber: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
176
202
  ubrn_uniffi_breez_sdk_spark_fn_func_default_server_config(network: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
203
+ ubrn_uniffi_breez_sdk_spark_fn_func_default_storage(storageDir: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
177
204
  ubrn_uniffi_breez_sdk_spark_fn_func_get_spark_status(): bigint;
178
205
  ubrn_uniffi_breez_sdk_spark_fn_func_init_logging(logDir: Uint8Array, appLogger: Uint8Array, logFilter: Uint8Array, uniffi_out_err: UniffiRustCallStatus): void;
179
206
  ubrn_uniffi_breez_sdk_spark_fn_func_new_rest_chain_service(url: Uint8Array, network: Uint8Array, apiType: Uint8Array, credentials: Uint8Array): bigint;
@@ -232,9 +259,12 @@ interface NativeModuleInterface {
232
259
  ubrn_ffi_breez_sdk_spark_rust_future_complete_void(handle: bigint, uniffi_out_err: UniffiRustCallStatus): void;
233
260
  ubrn_uniffi_breez_sdk_spark_checksum_func_connect(): number;
234
261
  ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signer(): number;
262
+ ubrn_uniffi_breez_sdk_spark_checksum_func_create_turnkey_signer(): number;
263
+ ubrn_uniffi_breez_sdk_spark_checksum_func_custom_storage(): number;
235
264
  ubrn_uniffi_breez_sdk_spark_checksum_func_default_config(): number;
236
- ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signer(): number;
265
+ ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signers(): number;
237
266
  ubrn_uniffi_breez_sdk_spark_checksum_func_default_server_config(): number;
267
+ ubrn_uniffi_breez_sdk_spark_checksum_func_default_storage(): number;
238
268
  ubrn_uniffi_breez_sdk_spark_checksum_func_get_spark_status(): number;
239
269
  ubrn_uniffi_breez_sdk_spark_checksum_func_init_logging(): number;
240
270
  ubrn_uniffi_breez_sdk_spark_checksum_func_new_rest_chain_service(): number;
@@ -246,18 +276,19 @@ interface NativeModuleInterface {
246
276
  ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees(): number;
247
277
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact(): number;
248
278
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener(): number;
279
+ ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_authorize_lightning_address_transfer(): number;
249
280
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin(): number;
250
- ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_cancel_leaf_optimization(): number;
251
281
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available(): number;
252
282
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message(): number;
253
283
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit(): number;
254
284
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment(): number;
285
+ ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_lightning_address_transfer(): number;
255
286
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact(): number;
256
287
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address(): number;
257
288
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect(): number;
258
289
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits(): number;
290
+ ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_cross_chain_routes(): number;
259
291
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info(): number;
260
- ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_leaf_optimization_progress(): number;
261
292
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address(): number;
262
293
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment(): number;
263
294
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer(): number;
@@ -272,6 +303,7 @@ interface NativeModuleInterface {
272
303
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth(): number;
273
304
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay(): number;
274
305
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw(): number;
306
+ ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_optimize_leaves(): number;
275
307
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_parse(): number;
276
308
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay(): number;
277
309
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment(): number;
@@ -284,60 +316,68 @@ interface NativeModuleInterface {
284
316
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener(): number;
285
317
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment(): number;
286
318
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message(): number;
287
- ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_start_leaf_optimization(): number;
288
319
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet(): number;
289
320
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_unregister_webhook(): number;
290
321
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact(): number;
291
322
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings(): number;
292
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_identity_public_key(): number;
293
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key(): number;
294
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa(): number;
295
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable(): number;
296
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies(): number;
297
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies(): number;
298
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr(): number;
299
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_hmac_sha256(): number;
300
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment(): number;
301
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node(): number;
302
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_secret(): number;
303
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_encrypted(): number;
304
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret(): number;
305
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key(): number;
306
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secrets(): number;
307
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs(): number;
308
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_for_receiver(): number;
309
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret(): number;
310
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost(): number;
311
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost(): number;
323
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_derive_public_key(): number;
324
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa(): number;
325
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa_recoverable(): number;
326
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_encrypt_ecies(): number;
327
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_decrypt_ecies(): number;
328
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_hash_schnorr(): number;
329
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_hmac_sha256(): number;
330
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_identity_public_key(): number;
331
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_public_key_for_leaf(): number;
332
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_static_deposit_public_key(): number;
333
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_authentication_challenge(): number;
334
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_message(): number;
335
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_frost(): number;
336
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_transfer(): number;
337
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_claim(): number;
338
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_lightning_receive(): number;
339
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit(): number;
340
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_start_static_deposit_refund(): number;
341
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_static_deposit_refund(): number;
342
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_spark_invoice(): number;
343
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_token_transaction(): number;
344
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit_claim(): number;
312
345
  ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies(): number;
313
346
  ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates(): number;
314
- ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_get_wallet(): number;
315
- ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_is_available(): number;
316
- ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_list_labels(): number;
317
- ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_store_label(): number;
318
- ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_derive_prf_seed(): number;
319
- ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_is_prf_available(): number;
347
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_check_availability(): number;
348
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_connect_with_passkey(): number;
349
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_labels(): number;
350
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_register(): number;
351
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_sign_in(): number;
352
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_list(): number;
353
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_store(): number;
320
354
  ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send(): number;
355
+ ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_after_send(): number;
356
+ ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_derive_seeds(): number;
357
+ ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_is_supported(): number;
358
+ ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_create_passkey(): number;
359
+ ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_check_domain_association(): number;
321
360
  ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_get_request(): number;
322
361
  ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_post_request(): number;
323
362
  ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_delete_request(): number;
324
363
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build(): number;
364
+ ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_account_number(): number;
325
365
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service(): number;
326
366
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage(): number;
327
367
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service(): number;
328
- ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set(): number;
329
368
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client(): number;
330
369
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer(): number;
331
370
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service(): number;
332
371
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_shared_context(): number;
333
372
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage(): number;
334
- ubrn_uniffi_breez_sdk_spark_checksum_method_sessionmanager_get_session(): number;
335
- ubrn_uniffi_breez_sdk_spark_checksum_method_sessionmanager_set_session(): number;
373
+ ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage_backend(): number;
374
+ ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_get_session(): number;
375
+ ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_set_session(): number;
336
376
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item(): number;
337
377
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item(): number;
338
378
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item(): number;
339
379
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_payments(): number;
340
- ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment(): number;
380
+ ubrn_uniffi_breez_sdk_spark_checksum_method_storage_apply_payment_update(): number;
341
381
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata(): number;
342
382
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id(): number;
343
383
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice(): number;
@@ -351,6 +391,9 @@ interface NativeModuleInterface {
351
391
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_contact(): number;
352
392
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_contact(): number;
353
393
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_contact(): number;
394
+ ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cross_chain_swap(): number;
395
+ ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cross_chain_swap(): number;
396
+ ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_active_cross_chain_swaps(): number;
354
397
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change(): number;
355
398
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync(): number;
356
399
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes(): number;
@@ -360,6 +403,7 @@ interface NativeModuleInterface {
360
403
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records(): number;
361
404
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change(): number;
362
405
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming(): number;
406
+ ubrn_uniffi_breez_sdk_spark_checksum_method_storagebackend_create_stores(): number;
363
407
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token(): number;
364
408
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token(): number;
365
409
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token(): number;
@@ -367,23 +411,28 @@ interface NativeModuleInterface {
367
411
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata(): number;
368
412
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token(): number;
369
413
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token(): number;
370
- ubrn_uniffi_breez_sdk_spark_checksum_constructor_passkey_new(): number;
414
+ ubrn_uniffi_breez_sdk_spark_checksum_constructor_passkeyclient_new(): number;
371
415
  ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new(): number;
416
+ ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signer(): number;
372
417
  ubrn_uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event(): number;
373
418
  ubrn_uniffi_breez_sdk_spark_checksum_method_logger_log(): number;
374
419
  ubrn_ffi_breez_sdk_spark_uniffi_contract_version(): number;
375
420
  ubrn_uniffi_internal_fn_method_bitcoinchainservice_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
376
421
  ubrn_uniffi_internal_fn_method_breezsdk_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
377
- ubrn_uniffi_internal_fn_method_externalsigner_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
422
+ ubrn_uniffi_internal_fn_method_externalbreezsigner_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
423
+ ubrn_uniffi_internal_fn_method_externalsparksigner_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
378
424
  ubrn_uniffi_internal_fn_method_fiatservice_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
379
- ubrn_uniffi_internal_fn_method_passkey_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
380
- ubrn_uniffi_internal_fn_method_passkeyprfprovider_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
425
+ ubrn_uniffi_internal_fn_method_passkeyclient_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
426
+ ubrn_uniffi_internal_fn_method_passkeylabels_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
381
427
  ubrn_uniffi_internal_fn_method_paymentobserver_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
428
+ ubrn_uniffi_internal_fn_method_prfprovider_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
429
+ ubrn_uniffi_internal_fn_method_resolvedstores_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
382
430
  ubrn_uniffi_internal_fn_method_restclient_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
383
431
  ubrn_uniffi_internal_fn_method_sdkbuilder_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
384
432
  ubrn_uniffi_internal_fn_method_sdkcontext_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
385
- ubrn_uniffi_internal_fn_method_sessionmanager_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
433
+ ubrn_uniffi_internal_fn_method_sessionstore_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
386
434
  ubrn_uniffi_internal_fn_method_storage_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
435
+ ubrn_uniffi_internal_fn_method_storagebackend_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
387
436
  ubrn_uniffi_internal_fn_method_tokenissuer_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
388
437
  }
389
438
  declare const getter: () => NativeModuleInterface;
@@ -466,41 +515,46 @@ type UniffiCallbackInterfaceBitcoinChainServiceMethod1 = (uniffiHandle: bigint,
466
515
  type UniffiCallbackInterfaceBitcoinChainServiceMethod2 = (uniffiHandle: bigint, txid: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
467
516
  type UniffiCallbackInterfaceBitcoinChainServiceMethod3 = (uniffiHandle: bigint, tx: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
468
517
  type UniffiCallbackInterfaceBitcoinChainServiceMethod4 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
469
- type UniffiCallbackInterfaceExternalSignerMethod0 = (uniffiHandle: bigint) => UniffiResult<Uint8Array>;
470
- type UniffiCallbackInterfaceExternalSignerMethod1 = (uniffiHandle: bigint, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
471
- type UniffiCallbackInterfaceExternalSignerMethod2 = (uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
472
- type UniffiCallbackInterfaceExternalSignerMethod3 = (uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
473
- type UniffiCallbackInterfaceExternalSignerMethod4 = (uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
474
- type UniffiCallbackInterfaceExternalSignerMethod5 = (uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
475
- type UniffiCallbackInterfaceExternalSignerMethod6 = (uniffiHandle: bigint, hash: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
476
- type UniffiCallbackInterfaceExternalSignerMethod7 = (uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
477
- type UniffiCallbackInterfaceExternalSignerMethod8 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
478
- type UniffiCallbackInterfaceExternalSignerMethod9 = (uniffiHandle: bigint, id: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
479
- type UniffiCallbackInterfaceExternalSignerMethod10 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
480
- type UniffiCallbackInterfaceExternalSignerMethod11 = (uniffiHandle: bigint, index: number, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
481
- type UniffiCallbackInterfaceExternalSignerMethod12 = (uniffiHandle: bigint, index: number, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
482
- type UniffiCallbackInterfaceExternalSignerMethod13 = (uniffiHandle: bigint, index: number, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
483
- type UniffiCallbackInterfaceExternalSignerMethod14 = (uniffiHandle: bigint, signingKey: Uint8Array, newSigningKey: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
484
- type UniffiCallbackInterfaceExternalSignerMethod15 = (uniffiHandle: bigint, secret: Uint8Array, threshold: number, numShares: number, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
485
- type UniffiCallbackInterfaceExternalSignerMethod16 = (uniffiHandle: bigint, encryptedSecret: Uint8Array, receiverPublicKey: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
486
- type UniffiCallbackInterfaceExternalSignerMethod17 = (uniffiHandle: bigint, secret: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
487
- type UniffiCallbackInterfaceExternalSignerMethod18 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
488
- type UniffiCallbackInterfaceExternalSignerMethod19 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
518
+ type UniffiCallbackInterfaceExternalBreezSignerMethod0 = (uniffiHandle: bigint, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
519
+ type UniffiCallbackInterfaceExternalBreezSignerMethod1 = (uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
520
+ type UniffiCallbackInterfaceExternalBreezSignerMethod2 = (uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
521
+ type UniffiCallbackInterfaceExternalBreezSignerMethod3 = (uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
522
+ type UniffiCallbackInterfaceExternalBreezSignerMethod4 = (uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
523
+ type UniffiCallbackInterfaceExternalBreezSignerMethod5 = (uniffiHandle: bigint, hash: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
524
+ type UniffiCallbackInterfaceExternalBreezSignerMethod6 = (uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
525
+ type UniffiCallbackInterfaceExternalSparkSignerMethod0 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
526
+ type UniffiCallbackInterfaceExternalSparkSignerMethod1 = (uniffiHandle: bigint, leafId: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
527
+ type UniffiCallbackInterfaceExternalSparkSignerMethod2 = (uniffiHandle: bigint, index: number, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
528
+ type UniffiCallbackInterfaceExternalSparkSignerMethod3 = (uniffiHandle: bigint, challenge: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
529
+ type UniffiCallbackInterfaceExternalSparkSignerMethod4 = (uniffiHandle: bigint, message: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
530
+ type UniffiCallbackInterfaceExternalSparkSignerMethod5 = (uniffiHandle: bigint, jobs: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
531
+ type UniffiCallbackInterfaceExternalSparkSignerMethod6 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
532
+ type UniffiCallbackInterfaceExternalSparkSignerMethod7 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
533
+ type UniffiCallbackInterfaceExternalSparkSignerMethod8 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
534
+ type UniffiCallbackInterfaceExternalSparkSignerMethod9 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
535
+ type UniffiCallbackInterfaceExternalSparkSignerMethod10 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
536
+ type UniffiCallbackInterfaceExternalSparkSignerMethod11 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
537
+ type UniffiCallbackInterfaceExternalSparkSignerMethod12 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
538
+ type UniffiCallbackInterfaceExternalSparkSignerMethod13 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
539
+ type UniffiCallbackInterfaceExternalSparkSignerMethod14 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
489
540
  type UniffiCallbackInterfaceFiatServiceMethod0 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
490
541
  type UniffiCallbackInterfaceFiatServiceMethod1 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
491
- type UniffiCallbackInterfacePasskeyPrfProviderMethod0 = (uniffiHandle: bigint, salt: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
492
- type UniffiCallbackInterfacePasskeyPrfProviderMethod1 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteI8, uniffiCallbackData: bigint) => UniffiForeignFuture;
493
542
  type UniffiCallbackInterfacePaymentObserverMethod0 = (uniffiHandle: bigint, payments: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
543
+ type UniffiCallbackInterfacePaymentObserverMethod1 = (uniffiHandle: bigint, updates: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
544
+ type UniffiCallbackInterfacePrfProviderMethod0 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
545
+ type UniffiCallbackInterfacePrfProviderMethod1 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteI8, uniffiCallbackData: bigint) => UniffiForeignFuture;
546
+ type UniffiCallbackInterfacePrfProviderMethod2 = (uniffiHandle: bigint, excludeCredentials: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
547
+ type UniffiCallbackInterfacePrfProviderMethod3 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
494
548
  type UniffiCallbackInterfaceRestClientMethod0 = (uniffiHandle: bigint, url: Uint8Array, headers: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
495
549
  type UniffiCallbackInterfaceRestClientMethod1 = (uniffiHandle: bigint, url: Uint8Array, headers: Uint8Array, body: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
496
550
  type UniffiCallbackInterfaceRestClientMethod2 = (uniffiHandle: bigint, url: Uint8Array, headers: Uint8Array, body: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
497
- type UniffiCallbackInterfaceSessionManagerMethod0 = (uniffiHandle: bigint, serviceIdentityKey: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
498
- type UniffiCallbackInterfaceSessionManagerMethod1 = (uniffiHandle: bigint, serviceIdentityKey: Uint8Array, session: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
551
+ type UniffiCallbackInterfaceSessionStoreMethod0 = (uniffiHandle: bigint, serviceIdentityKey: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
552
+ type UniffiCallbackInterfaceSessionStoreMethod1 = (uniffiHandle: bigint, serviceIdentityKey: Uint8Array, session: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
499
553
  type UniffiCallbackInterfaceStorageMethod0 = (uniffiHandle: bigint, key: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
500
554
  type UniffiCallbackInterfaceStorageMethod1 = (uniffiHandle: bigint, key: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
501
555
  type UniffiCallbackInterfaceStorageMethod2 = (uniffiHandle: bigint, key: Uint8Array, value: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
502
556
  type UniffiCallbackInterfaceStorageMethod3 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
503
- type UniffiCallbackInterfaceStorageMethod4 = (uniffiHandle: bigint, payment: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
557
+ type UniffiCallbackInterfaceStorageMethod4 = (uniffiHandle: bigint, payment: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteI8, uniffiCallbackData: bigint) => UniffiForeignFuture;
504
558
  type UniffiCallbackInterfaceStorageMethod5 = (uniffiHandle: bigint, paymentId: Uint8Array, metadata: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
505
559
  type UniffiCallbackInterfaceStorageMethod6 = (uniffiHandle: bigint, id: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
506
560
  type UniffiCallbackInterfaceStorageMethod7 = (uniffiHandle: bigint, invoice: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
@@ -514,15 +568,19 @@ type UniffiCallbackInterfaceStorageMethod14 = (uniffiHandle: bigint, request: Ui
514
568
  type UniffiCallbackInterfaceStorageMethod15 = (uniffiHandle: bigint, id: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
515
569
  type UniffiCallbackInterfaceStorageMethod16 = (uniffiHandle: bigint, contact: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
516
570
  type UniffiCallbackInterfaceStorageMethod17 = (uniffiHandle: bigint, id: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
517
- type UniffiCallbackInterfaceStorageMethod18 = (uniffiHandle: bigint, record: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteU64, uniffiCallbackData: bigint) => UniffiForeignFuture;
518
- type UniffiCallbackInterfaceStorageMethod19 = (uniffiHandle: bigint, record: Uint8Array, localRevision: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
519
- type UniffiCallbackInterfaceStorageMethod20 = (uniffiHandle: bigint, limit: number, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
520
- type UniffiCallbackInterfaceStorageMethod21 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteU64, uniffiCallbackData: bigint) => UniffiForeignFuture;
521
- type UniffiCallbackInterfaceStorageMethod22 = (uniffiHandle: bigint, records: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
522
- type UniffiCallbackInterfaceStorageMethod23 = (uniffiHandle: bigint, record: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
523
- type UniffiCallbackInterfaceStorageMethod24 = (uniffiHandle: bigint, limit: number, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
524
- type UniffiCallbackInterfaceStorageMethod25 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
571
+ type UniffiCallbackInterfaceStorageMethod18 = (uniffiHandle: bigint, swap: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
572
+ type UniffiCallbackInterfaceStorageMethod19 = (uniffiHandle: bigint, provider: Uint8Array, id: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
573
+ type UniffiCallbackInterfaceStorageMethod20 = (uniffiHandle: bigint, provider: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
574
+ type UniffiCallbackInterfaceStorageMethod21 = (uniffiHandle: bigint, record: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteU64, uniffiCallbackData: bigint) => UniffiForeignFuture;
575
+ type UniffiCallbackInterfaceStorageMethod22 = (uniffiHandle: bigint, record: Uint8Array, localRevision: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
576
+ type UniffiCallbackInterfaceStorageMethod23 = (uniffiHandle: bigint, limit: number, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
577
+ type UniffiCallbackInterfaceStorageMethod24 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteU64, uniffiCallbackData: bigint) => UniffiForeignFuture;
578
+ type UniffiCallbackInterfaceStorageMethod25 = (uniffiHandle: bigint, records: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
525
579
  type UniffiCallbackInterfaceStorageMethod26 = (uniffiHandle: bigint, record: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
580
+ type UniffiCallbackInterfaceStorageMethod27 = (uniffiHandle: bigint, limit: number, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
581
+ type UniffiCallbackInterfaceStorageMethod28 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
582
+ type UniffiCallbackInterfaceStorageMethod29 = (uniffiHandle: bigint, record: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
583
+ type UniffiCallbackInterfaceStorageBackendMethod0 = (uniffiHandle: bigint, network: Uint8Array, identity: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompletePointer, uniffiCallbackData: bigint) => UniffiForeignFuture;
526
584
  export type UniffiVTableCallbackInterfaceEventListener = {
527
585
  onEvent: UniffiCallbackInterfaceEventListenerMethod0;
528
586
  uniffiFree: UniffiCallbackInterfaceFree;
@@ -539,27 +597,32 @@ export type UniffiVTableCallbackInterfaceBitcoinChainService = {
539
597
  recommendedFees: UniffiCallbackInterfaceBitcoinChainServiceMethod4;
540
598
  uniffiFree: UniffiCallbackInterfaceFree;
541
599
  };
542
- export type UniffiVTableCallbackInterfaceExternalSigner = {
543
- identityPublicKey: UniffiCallbackInterfaceExternalSignerMethod0;
544
- derivePublicKey: UniffiCallbackInterfaceExternalSignerMethod1;
545
- signEcdsa: UniffiCallbackInterfaceExternalSignerMethod2;
546
- signEcdsaRecoverable: UniffiCallbackInterfaceExternalSignerMethod3;
547
- encryptEcies: UniffiCallbackInterfaceExternalSignerMethod4;
548
- decryptEcies: UniffiCallbackInterfaceExternalSignerMethod5;
549
- signHashSchnorr: UniffiCallbackInterfaceExternalSignerMethod6;
550
- hmacSha256: UniffiCallbackInterfaceExternalSignerMethod7;
551
- generateRandomSigningCommitment: UniffiCallbackInterfaceExternalSignerMethod8;
552
- getPublicKeyForNode: UniffiCallbackInterfaceExternalSignerMethod9;
553
- generateRandomSecret: UniffiCallbackInterfaceExternalSignerMethod10;
554
- staticDepositSecretEncrypted: UniffiCallbackInterfaceExternalSignerMethod11;
555
- staticDepositSecret: UniffiCallbackInterfaceExternalSignerMethod12;
556
- staticDepositSigningKey: UniffiCallbackInterfaceExternalSignerMethod13;
557
- subtractSecrets: UniffiCallbackInterfaceExternalSignerMethod14;
558
- splitSecretWithProofs: UniffiCallbackInterfaceExternalSignerMethod15;
559
- encryptSecretForReceiver: UniffiCallbackInterfaceExternalSignerMethod16;
560
- publicKeyFromSecret: UniffiCallbackInterfaceExternalSignerMethod17;
561
- signFrost: UniffiCallbackInterfaceExternalSignerMethod18;
562
- aggregateFrost: UniffiCallbackInterfaceExternalSignerMethod19;
600
+ export type UniffiVTableCallbackInterfaceExternalBreezSigner = {
601
+ derivePublicKey: UniffiCallbackInterfaceExternalBreezSignerMethod0;
602
+ signEcdsa: UniffiCallbackInterfaceExternalBreezSignerMethod1;
603
+ signEcdsaRecoverable: UniffiCallbackInterfaceExternalBreezSignerMethod2;
604
+ encryptEcies: UniffiCallbackInterfaceExternalBreezSignerMethod3;
605
+ decryptEcies: UniffiCallbackInterfaceExternalBreezSignerMethod4;
606
+ signHashSchnorr: UniffiCallbackInterfaceExternalBreezSignerMethod5;
607
+ hmacSha256: UniffiCallbackInterfaceExternalBreezSignerMethod6;
608
+ uniffiFree: UniffiCallbackInterfaceFree;
609
+ };
610
+ export type UniffiVTableCallbackInterfaceExternalSparkSigner = {
611
+ getIdentityPublicKey: UniffiCallbackInterfaceExternalSparkSignerMethod0;
612
+ getPublicKeyForLeaf: UniffiCallbackInterfaceExternalSparkSignerMethod1;
613
+ getStaticDepositPublicKey: UniffiCallbackInterfaceExternalSparkSignerMethod2;
614
+ signAuthenticationChallenge: UniffiCallbackInterfaceExternalSparkSignerMethod3;
615
+ signMessage: UniffiCallbackInterfaceExternalSparkSignerMethod4;
616
+ signFrost: UniffiCallbackInterfaceExternalSparkSignerMethod5;
617
+ prepareTransfer: UniffiCallbackInterfaceExternalSparkSignerMethod6;
618
+ prepareClaim: UniffiCallbackInterfaceExternalSparkSignerMethod7;
619
+ prepareLightningReceive: UniffiCallbackInterfaceExternalSparkSignerMethod8;
620
+ prepareStaticDeposit: UniffiCallbackInterfaceExternalSparkSignerMethod9;
621
+ startStaticDepositRefund: UniffiCallbackInterfaceExternalSparkSignerMethod10;
622
+ signStaticDepositRefund: UniffiCallbackInterfaceExternalSparkSignerMethod11;
623
+ signSparkInvoice: UniffiCallbackInterfaceExternalSparkSignerMethod12;
624
+ prepareTokenTransaction: UniffiCallbackInterfaceExternalSparkSignerMethod13;
625
+ prepareStaticDepositClaim: UniffiCallbackInterfaceExternalSparkSignerMethod14;
563
626
  uniffiFree: UniffiCallbackInterfaceFree;
564
627
  };
565
628
  export type UniffiVTableCallbackInterfaceFiatService = {
@@ -567,13 +630,16 @@ export type UniffiVTableCallbackInterfaceFiatService = {
567
630
  fetchFiatRates: UniffiCallbackInterfaceFiatServiceMethod1;
568
631
  uniffiFree: UniffiCallbackInterfaceFree;
569
632
  };
570
- export type UniffiVTableCallbackInterfacePasskeyPrfProvider = {
571
- derivePrfSeed: UniffiCallbackInterfacePasskeyPrfProviderMethod0;
572
- isPrfAvailable: UniffiCallbackInterfacePasskeyPrfProviderMethod1;
573
- uniffiFree: UniffiCallbackInterfaceFree;
574
- };
575
633
  export type UniffiVTableCallbackInterfacePaymentObserver = {
576
634
  beforeSend: UniffiCallbackInterfacePaymentObserverMethod0;
635
+ afterSend: UniffiCallbackInterfacePaymentObserverMethod1;
636
+ uniffiFree: UniffiCallbackInterfaceFree;
637
+ };
638
+ export type UniffiVTableCallbackInterfacePrfProvider = {
639
+ deriveSeeds: UniffiCallbackInterfacePrfProviderMethod0;
640
+ isSupported: UniffiCallbackInterfacePrfProviderMethod1;
641
+ createPasskey: UniffiCallbackInterfacePrfProviderMethod2;
642
+ checkDomainAssociation: UniffiCallbackInterfacePrfProviderMethod3;
577
643
  uniffiFree: UniffiCallbackInterfaceFree;
578
644
  };
579
645
  export type UniffiVTableCallbackInterfaceRestClient = {
@@ -582,9 +648,9 @@ export type UniffiVTableCallbackInterfaceRestClient = {
582
648
  deleteRequest: UniffiCallbackInterfaceRestClientMethod2;
583
649
  uniffiFree: UniffiCallbackInterfaceFree;
584
650
  };
585
- export type UniffiVTableCallbackInterfaceSessionManager = {
586
- getSession: UniffiCallbackInterfaceSessionManagerMethod0;
587
- setSession: UniffiCallbackInterfaceSessionManagerMethod1;
651
+ export type UniffiVTableCallbackInterfaceSessionStore = {
652
+ getSession: UniffiCallbackInterfaceSessionStoreMethod0;
653
+ setSession: UniffiCallbackInterfaceSessionStoreMethod1;
588
654
  uniffiFree: UniffiCallbackInterfaceFree;
589
655
  };
590
656
  export type UniffiVTableCallbackInterfaceStorage = {
@@ -592,7 +658,7 @@ export type UniffiVTableCallbackInterfaceStorage = {
592
658
  getCachedItem: UniffiCallbackInterfaceStorageMethod1;
593
659
  setCachedItem: UniffiCallbackInterfaceStorageMethod2;
594
660
  listPayments: UniffiCallbackInterfaceStorageMethod3;
595
- insertPayment: UniffiCallbackInterfaceStorageMethod4;
661
+ applyPaymentUpdate: UniffiCallbackInterfaceStorageMethod4;
596
662
  insertPaymentMetadata: UniffiCallbackInterfaceStorageMethod5;
597
663
  getPaymentById: UniffiCallbackInterfaceStorageMethod6;
598
664
  getPaymentByInvoice: UniffiCallbackInterfaceStorageMethod7;
@@ -606,15 +672,22 @@ export type UniffiVTableCallbackInterfaceStorage = {
606
672
  getContact: UniffiCallbackInterfaceStorageMethod15;
607
673
  insertContact: UniffiCallbackInterfaceStorageMethod16;
608
674
  deleteContact: UniffiCallbackInterfaceStorageMethod17;
609
- addOutgoingChange: UniffiCallbackInterfaceStorageMethod18;
610
- completeOutgoingSync: UniffiCallbackInterfaceStorageMethod19;
611
- getPendingOutgoingChanges: UniffiCallbackInterfaceStorageMethod20;
612
- getLastRevision: UniffiCallbackInterfaceStorageMethod21;
613
- insertIncomingRecords: UniffiCallbackInterfaceStorageMethod22;
614
- deleteIncomingRecord: UniffiCallbackInterfaceStorageMethod23;
615
- getIncomingRecords: UniffiCallbackInterfaceStorageMethod24;
616
- getLatestOutgoingChange: UniffiCallbackInterfaceStorageMethod25;
617
- updateRecordFromIncoming: UniffiCallbackInterfaceStorageMethod26;
675
+ setCrossChainSwap: UniffiCallbackInterfaceStorageMethod18;
676
+ getCrossChainSwap: UniffiCallbackInterfaceStorageMethod19;
677
+ listActiveCrossChainSwaps: UniffiCallbackInterfaceStorageMethod20;
678
+ addOutgoingChange: UniffiCallbackInterfaceStorageMethod21;
679
+ completeOutgoingSync: UniffiCallbackInterfaceStorageMethod22;
680
+ getPendingOutgoingChanges: UniffiCallbackInterfaceStorageMethod23;
681
+ getLastRevision: UniffiCallbackInterfaceStorageMethod24;
682
+ insertIncomingRecords: UniffiCallbackInterfaceStorageMethod25;
683
+ deleteIncomingRecord: UniffiCallbackInterfaceStorageMethod26;
684
+ getIncomingRecords: UniffiCallbackInterfaceStorageMethod27;
685
+ getLatestOutgoingChange: UniffiCallbackInterfaceStorageMethod28;
686
+ updateRecordFromIncoming: UniffiCallbackInterfaceStorageMethod29;
687
+ uniffiFree: UniffiCallbackInterfaceFree;
688
+ };
689
+ export type UniffiVTableCallbackInterfaceStorageBackend = {
690
+ createStores: UniffiCallbackInterfaceStorageBackendMethod0;
618
691
  uniffiFree: UniffiCallbackInterfaceFree;
619
692
  };
620
693
  //# sourceMappingURL=breez_sdk_spark-ffi.d.ts.map