@breeztech/breez-sdk-spark-react-native 0.11.0-dev2 → 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.
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 +1464 -539
  5. package/cpp/generated/breez_sdk_spark.hpp +96 -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 +3008 -1245
  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_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);
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,28 @@ 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
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);
951
983
  jsi::Value
952
984
  cpp_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send(
953
985
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -1119,6 +1151,9 @@ protected:
1119
1151
  cpp_uniffi_breez_sdk_spark_checksum_method_tokenissuer_unfreeze_issuer_token(
1120
1152
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1121
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);
1122
1157
  jsi::Value cpp_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new(
1123
1158
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1124
1159
  size_t count);
@@ -1131,6 +1166,35 @@ protected:
1131
1166
  jsi::Value cpp_ffi_breez_sdk_spark_uniffi_contract_version(
1132
1167
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1133
1168
  size_t count);
1169
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_eventlistener(
1170
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1171
+ size_t count);
1172
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_logger(
1173
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1174
+ size_t count);
1175
+ jsi::Value
1176
+ cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_bitcoinchainservice(
1177
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1178
+ size_t count);
1179
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalsigner(
1180
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1181
+ size_t count);
1182
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_fiatservice(
1183
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
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);
1189
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_paymentobserver(
1190
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1191
+ size_t count);
1192
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_restclient(
1193
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1194
+ size_t count);
1195
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_storage(
1196
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1197
+ size_t count);
1134
1198
  jsi::Value
1135
1199
  cpp_uniffi_internal_fn_method_bitcoinchainservice_ffi__bless_pointer(
1136
1200
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -1144,6 +1208,13 @@ protected:
1144
1208
  jsi::Value cpp_uniffi_internal_fn_method_fiatservice_ffi__bless_pointer(
1145
1209
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1146
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);
1147
1218
  jsi::Value cpp_uniffi_internal_fn_method_paymentobserver_ffi__bless_pointer(
1148
1219
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1149
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;;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":[]}