@breeztech/breez-sdk-spark-react-native 0.22.3 → 0.23.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.
- package/android/src/main/kotlin/com/breeztech/breezsdkspark/BreezSdkSparkPasskeyModule.kt +6 -6
- package/cpp/generated/breez_sdk_spark.cpp +151 -0
- package/cpp/generated/breez_sdk_spark.hpp +23 -0
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark.js +246 -40
- 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 +245 -39
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +6 -0
- 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 +830 -8
- 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 +6 -0
- 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 +830 -8
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/generated/breez_sdk_spark-ffi.ts +14 -0
- package/src/generated/breez_sdk_spark.ts +1433 -17
|
@@ -36,10 +36,10 @@ class BreezSdkSparkPasskeyModule(
|
|
|
36
36
|
) : ReactContextBaseJavaModule(reactContext) {
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* Module-scoped coroutine scope. Cancelled in [
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
39
|
+
* Module-scoped coroutine scope. Cancelled in [invalidate] so any
|
|
40
|
+
* in-flight passkey ceremony does not outlive the React context and leak
|
|
41
|
+
* the captured Activity. SupervisorJob keeps siblings alive if one branch
|
|
42
|
+
* fails, matching the per-call try/catch pattern below.
|
|
43
43
|
*/
|
|
44
44
|
private val scope = CoroutineScope(SupervisorJob() + Dispatchers.Main)
|
|
45
45
|
|
|
@@ -53,9 +53,9 @@ class BreezSdkSparkPasskeyModule(
|
|
|
53
53
|
|
|
54
54
|
override fun getName(): String = NAME
|
|
55
55
|
|
|
56
|
-
override fun
|
|
56
|
+
override fun invalidate() {
|
|
57
57
|
scope.cancel()
|
|
58
|
-
super.
|
|
58
|
+
super.invalidate()
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
/**
|
|
@@ -630,6 +630,9 @@ uniffi_breez_sdk_spark_fn_method_breezsdk_delete_lightning_address(void *ptr);
|
|
|
630
630
|
/*handle*/ uint64_t
|
|
631
631
|
uniffi_breez_sdk_spark_fn_method_breezsdk_disconnect(void *ptr);
|
|
632
632
|
/*handle*/ uint64_t
|
|
633
|
+
uniffi_breez_sdk_spark_fn_method_breezsdk_export_unilateral_exit_state(
|
|
634
|
+
void *ptr);
|
|
635
|
+
/*handle*/ uint64_t
|
|
633
636
|
uniffi_breez_sdk_spark_fn_method_breezsdk_fetch_conversion_limits(
|
|
634
637
|
void *ptr, RustBuffer request);
|
|
635
638
|
/*handle*/ uint64_t
|
|
@@ -651,6 +654,9 @@ uniffi_breez_sdk_spark_fn_method_breezsdk_get_tokens_metadata(
|
|
|
651
654
|
/*handle*/ uint64_t
|
|
652
655
|
uniffi_breez_sdk_spark_fn_method_breezsdk_get_user_settings(void *ptr);
|
|
653
656
|
/*handle*/ uint64_t
|
|
657
|
+
uniffi_breez_sdk_spark_fn_method_breezsdk_import_unilateral_exit_state(
|
|
658
|
+
void *ptr, RustBuffer request);
|
|
659
|
+
/*handle*/ uint64_t
|
|
654
660
|
uniffi_breez_sdk_spark_fn_method_breezsdk_list_contacts(void *ptr,
|
|
655
661
|
RustBuffer request);
|
|
656
662
|
/*handle*/ uint64_t
|
|
@@ -683,6 +689,9 @@ uniffi_breez_sdk_spark_fn_method_breezsdk_parse(void *ptr, RustBuffer input);
|
|
|
683
689
|
uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_lnurl_pay(void *ptr,
|
|
684
690
|
RustBuffer request);
|
|
685
691
|
/*handle*/ uint64_t
|
|
692
|
+
uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_payment_link(
|
|
693
|
+
void *ptr, RustBuffer request);
|
|
694
|
+
/*handle*/ uint64_t
|
|
686
695
|
uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_batch(
|
|
687
696
|
void *ptr, RustBuffer request);
|
|
688
697
|
/*handle*/ uint64_t
|
|
@@ -1351,6 +1360,8 @@ uint16_t
|
|
|
1351
1360
|
uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address();
|
|
1352
1361
|
uint16_t uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect();
|
|
1353
1362
|
uint16_t
|
|
1363
|
+
uniffi_breez_sdk_spark_checksum_method_breezsdk_export_unilateral_exit_state();
|
|
1364
|
+
uint16_t
|
|
1354
1365
|
uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits();
|
|
1355
1366
|
uint16_t
|
|
1356
1367
|
uniffi_breez_sdk_spark_checksum_method_breezsdk_get_cross_chain_routes();
|
|
@@ -1361,6 +1372,8 @@ uint16_t uniffi_breez_sdk_spark_checksum_method_breezsdk_get_payment();
|
|
|
1361
1372
|
uint16_t uniffi_breez_sdk_spark_checksum_method_breezsdk_get_token_issuer();
|
|
1362
1373
|
uint16_t uniffi_breez_sdk_spark_checksum_method_breezsdk_get_tokens_metadata();
|
|
1363
1374
|
uint16_t uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings();
|
|
1375
|
+
uint16_t
|
|
1376
|
+
uniffi_breez_sdk_spark_checksum_method_breezsdk_import_unilateral_exit_state();
|
|
1364
1377
|
uint16_t uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts();
|
|
1365
1378
|
uint16_t uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_currencies();
|
|
1366
1379
|
uint16_t uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates();
|
|
@@ -1374,6 +1387,7 @@ uint16_t uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw();
|
|
|
1374
1387
|
uint16_t uniffi_breez_sdk_spark_checksum_method_breezsdk_optimize_leaves();
|
|
1375
1388
|
uint16_t uniffi_breez_sdk_spark_checksum_method_breezsdk_parse();
|
|
1376
1389
|
uint16_t uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay();
|
|
1390
|
+
uint16_t uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_payment_link();
|
|
1377
1391
|
uint16_t uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_batch();
|
|
1378
1392
|
uint16_t uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment();
|
|
1379
1393
|
uint16_t
|
|
@@ -17467,6 +17481,18 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
|
|
|
17467
17481
|
->cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_disconnect(
|
|
17468
17482
|
rt, thisVal, args, count);
|
|
17469
17483
|
});
|
|
17484
|
+
props["ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_export_unilateral_exit_"
|
|
17485
|
+
"state"] = jsi::Function::createFromHostFunction(
|
|
17486
|
+
rt,
|
|
17487
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
|
|
17488
|
+
"breezsdk_export_unilateral_exit_state"),
|
|
17489
|
+
1,
|
|
17490
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
17491
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
17492
|
+
return this
|
|
17493
|
+
->cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_export_unilateral_exit_state(
|
|
17494
|
+
rt, thisVal, args, count);
|
|
17495
|
+
});
|
|
17470
17496
|
props["ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_fetch_conversion_"
|
|
17471
17497
|
"limits"] = jsi::Function::createFromHostFunction(
|
|
17472
17498
|
rt,
|
|
@@ -17562,6 +17588,18 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
|
|
|
17562
17588
|
->cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_get_user_settings(
|
|
17563
17589
|
rt, thisVal, args, count);
|
|
17564
17590
|
});
|
|
17591
|
+
props["ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_import_unilateral_exit_"
|
|
17592
|
+
"state"] = jsi::Function::createFromHostFunction(
|
|
17593
|
+
rt,
|
|
17594
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
|
|
17595
|
+
"breezsdk_import_unilateral_exit_state"),
|
|
17596
|
+
2,
|
|
17597
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
17598
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
17599
|
+
return this
|
|
17600
|
+
->cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_import_unilateral_exit_state(
|
|
17601
|
+
rt, thisVal, args, count);
|
|
17602
|
+
});
|
|
17565
17603
|
props["ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_list_contacts"] =
|
|
17566
17604
|
jsi::Function::createFromHostFunction(
|
|
17567
17605
|
rt,
|
|
@@ -17711,6 +17749,18 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
|
|
|
17711
17749
|
->cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_lnurl_pay(
|
|
17712
17750
|
rt, thisVal, args, count);
|
|
17713
17751
|
});
|
|
17752
|
+
props["ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_payment_link"] =
|
|
17753
|
+
jsi::Function::createFromHostFunction(
|
|
17754
|
+
rt,
|
|
17755
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
|
|
17756
|
+
"breezsdk_prepare_payment_link"),
|
|
17757
|
+
2,
|
|
17758
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
17759
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
17760
|
+
return this
|
|
17761
|
+
->cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_payment_link(
|
|
17762
|
+
rt, thisVal, args, count);
|
|
17763
|
+
});
|
|
17714
17764
|
props["ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_batch"] =
|
|
17715
17765
|
jsi::Function::createFromHostFunction(
|
|
17716
17766
|
rt,
|
|
@@ -20977,6 +21027,19 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
|
|
|
20977
21027
|
->cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect(
|
|
20978
21028
|
rt, thisVal, args, count);
|
|
20979
21029
|
});
|
|
21030
|
+
props["ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_export_"
|
|
21031
|
+
"unilateral_exit_state"] = jsi::Function::createFromHostFunction(
|
|
21032
|
+
rt,
|
|
21033
|
+
jsi::PropNameID::forAscii(rt,
|
|
21034
|
+
"ubrn_uniffi_breez_sdk_spark_checksum_method_"
|
|
21035
|
+
"breezsdk_export_unilateral_exit_state"),
|
|
21036
|
+
0,
|
|
21037
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
21038
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
21039
|
+
return this
|
|
21040
|
+
->cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_export_unilateral_exit_state(
|
|
21041
|
+
rt, thisVal, args, count);
|
|
21042
|
+
});
|
|
20980
21043
|
props["ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_"
|
|
20981
21044
|
"limits"] = jsi::Function::createFromHostFunction(
|
|
20982
21045
|
rt,
|
|
@@ -21074,6 +21137,19 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
|
|
|
21074
21137
|
->cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings(
|
|
21075
21138
|
rt, thisVal, args, count);
|
|
21076
21139
|
});
|
|
21140
|
+
props["ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_import_"
|
|
21141
|
+
"unilateral_exit_state"] = jsi::Function::createFromHostFunction(
|
|
21142
|
+
rt,
|
|
21143
|
+
jsi::PropNameID::forAscii(rt,
|
|
21144
|
+
"ubrn_uniffi_breez_sdk_spark_checksum_method_"
|
|
21145
|
+
"breezsdk_import_unilateral_exit_state"),
|
|
21146
|
+
0,
|
|
21147
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
21148
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
21149
|
+
return this
|
|
21150
|
+
->cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_import_unilateral_exit_state(
|
|
21151
|
+
rt, thisVal, args, count);
|
|
21152
|
+
});
|
|
21077
21153
|
props["ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts"] =
|
|
21078
21154
|
jsi::Function::createFromHostFunction(
|
|
21079
21155
|
rt,
|
|
@@ -21219,6 +21295,18 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
|
|
|
21219
21295
|
->cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay(
|
|
21220
21296
|
rt, thisVal, args, count);
|
|
21221
21297
|
});
|
|
21298
|
+
props["ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_payment_"
|
|
21299
|
+
"link"] = jsi::Function::createFromHostFunction(
|
|
21300
|
+
rt,
|
|
21301
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_checksum_"
|
|
21302
|
+
"method_breezsdk_prepare_payment_link"),
|
|
21303
|
+
0,
|
|
21304
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
21305
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
21306
|
+
return this
|
|
21307
|
+
->cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_payment_link(
|
|
21308
|
+
rt, thisVal, args, count);
|
|
21309
|
+
});
|
|
21222
21310
|
props["ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_"
|
|
21223
21311
|
"batch"] = jsi::Function::createFromHostFunction(
|
|
21224
21312
|
rt,
|
|
@@ -23940,6 +24028,17 @@ NativeBreezSdkSpark::cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_disconnect(
|
|
|
23940
24028
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
23941
24029
|
value);
|
|
23942
24030
|
}
|
|
24031
|
+
jsi::Value NativeBreezSdkSpark::
|
|
24032
|
+
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_export_unilateral_exit_state(
|
|
24033
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
24034
|
+
size_t count) {
|
|
24035
|
+
auto value =
|
|
24036
|
+
uniffi_breez_sdk_spark_fn_method_breezsdk_export_unilateral_exit_state(
|
|
24037
|
+
uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]));
|
|
24038
|
+
|
|
24039
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
24040
|
+
value);
|
|
24041
|
+
}
|
|
23943
24042
|
jsi::Value NativeBreezSdkSpark::
|
|
23944
24043
|
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_fetch_conversion_limits(
|
|
23945
24044
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -24034,6 +24133,19 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
24034
24133
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
24035
24134
|
value);
|
|
24036
24135
|
}
|
|
24136
|
+
jsi::Value NativeBreezSdkSpark::
|
|
24137
|
+
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_import_unilateral_exit_state(
|
|
24138
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
24139
|
+
size_t count) {
|
|
24140
|
+
auto value =
|
|
24141
|
+
uniffi_breez_sdk_spark_fn_method_breezsdk_import_unilateral_exit_state(
|
|
24142
|
+
uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
|
|
24143
|
+
uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
24144
|
+
args[1]));
|
|
24145
|
+
|
|
24146
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
24147
|
+
value);
|
|
24148
|
+
}
|
|
24037
24149
|
jsi::Value NativeBreezSdkSpark::
|
|
24038
24150
|
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_list_contacts(
|
|
24039
24151
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -24173,6 +24285,18 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
24173
24285
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
24174
24286
|
value);
|
|
24175
24287
|
}
|
|
24288
|
+
jsi::Value NativeBreezSdkSpark::
|
|
24289
|
+
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_payment_link(
|
|
24290
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
24291
|
+
size_t count) {
|
|
24292
|
+
auto value = uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_payment_link(
|
|
24293
|
+
uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
|
|
24294
|
+
uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
24295
|
+
args[1]));
|
|
24296
|
+
|
|
24297
|
+
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
24298
|
+
value);
|
|
24299
|
+
}
|
|
24176
24300
|
jsi::Value NativeBreezSdkSpark::
|
|
24177
24301
|
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_batch(
|
|
24178
24302
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -27492,6 +27616,15 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
27492
27616
|
|
|
27493
27617
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
27494
27618
|
}
|
|
27619
|
+
jsi::Value NativeBreezSdkSpark::
|
|
27620
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_export_unilateral_exit_state(
|
|
27621
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
27622
|
+
size_t count) {
|
|
27623
|
+
auto value =
|
|
27624
|
+
uniffi_breez_sdk_spark_checksum_method_breezsdk_export_unilateral_exit_state();
|
|
27625
|
+
|
|
27626
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
27627
|
+
}
|
|
27495
27628
|
jsi::Value NativeBreezSdkSpark::
|
|
27496
27629
|
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits(
|
|
27497
27630
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -27562,6 +27695,15 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
27562
27695
|
|
|
27563
27696
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
27564
27697
|
}
|
|
27698
|
+
jsi::Value NativeBreezSdkSpark::
|
|
27699
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_import_unilateral_exit_state(
|
|
27700
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
27701
|
+
size_t count) {
|
|
27702
|
+
auto value =
|
|
27703
|
+
uniffi_breez_sdk_spark_checksum_method_breezsdk_import_unilateral_exit_state();
|
|
27704
|
+
|
|
27705
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
27706
|
+
}
|
|
27565
27707
|
jsi::Value NativeBreezSdkSpark::
|
|
27566
27708
|
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts(
|
|
27567
27709
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -27663,6 +27805,15 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
27663
27805
|
|
|
27664
27806
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
27665
27807
|
}
|
|
27808
|
+
jsi::Value NativeBreezSdkSpark::
|
|
27809
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_payment_link(
|
|
27810
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
27811
|
+
size_t count) {
|
|
27812
|
+
auto value =
|
|
27813
|
+
uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_payment_link();
|
|
27814
|
+
|
|
27815
|
+
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
27816
|
+
}
|
|
27666
27817
|
jsi::Value NativeBreezSdkSpark::
|
|
27667
27818
|
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_batch(
|
|
27668
27819
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
@@ -125,6 +125,10 @@ protected:
|
|
|
125
125
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
126
126
|
size_t count);
|
|
127
127
|
jsi::Value
|
|
128
|
+
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_export_unilateral_exit_state(
|
|
129
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
130
|
+
size_t count);
|
|
131
|
+
jsi::Value
|
|
128
132
|
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_fetch_conversion_limits(
|
|
129
133
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
130
134
|
size_t count);
|
|
@@ -151,6 +155,10 @@ protected:
|
|
|
151
155
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_get_user_settings(
|
|
152
156
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
153
157
|
size_t count);
|
|
158
|
+
jsi::Value
|
|
159
|
+
cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_import_unilateral_exit_state(
|
|
160
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
161
|
+
size_t count);
|
|
154
162
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_list_contacts(
|
|
155
163
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
156
164
|
size_t count);
|
|
@@ -188,6 +196,9 @@ protected:
|
|
|
188
196
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_lnurl_pay(
|
|
189
197
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
190
198
|
size_t count);
|
|
199
|
+
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_payment_link(
|
|
200
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
201
|
+
size_t count);
|
|
191
202
|
jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_batch(
|
|
192
203
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
193
204
|
size_t count);
|
|
@@ -1097,6 +1108,10 @@ protected:
|
|
|
1097
1108
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1098
1109
|
size_t count);
|
|
1099
1110
|
jsi::Value
|
|
1111
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_export_unilateral_exit_state(
|
|
1112
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1113
|
+
size_t count);
|
|
1114
|
+
jsi::Value
|
|
1100
1115
|
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits(
|
|
1101
1116
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1102
1117
|
size_t count);
|
|
@@ -1126,6 +1141,10 @@ protected:
|
|
|
1126
1141
|
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_user_settings(
|
|
1127
1142
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1128
1143
|
size_t count);
|
|
1144
|
+
jsi::Value
|
|
1145
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_import_unilateral_exit_state(
|
|
1146
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1147
|
+
size_t count);
|
|
1129
1148
|
jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_contacts(
|
|
1130
1149
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1131
1150
|
size_t count);
|
|
@@ -1168,6 +1187,10 @@ protected:
|
|
|
1168
1187
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1169
1188
|
size_t count);
|
|
1170
1189
|
jsi::Value
|
|
1190
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_payment_link(
|
|
1191
|
+
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1192
|
+
size_t count);
|
|
1193
|
+
jsi::Value
|
|
1171
1194
|
cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_batch(
|
|
1172
1195
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
1173
1196
|
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;;AAu1CA;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":[]}
|