@breeztech/breez-sdk-spark-react-native 0.10.0 → 0.11.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.
- package/README.md +16 -0
- package/android/proguard-rules.pro +4 -0
- package/cpp/generated/breez_sdk_spark.cpp +2535 -557
- package/cpp/generated/breez_sdk_spark.hpp +119 -0
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark.js +350 -16
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark.js +349 -15
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +69 -17
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts +1900 -141
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts +69 -17
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts +1900 -141
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/package.json +3 -3
- package/plugin/build/index.d.ts +5 -0
- package/plugin/build/index.js +2 -2
- package/plugin/build/withBinaryArtifacts.d.ts +1 -1
- package/plugin/build/withBinaryArtifacts.js +5 -7
- package/plugin/build/withIOS.d.ts +5 -1
- package/plugin/build/withIOS.js +14 -4
- package/src/generated/breez_sdk_spark-ffi.ts +161 -17
- package/src/generated/breez_sdk_spark.ts +7159 -4248
|
@@ -60,6 +60,9 @@ protected:
|
|
|
60
60
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_breezsdk(
|
|
61
61
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
62
62
|
size_t count);
|
|
63
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_add_contact(
|
|
64
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
65
|
+
size_t count);
|
|
63
66
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_add_event_listener(
|
|
64
67
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
65
68
|
size_t count);
|
|
@@ -83,6 +86,9 @@ protected:
|
|
|
83
86
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_claim_htlc_payment(
|
|
84
87
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
85
88
|
size_t count);
|
|
89
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_delete_contact(
|
|
90
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
91
|
+
size_t count);
|
|
86
92
|
jsi::Value
|
|
87
93
|
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_delete_lightning_address(
|
|
88
94
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -117,6 +123,9 @@ protected:
|
|
|
117
123
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_get_user_settings(
|
|
118
124
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
119
125
|
size_t count);
|
|
126
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_list_contacts(
|
|
127
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
128
|
+
size_t count);
|
|
120
129
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_list_fiat_currencies(
|
|
121
130
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
122
131
|
size_t count);
|
|
@@ -178,6 +187,9 @@ protected:
|
|
|
178
187
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_sync_wallet(
|
|
179
188
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
180
189
|
size_t count);
|
|
190
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_update_contact(
|
|
191
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
192
|
+
size_t count);
|
|
181
193
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_update_user_settings(
|
|
182
194
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
183
195
|
size_t count);
|
|
@@ -275,6 +287,41 @@ protected:
|
|
|
275
287
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_fiatservice_fetch_fiat_rates(
|
|
276
288
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
277
289
|
size_t count);
|
|
290
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_clone_passkey(
|
|
291
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
292
|
+
size_t count);
|
|
293
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_passkey(
|
|
294
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
295
|
+
size_t count);
|
|
296
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_constructor_passkey_new(
|
|
297
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
298
|
+
size_t count);
|
|
299
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_passkey_get_wallet(
|
|
300
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
301
|
+
size_t count);
|
|
302
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_passkey_is_available(
|
|
303
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
304
|
+
size_t count);
|
|
305
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_passkey_list_wallet_names(
|
|
306
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
307
|
+
size_t count);
|
|
308
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_passkey_store_wallet_name(
|
|
309
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
310
|
+
size_t count);
|
|
311
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_clone_passkeyprfprovider(
|
|
312
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
313
|
+
size_t count);
|
|
314
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_passkeyprfprovider(
|
|
315
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
316
|
+
size_t count);
|
|
317
|
+
jsi::Value
|
|
318
|
+
cpp_uniffi_breez_sdk_spark_fn_method_passkeyprfprovider_derive_prf_seed(
|
|
319
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
320
|
+
size_t count);
|
|
321
|
+
jsi::Value
|
|
322
|
+
cpp_uniffi_breez_sdk_spark_fn_method_passkeyprfprovider_is_prf_available(
|
|
323
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
324
|
+
size_t count);
|
|
278
325
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_clone_paymentobserver(
|
|
279
326
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
280
327
|
size_t count);
|
|
@@ -389,6 +436,18 @@ protected:
|
|
|
389
436
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_set_lnurl_metadata(
|
|
390
437
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
391
438
|
size_t count);
|
|
439
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_list_contacts(
|
|
440
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
441
|
+
size_t count);
|
|
442
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_get_contact(
|
|
443
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
444
|
+
size_t count);
|
|
445
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_insert_contact(
|
|
446
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
447
|
+
size_t count);
|
|
448
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_delete_contact(
|
|
449
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
450
|
+
size_t count);
|
|
392
451
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_add_outgoing_change(
|
|
393
452
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
394
453
|
size_t count);
|
|
@@ -666,6 +725,9 @@ protected:
|
|
|
666
725
|
cpp_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees(
|
|
667
726
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
668
727
|
size_t count);
|
|
728
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact(
|
|
729
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
730
|
+
size_t count);
|
|
669
731
|
jsi::Value
|
|
670
732
|
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener(
|
|
671
733
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -691,6 +753,9 @@ protected:
|
|
|
691
753
|
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment(
|
|
692
754
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
693
755
|
size_t count);
|
|
756
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_contact(
|
|
757
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
758
|
+
size_t count);
|
|
694
759
|
jsi::Value
|
|
695
760
|
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address(
|
|
696
761
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -728,6 +793,9 @@ protected:
|
|
|
728
793
|
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings(
|
|
729
794
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
730
795
|
size_t count);
|
|
796
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts(
|
|
797
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
798
|
+
size_t count);
|
|
731
799
|
jsi::Value
|
|
732
800
|
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies(
|
|
733
801
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -795,6 +863,9 @@ protected:
|
|
|
795
863
|
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet(
|
|
796
864
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
797
865
|
size_t count);
|
|
866
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact(
|
|
867
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
868
|
+
size_t count);
|
|
798
869
|
jsi::Value
|
|
799
870
|
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings(
|
|
800
871
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -887,6 +958,28 @@ protected:
|
|
|
887
958
|
cpp_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates(
|
|
888
959
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
889
960
|
size_t count);
|
|
961
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_passkey_get_wallet(
|
|
962
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
963
|
+
size_t count);
|
|
964
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_passkey_is_available(
|
|
965
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
966
|
+
size_t count);
|
|
967
|
+
jsi::Value
|
|
968
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_passkey_list_wallet_names(
|
|
969
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
970
|
+
size_t count);
|
|
971
|
+
jsi::Value
|
|
972
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_passkey_store_wallet_name(
|
|
973
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
974
|
+
size_t count);
|
|
975
|
+
jsi::Value
|
|
976
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_derive_prf_seed(
|
|
977
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
978
|
+
size_t count);
|
|
979
|
+
jsi::Value
|
|
980
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_is_prf_available(
|
|
981
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
982
|
+
size_t count);
|
|
890
983
|
jsi::Value
|
|
891
984
|
cpp_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send(
|
|
892
985
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -982,6 +1075,18 @@ protected:
|
|
|
982
1075
|
cpp_uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata(
|
|
983
1076
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
984
1077
|
size_t count);
|
|
1078
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_list_contacts(
|
|
1079
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1080
|
+
size_t count);
|
|
1081
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_get_contact(
|
|
1082
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1083
|
+
size_t count);
|
|
1084
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_insert_contact(
|
|
1085
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1086
|
+
size_t count);
|
|
1087
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_delete_contact(
|
|
1088
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1089
|
+
size_t count);
|
|
985
1090
|
jsi::Value
|
|
986
1091
|
cpp_uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change(
|
|
987
1092
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -1046,6 +1151,9 @@ protected:
|
|
|
1046
1151
|
cpp_uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token(
|
|
1047
1152
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1048
1153
|
size_t count);
|
|
1154
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_constructor_passkey_new(
|
|
1155
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1156
|
+
size_t count);
|
|
1049
1157
|
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new(
|
|
1050
1158
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1051
1159
|
size_t count);
|
|
@@ -1074,6 +1182,10 @@ protected:
|
|
|
1074
1182
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_fiatservice(
|
|
1075
1183
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1076
1184
|
size_t count);
|
|
1185
|
+
jsi::Value
|
|
1186
|
+
cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_passkeyprfprovider(
|
|
1187
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1188
|
+
size_t count);
|
|
1077
1189
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_paymentobserver(
|
|
1078
1190
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1079
1191
|
size_t count);
|
|
@@ -1096,6 +1208,13 @@ protected:
|
|
|
1096
1208
|
jsi::Value cpp_uniffi_internal_fn_method_fiatservice_ffi__bless_pointer(
|
|
1097
1209
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1098
1210
|
size_t count);
|
|
1211
|
+
jsi::Value cpp_uniffi_internal_fn_method_passkey_ffi__bless_pointer(
|
|
1212
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1213
|
+
size_t count);
|
|
1214
|
+
jsi::Value
|
|
1215
|
+
cpp_uniffi_internal_fn_method_passkeyprfprovider_ffi__bless_pointer(
|
|
1216
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1217
|
+
size_t count);
|
|
1099
1218
|
jsi::Value cpp_uniffi_internal_fn_method_paymentobserver_ffi__bless_pointer(
|
|
1100
1219
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1101
1220
|
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;;
|
|
1
|
+
{"version":3,"names":["getter","globalThis","NativeBreezSdkSpark","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/breez_sdk_spark-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AAi9BA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,mBAAmB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAC3BL,MAAM,EAErB;AAykBA;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":[]}
|