@breeztech/breez-sdk-spark-react-native 0.15.0 → 0.16.1-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.
Files changed (29) hide show
  1. package/cpp/generated/breez_sdk_spark.cpp +4947 -2629
  2. package/cpp/generated/breez_sdk_spark.hpp +257 -110
  3. package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
  4. package/lib/commonjs/generated/breez_sdk_spark.js +1304 -580
  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 +1304 -580
  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 +199 -140
  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 +6149 -3695
  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 +199 -140
  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 +6149 -3695
  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 +366 -198
  28. package/src/generated/breez_sdk_spark.ts +12343 -7056
  29. package/src/passkey-prf-provider.ts +372 -0
@@ -15,18 +15,18 @@ 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;
28
29
  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
30
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_lightning_address(ptr: bigint): bigint;
31
31
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_payment(ptr: bigint, request: Uint8Array): bigint;
32
32
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_token_issuer(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
@@ -41,6 +41,7 @@ interface NativeModuleInterface {
41
41
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_lnurl_auth(ptr: bigint, requestData: Uint8Array): bigint;
42
42
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_lnurl_pay(ptr: bigint, request: Uint8Array): bigint;
43
43
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_lnurl_withdraw(ptr: bigint, request: Uint8Array): bigint;
44
+ ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_optimize_leaves(ptr: bigint, request: Uint8Array): bigint;
44
45
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_parse(ptr: bigint, input: Uint8Array): bigint;
45
46
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_lnurl_pay(ptr: bigint, request: Uint8Array): bigint;
46
47
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_payment(ptr: bigint, request: Uint8Array): bigint;
@@ -53,55 +54,69 @@ interface NativeModuleInterface {
53
54
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_remove_event_listener(ptr: bigint, id: Uint8Array): bigint;
54
55
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_send_payment(ptr: bigint, request: Uint8Array): bigint;
55
56
  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
57
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_sync_wallet(ptr: bigint, request: Uint8Array): bigint;
58
58
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_unregister_webhook(ptr: bigint, request: Uint8Array): bigint;
59
59
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_update_contact(ptr: bigint, request: Uint8Array): bigint;
60
60
  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;
61
+ ubrn_uniffi_breez_sdk_spark_fn_clone_externalbreezsigner(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
62
+ ubrn_uniffi_breez_sdk_spark_fn_free_externalbreezsigner(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
63
+ ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalbreezsigner(vtable: UniffiVTableCallbackInterfaceExternalBreezSigner): void;
64
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_derive_public_key(ptr: bigint, path: Uint8Array): bigint;
65
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_sign_ecdsa(ptr: bigint, message: Uint8Array, path: Uint8Array): bigint;
66
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_sign_ecdsa_recoverable(ptr: bigint, message: Uint8Array, path: Uint8Array): bigint;
67
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_encrypt_ecies(ptr: bigint, message: Uint8Array, path: Uint8Array): bigint;
68
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_decrypt_ecies(ptr: bigint, message: Uint8Array, path: Uint8Array): bigint;
69
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_sign_hash_schnorr(ptr: bigint, hash: Uint8Array, path: Uint8Array): bigint;
70
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_hmac_sha256(ptr: bigint, message: Uint8Array, path: Uint8Array): bigint;
71
+ ubrn_uniffi_breez_sdk_spark_fn_clone_externalsparksigner(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
72
+ ubrn_uniffi_breez_sdk_spark_fn_free_externalsparksigner(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
73
+ ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalsparksigner(vtable: UniffiVTableCallbackInterfaceExternalSparkSigner): void;
74
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_get_identity_public_key(ptr: bigint): bigint;
75
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_get_public_key_for_leaf(ptr: bigint, leafId: Uint8Array): bigint;
76
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_get_static_deposit_public_key(ptr: bigint, index: number): bigint;
77
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_authentication_challenge(ptr: bigint, challenge: Uint8Array): bigint;
78
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_message(ptr: bigint, message: Uint8Array): bigint;
79
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_frost(ptr: bigint, jobs: Uint8Array): bigint;
80
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_transfer(ptr: bigint, request: Uint8Array): bigint;
81
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_claim(ptr: bigint, request: Uint8Array): bigint;
82
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_lightning_receive(ptr: bigint, request: Uint8Array): bigint;
83
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_static_deposit(ptr: bigint, request: Uint8Array): bigint;
84
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_start_static_deposit_refund(ptr: bigint, request: Uint8Array): bigint;
85
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_static_deposit_refund(ptr: bigint, request: Uint8Array): bigint;
86
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_spark_invoice(ptr: bigint, request: Uint8Array): bigint;
87
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_token_transaction(ptr: bigint, request: Uint8Array): bigint;
88
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_static_deposit_claim(ptr: bigint, request: Uint8Array): bigint;
84
89
  ubrn_uniffi_breez_sdk_spark_fn_clone_fiatservice(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
85
90
  ubrn_uniffi_breez_sdk_spark_fn_free_fiatservice(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
86
91
  ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_fiatservice(vtable: UniffiVTableCallbackInterfaceFiatService): void;
87
92
  ubrn_uniffi_breez_sdk_spark_fn_method_fiatservice_fetch_fiat_currencies(ptr: bigint): bigint;
88
93
  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;
94
+ ubrn_uniffi_breez_sdk_spark_fn_clone_passkeyclient(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
95
+ ubrn_uniffi_breez_sdk_spark_fn_free_passkeyclient(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
96
+ ubrn_uniffi_breez_sdk_spark_fn_constructor_passkeyclient_new(prfProvider: bigint, breezApiKey: Uint8Array, config: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
97
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_check_availability(ptr: bigint): bigint;
98
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_connect_with_passkey(ptr: bigint, request: Uint8Array): bigint;
99
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_labels(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
100
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_register(ptr: bigint, request: Uint8Array): bigint;
101
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_sign_in(ptr: bigint, request: Uint8Array): bigint;
102
+ ubrn_uniffi_breez_sdk_spark_fn_clone_passkeylabels(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
103
+ ubrn_uniffi_breez_sdk_spark_fn_free_passkeylabels(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
104
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeylabels_list(ptr: bigint): bigint;
105
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeylabels_store(ptr: bigint, label: Uint8Array): bigint;
101
106
  ubrn_uniffi_breez_sdk_spark_fn_clone_paymentobserver(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
102
107
  ubrn_uniffi_breez_sdk_spark_fn_free_paymentobserver(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
103
108
  ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_paymentobserver(vtable: UniffiVTableCallbackInterfacePaymentObserver): void;
104
109
  ubrn_uniffi_breez_sdk_spark_fn_method_paymentobserver_before_send(ptr: bigint, payments: Uint8Array): bigint;
110
+ ubrn_uniffi_breez_sdk_spark_fn_method_paymentobserver_after_send(ptr: bigint, updates: Uint8Array): bigint;
111
+ ubrn_uniffi_breez_sdk_spark_fn_clone_prfprovider(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
112
+ ubrn_uniffi_breez_sdk_spark_fn_free_prfprovider(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
113
+ ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_prfprovider(vtable: UniffiVTableCallbackInterfacePrfProvider): void;
114
+ ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_derive_seeds(ptr: bigint, request: Uint8Array): bigint;
115
+ ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_is_supported(ptr: bigint): bigint;
116
+ ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_create_passkey(ptr: bigint, excludeCredentials: Uint8Array): bigint;
117
+ ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_check_domain_association(ptr: bigint): bigint;
118
+ ubrn_uniffi_breez_sdk_spark_fn_clone_resolvedstores(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
119
+ ubrn_uniffi_breez_sdk_spark_fn_free_resolvedstores(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
105
120
  ubrn_uniffi_breez_sdk_spark_fn_clone_restclient(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
106
121
  ubrn_uniffi_breez_sdk_spark_fn_free_restclient(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
107
122
  ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_restclient(vtable: UniffiVTableCallbackInterfaceRestClient): void;
@@ -111,23 +126,25 @@ interface NativeModuleInterface {
111
126
  ubrn_uniffi_breez_sdk_spark_fn_clone_sdkbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
112
127
  ubrn_uniffi_breez_sdk_spark_fn_free_sdkbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
113
128
  ubrn_uniffi_breez_sdk_spark_fn_constructor_sdkbuilder_new(config: Uint8Array, seed: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
129
+ ubrn_uniffi_breez_sdk_spark_fn_constructor_sdkbuilder_new_with_signer(config: Uint8Array, breezSigner: bigint, sparkSigner: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
114
130
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_build(ptr: bigint): bigint;
131
+ ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_account_number(ptr: bigint, accountNumber: number): bigint;
115
132
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_chain_service(ptr: bigint, chainService: bigint): bigint;
116
133
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_default_storage(ptr: bigint, storageDir: Uint8Array): bigint;
117
134
  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
135
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_lnurl_client(ptr: bigint, lnurlClient: bigint): bigint;
120
136
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_payment_observer(ptr: bigint, paymentObserver: bigint): bigint;
121
137
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_rest_chain_service(ptr: bigint, url: Uint8Array, apiType: Uint8Array, credentials: Uint8Array): bigint;
122
138
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_shared_context(ptr: bigint, context: bigint): bigint;
123
139
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_storage(ptr: bigint, storage: bigint): bigint;
140
+ ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_storage_backend(ptr: bigint, storage: bigint): bigint;
124
141
  ubrn_uniffi_breez_sdk_spark_fn_clone_sdkcontext(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
125
142
  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;
143
+ ubrn_uniffi_breez_sdk_spark_fn_clone_sessionstore(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
144
+ ubrn_uniffi_breez_sdk_spark_fn_free_sessionstore(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
145
+ ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_sessionstore(vtable: UniffiVTableCallbackInterfaceSessionStore): void;
146
+ ubrn_uniffi_breez_sdk_spark_fn_method_sessionstore_get_session(ptr: bigint, serviceIdentityKey: Uint8Array): bigint;
147
+ ubrn_uniffi_breez_sdk_spark_fn_method_sessionstore_set_session(ptr: bigint, serviceIdentityKey: Uint8Array, session: Uint8Array): bigint;
131
148
  ubrn_uniffi_breez_sdk_spark_fn_clone_storage(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
132
149
  ubrn_uniffi_breez_sdk_spark_fn_free_storage(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
133
150
  ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_storage(vtable: UniffiVTableCallbackInterfaceStorage): void;
@@ -135,7 +152,7 @@ interface NativeModuleInterface {
135
152
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_cached_item(ptr: bigint, key: Uint8Array): bigint;
136
153
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_set_cached_item(ptr: bigint, key: Uint8Array, value: Uint8Array): bigint;
137
154
  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;
155
+ ubrn_uniffi_breez_sdk_spark_fn_method_storage_apply_payment_update(ptr: bigint, payment: Uint8Array): bigint;
139
156
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_insert_payment_metadata(ptr: bigint, paymentId: Uint8Array, metadata: Uint8Array): bigint;
140
157
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_payment_by_id(ptr: bigint, id: Uint8Array): bigint;
141
158
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_payment_by_invoice(ptr: bigint, invoice: Uint8Array): bigint;
@@ -158,6 +175,9 @@ interface NativeModuleInterface {
158
175
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_incoming_records(ptr: bigint, limit: number): bigint;
159
176
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_latest_outgoing_change(ptr: bigint): bigint;
160
177
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_update_record_from_incoming(ptr: bigint, record: Uint8Array): bigint;
178
+ ubrn_uniffi_breez_sdk_spark_fn_clone_storagebackend(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
179
+ ubrn_uniffi_breez_sdk_spark_fn_free_storagebackend(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
180
+ ubrn_uniffi_breez_sdk_spark_fn_method_storagebackend_create_stores(ptr: bigint, network: Uint8Array, identity: Uint8Array): bigint;
161
181
  ubrn_uniffi_breez_sdk_spark_fn_clone_tokenissuer(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
162
182
  ubrn_uniffi_breez_sdk_spark_fn_free_tokenissuer(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;
163
183
  ubrn_uniffi_breez_sdk_spark_fn_method_tokenissuer_burn_issuer_token(ptr: bigint, request: Uint8Array): bigint;
@@ -171,9 +191,12 @@ interface NativeModuleInterface {
171
191
  ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_logger(vtable: UniffiVTableCallbackInterfaceLogger): void;
172
192
  ubrn_uniffi_breez_sdk_spark_fn_func_connect(request: Uint8Array): bigint;
173
193
  ubrn_uniffi_breez_sdk_spark_fn_func_connect_with_signer(request: Uint8Array): bigint;
194
+ ubrn_uniffi_breez_sdk_spark_fn_func_create_turnkey_signer(config: Uint8Array): bigint;
195
+ ubrn_uniffi_breez_sdk_spark_fn_func_custom_storage(storage: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;
174
196
  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;
197
+ ubrn_uniffi_breez_sdk_spark_fn_func_default_external_signers(mnemonic: Uint8Array, passphrase: Uint8Array, network: Uint8Array, accountNumber: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
176
198
  ubrn_uniffi_breez_sdk_spark_fn_func_default_server_config(network: Uint8Array, uniffi_out_err: UniffiRustCallStatus): Uint8Array;
199
+ ubrn_uniffi_breez_sdk_spark_fn_func_default_storage(storageDir: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;
177
200
  ubrn_uniffi_breez_sdk_spark_fn_func_get_spark_status(): bigint;
178
201
  ubrn_uniffi_breez_sdk_spark_fn_func_init_logging(logDir: Uint8Array, appLogger: Uint8Array, logFilter: Uint8Array, uniffi_out_err: UniffiRustCallStatus): void;
179
202
  ubrn_uniffi_breez_sdk_spark_fn_func_new_rest_chain_service(url: Uint8Array, network: Uint8Array, apiType: Uint8Array, credentials: Uint8Array): bigint;
@@ -232,9 +255,12 @@ interface NativeModuleInterface {
232
255
  ubrn_ffi_breez_sdk_spark_rust_future_complete_void(handle: bigint, uniffi_out_err: UniffiRustCallStatus): void;
233
256
  ubrn_uniffi_breez_sdk_spark_checksum_func_connect(): number;
234
257
  ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signer(): number;
258
+ ubrn_uniffi_breez_sdk_spark_checksum_func_create_turnkey_signer(): number;
259
+ ubrn_uniffi_breez_sdk_spark_checksum_func_custom_storage(): number;
235
260
  ubrn_uniffi_breez_sdk_spark_checksum_func_default_config(): number;
236
- ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signer(): number;
261
+ ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signers(): number;
237
262
  ubrn_uniffi_breez_sdk_spark_checksum_func_default_server_config(): number;
263
+ ubrn_uniffi_breez_sdk_spark_checksum_func_default_storage(): number;
238
264
  ubrn_uniffi_breez_sdk_spark_checksum_func_get_spark_status(): number;
239
265
  ubrn_uniffi_breez_sdk_spark_checksum_func_init_logging(): number;
240
266
  ubrn_uniffi_breez_sdk_spark_checksum_func_new_rest_chain_service(): number;
@@ -246,18 +272,18 @@ interface NativeModuleInterface {
246
272
  ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees(): number;
247
273
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact(): number;
248
274
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener(): number;
275
+ ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_authorize_lightning_address_transfer(): number;
249
276
  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
277
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available(): number;
252
278
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message(): number;
253
279
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit(): number;
254
280
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment(): number;
281
+ ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_lightning_address_transfer(): number;
255
282
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact(): number;
256
283
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address(): number;
257
284
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect(): number;
258
285
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits(): number;
259
286
  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
287
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address(): number;
262
288
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment(): number;
263
289
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer(): number;
@@ -272,6 +298,7 @@ interface NativeModuleInterface {
272
298
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth(): number;
273
299
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay(): number;
274
300
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw(): number;
301
+ ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_optimize_leaves(): number;
275
302
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_parse(): number;
276
303
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay(): number;
277
304
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment(): number;
@@ -284,60 +311,68 @@ interface NativeModuleInterface {
284
311
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener(): number;
285
312
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment(): number;
286
313
  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
314
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet(): number;
289
315
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_unregister_webhook(): number;
290
316
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact(): number;
291
317
  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;
318
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_derive_public_key(): number;
319
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa(): number;
320
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa_recoverable(): number;
321
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_encrypt_ecies(): number;
322
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_decrypt_ecies(): number;
323
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_hash_schnorr(): number;
324
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_hmac_sha256(): number;
325
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_identity_public_key(): number;
326
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_public_key_for_leaf(): number;
327
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_static_deposit_public_key(): number;
328
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_authentication_challenge(): number;
329
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_message(): number;
330
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_frost(): number;
331
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_transfer(): number;
332
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_claim(): number;
333
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_lightning_receive(): number;
334
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit(): number;
335
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_start_static_deposit_refund(): number;
336
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_static_deposit_refund(): number;
337
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_spark_invoice(): number;
338
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_token_transaction(): number;
339
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit_claim(): number;
312
340
  ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies(): number;
313
341
  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;
342
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_check_availability(): number;
343
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_connect_with_passkey(): number;
344
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_labels(): number;
345
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_register(): number;
346
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_sign_in(): number;
347
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_list(): number;
348
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_store(): number;
320
349
  ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send(): number;
350
+ ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_after_send(): number;
351
+ ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_derive_seeds(): number;
352
+ ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_is_supported(): number;
353
+ ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_create_passkey(): number;
354
+ ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_check_domain_association(): number;
321
355
  ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_get_request(): number;
322
356
  ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_post_request(): number;
323
357
  ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_delete_request(): number;
324
358
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build(): number;
359
+ ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_account_number(): number;
325
360
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service(): number;
326
361
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage(): number;
327
362
  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
363
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client(): number;
330
364
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer(): number;
331
365
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service(): number;
332
366
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_shared_context(): number;
333
367
  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;
368
+ ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage_backend(): number;
369
+ ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_get_session(): number;
370
+ ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_set_session(): number;
336
371
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item(): number;
337
372
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item(): number;
338
373
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item(): number;
339
374
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_payments(): number;
340
- ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment(): number;
375
+ ubrn_uniffi_breez_sdk_spark_checksum_method_storage_apply_payment_update(): number;
341
376
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata(): number;
342
377
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id(): number;
343
378
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice(): number;
@@ -360,6 +395,7 @@ interface NativeModuleInterface {
360
395
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records(): number;
361
396
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change(): number;
362
397
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming(): number;
398
+ ubrn_uniffi_breez_sdk_spark_checksum_method_storagebackend_create_stores(): number;
363
399
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token(): number;
364
400
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token(): number;
365
401
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token(): number;
@@ -367,23 +403,28 @@ interface NativeModuleInterface {
367
403
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata(): number;
368
404
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token(): number;
369
405
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token(): number;
370
- ubrn_uniffi_breez_sdk_spark_checksum_constructor_passkey_new(): number;
406
+ ubrn_uniffi_breez_sdk_spark_checksum_constructor_passkeyclient_new(): number;
371
407
  ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new(): number;
408
+ ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signer(): number;
372
409
  ubrn_uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event(): number;
373
410
  ubrn_uniffi_breez_sdk_spark_checksum_method_logger_log(): number;
374
411
  ubrn_ffi_breez_sdk_spark_uniffi_contract_version(): number;
375
412
  ubrn_uniffi_internal_fn_method_bitcoinchainservice_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
376
413
  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;
414
+ ubrn_uniffi_internal_fn_method_externalbreezsigner_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
415
+ ubrn_uniffi_internal_fn_method_externalsparksigner_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
378
416
  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;
417
+ ubrn_uniffi_internal_fn_method_passkeyclient_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
418
+ ubrn_uniffi_internal_fn_method_passkeylabels_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
381
419
  ubrn_uniffi_internal_fn_method_paymentobserver_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
420
+ ubrn_uniffi_internal_fn_method_prfprovider_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
421
+ ubrn_uniffi_internal_fn_method_resolvedstores_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
382
422
  ubrn_uniffi_internal_fn_method_restclient_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
383
423
  ubrn_uniffi_internal_fn_method_sdkbuilder_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
384
424
  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;
425
+ ubrn_uniffi_internal_fn_method_sessionstore_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
386
426
  ubrn_uniffi_internal_fn_method_storage_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
427
+ ubrn_uniffi_internal_fn_method_storagebackend_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
387
428
  ubrn_uniffi_internal_fn_method_tokenissuer_ffi__bless_pointer(pointer: bigint, uniffi_out_err: UniffiRustCallStatus): UniffiRustArcPtr;
388
429
  }
389
430
  declare const getter: () => NativeModuleInterface;
@@ -466,41 +507,46 @@ type UniffiCallbackInterfaceBitcoinChainServiceMethod1 = (uniffiHandle: bigint,
466
507
  type UniffiCallbackInterfaceBitcoinChainServiceMethod2 = (uniffiHandle: bigint, txid: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
467
508
  type UniffiCallbackInterfaceBitcoinChainServiceMethod3 = (uniffiHandle: bigint, tx: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
468
509
  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;
510
+ type UniffiCallbackInterfaceExternalBreezSignerMethod0 = (uniffiHandle: bigint, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
511
+ type UniffiCallbackInterfaceExternalBreezSignerMethod1 = (uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
512
+ type UniffiCallbackInterfaceExternalBreezSignerMethod2 = (uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
513
+ type UniffiCallbackInterfaceExternalBreezSignerMethod3 = (uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
514
+ type UniffiCallbackInterfaceExternalBreezSignerMethod4 = (uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
515
+ type UniffiCallbackInterfaceExternalBreezSignerMethod5 = (uniffiHandle: bigint, hash: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
516
+ type UniffiCallbackInterfaceExternalBreezSignerMethod6 = (uniffiHandle: bigint, message: Uint8Array, path: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
517
+ type UniffiCallbackInterfaceExternalSparkSignerMethod0 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
518
+ type UniffiCallbackInterfaceExternalSparkSignerMethod1 = (uniffiHandle: bigint, leafId: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
519
+ type UniffiCallbackInterfaceExternalSparkSignerMethod2 = (uniffiHandle: bigint, index: number, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
520
+ type UniffiCallbackInterfaceExternalSparkSignerMethod3 = (uniffiHandle: bigint, challenge: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
521
+ type UniffiCallbackInterfaceExternalSparkSignerMethod4 = (uniffiHandle: bigint, message: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
522
+ type UniffiCallbackInterfaceExternalSparkSignerMethod5 = (uniffiHandle: bigint, jobs: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
523
+ type UniffiCallbackInterfaceExternalSparkSignerMethod6 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
524
+ type UniffiCallbackInterfaceExternalSparkSignerMethod7 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
525
+ type UniffiCallbackInterfaceExternalSparkSignerMethod8 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
526
+ type UniffiCallbackInterfaceExternalSparkSignerMethod9 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
527
+ type UniffiCallbackInterfaceExternalSparkSignerMethod10 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
528
+ type UniffiCallbackInterfaceExternalSparkSignerMethod11 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
529
+ type UniffiCallbackInterfaceExternalSparkSignerMethod12 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
530
+ type UniffiCallbackInterfaceExternalSparkSignerMethod13 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
531
+ type UniffiCallbackInterfaceExternalSparkSignerMethod14 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
489
532
  type UniffiCallbackInterfaceFiatServiceMethod0 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
490
533
  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
534
  type UniffiCallbackInterfacePaymentObserverMethod0 = (uniffiHandle: bigint, payments: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
535
+ type UniffiCallbackInterfacePaymentObserverMethod1 = (uniffiHandle: bigint, updates: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
536
+ type UniffiCallbackInterfacePrfProviderMethod0 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
537
+ type UniffiCallbackInterfacePrfProviderMethod1 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteI8, uniffiCallbackData: bigint) => UniffiForeignFuture;
538
+ type UniffiCallbackInterfacePrfProviderMethod2 = (uniffiHandle: bigint, excludeCredentials: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
539
+ type UniffiCallbackInterfacePrfProviderMethod3 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
494
540
  type UniffiCallbackInterfaceRestClientMethod0 = (uniffiHandle: bigint, url: Uint8Array, headers: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
495
541
  type UniffiCallbackInterfaceRestClientMethod1 = (uniffiHandle: bigint, url: Uint8Array, headers: Uint8Array, body: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
496
542
  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;
543
+ type UniffiCallbackInterfaceSessionStoreMethod0 = (uniffiHandle: bigint, serviceIdentityKey: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
544
+ type UniffiCallbackInterfaceSessionStoreMethod1 = (uniffiHandle: bigint, serviceIdentityKey: Uint8Array, session: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
499
545
  type UniffiCallbackInterfaceStorageMethod0 = (uniffiHandle: bigint, key: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
500
546
  type UniffiCallbackInterfaceStorageMethod1 = (uniffiHandle: bigint, key: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
501
547
  type UniffiCallbackInterfaceStorageMethod2 = (uniffiHandle: bigint, key: Uint8Array, value: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
502
548
  type UniffiCallbackInterfaceStorageMethod3 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
503
- type UniffiCallbackInterfaceStorageMethod4 = (uniffiHandle: bigint, payment: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
549
+ type UniffiCallbackInterfaceStorageMethod4 = (uniffiHandle: bigint, payment: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteI8, uniffiCallbackData: bigint) => UniffiForeignFuture;
504
550
  type UniffiCallbackInterfaceStorageMethod5 = (uniffiHandle: bigint, paymentId: Uint8Array, metadata: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
505
551
  type UniffiCallbackInterfaceStorageMethod6 = (uniffiHandle: bigint, id: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
506
552
  type UniffiCallbackInterfaceStorageMethod7 = (uniffiHandle: bigint, invoice: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
@@ -523,6 +569,7 @@ type UniffiCallbackInterfaceStorageMethod23 = (uniffiHandle: bigint, record: Uin
523
569
  type UniffiCallbackInterfaceStorageMethod24 = (uniffiHandle: bigint, limit: number, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
524
570
  type UniffiCallbackInterfaceStorageMethod25 = (uniffiHandle: bigint, uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer, uniffiCallbackData: bigint) => UniffiForeignFuture;
525
571
  type UniffiCallbackInterfaceStorageMethod26 = (uniffiHandle: bigint, record: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleteVoid, uniffiCallbackData: bigint) => UniffiForeignFuture;
572
+ type UniffiCallbackInterfaceStorageBackendMethod0 = (uniffiHandle: bigint, network: Uint8Array, identity: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompletePointer, uniffiCallbackData: bigint) => UniffiForeignFuture;
526
573
  export type UniffiVTableCallbackInterfaceEventListener = {
527
574
  onEvent: UniffiCallbackInterfaceEventListenerMethod0;
528
575
  uniffiFree: UniffiCallbackInterfaceFree;
@@ -539,27 +586,32 @@ export type UniffiVTableCallbackInterfaceBitcoinChainService = {
539
586
  recommendedFees: UniffiCallbackInterfaceBitcoinChainServiceMethod4;
540
587
  uniffiFree: UniffiCallbackInterfaceFree;
541
588
  };
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;
589
+ export type UniffiVTableCallbackInterfaceExternalBreezSigner = {
590
+ derivePublicKey: UniffiCallbackInterfaceExternalBreezSignerMethod0;
591
+ signEcdsa: UniffiCallbackInterfaceExternalBreezSignerMethod1;
592
+ signEcdsaRecoverable: UniffiCallbackInterfaceExternalBreezSignerMethod2;
593
+ encryptEcies: UniffiCallbackInterfaceExternalBreezSignerMethod3;
594
+ decryptEcies: UniffiCallbackInterfaceExternalBreezSignerMethod4;
595
+ signHashSchnorr: UniffiCallbackInterfaceExternalBreezSignerMethod5;
596
+ hmacSha256: UniffiCallbackInterfaceExternalBreezSignerMethod6;
597
+ uniffiFree: UniffiCallbackInterfaceFree;
598
+ };
599
+ export type UniffiVTableCallbackInterfaceExternalSparkSigner = {
600
+ getIdentityPublicKey: UniffiCallbackInterfaceExternalSparkSignerMethod0;
601
+ getPublicKeyForLeaf: UniffiCallbackInterfaceExternalSparkSignerMethod1;
602
+ getStaticDepositPublicKey: UniffiCallbackInterfaceExternalSparkSignerMethod2;
603
+ signAuthenticationChallenge: UniffiCallbackInterfaceExternalSparkSignerMethod3;
604
+ signMessage: UniffiCallbackInterfaceExternalSparkSignerMethod4;
605
+ signFrost: UniffiCallbackInterfaceExternalSparkSignerMethod5;
606
+ prepareTransfer: UniffiCallbackInterfaceExternalSparkSignerMethod6;
607
+ prepareClaim: UniffiCallbackInterfaceExternalSparkSignerMethod7;
608
+ prepareLightningReceive: UniffiCallbackInterfaceExternalSparkSignerMethod8;
609
+ prepareStaticDeposit: UniffiCallbackInterfaceExternalSparkSignerMethod9;
610
+ startStaticDepositRefund: UniffiCallbackInterfaceExternalSparkSignerMethod10;
611
+ signStaticDepositRefund: UniffiCallbackInterfaceExternalSparkSignerMethod11;
612
+ signSparkInvoice: UniffiCallbackInterfaceExternalSparkSignerMethod12;
613
+ prepareTokenTransaction: UniffiCallbackInterfaceExternalSparkSignerMethod13;
614
+ prepareStaticDepositClaim: UniffiCallbackInterfaceExternalSparkSignerMethod14;
563
615
  uniffiFree: UniffiCallbackInterfaceFree;
564
616
  };
565
617
  export type UniffiVTableCallbackInterfaceFiatService = {
@@ -567,13 +619,16 @@ export type UniffiVTableCallbackInterfaceFiatService = {
567
619
  fetchFiatRates: UniffiCallbackInterfaceFiatServiceMethod1;
568
620
  uniffiFree: UniffiCallbackInterfaceFree;
569
621
  };
570
- export type UniffiVTableCallbackInterfacePasskeyPrfProvider = {
571
- derivePrfSeed: UniffiCallbackInterfacePasskeyPrfProviderMethod0;
572
- isPrfAvailable: UniffiCallbackInterfacePasskeyPrfProviderMethod1;
573
- uniffiFree: UniffiCallbackInterfaceFree;
574
- };
575
622
  export type UniffiVTableCallbackInterfacePaymentObserver = {
576
623
  beforeSend: UniffiCallbackInterfacePaymentObserverMethod0;
624
+ afterSend: UniffiCallbackInterfacePaymentObserverMethod1;
625
+ uniffiFree: UniffiCallbackInterfaceFree;
626
+ };
627
+ export type UniffiVTableCallbackInterfacePrfProvider = {
628
+ deriveSeeds: UniffiCallbackInterfacePrfProviderMethod0;
629
+ isSupported: UniffiCallbackInterfacePrfProviderMethod1;
630
+ createPasskey: UniffiCallbackInterfacePrfProviderMethod2;
631
+ checkDomainAssociation: UniffiCallbackInterfacePrfProviderMethod3;
577
632
  uniffiFree: UniffiCallbackInterfaceFree;
578
633
  };
579
634
  export type UniffiVTableCallbackInterfaceRestClient = {
@@ -582,9 +637,9 @@ export type UniffiVTableCallbackInterfaceRestClient = {
582
637
  deleteRequest: UniffiCallbackInterfaceRestClientMethod2;
583
638
  uniffiFree: UniffiCallbackInterfaceFree;
584
639
  };
585
- export type UniffiVTableCallbackInterfaceSessionManager = {
586
- getSession: UniffiCallbackInterfaceSessionManagerMethod0;
587
- setSession: UniffiCallbackInterfaceSessionManagerMethod1;
640
+ export type UniffiVTableCallbackInterfaceSessionStore = {
641
+ getSession: UniffiCallbackInterfaceSessionStoreMethod0;
642
+ setSession: UniffiCallbackInterfaceSessionStoreMethod1;
588
643
  uniffiFree: UniffiCallbackInterfaceFree;
589
644
  };
590
645
  export type UniffiVTableCallbackInterfaceStorage = {
@@ -592,7 +647,7 @@ export type UniffiVTableCallbackInterfaceStorage = {
592
647
  getCachedItem: UniffiCallbackInterfaceStorageMethod1;
593
648
  setCachedItem: UniffiCallbackInterfaceStorageMethod2;
594
649
  listPayments: UniffiCallbackInterfaceStorageMethod3;
595
- insertPayment: UniffiCallbackInterfaceStorageMethod4;
650
+ applyPaymentUpdate: UniffiCallbackInterfaceStorageMethod4;
596
651
  insertPaymentMetadata: UniffiCallbackInterfaceStorageMethod5;
597
652
  getPaymentById: UniffiCallbackInterfaceStorageMethod6;
598
653
  getPaymentByInvoice: UniffiCallbackInterfaceStorageMethod7;
@@ -617,4 +672,8 @@ export type UniffiVTableCallbackInterfaceStorage = {
617
672
  updateRecordFromIncoming: UniffiCallbackInterfaceStorageMethod26;
618
673
  uniffiFree: UniffiCallbackInterfaceFree;
619
674
  };
675
+ export type UniffiVTableCallbackInterfaceStorageBackend = {
676
+ createStores: UniffiCallbackInterfaceStorageBackendMethod0;
677
+ uniffiFree: UniffiCallbackInterfaceFree;
678
+ };
620
679
  //# sourceMappingURL=breez_sdk_spark-ffi.d.ts.map