@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
@@ -69,12 +69,13 @@ interface NativeModuleInterface {
69
69
  ptr: bigint,
70
70
  listener: bigint
71
71
  ): bigint;
72
- ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_buy_bitcoin(
72
+ ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_authorize_lightning_address_transfer(
73
73
  ptr: bigint,
74
74
  request: Uint8Array
75
75
  ): bigint;
76
- ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_cancel_leaf_optimization(
77
- ptr: bigint
76
+ ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_buy_bitcoin(
77
+ ptr: bigint,
78
+ request: Uint8Array
78
79
  ): bigint;
79
80
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_check_lightning_address_available(
80
81
  ptr: bigint,
@@ -92,6 +93,10 @@ interface NativeModuleInterface {
92
93
  ptr: bigint,
93
94
  request: Uint8Array
94
95
  ): bigint;
96
+ ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_claim_lightning_address_transfer(
97
+ ptr: bigint,
98
+ request: Uint8Array
99
+ ): bigint;
95
100
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_delete_contact(
96
101
  ptr: bigint,
97
102
  id: Uint8Array
@@ -106,14 +111,14 @@ interface NativeModuleInterface {
106
111
  ptr: bigint,
107
112
  request: Uint8Array
108
113
  ): bigint;
114
+ ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_cross_chain_routes(
115
+ ptr: bigint,
116
+ filter: Uint8Array
117
+ ): bigint;
109
118
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_info(
110
119
  ptr: bigint,
111
120
  request: Uint8Array
112
121
  ): bigint;
113
- ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_leaf_optimization_progress(
114
- ptr: bigint,
115
- uniffi_out_err: UniffiRustCallStatus
116
- ): Uint8Array;
117
122
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_lightning_address(
118
123
  ptr: bigint
119
124
  ): bigint;
@@ -165,6 +170,10 @@ interface NativeModuleInterface {
165
170
  ptr: bigint,
166
171
  request: Uint8Array
167
172
  ): bigint;
173
+ ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_optimize_leaves(
174
+ ptr: bigint,
175
+ request: Uint8Array
176
+ ): bigint;
168
177
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_parse(
169
178
  ptr: bigint,
170
179
  input: Uint8Array
@@ -211,9 +220,6 @@ interface NativeModuleInterface {
211
220
  ptr: bigint,
212
221
  request: Uint8Array
213
222
  ): bigint;
214
- ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_start_leaf_optimization(
215
- ptr: bigint
216
- ): bigint;
217
223
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_sync_wallet(
218
224
  ptr: bigint,
219
225
  request: Uint8Array
@@ -230,102 +236,118 @@ interface NativeModuleInterface {
230
236
  ptr: bigint,
231
237
  request: Uint8Array
232
238
  ): bigint;
233
- ubrn_uniffi_breez_sdk_spark_fn_clone_externalsigner(
239
+ ubrn_uniffi_breez_sdk_spark_fn_clone_externalbreezsigner(
234
240
  ptr: bigint,
235
241
  uniffi_out_err: UniffiRustCallStatus
236
242
  ): bigint;
237
- ubrn_uniffi_breez_sdk_spark_fn_free_externalsigner(
243
+ ubrn_uniffi_breez_sdk_spark_fn_free_externalbreezsigner(
238
244
  ptr: bigint,
239
245
  uniffi_out_err: UniffiRustCallStatus
240
246
  ): void;
241
- ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalsigner(
242
- vtable: UniffiVTableCallbackInterfaceExternalSigner
247
+ ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalbreezsigner(
248
+ vtable: UniffiVTableCallbackInterfaceExternalBreezSigner
243
249
  ): void;
244
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_identity_public_key(
245
- ptr: bigint,
246
- uniffi_out_err: UniffiRustCallStatus
247
- ): Uint8Array;
248
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_derive_public_key(
250
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_derive_public_key(
249
251
  ptr: bigint,
250
252
  path: Uint8Array
251
253
  ): bigint;
252
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_ecdsa(
254
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_sign_ecdsa(
253
255
  ptr: bigint,
254
256
  message: Uint8Array,
255
257
  path: Uint8Array
256
258
  ): bigint;
257
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_ecdsa_recoverable(
259
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_sign_ecdsa_recoverable(
258
260
  ptr: bigint,
259
261
  message: Uint8Array,
260
262
  path: Uint8Array
261
263
  ): bigint;
262
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_ecies(
264
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_encrypt_ecies(
263
265
  ptr: bigint,
264
266
  message: Uint8Array,
265
267
  path: Uint8Array
266
268
  ): bigint;
267
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_decrypt_ecies(
269
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_decrypt_ecies(
268
270
  ptr: bigint,
269
271
  message: Uint8Array,
270
272
  path: Uint8Array
271
273
  ): bigint;
272
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_hash_schnorr(
274
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_sign_hash_schnorr(
273
275
  ptr: bigint,
274
276
  hash: Uint8Array,
275
277
  path: Uint8Array
276
278
  ): bigint;
277
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_hmac_sha256(
279
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalbreezsigner_hmac_sha256(
278
280
  ptr: bigint,
279
281
  message: Uint8Array,
280
282
  path: Uint8Array
281
283
  ): bigint;
282
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_signing_commitment(
283
- ptr: bigint
284
- ): bigint;
285
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_for_node(
284
+ ubrn_uniffi_breez_sdk_spark_fn_clone_externalsparksigner(
286
285
  ptr: bigint,
287
- id: Uint8Array
286
+ uniffi_out_err: UniffiRustCallStatus
288
287
  ): bigint;
289
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_secret(
288
+ ubrn_uniffi_breez_sdk_spark_fn_free_externalsparksigner(
289
+ ptr: bigint,
290
+ uniffi_out_err: UniffiRustCallStatus
291
+ ): void;
292
+ ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalsparksigner(
293
+ vtable: UniffiVTableCallbackInterfaceExternalSparkSigner
294
+ ): void;
295
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_get_identity_public_key(
290
296
  ptr: bigint
291
297
  ): bigint;
292
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_encrypted(
298
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_get_public_key_for_leaf(
293
299
  ptr: bigint,
294
- index: number
300
+ leafId: Uint8Array
295
301
  ): bigint;
296
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret(
302
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_get_static_deposit_public_key(
297
303
  ptr: bigint,
298
304
  index: number
299
305
  ): bigint;
300
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_signing_key(
306
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_authentication_challenge(
301
307
  ptr: bigint,
302
- index: number
308
+ challenge: Uint8Array
309
+ ): bigint;
310
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_message(
311
+ ptr: bigint,
312
+ message: Uint8Array
313
+ ): bigint;
314
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_frost(
315
+ ptr: bigint,
316
+ jobs: Uint8Array
317
+ ): bigint;
318
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_transfer(
319
+ ptr: bigint,
320
+ request: Uint8Array
321
+ ): bigint;
322
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_claim(
323
+ ptr: bigint,
324
+ request: Uint8Array
325
+ ): bigint;
326
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_lightning_receive(
327
+ ptr: bigint,
328
+ request: Uint8Array
303
329
  ): bigint;
304
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secrets(
330
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_static_deposit(
305
331
  ptr: bigint,
306
- signingKey: Uint8Array,
307
- newSigningKey: Uint8Array
332
+ request: Uint8Array
308
333
  ): bigint;
309
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret_with_proofs(
334
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_start_static_deposit_refund(
310
335
  ptr: bigint,
311
- secret: Uint8Array,
312
- threshold: number,
313
- numShares: number
336
+ request: Uint8Array
314
337
  ): bigint;
315
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_for_receiver(
338
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_static_deposit_refund(
316
339
  ptr: bigint,
317
- encryptedSecret: Uint8Array,
318
- receiverPublicKey: Uint8Array
340
+ request: Uint8Array
319
341
  ): bigint;
320
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_secret(
342
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_spark_invoice(
321
343
  ptr: bigint,
322
- secret: Uint8Array
344
+ request: Uint8Array
323
345
  ): bigint;
324
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_frost(
346
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_token_transaction(
325
347
  ptr: bigint,
326
348
  request: Uint8Array
327
349
  ): bigint;
328
- ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost(
350
+ ubrn_uniffi_breez_sdk_spark_fn_method_externalsparksigner_prepare_static_deposit_claim(
329
351
  ptr: bigint,
330
352
  request: Uint8Array
331
353
  ): bigint;
@@ -346,50 +368,51 @@ interface NativeModuleInterface {
346
368
  ubrn_uniffi_breez_sdk_spark_fn_method_fiatservice_fetch_fiat_rates(
347
369
  ptr: bigint
348
370
  ): bigint;
349
- ubrn_uniffi_breez_sdk_spark_fn_clone_passkey(
371
+ ubrn_uniffi_breez_sdk_spark_fn_clone_passkeyclient(
350
372
  ptr: bigint,
351
373
  uniffi_out_err: UniffiRustCallStatus
352
374
  ): bigint;
353
- ubrn_uniffi_breez_sdk_spark_fn_free_passkey(
375
+ ubrn_uniffi_breez_sdk_spark_fn_free_passkeyclient(
354
376
  ptr: bigint,
355
377
  uniffi_out_err: UniffiRustCallStatus
356
378
  ): void;
357
- ubrn_uniffi_breez_sdk_spark_fn_constructor_passkey_new(
379
+ ubrn_uniffi_breez_sdk_spark_fn_constructor_passkeyclient_new(
358
380
  prfProvider: bigint,
359
- relayConfig: Uint8Array,
381
+ breezApiKey: Uint8Array,
382
+ config: Uint8Array,
360
383
  uniffi_out_err: UniffiRustCallStatus
361
384
  ): bigint;
362
- ubrn_uniffi_breez_sdk_spark_fn_method_passkey_get_wallet(
385
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_check_availability(
386
+ ptr: bigint
387
+ ): bigint;
388
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_connect_with_passkey(
363
389
  ptr: bigint,
364
- label: Uint8Array
390
+ request: Uint8Array
365
391
  ): bigint;
366
- ubrn_uniffi_breez_sdk_spark_fn_method_passkey_is_available(
367
- ptr: bigint
392
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_labels(
393
+ ptr: bigint,
394
+ uniffi_out_err: UniffiRustCallStatus
368
395
  ): bigint;
369
- ubrn_uniffi_breez_sdk_spark_fn_method_passkey_list_labels(
370
- ptr: bigint
396
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_register(
397
+ ptr: bigint,
398
+ request: Uint8Array
371
399
  ): bigint;
372
- ubrn_uniffi_breez_sdk_spark_fn_method_passkey_store_label(
400
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeyclient_sign_in(
373
401
  ptr: bigint,
374
- label: Uint8Array
402
+ request: Uint8Array
375
403
  ): bigint;
376
- ubrn_uniffi_breez_sdk_spark_fn_clone_passkeyprfprovider(
404
+ ubrn_uniffi_breez_sdk_spark_fn_clone_passkeylabels(
377
405
  ptr: bigint,
378
406
  uniffi_out_err: UniffiRustCallStatus
379
407
  ): bigint;
380
- ubrn_uniffi_breez_sdk_spark_fn_free_passkeyprfprovider(
408
+ ubrn_uniffi_breez_sdk_spark_fn_free_passkeylabels(
381
409
  ptr: bigint,
382
410
  uniffi_out_err: UniffiRustCallStatus
383
411
  ): void;
384
- ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_passkeyprfprovider(
385
- vtable: UniffiVTableCallbackInterfacePasskeyPrfProvider
386
- ): void;
387
- ubrn_uniffi_breez_sdk_spark_fn_method_passkeyprfprovider_derive_prf_seed(
412
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeylabels_list(ptr: bigint): bigint;
413
+ ubrn_uniffi_breez_sdk_spark_fn_method_passkeylabels_store(
388
414
  ptr: bigint,
389
- salt: Uint8Array
390
- ): bigint;
391
- ubrn_uniffi_breez_sdk_spark_fn_method_passkeyprfprovider_is_prf_available(
392
- ptr: bigint
415
+ label: Uint8Array
393
416
  ): bigint;
394
417
  ubrn_uniffi_breez_sdk_spark_fn_clone_paymentobserver(
395
418
  ptr: bigint,
@@ -406,6 +429,43 @@ interface NativeModuleInterface {
406
429
  ptr: bigint,
407
430
  payments: Uint8Array
408
431
  ): bigint;
432
+ ubrn_uniffi_breez_sdk_spark_fn_method_paymentobserver_after_send(
433
+ ptr: bigint,
434
+ updates: Uint8Array
435
+ ): bigint;
436
+ ubrn_uniffi_breez_sdk_spark_fn_clone_prfprovider(
437
+ ptr: bigint,
438
+ uniffi_out_err: UniffiRustCallStatus
439
+ ): bigint;
440
+ ubrn_uniffi_breez_sdk_spark_fn_free_prfprovider(
441
+ ptr: bigint,
442
+ uniffi_out_err: UniffiRustCallStatus
443
+ ): void;
444
+ ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_prfprovider(
445
+ vtable: UniffiVTableCallbackInterfacePrfProvider
446
+ ): void;
447
+ ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_derive_seeds(
448
+ ptr: bigint,
449
+ request: Uint8Array
450
+ ): bigint;
451
+ ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_is_supported(
452
+ ptr: bigint
453
+ ): bigint;
454
+ ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_create_passkey(
455
+ ptr: bigint,
456
+ excludeCredentials: Uint8Array
457
+ ): bigint;
458
+ ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_check_domain_association(
459
+ ptr: bigint
460
+ ): bigint;
461
+ ubrn_uniffi_breez_sdk_spark_fn_clone_resolvedstores(
462
+ ptr: bigint,
463
+ uniffi_out_err: UniffiRustCallStatus
464
+ ): bigint;
465
+ ubrn_uniffi_breez_sdk_spark_fn_free_resolvedstores(
466
+ ptr: bigint,
467
+ uniffi_out_err: UniffiRustCallStatus
468
+ ): void;
409
469
  ubrn_uniffi_breez_sdk_spark_fn_clone_restclient(
410
470
  ptr: bigint,
411
471
  uniffi_out_err: UniffiRustCallStatus
@@ -447,7 +507,17 @@ interface NativeModuleInterface {
447
507
  seed: Uint8Array,
448
508
  uniffi_out_err: UniffiRustCallStatus
449
509
  ): bigint;
510
+ ubrn_uniffi_breez_sdk_spark_fn_constructor_sdkbuilder_new_with_signer(
511
+ config: Uint8Array,
512
+ breezSigner: bigint,
513
+ sparkSigner: bigint,
514
+ uniffi_out_err: UniffiRustCallStatus
515
+ ): bigint;
450
516
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_build(ptr: bigint): bigint;
517
+ ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_account_number(
518
+ ptr: bigint,
519
+ accountNumber: number
520
+ ): bigint;
451
521
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_chain_service(
452
522
  ptr: bigint,
453
523
  chainService: bigint
@@ -460,10 +530,6 @@ interface NativeModuleInterface {
460
530
  ptr: bigint,
461
531
  fiatService: bigint
462
532
  ): bigint;
463
- ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_key_set(
464
- ptr: bigint,
465
- config: Uint8Array
466
- ): bigint;
467
533
  ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_lnurl_client(
468
534
  ptr: bigint,
469
535
  lnurlClient: bigint
@@ -486,6 +552,10 @@ interface NativeModuleInterface {
486
552
  ptr: bigint,
487
553
  storage: bigint
488
554
  ): bigint;
555
+ ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_storage_backend(
556
+ ptr: bigint,
557
+ storage: bigint
558
+ ): bigint;
489
559
  ubrn_uniffi_breez_sdk_spark_fn_clone_sdkcontext(
490
560
  ptr: bigint,
491
561
  uniffi_out_err: UniffiRustCallStatus
@@ -494,22 +564,22 @@ interface NativeModuleInterface {
494
564
  ptr: bigint,
495
565
  uniffi_out_err: UniffiRustCallStatus
496
566
  ): void;
497
- ubrn_uniffi_breez_sdk_spark_fn_clone_sessionmanager(
567
+ ubrn_uniffi_breez_sdk_spark_fn_clone_sessionstore(
498
568
  ptr: bigint,
499
569
  uniffi_out_err: UniffiRustCallStatus
500
570
  ): bigint;
501
- ubrn_uniffi_breez_sdk_spark_fn_free_sessionmanager(
571
+ ubrn_uniffi_breez_sdk_spark_fn_free_sessionstore(
502
572
  ptr: bigint,
503
573
  uniffi_out_err: UniffiRustCallStatus
504
574
  ): void;
505
- ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_sessionmanager(
506
- vtable: UniffiVTableCallbackInterfaceSessionManager
575
+ ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_sessionstore(
576
+ vtable: UniffiVTableCallbackInterfaceSessionStore
507
577
  ): void;
508
- ubrn_uniffi_breez_sdk_spark_fn_method_sessionmanager_get_session(
578
+ ubrn_uniffi_breez_sdk_spark_fn_method_sessionstore_get_session(
509
579
  ptr: bigint,
510
580
  serviceIdentityKey: Uint8Array
511
581
  ): bigint;
512
- ubrn_uniffi_breez_sdk_spark_fn_method_sessionmanager_set_session(
582
+ ubrn_uniffi_breez_sdk_spark_fn_method_sessionstore_set_session(
513
583
  ptr: bigint,
514
584
  serviceIdentityKey: Uint8Array,
515
585
  session: Uint8Array
@@ -542,7 +612,7 @@ interface NativeModuleInterface {
542
612
  ptr: bigint,
543
613
  request: Uint8Array
544
614
  ): bigint;
545
- ubrn_uniffi_breez_sdk_spark_fn_method_storage_insert_payment(
615
+ ubrn_uniffi_breez_sdk_spark_fn_method_storage_apply_payment_update(
546
616
  ptr: bigint,
547
617
  payment: Uint8Array
548
618
  ): bigint;
@@ -604,6 +674,19 @@ interface NativeModuleInterface {
604
674
  ptr: bigint,
605
675
  id: Uint8Array
606
676
  ): bigint;
677
+ ubrn_uniffi_breez_sdk_spark_fn_method_storage_set_cross_chain_swap(
678
+ ptr: bigint,
679
+ swap: Uint8Array
680
+ ): bigint;
681
+ ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_cross_chain_swap(
682
+ ptr: bigint,
683
+ provider: Uint8Array,
684
+ id: Uint8Array
685
+ ): bigint;
686
+ ubrn_uniffi_breez_sdk_spark_fn_method_storage_list_active_cross_chain_swaps(
687
+ ptr: bigint,
688
+ provider: Uint8Array
689
+ ): bigint;
607
690
  ubrn_uniffi_breez_sdk_spark_fn_method_storage_add_outgoing_change(
608
691
  ptr: bigint,
609
692
  record: Uint8Array
@@ -639,6 +722,19 @@ interface NativeModuleInterface {
639
722
  ptr: bigint,
640
723
  record: Uint8Array
641
724
  ): bigint;
725
+ ubrn_uniffi_breez_sdk_spark_fn_clone_storagebackend(
726
+ ptr: bigint,
727
+ uniffi_out_err: UniffiRustCallStatus
728
+ ): bigint;
729
+ ubrn_uniffi_breez_sdk_spark_fn_free_storagebackend(
730
+ ptr: bigint,
731
+ uniffi_out_err: UniffiRustCallStatus
732
+ ): void;
733
+ ubrn_uniffi_breez_sdk_spark_fn_method_storagebackend_create_stores(
734
+ ptr: bigint,
735
+ network: Uint8Array,
736
+ identity: Uint8Array
737
+ ): bigint;
642
738
  ubrn_uniffi_breez_sdk_spark_fn_clone_tokenissuer(
643
739
  ptr: bigint,
644
740
  uniffi_out_err: UniffiRustCallStatus
@@ -683,21 +779,32 @@ interface NativeModuleInterface {
683
779
  ubrn_uniffi_breez_sdk_spark_fn_func_connect_with_signer(
684
780
  request: Uint8Array
685
781
  ): bigint;
782
+ ubrn_uniffi_breez_sdk_spark_fn_func_create_turnkey_signer(
783
+ config: Uint8Array
784
+ ): bigint;
785
+ ubrn_uniffi_breez_sdk_spark_fn_func_custom_storage(
786
+ storage: bigint,
787
+ uniffi_out_err: UniffiRustCallStatus
788
+ ): bigint;
686
789
  ubrn_uniffi_breez_sdk_spark_fn_func_default_config(
687
790
  network: Uint8Array,
688
791
  uniffi_out_err: UniffiRustCallStatus
689
792
  ): Uint8Array;
690
- ubrn_uniffi_breez_sdk_spark_fn_func_default_external_signer(
793
+ ubrn_uniffi_breez_sdk_spark_fn_func_default_external_signers(
691
794
  mnemonic: Uint8Array,
692
795
  passphrase: Uint8Array,
693
796
  network: Uint8Array,
694
- keySetConfig: Uint8Array,
797
+ accountNumber: Uint8Array,
695
798
  uniffi_out_err: UniffiRustCallStatus
696
- ): bigint;
799
+ ): Uint8Array;
697
800
  ubrn_uniffi_breez_sdk_spark_fn_func_default_server_config(
698
801
  network: Uint8Array,
699
802
  uniffi_out_err: UniffiRustCallStatus
700
803
  ): Uint8Array;
804
+ ubrn_uniffi_breez_sdk_spark_fn_func_default_storage(
805
+ storageDir: Uint8Array,
806
+ uniffi_out_err: UniffiRustCallStatus
807
+ ): bigint;
701
808
  ubrn_uniffi_breez_sdk_spark_fn_func_get_spark_status(): bigint;
702
809
  ubrn_uniffi_breez_sdk_spark_fn_func_init_logging(
703
810
  logDir: Uint8Array,
@@ -859,9 +966,12 @@ interface NativeModuleInterface {
859
966
  ): void;
860
967
  ubrn_uniffi_breez_sdk_spark_checksum_func_connect(): number;
861
968
  ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signer(): number;
969
+ ubrn_uniffi_breez_sdk_spark_checksum_func_create_turnkey_signer(): number;
970
+ ubrn_uniffi_breez_sdk_spark_checksum_func_custom_storage(): number;
862
971
  ubrn_uniffi_breez_sdk_spark_checksum_func_default_config(): number;
863
- ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signer(): number;
972
+ ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signers(): number;
864
973
  ubrn_uniffi_breez_sdk_spark_checksum_func_default_server_config(): number;
974
+ ubrn_uniffi_breez_sdk_spark_checksum_func_default_storage(): number;
865
975
  ubrn_uniffi_breez_sdk_spark_checksum_func_get_spark_status(): number;
866
976
  ubrn_uniffi_breez_sdk_spark_checksum_func_init_logging(): number;
867
977
  ubrn_uniffi_breez_sdk_spark_checksum_func_new_rest_chain_service(): number;
@@ -873,18 +983,19 @@ interface NativeModuleInterface {
873
983
  ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees(): number;
874
984
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact(): number;
875
985
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener(): number;
986
+ ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_authorize_lightning_address_transfer(): number;
876
987
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin(): number;
877
- ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_cancel_leaf_optimization(): number;
878
988
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available(): number;
879
989
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message(): number;
880
990
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_deposit(): number;
881
991
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment(): number;
992
+ ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_lightning_address_transfer(): number;
882
993
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact(): number;
883
994
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address(): number;
884
995
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect(): number;
885
996
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits(): number;
997
+ ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_cross_chain_routes(): number;
886
998
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info(): number;
887
- ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_leaf_optimization_progress(): number;
888
999
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address(): number;
889
1000
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment(): number;
890
1001
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer(): number;
@@ -899,6 +1010,7 @@ interface NativeModuleInterface {
899
1010
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth(): number;
900
1011
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay(): number;
901
1012
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw(): number;
1013
+ ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_optimize_leaves(): number;
902
1014
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_parse(): number;
903
1015
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay(): number;
904
1016
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment(): number;
@@ -911,60 +1023,68 @@ interface NativeModuleInterface {
911
1023
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener(): number;
912
1024
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment(): number;
913
1025
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message(): number;
914
- ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_start_leaf_optimization(): number;
915
1026
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet(): number;
916
1027
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_unregister_webhook(): number;
917
1028
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact(): number;
918
1029
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings(): number;
919
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_identity_public_key(): number;
920
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key(): number;
921
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa(): number;
922
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable(): number;
923
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies(): number;
924
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies(): number;
925
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr(): number;
926
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_hmac_sha256(): number;
927
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment(): number;
928
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node(): number;
929
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_secret(): number;
930
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_encrypted(): number;
931
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret(): number;
932
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key(): number;
933
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secrets(): number;
934
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs(): number;
935
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_for_receiver(): number;
936
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret(): number;
937
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost(): number;
938
- ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost(): number;
1030
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_derive_public_key(): number;
1031
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa(): number;
1032
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_ecdsa_recoverable(): number;
1033
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_encrypt_ecies(): number;
1034
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_decrypt_ecies(): number;
1035
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_sign_hash_schnorr(): number;
1036
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_hmac_sha256(): number;
1037
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_identity_public_key(): number;
1038
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_public_key_for_leaf(): number;
1039
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_get_static_deposit_public_key(): number;
1040
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_authentication_challenge(): number;
1041
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_message(): number;
1042
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_frost(): number;
1043
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_transfer(): number;
1044
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_claim(): number;
1045
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_lightning_receive(): number;
1046
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit(): number;
1047
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_start_static_deposit_refund(): number;
1048
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_static_deposit_refund(): number;
1049
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_spark_invoice(): number;
1050
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_token_transaction(): number;
1051
+ ubrn_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_prepare_static_deposit_claim(): number;
939
1052
  ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies(): number;
940
1053
  ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates(): number;
941
- ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_get_wallet(): number;
942
- ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_is_available(): number;
943
- ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_list_labels(): number;
944
- ubrn_uniffi_breez_sdk_spark_checksum_method_passkey_store_label(): number;
945
- ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_derive_prf_seed(): number;
946
- ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_is_prf_available(): number;
1054
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_check_availability(): number;
1055
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_connect_with_passkey(): number;
1056
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_labels(): number;
1057
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_register(): number;
1058
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeyclient_sign_in(): number;
1059
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_list(): number;
1060
+ ubrn_uniffi_breez_sdk_spark_checksum_method_passkeylabels_store(): number;
947
1061
  ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send(): number;
1062
+ ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_after_send(): number;
1063
+ ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_derive_seeds(): number;
1064
+ ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_is_supported(): number;
1065
+ ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_create_passkey(): number;
1066
+ ubrn_uniffi_breez_sdk_spark_checksum_method_prfprovider_check_domain_association(): number;
948
1067
  ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_get_request(): number;
949
1068
  ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_post_request(): number;
950
1069
  ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_delete_request(): number;
951
1070
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build(): number;
1071
+ ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_account_number(): number;
952
1072
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service(): number;
953
1073
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage(): number;
954
1074
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service(): number;
955
- ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set(): number;
956
1075
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client(): number;
957
1076
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer(): number;
958
1077
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service(): number;
959
1078
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_shared_context(): number;
960
1079
  ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage(): number;
961
- ubrn_uniffi_breez_sdk_spark_checksum_method_sessionmanager_get_session(): number;
962
- ubrn_uniffi_breez_sdk_spark_checksum_method_sessionmanager_set_session(): number;
1080
+ ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage_backend(): number;
1081
+ ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_get_session(): number;
1082
+ ubrn_uniffi_breez_sdk_spark_checksum_method_sessionstore_set_session(): number;
963
1083
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item(): number;
964
1084
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item(): number;
965
1085
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item(): number;
966
1086
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_payments(): number;
967
- ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment(): number;
1087
+ ubrn_uniffi_breez_sdk_spark_checksum_method_storage_apply_payment_update(): number;
968
1088
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata(): number;
969
1089
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id(): number;
970
1090
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice(): number;
@@ -978,6 +1098,9 @@ interface NativeModuleInterface {
978
1098
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_contact(): number;
979
1099
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_contact(): number;
980
1100
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_contact(): number;
1101
+ ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cross_chain_swap(): number;
1102
+ ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cross_chain_swap(): number;
1103
+ ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_active_cross_chain_swaps(): number;
981
1104
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change(): number;
982
1105
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync(): number;
983
1106
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes(): number;
@@ -987,6 +1110,7 @@ interface NativeModuleInterface {
987
1110
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records(): number;
988
1111
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change(): number;
989
1112
  ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming(): number;
1113
+ ubrn_uniffi_breez_sdk_spark_checksum_method_storagebackend_create_stores(): number;
990
1114
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token(): number;
991
1115
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token(): number;
992
1116
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token(): number;
@@ -994,8 +1118,9 @@ interface NativeModuleInterface {
994
1118
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_get_issuer_token_metadata(): number;
995
1119
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_mint_issuer_token(): number;
996
1120
  ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token(): number;
997
- ubrn_uniffi_breez_sdk_spark_checksum_constructor_passkey_new(): number;
1121
+ ubrn_uniffi_breez_sdk_spark_checksum_constructor_passkeyclient_new(): number;
998
1122
  ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new(): number;
1123
+ ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new_with_signer(): number;
999
1124
  ubrn_uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event(): number;
1000
1125
  ubrn_uniffi_breez_sdk_spark_checksum_method_logger_log(): number;
1001
1126
  ubrn_ffi_breez_sdk_spark_uniffi_contract_version(): number;
@@ -1007,7 +1132,11 @@ interface NativeModuleInterface {
1007
1132
  pointer: bigint,
1008
1133
  uniffi_out_err: UniffiRustCallStatus
1009
1134
  ): UniffiRustArcPtr;
1010
- ubrn_uniffi_internal_fn_method_externalsigner_ffi__bless_pointer(
1135
+ ubrn_uniffi_internal_fn_method_externalbreezsigner_ffi__bless_pointer(
1136
+ pointer: bigint,
1137
+ uniffi_out_err: UniffiRustCallStatus
1138
+ ): UniffiRustArcPtr;
1139
+ ubrn_uniffi_internal_fn_method_externalsparksigner_ffi__bless_pointer(
1011
1140
  pointer: bigint,
1012
1141
  uniffi_out_err: UniffiRustCallStatus
1013
1142
  ): UniffiRustArcPtr;
@@ -1015,11 +1144,11 @@ interface NativeModuleInterface {
1015
1144
  pointer: bigint,
1016
1145
  uniffi_out_err: UniffiRustCallStatus
1017
1146
  ): UniffiRustArcPtr;
1018
- ubrn_uniffi_internal_fn_method_passkey_ffi__bless_pointer(
1147
+ ubrn_uniffi_internal_fn_method_passkeyclient_ffi__bless_pointer(
1019
1148
  pointer: bigint,
1020
1149
  uniffi_out_err: UniffiRustCallStatus
1021
1150
  ): UniffiRustArcPtr;
1022
- ubrn_uniffi_internal_fn_method_passkeyprfprovider_ffi__bless_pointer(
1151
+ ubrn_uniffi_internal_fn_method_passkeylabels_ffi__bless_pointer(
1023
1152
  pointer: bigint,
1024
1153
  uniffi_out_err: UniffiRustCallStatus
1025
1154
  ): UniffiRustArcPtr;
@@ -1027,6 +1156,14 @@ interface NativeModuleInterface {
1027
1156
  pointer: bigint,
1028
1157
  uniffi_out_err: UniffiRustCallStatus
1029
1158
  ): UniffiRustArcPtr;
1159
+ ubrn_uniffi_internal_fn_method_prfprovider_ffi__bless_pointer(
1160
+ pointer: bigint,
1161
+ uniffi_out_err: UniffiRustCallStatus
1162
+ ): UniffiRustArcPtr;
1163
+ ubrn_uniffi_internal_fn_method_resolvedstores_ffi__bless_pointer(
1164
+ pointer: bigint,
1165
+ uniffi_out_err: UniffiRustCallStatus
1166
+ ): UniffiRustArcPtr;
1030
1167
  ubrn_uniffi_internal_fn_method_restclient_ffi__bless_pointer(
1031
1168
  pointer: bigint,
1032
1169
  uniffi_out_err: UniffiRustCallStatus
@@ -1039,7 +1176,7 @@ interface NativeModuleInterface {
1039
1176
  pointer: bigint,
1040
1177
  uniffi_out_err: UniffiRustCallStatus
1041
1178
  ): UniffiRustArcPtr;
1042
- ubrn_uniffi_internal_fn_method_sessionmanager_ffi__bless_pointer(
1179
+ ubrn_uniffi_internal_fn_method_sessionstore_ffi__bless_pointer(
1043
1180
  pointer: bigint,
1044
1181
  uniffi_out_err: UniffiRustCallStatus
1045
1182
  ): UniffiRustArcPtr;
@@ -1047,6 +1184,10 @@ interface NativeModuleInterface {
1047
1184
  pointer: bigint,
1048
1185
  uniffi_out_err: UniffiRustCallStatus
1049
1186
  ): UniffiRustArcPtr;
1187
+ ubrn_uniffi_internal_fn_method_storagebackend_ffi__bless_pointer(
1188
+ pointer: bigint,
1189
+ uniffi_out_err: UniffiRustCallStatus
1190
+ ): UniffiRustArcPtr;
1050
1191
  ubrn_uniffi_internal_fn_method_tokenissuer_ffi__bless_pointer(
1051
1192
  pointer: bigint,
1052
1193
  uniffi_out_err: UniffiRustCallStatus
@@ -1215,150 +1356,151 @@ type UniffiCallbackInterfaceBitcoinChainServiceMethod4 = (
1215
1356
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1216
1357
  uniffiCallbackData: bigint
1217
1358
  ) => UniffiForeignFuture;
1218
- type UniffiCallbackInterfaceExternalSignerMethod0 = (
1219
- uniffiHandle: bigint
1220
- ) => UniffiResult<Uint8Array>;
1221
- type UniffiCallbackInterfaceExternalSignerMethod1 = (
1359
+ type UniffiCallbackInterfaceExternalBreezSignerMethod0 = (
1222
1360
  uniffiHandle: bigint,
1223
1361
  path: Uint8Array,
1224
1362
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1225
1363
  uniffiCallbackData: bigint
1226
1364
  ) => UniffiForeignFuture;
1227
- type UniffiCallbackInterfaceExternalSignerMethod2 = (
1365
+ type UniffiCallbackInterfaceExternalBreezSignerMethod1 = (
1228
1366
  uniffiHandle: bigint,
1229
1367
  message: Uint8Array,
1230
1368
  path: Uint8Array,
1231
1369
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1232
1370
  uniffiCallbackData: bigint
1233
1371
  ) => UniffiForeignFuture;
1234
- type UniffiCallbackInterfaceExternalSignerMethod3 = (
1372
+ type UniffiCallbackInterfaceExternalBreezSignerMethod2 = (
1235
1373
  uniffiHandle: bigint,
1236
1374
  message: Uint8Array,
1237
1375
  path: Uint8Array,
1238
1376
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1239
1377
  uniffiCallbackData: bigint
1240
1378
  ) => UniffiForeignFuture;
1241
- type UniffiCallbackInterfaceExternalSignerMethod4 = (
1379
+ type UniffiCallbackInterfaceExternalBreezSignerMethod3 = (
1242
1380
  uniffiHandle: bigint,
1243
1381
  message: Uint8Array,
1244
1382
  path: Uint8Array,
1245
1383
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1246
1384
  uniffiCallbackData: bigint
1247
1385
  ) => UniffiForeignFuture;
1248
- type UniffiCallbackInterfaceExternalSignerMethod5 = (
1386
+ type UniffiCallbackInterfaceExternalBreezSignerMethod4 = (
1249
1387
  uniffiHandle: bigint,
1250
1388
  message: Uint8Array,
1251
1389
  path: Uint8Array,
1252
1390
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1253
1391
  uniffiCallbackData: bigint
1254
1392
  ) => UniffiForeignFuture;
1255
- type UniffiCallbackInterfaceExternalSignerMethod6 = (
1393
+ type UniffiCallbackInterfaceExternalBreezSignerMethod5 = (
1256
1394
  uniffiHandle: bigint,
1257
1395
  hash: Uint8Array,
1258
1396
  path: Uint8Array,
1259
1397
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1260
1398
  uniffiCallbackData: bigint
1261
1399
  ) => UniffiForeignFuture;
1262
- type UniffiCallbackInterfaceExternalSignerMethod7 = (
1400
+ type UniffiCallbackInterfaceExternalBreezSignerMethod6 = (
1263
1401
  uniffiHandle: bigint,
1264
1402
  message: Uint8Array,
1265
1403
  path: Uint8Array,
1266
1404
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1267
1405
  uniffiCallbackData: bigint
1268
1406
  ) => UniffiForeignFuture;
1269
- type UniffiCallbackInterfaceExternalSignerMethod8 = (
1407
+ type UniffiCallbackInterfaceExternalSparkSignerMethod0 = (
1270
1408
  uniffiHandle: bigint,
1271
1409
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1272
1410
  uniffiCallbackData: bigint
1273
1411
  ) => UniffiForeignFuture;
1274
- type UniffiCallbackInterfaceExternalSignerMethod9 = (
1412
+ type UniffiCallbackInterfaceExternalSparkSignerMethod1 = (
1275
1413
  uniffiHandle: bigint,
1276
- id: Uint8Array,
1414
+ leafId: Uint8Array,
1277
1415
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1278
1416
  uniffiCallbackData: bigint
1279
1417
  ) => UniffiForeignFuture;
1280
- type UniffiCallbackInterfaceExternalSignerMethod10 = (
1418
+ type UniffiCallbackInterfaceExternalSparkSignerMethod2 = (
1281
1419
  uniffiHandle: bigint,
1420
+ index: number,
1282
1421
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1283
1422
  uniffiCallbackData: bigint
1284
1423
  ) => UniffiForeignFuture;
1285
- type UniffiCallbackInterfaceExternalSignerMethod11 = (
1424
+ type UniffiCallbackInterfaceExternalSparkSignerMethod3 = (
1286
1425
  uniffiHandle: bigint,
1287
- index: number,
1426
+ challenge: Uint8Array,
1288
1427
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1289
1428
  uniffiCallbackData: bigint
1290
1429
  ) => UniffiForeignFuture;
1291
- type UniffiCallbackInterfaceExternalSignerMethod12 = (
1430
+ type UniffiCallbackInterfaceExternalSparkSignerMethod4 = (
1292
1431
  uniffiHandle: bigint,
1293
- index: number,
1432
+ message: Uint8Array,
1294
1433
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1295
1434
  uniffiCallbackData: bigint
1296
1435
  ) => UniffiForeignFuture;
1297
- type UniffiCallbackInterfaceExternalSignerMethod13 = (
1436
+ type UniffiCallbackInterfaceExternalSparkSignerMethod5 = (
1298
1437
  uniffiHandle: bigint,
1299
- index: number,
1438
+ jobs: Uint8Array,
1300
1439
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1301
1440
  uniffiCallbackData: bigint
1302
1441
  ) => UniffiForeignFuture;
1303
- type UniffiCallbackInterfaceExternalSignerMethod14 = (
1442
+ type UniffiCallbackInterfaceExternalSparkSignerMethod6 = (
1304
1443
  uniffiHandle: bigint,
1305
- signingKey: Uint8Array,
1306
- newSigningKey: Uint8Array,
1444
+ request: Uint8Array,
1307
1445
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1308
1446
  uniffiCallbackData: bigint
1309
1447
  ) => UniffiForeignFuture;
1310
- type UniffiCallbackInterfaceExternalSignerMethod15 = (
1448
+ type UniffiCallbackInterfaceExternalSparkSignerMethod7 = (
1311
1449
  uniffiHandle: bigint,
1312
- secret: Uint8Array,
1313
- threshold: number,
1314
- numShares: number,
1450
+ request: Uint8Array,
1315
1451
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1316
1452
  uniffiCallbackData: bigint
1317
1453
  ) => UniffiForeignFuture;
1318
- type UniffiCallbackInterfaceExternalSignerMethod16 = (
1454
+ type UniffiCallbackInterfaceExternalSparkSignerMethod8 = (
1319
1455
  uniffiHandle: bigint,
1320
- encryptedSecret: Uint8Array,
1321
- receiverPublicKey: Uint8Array,
1456
+ request: Uint8Array,
1322
1457
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1323
1458
  uniffiCallbackData: bigint
1324
1459
  ) => UniffiForeignFuture;
1325
- type UniffiCallbackInterfaceExternalSignerMethod17 = (
1460
+ type UniffiCallbackInterfaceExternalSparkSignerMethod9 = (
1326
1461
  uniffiHandle: bigint,
1327
- secret: Uint8Array,
1462
+ request: Uint8Array,
1328
1463
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1329
1464
  uniffiCallbackData: bigint
1330
1465
  ) => UniffiForeignFuture;
1331
- type UniffiCallbackInterfaceExternalSignerMethod18 = (
1466
+ type UniffiCallbackInterfaceExternalSparkSignerMethod10 = (
1332
1467
  uniffiHandle: bigint,
1333
1468
  request: Uint8Array,
1334
1469
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1335
1470
  uniffiCallbackData: bigint
1336
1471
  ) => UniffiForeignFuture;
1337
- type UniffiCallbackInterfaceExternalSignerMethod19 = (
1472
+ type UniffiCallbackInterfaceExternalSparkSignerMethod11 = (
1338
1473
  uniffiHandle: bigint,
1339
1474
  request: Uint8Array,
1340
1475
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1341
1476
  uniffiCallbackData: bigint
1342
1477
  ) => UniffiForeignFuture;
1343
- type UniffiCallbackInterfaceFiatServiceMethod0 = (
1478
+ type UniffiCallbackInterfaceExternalSparkSignerMethod12 = (
1344
1479
  uniffiHandle: bigint,
1480
+ request: Uint8Array,
1345
1481
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1346
1482
  uniffiCallbackData: bigint
1347
1483
  ) => UniffiForeignFuture;
1348
- type UniffiCallbackInterfaceFiatServiceMethod1 = (
1484
+ type UniffiCallbackInterfaceExternalSparkSignerMethod13 = (
1349
1485
  uniffiHandle: bigint,
1486
+ request: Uint8Array,
1350
1487
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1351
1488
  uniffiCallbackData: bigint
1352
1489
  ) => UniffiForeignFuture;
1353
- type UniffiCallbackInterfacePasskeyPrfProviderMethod0 = (
1490
+ type UniffiCallbackInterfaceExternalSparkSignerMethod14 = (
1354
1491
  uniffiHandle: bigint,
1355
- salt: Uint8Array,
1492
+ request: Uint8Array,
1356
1493
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1357
1494
  uniffiCallbackData: bigint
1358
1495
  ) => UniffiForeignFuture;
1359
- type UniffiCallbackInterfacePasskeyPrfProviderMethod1 = (
1496
+ type UniffiCallbackInterfaceFiatServiceMethod0 = (
1360
1497
  uniffiHandle: bigint,
1361
- uniffiFutureCallback: UniffiForeignFutureCompleteI8,
1498
+ uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1499
+ uniffiCallbackData: bigint
1500
+ ) => UniffiForeignFuture;
1501
+ type UniffiCallbackInterfaceFiatServiceMethod1 = (
1502
+ uniffiHandle: bigint,
1503
+ uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1362
1504
  uniffiCallbackData: bigint
1363
1505
  ) => UniffiForeignFuture;
1364
1506
  type UniffiCallbackInterfacePaymentObserverMethod0 = (
@@ -1367,6 +1509,34 @@ type UniffiCallbackInterfacePaymentObserverMethod0 = (
1367
1509
  uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
1368
1510
  uniffiCallbackData: bigint
1369
1511
  ) => UniffiForeignFuture;
1512
+ type UniffiCallbackInterfacePaymentObserverMethod1 = (
1513
+ uniffiHandle: bigint,
1514
+ updates: Uint8Array,
1515
+ uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
1516
+ uniffiCallbackData: bigint
1517
+ ) => UniffiForeignFuture;
1518
+ type UniffiCallbackInterfacePrfProviderMethod0 = (
1519
+ uniffiHandle: bigint,
1520
+ request: Uint8Array,
1521
+ uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1522
+ uniffiCallbackData: bigint
1523
+ ) => UniffiForeignFuture;
1524
+ type UniffiCallbackInterfacePrfProviderMethod1 = (
1525
+ uniffiHandle: bigint,
1526
+ uniffiFutureCallback: UniffiForeignFutureCompleteI8,
1527
+ uniffiCallbackData: bigint
1528
+ ) => UniffiForeignFuture;
1529
+ type UniffiCallbackInterfacePrfProviderMethod2 = (
1530
+ uniffiHandle: bigint,
1531
+ excludeCredentials: Uint8Array,
1532
+ uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1533
+ uniffiCallbackData: bigint
1534
+ ) => UniffiForeignFuture;
1535
+ type UniffiCallbackInterfacePrfProviderMethod3 = (
1536
+ uniffiHandle: bigint,
1537
+ uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1538
+ uniffiCallbackData: bigint
1539
+ ) => UniffiForeignFuture;
1370
1540
  type UniffiCallbackInterfaceRestClientMethod0 = (
1371
1541
  uniffiHandle: bigint,
1372
1542
  url: Uint8Array,
@@ -1390,13 +1560,13 @@ type UniffiCallbackInterfaceRestClientMethod2 = (
1390
1560
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1391
1561
  uniffiCallbackData: bigint
1392
1562
  ) => UniffiForeignFuture;
1393
- type UniffiCallbackInterfaceSessionManagerMethod0 = (
1563
+ type UniffiCallbackInterfaceSessionStoreMethod0 = (
1394
1564
  uniffiHandle: bigint,
1395
1565
  serviceIdentityKey: Uint8Array,
1396
1566
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1397
1567
  uniffiCallbackData: bigint
1398
1568
  ) => UniffiForeignFuture;
1399
- type UniffiCallbackInterfaceSessionManagerMethod1 = (
1569
+ type UniffiCallbackInterfaceSessionStoreMethod1 = (
1400
1570
  uniffiHandle: bigint,
1401
1571
  serviceIdentityKey: Uint8Array,
1402
1572
  session: Uint8Array,
@@ -1431,7 +1601,7 @@ type UniffiCallbackInterfaceStorageMethod3 = (
1431
1601
  type UniffiCallbackInterfaceStorageMethod4 = (
1432
1602
  uniffiHandle: bigint,
1433
1603
  payment: Uint8Array,
1434
- uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
1604
+ uniffiFutureCallback: UniffiForeignFutureCompleteI8,
1435
1605
  uniffiCallbackData: bigint
1436
1606
  ) => UniffiForeignFuture;
1437
1607
  type UniffiCallbackInterfaceStorageMethod5 = (
@@ -1519,58 +1689,84 @@ type UniffiCallbackInterfaceStorageMethod17 = (
1519
1689
  uniffiCallbackData: bigint
1520
1690
  ) => UniffiForeignFuture;
1521
1691
  type UniffiCallbackInterfaceStorageMethod18 = (
1692
+ uniffiHandle: bigint,
1693
+ swap: Uint8Array,
1694
+ uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
1695
+ uniffiCallbackData: bigint
1696
+ ) => UniffiForeignFuture;
1697
+ type UniffiCallbackInterfaceStorageMethod19 = (
1698
+ uniffiHandle: bigint,
1699
+ provider: Uint8Array,
1700
+ id: Uint8Array,
1701
+ uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1702
+ uniffiCallbackData: bigint
1703
+ ) => UniffiForeignFuture;
1704
+ type UniffiCallbackInterfaceStorageMethod20 = (
1705
+ uniffiHandle: bigint,
1706
+ provider: Uint8Array,
1707
+ uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1708
+ uniffiCallbackData: bigint
1709
+ ) => UniffiForeignFuture;
1710
+ type UniffiCallbackInterfaceStorageMethod21 = (
1522
1711
  uniffiHandle: bigint,
1523
1712
  record: Uint8Array,
1524
1713
  uniffiFutureCallback: UniffiForeignFutureCompleteU64,
1525
1714
  uniffiCallbackData: bigint
1526
1715
  ) => UniffiForeignFuture;
1527
- type UniffiCallbackInterfaceStorageMethod19 = (
1716
+ type UniffiCallbackInterfaceStorageMethod22 = (
1528
1717
  uniffiHandle: bigint,
1529
1718
  record: Uint8Array,
1530
1719
  localRevision: bigint,
1531
1720
  uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
1532
1721
  uniffiCallbackData: bigint
1533
1722
  ) => UniffiForeignFuture;
1534
- type UniffiCallbackInterfaceStorageMethod20 = (
1723
+ type UniffiCallbackInterfaceStorageMethod23 = (
1535
1724
  uniffiHandle: bigint,
1536
1725
  limit: number,
1537
1726
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1538
1727
  uniffiCallbackData: bigint
1539
1728
  ) => UniffiForeignFuture;
1540
- type UniffiCallbackInterfaceStorageMethod21 = (
1729
+ type UniffiCallbackInterfaceStorageMethod24 = (
1541
1730
  uniffiHandle: bigint,
1542
1731
  uniffiFutureCallback: UniffiForeignFutureCompleteU64,
1543
1732
  uniffiCallbackData: bigint
1544
1733
  ) => UniffiForeignFuture;
1545
- type UniffiCallbackInterfaceStorageMethod22 = (
1734
+ type UniffiCallbackInterfaceStorageMethod25 = (
1546
1735
  uniffiHandle: bigint,
1547
1736
  records: Uint8Array,
1548
1737
  uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
1549
1738
  uniffiCallbackData: bigint
1550
1739
  ) => UniffiForeignFuture;
1551
- type UniffiCallbackInterfaceStorageMethod23 = (
1740
+ type UniffiCallbackInterfaceStorageMethod26 = (
1552
1741
  uniffiHandle: bigint,
1553
1742
  record: Uint8Array,
1554
1743
  uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
1555
1744
  uniffiCallbackData: bigint
1556
1745
  ) => UniffiForeignFuture;
1557
- type UniffiCallbackInterfaceStorageMethod24 = (
1746
+ type UniffiCallbackInterfaceStorageMethod27 = (
1558
1747
  uniffiHandle: bigint,
1559
1748
  limit: number,
1560
1749
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1561
1750
  uniffiCallbackData: bigint
1562
1751
  ) => UniffiForeignFuture;
1563
- type UniffiCallbackInterfaceStorageMethod25 = (
1752
+ type UniffiCallbackInterfaceStorageMethod28 = (
1564
1753
  uniffiHandle: bigint,
1565
1754
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1566
1755
  uniffiCallbackData: bigint
1567
1756
  ) => UniffiForeignFuture;
1568
- type UniffiCallbackInterfaceStorageMethod26 = (
1757
+ type UniffiCallbackInterfaceStorageMethod29 = (
1569
1758
  uniffiHandle: bigint,
1570
1759
  record: Uint8Array,
1571
1760
  uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
1572
1761
  uniffiCallbackData: bigint
1573
1762
  ) => UniffiForeignFuture;
1763
+ type UniffiCallbackInterfaceStorageBackendMethod0 = (
1764
+ uniffiHandle: bigint,
1765
+ network: Uint8Array,
1766
+ identity: Uint8Array,
1767
+ uniffiFutureCallback: UniffiForeignFutureCompletePointer,
1768
+ uniffiCallbackData: bigint
1769
+ ) => UniffiForeignFuture;
1574
1770
  export type UniffiVTableCallbackInterfaceEventListener = {
1575
1771
  onEvent: UniffiCallbackInterfaceEventListenerMethod0;
1576
1772
  uniffiFree: UniffiCallbackInterfaceFree;
@@ -1587,27 +1783,32 @@ export type UniffiVTableCallbackInterfaceBitcoinChainService = {
1587
1783
  recommendedFees: UniffiCallbackInterfaceBitcoinChainServiceMethod4;
1588
1784
  uniffiFree: UniffiCallbackInterfaceFree;
1589
1785
  };
1590
- export type UniffiVTableCallbackInterfaceExternalSigner = {
1591
- identityPublicKey: UniffiCallbackInterfaceExternalSignerMethod0;
1592
- derivePublicKey: UniffiCallbackInterfaceExternalSignerMethod1;
1593
- signEcdsa: UniffiCallbackInterfaceExternalSignerMethod2;
1594
- signEcdsaRecoverable: UniffiCallbackInterfaceExternalSignerMethod3;
1595
- encryptEcies: UniffiCallbackInterfaceExternalSignerMethod4;
1596
- decryptEcies: UniffiCallbackInterfaceExternalSignerMethod5;
1597
- signHashSchnorr: UniffiCallbackInterfaceExternalSignerMethod6;
1598
- hmacSha256: UniffiCallbackInterfaceExternalSignerMethod7;
1599
- generateRandomSigningCommitment: UniffiCallbackInterfaceExternalSignerMethod8;
1600
- getPublicKeyForNode: UniffiCallbackInterfaceExternalSignerMethod9;
1601
- generateRandomSecret: UniffiCallbackInterfaceExternalSignerMethod10;
1602
- staticDepositSecretEncrypted: UniffiCallbackInterfaceExternalSignerMethod11;
1603
- staticDepositSecret: UniffiCallbackInterfaceExternalSignerMethod12;
1604
- staticDepositSigningKey: UniffiCallbackInterfaceExternalSignerMethod13;
1605
- subtractSecrets: UniffiCallbackInterfaceExternalSignerMethod14;
1606
- splitSecretWithProofs: UniffiCallbackInterfaceExternalSignerMethod15;
1607
- encryptSecretForReceiver: UniffiCallbackInterfaceExternalSignerMethod16;
1608
- publicKeyFromSecret: UniffiCallbackInterfaceExternalSignerMethod17;
1609
- signFrost: UniffiCallbackInterfaceExternalSignerMethod18;
1610
- aggregateFrost: UniffiCallbackInterfaceExternalSignerMethod19;
1786
+ export type UniffiVTableCallbackInterfaceExternalBreezSigner = {
1787
+ derivePublicKey: UniffiCallbackInterfaceExternalBreezSignerMethod0;
1788
+ signEcdsa: UniffiCallbackInterfaceExternalBreezSignerMethod1;
1789
+ signEcdsaRecoverable: UniffiCallbackInterfaceExternalBreezSignerMethod2;
1790
+ encryptEcies: UniffiCallbackInterfaceExternalBreezSignerMethod3;
1791
+ decryptEcies: UniffiCallbackInterfaceExternalBreezSignerMethod4;
1792
+ signHashSchnorr: UniffiCallbackInterfaceExternalBreezSignerMethod5;
1793
+ hmacSha256: UniffiCallbackInterfaceExternalBreezSignerMethod6;
1794
+ uniffiFree: UniffiCallbackInterfaceFree;
1795
+ };
1796
+ export type UniffiVTableCallbackInterfaceExternalSparkSigner = {
1797
+ getIdentityPublicKey: UniffiCallbackInterfaceExternalSparkSignerMethod0;
1798
+ getPublicKeyForLeaf: UniffiCallbackInterfaceExternalSparkSignerMethod1;
1799
+ getStaticDepositPublicKey: UniffiCallbackInterfaceExternalSparkSignerMethod2;
1800
+ signAuthenticationChallenge: UniffiCallbackInterfaceExternalSparkSignerMethod3;
1801
+ signMessage: UniffiCallbackInterfaceExternalSparkSignerMethod4;
1802
+ signFrost: UniffiCallbackInterfaceExternalSparkSignerMethod5;
1803
+ prepareTransfer: UniffiCallbackInterfaceExternalSparkSignerMethod6;
1804
+ prepareClaim: UniffiCallbackInterfaceExternalSparkSignerMethod7;
1805
+ prepareLightningReceive: UniffiCallbackInterfaceExternalSparkSignerMethod8;
1806
+ prepareStaticDeposit: UniffiCallbackInterfaceExternalSparkSignerMethod9;
1807
+ startStaticDepositRefund: UniffiCallbackInterfaceExternalSparkSignerMethod10;
1808
+ signStaticDepositRefund: UniffiCallbackInterfaceExternalSparkSignerMethod11;
1809
+ signSparkInvoice: UniffiCallbackInterfaceExternalSparkSignerMethod12;
1810
+ prepareTokenTransaction: UniffiCallbackInterfaceExternalSparkSignerMethod13;
1811
+ prepareStaticDepositClaim: UniffiCallbackInterfaceExternalSparkSignerMethod14;
1611
1812
  uniffiFree: UniffiCallbackInterfaceFree;
1612
1813
  };
1613
1814
  export type UniffiVTableCallbackInterfaceFiatService = {
@@ -1615,13 +1816,16 @@ export type UniffiVTableCallbackInterfaceFiatService = {
1615
1816
  fetchFiatRates: UniffiCallbackInterfaceFiatServiceMethod1;
1616
1817
  uniffiFree: UniffiCallbackInterfaceFree;
1617
1818
  };
1618
- export type UniffiVTableCallbackInterfacePasskeyPrfProvider = {
1619
- derivePrfSeed: UniffiCallbackInterfacePasskeyPrfProviderMethod0;
1620
- isPrfAvailable: UniffiCallbackInterfacePasskeyPrfProviderMethod1;
1621
- uniffiFree: UniffiCallbackInterfaceFree;
1622
- };
1623
1819
  export type UniffiVTableCallbackInterfacePaymentObserver = {
1624
1820
  beforeSend: UniffiCallbackInterfacePaymentObserverMethod0;
1821
+ afterSend: UniffiCallbackInterfacePaymentObserverMethod1;
1822
+ uniffiFree: UniffiCallbackInterfaceFree;
1823
+ };
1824
+ export type UniffiVTableCallbackInterfacePrfProvider = {
1825
+ deriveSeeds: UniffiCallbackInterfacePrfProviderMethod0;
1826
+ isSupported: UniffiCallbackInterfacePrfProviderMethod1;
1827
+ createPasskey: UniffiCallbackInterfacePrfProviderMethod2;
1828
+ checkDomainAssociation: UniffiCallbackInterfacePrfProviderMethod3;
1625
1829
  uniffiFree: UniffiCallbackInterfaceFree;
1626
1830
  };
1627
1831
  export type UniffiVTableCallbackInterfaceRestClient = {
@@ -1630,9 +1834,9 @@ export type UniffiVTableCallbackInterfaceRestClient = {
1630
1834
  deleteRequest: UniffiCallbackInterfaceRestClientMethod2;
1631
1835
  uniffiFree: UniffiCallbackInterfaceFree;
1632
1836
  };
1633
- export type UniffiVTableCallbackInterfaceSessionManager = {
1634
- getSession: UniffiCallbackInterfaceSessionManagerMethod0;
1635
- setSession: UniffiCallbackInterfaceSessionManagerMethod1;
1837
+ export type UniffiVTableCallbackInterfaceSessionStore = {
1838
+ getSession: UniffiCallbackInterfaceSessionStoreMethod0;
1839
+ setSession: UniffiCallbackInterfaceSessionStoreMethod1;
1636
1840
  uniffiFree: UniffiCallbackInterfaceFree;
1637
1841
  };
1638
1842
  export type UniffiVTableCallbackInterfaceStorage = {
@@ -1640,7 +1844,7 @@ export type UniffiVTableCallbackInterfaceStorage = {
1640
1844
  getCachedItem: UniffiCallbackInterfaceStorageMethod1;
1641
1845
  setCachedItem: UniffiCallbackInterfaceStorageMethod2;
1642
1846
  listPayments: UniffiCallbackInterfaceStorageMethod3;
1643
- insertPayment: UniffiCallbackInterfaceStorageMethod4;
1847
+ applyPaymentUpdate: UniffiCallbackInterfaceStorageMethod4;
1644
1848
  insertPaymentMetadata: UniffiCallbackInterfaceStorageMethod5;
1645
1849
  getPaymentById: UniffiCallbackInterfaceStorageMethod6;
1646
1850
  getPaymentByInvoice: UniffiCallbackInterfaceStorageMethod7;
@@ -1654,15 +1858,22 @@ export type UniffiVTableCallbackInterfaceStorage = {
1654
1858
  getContact: UniffiCallbackInterfaceStorageMethod15;
1655
1859
  insertContact: UniffiCallbackInterfaceStorageMethod16;
1656
1860
  deleteContact: UniffiCallbackInterfaceStorageMethod17;
1657
- addOutgoingChange: UniffiCallbackInterfaceStorageMethod18;
1658
- completeOutgoingSync: UniffiCallbackInterfaceStorageMethod19;
1659
- getPendingOutgoingChanges: UniffiCallbackInterfaceStorageMethod20;
1660
- getLastRevision: UniffiCallbackInterfaceStorageMethod21;
1661
- insertIncomingRecords: UniffiCallbackInterfaceStorageMethod22;
1662
- deleteIncomingRecord: UniffiCallbackInterfaceStorageMethod23;
1663
- getIncomingRecords: UniffiCallbackInterfaceStorageMethod24;
1664
- getLatestOutgoingChange: UniffiCallbackInterfaceStorageMethod25;
1665
- updateRecordFromIncoming: UniffiCallbackInterfaceStorageMethod26;
1861
+ setCrossChainSwap: UniffiCallbackInterfaceStorageMethod18;
1862
+ getCrossChainSwap: UniffiCallbackInterfaceStorageMethod19;
1863
+ listActiveCrossChainSwaps: UniffiCallbackInterfaceStorageMethod20;
1864
+ addOutgoingChange: UniffiCallbackInterfaceStorageMethod21;
1865
+ completeOutgoingSync: UniffiCallbackInterfaceStorageMethod22;
1866
+ getPendingOutgoingChanges: UniffiCallbackInterfaceStorageMethod23;
1867
+ getLastRevision: UniffiCallbackInterfaceStorageMethod24;
1868
+ insertIncomingRecords: UniffiCallbackInterfaceStorageMethod25;
1869
+ deleteIncomingRecord: UniffiCallbackInterfaceStorageMethod26;
1870
+ getIncomingRecords: UniffiCallbackInterfaceStorageMethod27;
1871
+ getLatestOutgoingChange: UniffiCallbackInterfaceStorageMethod28;
1872
+ updateRecordFromIncoming: UniffiCallbackInterfaceStorageMethod29;
1873
+ uniffiFree: UniffiCallbackInterfaceFree;
1874
+ };
1875
+ export type UniffiVTableCallbackInterfaceStorageBackend = {
1876
+ createStores: UniffiCallbackInterfaceStorageBackendMethod0;
1666
1877
  uniffiFree: UniffiCallbackInterfaceFree;
1667
1878
  };
1668
1879