@breeztech/breez-sdk-spark-react-native 0.19.2 → 0.21.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 (38) hide show
  1. package/BreezSdkSparkReactNative.podspec +6 -0
  2. package/cpp/generated/breez_sdk_spark.cpp +1527 -125
  3. package/cpp/generated/breez_sdk_spark.hpp +84 -0
  4. package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
  5. package/lib/commonjs/generated/breez_sdk_spark.js +554 -62
  6. package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
  7. package/lib/commonjs/passkey-prf-provider.js +31 -11
  8. package/lib/commonjs/passkey-prf-provider.js.map +1 -1
  9. package/lib/module/generated/breez_sdk_spark-ffi.js.map +1 -1
  10. package/lib/module/generated/breez_sdk_spark.js +553 -61
  11. package/lib/module/generated/breez_sdk_spark.js.map +1 -1
  12. package/lib/module/passkey-prf-provider.js +31 -11
  13. package/lib/module/passkey-prf-provider.js.map +1 -1
  14. package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +56 -21
  15. package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
  16. package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts +2251 -144
  17. package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
  18. package/lib/typescript/commonjs/src/passkey-prf-provider.d.ts +24 -6
  19. package/lib/typescript/commonjs/src/passkey-prf-provider.d.ts.map +1 -1
  20. package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts +56 -21
  21. package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
  22. package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts +2251 -144
  23. package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
  24. package/lib/typescript/module/src/passkey-prf-provider.d.ts +24 -6
  25. package/lib/typescript/module/src/passkey-prf-provider.d.ts.map +1 -1
  26. package/package.json +4 -4
  27. package/plugin/build/index.d.ts +1 -1
  28. package/plugin/build/index.js +3 -1
  29. package/plugin/build/withAndroid.d.ts +1 -1
  30. package/plugin/build/withAndroid.js +1 -1
  31. package/plugin/build/withBinaryArtifacts.d.ts +1 -1
  32. package/plugin/build/withBinaryArtifacts.js +1 -1
  33. package/plugin/build/withIOS.d.ts +1 -1
  34. package/plugin/build/withIOS.js +1 -1
  35. package/scripts/post-ubrn.js +42 -0
  36. package/src/generated/breez_sdk_spark-ffi.ts +122 -19
  37. package/src/generated/breez_sdk_spark.ts +3999 -77
  38. package/src/passkey-prf-provider.ts +41 -12
@@ -43,6 +43,10 @@ protected:
43
43
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
44
44
  size_t count);
45
45
  jsi::Value
46
+ cpp_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_get_address_txos(
47
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
48
+ size_t count);
49
+ jsi::Value
46
50
  cpp_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_get_transaction_status(
47
51
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
48
52
  size_t count);
@@ -51,6 +55,10 @@ protected:
51
55
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
52
56
  size_t count);
53
57
  jsi::Value
58
+ cpp_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_get_outspend(
59
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
60
+ size_t count);
61
+ jsi::Value
54
62
  cpp_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_broadcast_transaction(
55
63
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
56
64
  size_t count);
@@ -75,6 +83,10 @@ protected:
75
83
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
76
84
  size_t count);
77
85
  jsi::Value
86
+ cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_build_unsigned_batch_package(
87
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
88
+ size_t count);
89
+ jsi::Value
78
90
  cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_build_unsigned_lnurl_pay_package(
79
91
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
80
92
  size_t count);
@@ -176,10 +188,17 @@ protected:
176
188
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_lnurl_pay(
177
189
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
178
190
  size_t count);
191
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_batch(
192
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
193
+ size_t count);
179
194
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_payment(
180
195
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
181
196
  size_t count);
182
197
  jsi::Value
198
+ cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_unilateral_exit(
199
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
200
+ size_t count);
201
+ jsi::Value
183
202
  cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_publish_signed_lnurl_pay_package(
184
203
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
185
204
  size_t count);
@@ -211,6 +230,9 @@ protected:
211
230
  cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_remove_event_listener(
212
231
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
213
232
  size_t count);
233
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_send_batch(
234
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
235
+ size_t count);
214
236
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_send_payment(
215
237
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
216
238
  size_t count);
@@ -220,6 +242,9 @@ protected:
220
242
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_sync_wallet(
221
243
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
222
244
  size_t count);
245
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_unilateral_exit(
246
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
247
+ size_t count);
223
248
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_unregister_webhook(
224
249
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
225
250
  size_t count);
@@ -229,6 +254,18 @@ protected:
229
254
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_update_user_settings(
230
255
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
231
256
  size_t count);
257
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_clone_cpfpsigner(
258
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
259
+ size_t count);
260
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_free_cpfpsigner(
261
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
262
+ size_t count);
263
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_init_callback_vtable_cpfpsigner(
264
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
265
+ size_t count);
266
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_cpfpsigner_sign_psbt(
267
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
268
+ size_t count);
232
269
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_clone_externalbreezsigner(
233
270
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
234
271
  size_t count);
@@ -327,6 +364,10 @@ protected:
327
364
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
328
365
  size_t count);
329
366
  jsi::Value
367
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_leaf_refund_spend(
368
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
369
+ size_t count);
370
+ jsi::Value
330
371
  cpp_uniffi_breez_sdk_spark_fn_method_externalsparksigner_sign_frost(
331
372
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
332
373
  size_t count);
@@ -764,6 +805,9 @@ protected:
764
805
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_func_new_shared_sdk_context(
765
806
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
766
807
  size_t count);
808
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_func_single_key_cpfp_signer(
809
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
810
+ size_t count);
767
811
  jsi::Value cpp_ffi_breez_sdk_spark_rust_future_poll_u8(
768
812
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
769
813
  size_t count);
@@ -967,11 +1011,18 @@ protected:
967
1011
  jsi::Value cpp_uniffi_breez_sdk_spark_checksum_func_new_shared_sdk_context(
968
1012
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
969
1013
  size_t count);
1014
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_func_single_key_cpfp_signer(
1015
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1016
+ size_t count);
970
1017
  jsi::Value
971
1018
  cpp_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos(
972
1019
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
973
1020
  size_t count);
974
1021
  jsi::Value
1022
+ cpp_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_txos(
1023
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1024
+ size_t count);
1025
+ jsi::Value
975
1026
  cpp_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status(
976
1027
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
977
1028
  size_t count);
@@ -980,6 +1031,10 @@ protected:
980
1031
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
981
1032
  size_t count);
982
1033
  jsi::Value
1034
+ cpp_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_outspend(
1035
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1036
+ size_t count);
1037
+ jsi::Value
983
1038
  cpp_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction(
984
1039
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
985
1040
  size_t count);
@@ -999,6 +1054,10 @@ protected:
999
1054
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1000
1055
  size_t count);
1001
1056
  jsi::Value
1057
+ cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_batch_package(
1058
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1059
+ size_t count);
1060
+ jsi::Value
1002
1061
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_lnurl_pay_package(
1003
1062
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1004
1063
  size_t count);
@@ -1109,10 +1168,18 @@ protected:
1109
1168
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1110
1169
  size_t count);
1111
1170
  jsi::Value
1171
+ cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_batch(
1172
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1173
+ size_t count);
1174
+ jsi::Value
1112
1175
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment(
1113
1176
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1114
1177
  size_t count);
1115
1178
  jsi::Value
1179
+ cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_unilateral_exit(
1180
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1181
+ size_t count);
1182
+ jsi::Value
1116
1183
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_publish_signed_lnurl_pay_package(
1117
1184
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1118
1185
  size_t count);
@@ -1147,6 +1214,9 @@ protected:
1147
1214
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener(
1148
1215
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1149
1216
  size_t count);
1217
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_batch(
1218
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1219
+ size_t count);
1150
1220
  jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment(
1151
1221
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1152
1222
  size_t count);
@@ -1157,6 +1227,10 @@ protected:
1157
1227
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1158
1228
  size_t count);
1159
1229
  jsi::Value
1230
+ cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_unilateral_exit(
1231
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1232
+ size_t count);
1233
+ jsi::Value
1160
1234
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_unregister_webhook(
1161
1235
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1162
1236
  size_t count);
@@ -1167,6 +1241,9 @@ protected:
1167
1241
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings(
1168
1242
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1169
1243
  size_t count);
1244
+ jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_cpfpsigner_sign_psbt(
1245
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1246
+ size_t count);
1170
1247
  jsi::Value
1171
1248
  cpp_uniffi_breez_sdk_spark_checksum_method_externalbreezsigner_derive_public_key(
1172
1249
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
@@ -1236,6 +1313,10 @@ protected:
1236
1313
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1237
1314
  size_t count);
1238
1315
  jsi::Value
1316
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_leaf_refund_spend(
1317
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1318
+ size_t count);
1319
+ jsi::Value
1239
1320
  cpp_uniffi_breez_sdk_spark_checksum_method_externalsparksigner_sign_frost(
1240
1321
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1241
1322
  size_t count);
@@ -1565,6 +1646,9 @@ protected:
1565
1646
  jsi::Value cpp_uniffi_internal_fn_method_breezsdk_ffi__bless_pointer(
1566
1647
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1567
1648
  size_t count);
1649
+ jsi::Value cpp_uniffi_internal_fn_method_cpfpsigner_ffi__bless_pointer(
1650
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
1651
+ size_t count);
1568
1652
  jsi::Value
1569
1653
  cpp_uniffi_internal_fn_method_externalbreezsigner_ffi__bless_pointer(
1570
1654
  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;;AAowCA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,mBAAmB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAC3BL,MAAM,EAErB;AAwsBA;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;;AAy0CA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,mBAAmB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAC3BL,MAAM,EAErB;AA0uBA;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":[]}