@breeztech/breez-sdk-spark-react-native 0.9.1 → 0.11.0-dev2

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 (36) hide show
  1. package/{breeztech-breez-sdk-spark-react-native.podspec → BreezSdkSparkReactNative.podspec} +2 -2
  2. package/android/CMakeLists.txt +3 -4
  3. package/android/proguard-rules.pro +4 -0
  4. package/cpp/generated/breez_sdk_spark.cpp +1567 -514
  5. package/cpp/generated/breez_sdk_spark.hpp +73 -25
  6. package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
  7. package/lib/commonjs/generated/breez_sdk_spark.js +226 -86
  8. package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
  9. package/lib/commonjs/generated/breez_sdk_spark_bindings.js +4 -2
  10. package/lib/commonjs/generated/breez_sdk_spark_bindings.js.map +1 -1
  11. package/lib/commonjs/index.js +11 -1
  12. package/lib/commonjs/index.js.map +1 -1
  13. package/lib/module/generated/breez_sdk_spark-ffi.js.map +1 -1
  14. package/lib/module/generated/breez_sdk_spark.js +225 -85
  15. package/lib/module/generated/breez_sdk_spark.js.map +1 -1
  16. package/lib/module/generated/breez_sdk_spark_bindings.js +4 -2
  17. package/lib/module/generated/breez_sdk_spark_bindings.js.map +1 -1
  18. package/lib/module/index.js +7 -0
  19. package/lib/module/index.js.map +1 -1
  20. package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +95 -71
  21. package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
  22. package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts +619 -5
  23. package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
  24. package/lib/typescript/commonjs/src/index.d.ts +1 -0
  25. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  26. package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts +95 -71
  27. package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
  28. package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts +619 -5
  29. package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
  30. package/lib/typescript/module/src/index.d.ts +1 -0
  31. package/lib/typescript/module/src/index.d.ts.map +1 -1
  32. package/package.json +4 -4
  33. package/src/generated/breez_sdk_spark-ffi.ts +163 -95
  34. package/src/generated/breez_sdk_spark.ts +2371 -818
  35. package/src/generated/breez_sdk_spark_bindings.ts +2 -2
  36. package/src/index.tsx +7 -0
@@ -35,6 +35,10 @@ protected:
35
35
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
36
36
  size_t count);
37
37
  jsi::Value
38
+ cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_bitcoinchainservice(
39
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
40
+ size_t count);
41
+ jsi::Value
38
42
  cpp_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_get_address_utxos(
39
43
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
40
44
  size_t count);
@@ -60,6 +64,9 @@ protected:
60
64
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_breezsdk(
61
65
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
62
66
  size_t count);
67
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_add_contact(
68
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
69
+ size_t count);
63
70
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_add_event_listener(
64
71
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
65
72
  size_t count);
@@ -83,6 +90,9 @@ protected:
83
90
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_claim_htlc_payment(
84
91
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
85
92
  size_t count);
93
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_delete_contact(
94
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
95
+ size_t count);
86
96
  jsi::Value
87
97
  cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_delete_lightning_address(
88
98
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -117,6 +127,9 @@ protected:
117
127
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_get_user_settings(
118
128
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
119
129
  size_t count);
130
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_list_contacts(
131
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
132
+ size_t count);
120
133
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_list_fiat_currencies(
121
134
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
122
135
  size_t count);
@@ -178,6 +191,9 @@ protected:
178
191
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_sync_wallet(
179
192
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
180
193
  size_t count);
194
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_update_contact(
195
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
196
+ size_t count);
181
197
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_update_user_settings(
182
198
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
183
199
  size_t count);
@@ -187,6 +203,9 @@ protected:
187
203
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_externalsigner(
188
204
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
189
205
  size_t count);
206
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalsigner(
207
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
208
+ size_t count);
190
209
  jsi::Value
191
210
  cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_identity_public_key(
192
211
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -268,6 +287,9 @@ protected:
268
287
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_fiatservice(
269
288
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
270
289
  size_t count);
290
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_fiatservice(
291
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
292
+ size_t count);
271
293
  jsi::Value
272
294
  cpp_uniffi_breez_sdk_spark_fn_method_fiatservice_fetch_fiat_currencies(
273
295
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -281,6 +303,9 @@ protected:
281
303
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_paymentobserver(
282
304
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
283
305
  size_t count);
306
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_paymentobserver(
307
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
308
+ size_t count);
284
309
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_paymentobserver_before_send(
285
310
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
286
311
  size_t count);
@@ -290,6 +315,9 @@ protected:
290
315
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_restclient(
291
316
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
292
317
  size_t count);
318
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_restclient(
319
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
320
+ size_t count);
293
321
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_restclient_get_request(
294
322
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
295
323
  size_t count);
@@ -344,6 +372,9 @@ protected:
344
372
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_storage(
345
373
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
346
374
  size_t count);
375
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_storage(
376
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
377
+ size_t count);
347
378
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_delete_cached_item(
348
379
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
349
380
  size_t count);
@@ -389,6 +420,18 @@ protected:
389
420
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_set_lnurl_metadata(
390
421
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
391
422
  size_t count);
423
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_list_contacts(
424
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
425
+ size_t count);
426
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_get_contact(
427
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
428
+ size_t count);
429
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_insert_contact(
430
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
431
+ size_t count);
432
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_delete_contact(
433
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
434
+ size_t count);
392
435
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_add_outgoing_change(
393
436
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
394
437
  size_t count);
@@ -454,6 +497,12 @@ protected:
454
497
  cpp_uniffi_breez_sdk_spark_fn_method_tokenissuer_unfreeze_issuer_token(
455
498
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
456
499
  size_t count);
500
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_eventlistener(
501
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
502
+ size_t count);
503
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_logger(
504
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
505
+ size_t count);
457
506
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_func_connect(
458
507
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
459
508
  size_t count);
@@ -666,6 +715,9 @@ protected:
666
715
  cpp_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees(
667
716
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
668
717
  size_t count);
718
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact(
719
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
720
+ size_t count);
669
721
  jsi::Value
670
722
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener(
671
723
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -691,6 +743,9 @@ protected:
691
743
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment(
692
744
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
693
745
  size_t count);
746
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact(
747
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
748
+ size_t count);
694
749
  jsi::Value
695
750
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address(
696
751
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -728,6 +783,9 @@ protected:
728
783
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings(
729
784
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
730
785
  size_t count);
786
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts(
787
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
788
+ size_t count);
731
789
  jsi::Value
732
790
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies(
733
791
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -795,6 +853,9 @@ protected:
795
853
  jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet(
796
854
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
797
855
  size_t count);
856
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact(
857
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
858
+ size_t count);
798
859
  jsi::Value
799
860
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings(
800
861
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -982,6 +1043,18 @@ protected:
982
1043
  cpp_uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata(
983
1044
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
984
1045
  size_t count);
1046
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_list_contacts(
1047
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1048
+ size_t count);
1049
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_get_contact(
1050
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1051
+ size_t count);
1052
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_insert_contact(
1053
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1054
+ size_t count);
1055
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_delete_contact(
1056
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1057
+ size_t count);
985
1058
  jsi::Value
986
1059
  cpp_uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change(
987
1060
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -1058,31 +1131,6 @@ protected:
1058
1131
  jsi::Value cpp_ffi_breez_sdk_spark_uniffi_contract_version(
1059
1132
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1060
1133
  size_t count);
1061
- jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_eventlistener(
1062
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1063
- size_t count);
1064
- jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_logger(
1065
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1066
- size_t count);
1067
- jsi::Value
1068
- cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_bitcoinchainservice(
1069
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1070
- size_t count);
1071
- jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalsigner(
1072
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1073
- size_t count);
1074
- jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_fiatservice(
1075
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1076
- size_t count);
1077
- jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_paymentobserver(
1078
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1079
- size_t count);
1080
- jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_restclient(
1081
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1082
- size_t count);
1083
- jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_storage(
1084
- jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1085
- size_t count);
1086
1134
  jsi::Value
1087
1135
  cpp_uniffi_internal_fn_method_bitcoinchainservice_ffi__bless_pointer(
1088
1136
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -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;;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":[]}
1
+ {"version":3,"names":["getter","globalThis","NativeBreezSdkSpark","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/breez_sdk_spark-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AAq5BA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,mBAAmB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAC3BL,MAAM,EAErB;AAyjBA;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":[]}