@breeztech/breez-sdk-spark-react-native 0.12.1 → 0.12.2-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/README.md +6 -6
  3. package/android/CMakeLists.txt +3 -4
  4. package/cpp/generated/breez_sdk_spark.cpp +661 -452
  5. package/cpp/generated/breez_sdk_spark.hpp +49 -29
  6. package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
  7. package/lib/commonjs/generated/breez_sdk_spark.js +366 -155
  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 +365 -154
  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 +77 -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 +1037 -116
  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 +77 -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 +1037 -116
  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 +106 -91
  34. package/src/generated/breez_sdk_spark.ts +2796 -1030
  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);
@@ -139,6 +143,9 @@ protected:
139
143
  cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_list_unclaimed_deposits(
140
144
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
141
145
  size_t count);
146
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_list_webhooks(
147
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
148
+ size_t count);
142
149
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_lnurl_auth(
143
150
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
144
151
  size_t count);
@@ -170,6 +177,9 @@ protected:
170
177
  cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_register_lightning_address(
171
178
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
172
179
  size_t count);
180
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_register_webhook(
181
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
182
+ size_t count);
173
183
  jsi::Value
174
184
  cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_remove_event_listener(
175
185
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -187,6 +197,9 @@ protected:
187
197
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_sync_wallet(
188
198
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
189
199
  size_t count);
200
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_unregister_webhook(
201
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
202
+ size_t count);
190
203
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_update_contact(
191
204
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
192
205
  size_t count);
@@ -199,6 +212,9 @@ protected:
199
212
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_externalsigner(
200
213
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
201
214
  size_t count);
215
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalsigner(
216
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
217
+ size_t count);
202
218
  jsi::Value
203
219
  cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_identity_public_key(
204
220
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -280,6 +296,9 @@ protected:
280
296
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_fiatservice(
281
297
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
282
298
  size_t count);
299
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_fiatservice(
300
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
301
+ size_t count);
283
302
  jsi::Value
284
303
  cpp_uniffi_breez_sdk_spark_fn_method_fiatservice_fetch_fiat_currencies(
285
304
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -315,6 +334,10 @@ protected:
315
334
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
316
335
  size_t count);
317
336
  jsi::Value
337
+ cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_passkeyprfprovider(
338
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
339
+ size_t count);
340
+ jsi::Value
318
341
  cpp_uniffi_breez_sdk_spark_fn_method_passkeyprfprovider_derive_prf_seed(
319
342
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
320
343
  size_t count);
@@ -328,6 +351,9 @@ protected:
328
351
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_paymentobserver(
329
352
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
330
353
  size_t count);
354
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_paymentobserver(
355
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
356
+ size_t count);
331
357
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_paymentobserver_before_send(
332
358
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
333
359
  size_t count);
@@ -337,6 +363,9 @@ protected:
337
363
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_restclient(
338
364
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
339
365
  size_t count);
366
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_restclient(
367
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
368
+ size_t count);
340
369
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_restclient_get_request(
341
370
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
342
371
  size_t count);
@@ -391,6 +420,9 @@ protected:
391
420
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_storage(
392
421
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
393
422
  size_t count);
423
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_storage(
424
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
425
+ size_t count);
394
426
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_delete_cached_item(
395
427
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
396
428
  size_t count);
@@ -513,6 +545,12 @@ protected:
513
545
  cpp_uniffi_breez_sdk_spark_fn_method_tokenissuer_unfreeze_issuer_token(
514
546
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
515
547
  size_t count);
548
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_eventlistener(
549
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
550
+ size_t count);
551
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_logger(
552
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
553
+ size_t count);
516
554
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_func_connect(
517
555
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
518
556
  size_t count);
@@ -811,6 +849,9 @@ protected:
811
849
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits(
812
850
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
813
851
  size_t count);
852
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_webhooks(
853
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
854
+ size_t count);
814
855
  jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth(
815
856
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
816
857
  size_t count);
@@ -847,6 +888,10 @@ protected:
847
888
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
848
889
  size_t count);
849
890
  jsi::Value
891
+ cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_webhook(
892
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
893
+ size_t count);
894
+ jsi::Value
850
895
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener(
851
896
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
852
897
  size_t count);
@@ -863,6 +908,10 @@ protected:
863
908
  jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet(
864
909
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
865
910
  size_t count);
911
+ jsi::Value
912
+ cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_unregister_webhook(
913
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
914
+ size_t count);
866
915
  jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact(
867
916
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
868
917
  size_t count);
@@ -1164,35 +1213,6 @@ protected:
1164
1213
  jsi::Value cpp_ffi_breez_sdk_spark_uniffi_contract_version(
1165
1214
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1166
1215
  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);
1196
1216
  jsi::Value
1197
1217
  cpp_uniffi_internal_fn_method_bitcoinchainservice_ffi__bless_pointer(
1198
1218
  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;;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":[]}
1
+ {"version":3,"names":["getter","globalThis","NativeBreezSdkSpark","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/breez_sdk_spark-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AA+9BA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,mBAAmB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAC3BL,MAAM,EAErB;AA0kBA;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":[]}