@breeztech/breez-sdk-spark-react-native 0.7.21 → 0.8.2

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.
@@ -63,6 +63,9 @@ protected:
63
63
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_add_event_listener(
64
64
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
65
65
  size_t count);
66
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_buy_bitcoin(
67
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
68
+ size_t count);
66
69
  jsi::Value
67
70
  cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_cancel_leaf_optimization(
68
71
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -329,10 +332,6 @@ protected:
329
332
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
330
333
  size_t count);
331
334
  jsi::Value
332
- cpp_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_real_time_sync_storage(
333
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
334
- size_t count);
335
- jsi::Value
336
335
  cpp_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_rest_chain_service(
337
336
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
338
337
  size_t count);
@@ -360,7 +359,8 @@ protected:
360
359
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_insert_payment(
361
360
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
362
361
  size_t count);
363
- jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_set_payment_metadata(
362
+ jsi::Value
363
+ cpp_uniffi_breez_sdk_spark_fn_method_storage_insert_payment_metadata(
364
364
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
365
365
  size_t count);
366
366
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_get_payment_by_id(
@@ -370,6 +370,10 @@ protected:
370
370
  cpp_uniffi_breez_sdk_spark_fn_method_storage_get_payment_by_invoice(
371
371
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
372
372
  size_t count);
373
+ jsi::Value
374
+ cpp_uniffi_breez_sdk_spark_fn_method_storage_get_payments_by_parent_ids(
375
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
376
+ size_t count);
373
377
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_add_deposit(
374
378
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
375
379
  size_t count);
@@ -385,49 +389,37 @@ protected:
385
389
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_set_lnurl_metadata(
386
390
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
387
391
  size_t count);
388
- jsi::Value cpp_uniffi_breez_sdk_spark_fn_clone_syncstorage(
389
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
390
- size_t count);
391
- jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_syncstorage(
392
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_add_outgoing_change(
392
393
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
393
394
  size_t count);
394
395
  jsi::Value
395
- cpp_uniffi_breez_sdk_spark_fn_method_syncstorage_add_outgoing_change(
396
+ cpp_uniffi_breez_sdk_spark_fn_method_storage_complete_outgoing_sync(
396
397
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
397
398
  size_t count);
398
399
  jsi::Value
399
- cpp_uniffi_breez_sdk_spark_fn_method_syncstorage_complete_outgoing_sync(
400
+ cpp_uniffi_breez_sdk_spark_fn_method_storage_get_pending_outgoing_changes(
400
401
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
401
402
  size_t count);
402
- jsi::Value
403
- cpp_uniffi_breez_sdk_spark_fn_method_syncstorage_get_pending_outgoing_changes(
404
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
405
- size_t count);
406
- jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_syncstorage_get_last_revision(
403
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_get_last_revision(
407
404
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
408
405
  size_t count);
409
406
  jsi::Value
410
- cpp_uniffi_breez_sdk_spark_fn_method_syncstorage_insert_incoming_records(
407
+ cpp_uniffi_breez_sdk_spark_fn_method_storage_insert_incoming_records(
411
408
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
412
409
  size_t count);
413
410
  jsi::Value
414
- cpp_uniffi_breez_sdk_spark_fn_method_syncstorage_delete_incoming_record(
411
+ cpp_uniffi_breez_sdk_spark_fn_method_storage_delete_incoming_record(
415
412
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
416
413
  size_t count);
417
- jsi::Value
418
- cpp_uniffi_breez_sdk_spark_fn_method_syncstorage_rebase_pending_outgoing_records(
414
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_get_incoming_records(
419
415
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
420
416
  size_t count);
421
417
  jsi::Value
422
- cpp_uniffi_breez_sdk_spark_fn_method_syncstorage_get_incoming_records(
418
+ cpp_uniffi_breez_sdk_spark_fn_method_storage_get_latest_outgoing_change(
423
419
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
424
420
  size_t count);
425
421
  jsi::Value
426
- cpp_uniffi_breez_sdk_spark_fn_method_syncstorage_get_latest_outgoing_change(
427
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
428
- size_t count);
429
- jsi::Value
430
- cpp_uniffi_breez_sdk_spark_fn_method_syncstorage_update_record_from_incoming(
422
+ cpp_uniffi_breez_sdk_spark_fn_method_storage_update_record_from_incoming(
431
423
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
432
424
  size_t count);
433
425
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_clone_tokenissuer(
@@ -474,6 +466,9 @@ protected:
474
466
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_func_default_external_signer(
475
467
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
476
468
  size_t count);
469
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_func_get_spark_status(
470
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
471
+ size_t count);
477
472
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_func_init_logging(
478
473
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
479
474
  size_t count);
@@ -645,6 +640,9 @@ protected:
645
640
  jsi::Value cpp_uniffi_breez_sdk_spark_checksum_func_default_external_signer(
646
641
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
647
642
  size_t count);
643
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_func_get_spark_status(
644
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
645
+ size_t count);
648
646
  jsi::Value cpp_uniffi_breez_sdk_spark_checksum_func_init_logging(
649
647
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
650
648
  size_t count);
@@ -672,6 +670,9 @@ protected:
672
670
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener(
673
671
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
674
672
  size_t count);
673
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin(
674
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
675
+ size_t count);
675
676
  jsi::Value
676
677
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_cancel_leaf_optimization(
677
678
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -927,10 +928,6 @@ protected:
927
928
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
928
929
  size_t count);
929
930
  jsi::Value
930
- cpp_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_real_time_sync_storage(
931
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
932
- size_t count);
933
- jsi::Value
934
931
  cpp_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service(
935
932
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
936
933
  size_t count);
@@ -954,7 +951,7 @@ protected:
954
951
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
955
952
  size_t count);
956
953
  jsi::Value
957
- cpp_uniffi_breez_sdk_spark_checksum_method_storage_set_payment_metadata(
954
+ cpp_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata(
958
955
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
959
956
  size_t count);
960
957
  jsi::Value
@@ -965,6 +962,10 @@ protected:
965
962
  cpp_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice(
966
963
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
967
964
  size_t count);
965
+ jsi::Value
966
+ cpp_uniffi_breez_sdk_spark_checksum_method_storage_get_payments_by_parent_ids(
967
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
968
+ size_t count);
968
969
  jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_add_deposit(
969
970
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
970
971
  size_t count);
@@ -982,43 +983,39 @@ protected:
982
983
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
983
984
  size_t count);
984
985
  jsi::Value
985
- cpp_uniffi_breez_sdk_spark_checksum_method_syncstorage_add_outgoing_change(
986
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
987
- size_t count);
988
- jsi::Value
989
- cpp_uniffi_breez_sdk_spark_checksum_method_syncstorage_complete_outgoing_sync(
986
+ cpp_uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change(
990
987
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
991
988
  size_t count);
992
989
  jsi::Value
993
- cpp_uniffi_breez_sdk_spark_checksum_method_syncstorage_get_pending_outgoing_changes(
990
+ cpp_uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync(
994
991
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
995
992
  size_t count);
996
993
  jsi::Value
997
- cpp_uniffi_breez_sdk_spark_checksum_method_syncstorage_get_last_revision(
994
+ cpp_uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes(
998
995
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
999
996
  size_t count);
1000
997
  jsi::Value
1001
- cpp_uniffi_breez_sdk_spark_checksum_method_syncstorage_insert_incoming_records(
998
+ cpp_uniffi_breez_sdk_spark_checksum_method_storage_get_last_revision(
1002
999
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1003
1000
  size_t count);
1004
1001
  jsi::Value
1005
- cpp_uniffi_breez_sdk_spark_checksum_method_syncstorage_delete_incoming_record(
1002
+ cpp_uniffi_breez_sdk_spark_checksum_method_storage_insert_incoming_records(
1006
1003
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1007
1004
  size_t count);
1008
1005
  jsi::Value
1009
- cpp_uniffi_breez_sdk_spark_checksum_method_syncstorage_rebase_pending_outgoing_records(
1006
+ cpp_uniffi_breez_sdk_spark_checksum_method_storage_delete_incoming_record(
1010
1007
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1011
1008
  size_t count);
1012
1009
  jsi::Value
1013
- cpp_uniffi_breez_sdk_spark_checksum_method_syncstorage_get_incoming_records(
1010
+ cpp_uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records(
1014
1011
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1015
1012
  size_t count);
1016
1013
  jsi::Value
1017
- cpp_uniffi_breez_sdk_spark_checksum_method_syncstorage_get_latest_outgoing_change(
1014
+ cpp_uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change(
1018
1015
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1019
1016
  size_t count);
1020
1017
  jsi::Value
1021
- cpp_uniffi_breez_sdk_spark_checksum_method_syncstorage_update_record_from_incoming(
1018
+ cpp_uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming(
1022
1019
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1023
1020
  size_t count);
1024
1021
  jsi::Value
@@ -1086,9 +1083,6 @@ protected:
1086
1083
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_storage(
1087
1084
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1088
1085
  size_t count);
1089
- jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_syncstorage(
1090
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1091
- size_t count);
1092
1086
  jsi::Value
1093
1087
  cpp_uniffi_internal_fn_method_bitcoinchainservice_ffi__bless_pointer(
1094
1088
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -1114,9 +1108,6 @@ protected:
1114
1108
  jsi::Value cpp_uniffi_internal_fn_method_storage_ffi__bless_pointer(
1115
1109
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1116
1110
  size_t count);
1117
- jsi::Value cpp_uniffi_internal_fn_method_syncstorage_ffi__bless_pointer(
1118
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1119
- size_t count);
1120
1111
  jsi::Value cpp_uniffi_internal_fn_method_tokenissuer_ffi__bless_pointer(
1121
1112
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1122
1113
  size_t count);
@@ -1 +1 @@
1
- {"version":3,"names":["getter","globalThis","NativeBreezSdkSpark","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/breez_sdk_spark-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AAy3BA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,mBAAmB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAC3BL,MAAM,EAErB;AA+hBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMM,8CAGL,GAAG,IAAI;AACR,MAAMC,mCAGL,GAAG,IAAI","ignoreList":[]}
1
+ {"version":3,"names":["getter","globalThis","NativeBreezSdkSpark","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/breez_sdk_spark-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AA62BA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,mBAAmB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAC3BL,MAAM,EAErB;AA6hBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMM,8CAGL,GAAG,IAAI;AACR,MAAMC,mCAGL,GAAG,IAAI","ignoreList":[]}