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

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 (42) hide show
  1. package/README.md +16 -0
  2. package/android/CMakeLists.txt +4 -3
  3. package/{BreezSdkSparkReactNative.podspec → breeztech-breez-sdk-spark-react-native.podspec} +2 -2
  4. package/cpp/generated/breez_sdk_spark.cpp +1460 -536
  5. package/cpp/generated/breez_sdk_spark.hpp +94 -25
  6. package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
  7. package/lib/commonjs/generated/breez_sdk_spark.js +314 -85
  8. package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
  9. package/lib/commonjs/generated/breez_sdk_spark_bindings.js +2 -4
  10. package/lib/commonjs/generated/breez_sdk_spark_bindings.js.map +1 -1
  11. package/lib/commonjs/index.js +1 -11
  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 +313 -84
  15. package/lib/module/generated/breez_sdk_spark.js.map +1 -1
  16. package/lib/module/generated/breez_sdk_spark_bindings.js +2 -4
  17. package/lib/module/generated/breez_sdk_spark_bindings.js.map +1 -1
  18. package/lib/module/index.js +0 -7
  19. package/lib/module/index.js.map +1 -1
  20. package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +94 -66
  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 +1446 -91
  23. package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
  24. package/lib/typescript/commonjs/src/index.d.ts +0 -1
  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 +94 -66
  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 +1446 -91
  29. package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
  30. package/lib/typescript/module/src/index.d.ts +0 -1
  31. package/lib/typescript/module/src/index.d.ts.map +1 -1
  32. package/package.json +4 -4
  33. package/plugin/build/index.d.ts +5 -0
  34. package/plugin/build/index.js +2 -2
  35. package/plugin/build/withBinaryArtifacts.d.ts +1 -1
  36. package/plugin/build/withBinaryArtifacts.js +5 -7
  37. package/plugin/build/withIOS.d.ts +5 -1
  38. package/plugin/build/withIOS.js +14 -4
  39. package/src/generated/breez_sdk_spark-ffi.ts +158 -82
  40. package/src/generated/breez_sdk_spark.ts +3012 -1249
  41. package/src/generated/breez_sdk_spark_bindings.ts +2 -2
  42. package/src/index.tsx +0 -7
@@ -35,10 +35,6 @@ 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
42
38
  cpp_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_get_address_utxos(
43
39
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
44
40
  size_t count);
@@ -203,9 +199,6 @@ protected:
203
199
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_externalsigner(
204
200
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
205
201
  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);
209
202
  jsi::Value
210
203
  cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_identity_public_key(
211
204
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -287,9 +280,6 @@ protected:
287
280
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_fiatservice(
288
281
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
289
282
  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);
293
283
  jsi::Value
294
284
  cpp_uniffi_breez_sdk_spark_fn_method_fiatservice_fetch_fiat_currencies(
295
285
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -297,13 +287,45 @@ protected:
297
287
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_fiatservice_fetch_fiat_rates(
298
288
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
299
289
  size_t count);
300
- jsi::Value cpp_uniffi_breez_sdk_spark_fn_clone_paymentobserver(
290
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_clone_passkey(
301
291
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
302
292
  size_t count);
303
- jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_paymentobserver(
293
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_passkey(
304
294
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
305
295
  size_t count);
306
- jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_paymentobserver(
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_labels(
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_label(
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);
325
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_clone_paymentobserver(
326
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
327
+ size_t count);
328
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_paymentobserver(
307
329
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
308
330
  size_t count);
309
331
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_paymentobserver_before_send(
@@ -315,9 +337,6 @@ protected:
315
337
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_restclient(
316
338
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
317
339
  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);
321
340
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_restclient_get_request(
322
341
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
323
342
  size_t count);
@@ -372,9 +391,6 @@ protected:
372
391
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_storage(
373
392
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
374
393
  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);
378
394
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_delete_cached_item(
379
395
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
380
396
  size_t count);
@@ -497,12 +513,6 @@ protected:
497
513
  cpp_uniffi_breez_sdk_spark_fn_method_tokenissuer_unfreeze_issuer_token(
498
514
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
499
515
  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);
506
516
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_func_connect(
507
517
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
508
518
  size_t count);
@@ -948,6 +958,26 @@ protected:
948
958
  cpp_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates(
949
959
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
950
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 cpp_uniffi_breez_sdk_spark_checksum_method_passkey_list_labels(
968
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
969
+ size_t count);
970
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_passkey_store_label(
971
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
972
+ size_t count);
973
+ jsi::Value
974
+ cpp_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_derive_prf_seed(
975
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
976
+ size_t count);
977
+ jsi::Value
978
+ cpp_uniffi_breez_sdk_spark_checksum_method_passkeyprfprovider_is_prf_available(
979
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
980
+ size_t count);
951
981
  jsi::Value
952
982
  cpp_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send(
953
983
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -1119,6 +1149,9 @@ protected:
1119
1149
  cpp_uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token(
1120
1150
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1121
1151
  size_t count);
1152
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_constructor_passkey_new(
1153
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1154
+ size_t count);
1122
1155
  jsi::Value cpp_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new(
1123
1156
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1124
1157
  size_t count);
@@ -1131,6 +1164,35 @@ protected:
1131
1164
  jsi::Value cpp_ffi_breez_sdk_spark_uniffi_contract_version(
1132
1165
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1133
1166
  size_t count);
1167
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_eventlistener(
1168
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1169
+ size_t count);
1170
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_logger(
1171
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1172
+ size_t count);
1173
+ jsi::Value
1174
+ cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_bitcoinchainservice(
1175
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1176
+ size_t count);
1177
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalsigner(
1178
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1179
+ size_t count);
1180
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_fiatservice(
1181
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1182
+ size_t count);
1183
+ jsi::Value
1184
+ cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_passkeyprfprovider(
1185
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1186
+ size_t count);
1187
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_paymentobserver(
1188
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1189
+ size_t count);
1190
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_restclient(
1191
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1192
+ size_t count);
1193
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_storage(
1194
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1195
+ size_t count);
1134
1196
  jsi::Value
1135
1197
  cpp_uniffi_internal_fn_method_bitcoinchainservice_ffi__bless_pointer(
1136
1198
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -1144,6 +1206,13 @@ protected:
1144
1206
  jsi::Value cpp_uniffi_internal_fn_method_fiatservice_ffi__bless_pointer(
1145
1207
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1146
1208
  size_t count);
1209
+ jsi::Value cpp_uniffi_internal_fn_method_passkey_ffi__bless_pointer(
1210
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1211
+ size_t count);
1212
+ jsi::Value
1213
+ cpp_uniffi_internal_fn_method_passkeyprfprovider_ffi__bless_pointer(
1214
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1215
+ size_t count);
1147
1216
  jsi::Value cpp_uniffi_internal_fn_method_paymentobserver_ffi__bless_pointer(
1148
1217
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1149
1218
  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;;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":[]}
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":[]}