@breeztech/breez-sdk-spark-react-native 0.7.4 → 0.7.6
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/cpp/generated/breez_sdk_spark.cpp +154 -156
- package/cpp/generated/breez_sdk_spark.hpp +17 -16
- package/lib/commonjs/generated/breez_sdk_spark.js +37 -17
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark.js +37 -17
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +24 -24
- 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 +56 -16
- 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 +24 -24
- 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 +56 -16
- 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 +24 -24
- package/src/generated/breez_sdk_spark.ts +108 -68
|
@@ -346,26 +346,26 @@ typedef struct UniffiVTableCallbackInterfaceExternalSigner {
|
|
|
346
346
|
UniffiCallbackInterfaceExternalSignerMethod1 derive_public_key;
|
|
347
347
|
UniffiCallbackInterfaceExternalSignerMethod2 sign_ecdsa;
|
|
348
348
|
UniffiCallbackInterfaceExternalSignerMethod3 sign_ecdsa_recoverable;
|
|
349
|
-
UniffiCallbackInterfaceExternalSignerMethod4
|
|
350
|
-
UniffiCallbackInterfaceExternalSignerMethod5
|
|
349
|
+
UniffiCallbackInterfaceExternalSignerMethod4 encrypt_ecies;
|
|
350
|
+
UniffiCallbackInterfaceExternalSignerMethod5 decrypt_ecies;
|
|
351
351
|
UniffiCallbackInterfaceExternalSignerMethod6 sign_hash_schnorr;
|
|
352
352
|
UniffiCallbackInterfaceExternalSignerMethod7 hmac_sha256;
|
|
353
353
|
UniffiCallbackInterfaceExternalSignerMethod8
|
|
354
|
-
|
|
354
|
+
generate_random_signing_commitment;
|
|
355
355
|
UniffiCallbackInterfaceExternalSignerMethod9 get_public_key_for_node;
|
|
356
356
|
UniffiCallbackInterfaceExternalSignerMethod10 generate_random_key;
|
|
357
357
|
UniffiCallbackInterfaceExternalSignerMethod11
|
|
358
358
|
get_static_deposit_private_key_source;
|
|
359
|
-
UniffiCallbackInterfaceExternalSignerMethod12
|
|
360
|
-
UniffiCallbackInterfaceExternalSignerMethod13
|
|
361
|
-
UniffiCallbackInterfaceExternalSignerMethod14
|
|
362
|
-
UniffiCallbackInterfaceExternalSignerMethod15
|
|
359
|
+
UniffiCallbackInterfaceExternalSignerMethod12 static_deposit_secret_key;
|
|
360
|
+
UniffiCallbackInterfaceExternalSignerMethod13 static_deposit_signing_key;
|
|
361
|
+
UniffiCallbackInterfaceExternalSignerMethod14 subtract_secret_keys;
|
|
362
|
+
UniffiCallbackInterfaceExternalSignerMethod15 split_secret_with_proofs;
|
|
363
363
|
UniffiCallbackInterfaceExternalSignerMethod16
|
|
364
364
|
encrypt_private_key_for_receiver;
|
|
365
365
|
UniffiCallbackInterfaceExternalSignerMethod17
|
|
366
366
|
get_public_key_from_private_key_source;
|
|
367
367
|
UniffiCallbackInterfaceExternalSignerMethod18 sign_frost;
|
|
368
|
-
UniffiCallbackInterfaceExternalSignerMethod19
|
|
368
|
+
UniffiCallbackInterfaceExternalSignerMethod19 aggregate_frost;
|
|
369
369
|
UniffiCallbackInterfaceFree uniffi_free;
|
|
370
370
|
} UniffiVTableCallbackInterfaceExternalSigner;
|
|
371
371
|
typedef struct UniffiVTableCallbackInterfaceFiatService {
|
|
@@ -552,10 +552,10 @@ uniffi_breez_sdk_spark_fn_method_externalsigner_derive_public_key(
|
|
|
552
552
|
uniffi_breez_sdk_spark_fn_method_externalsigner_sign_ecdsa_recoverable(
|
|
553
553
|
void *ptr, RustBuffer message, RustBuffer path);
|
|
554
554
|
/*handle*/ uint64_t
|
|
555
|
-
|
|
555
|
+
uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_ecies(
|
|
556
556
|
void *ptr, RustBuffer message, RustBuffer path);
|
|
557
557
|
/*handle*/ uint64_t
|
|
558
|
-
|
|
558
|
+
uniffi_breez_sdk_spark_fn_method_externalsigner_decrypt_ecies(
|
|
559
559
|
void *ptr, RustBuffer message, RustBuffer path);
|
|
560
560
|
/*handle*/ uint64_t
|
|
561
561
|
uniffi_breez_sdk_spark_fn_method_externalsigner_sign_hash_schnorr(
|
|
@@ -563,7 +563,7 @@ uniffi_breez_sdk_spark_fn_method_externalsigner_sign_hash_schnorr(
|
|
|
563
563
|
/*handle*/ uint64_t uniffi_breez_sdk_spark_fn_method_externalsigner_hmac_sha256(
|
|
564
564
|
void *ptr, RustBuffer message, RustBuffer path);
|
|
565
565
|
/*handle*/ uint64_t
|
|
566
|
-
|
|
566
|
+
uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_signing_commitment(
|
|
567
567
|
void *ptr);
|
|
568
568
|
/*handle*/ uint64_t
|
|
569
569
|
uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_for_node(
|
|
@@ -574,16 +574,16 @@ uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_key(void *ptr);
|
|
|
574
574
|
uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_private_key_source(
|
|
575
575
|
void *ptr, uint32_t index);
|
|
576
576
|
/*handle*/ uint64_t
|
|
577
|
-
|
|
577
|
+
uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key(
|
|
578
578
|
void *ptr, uint32_t index);
|
|
579
579
|
/*handle*/ uint64_t
|
|
580
|
-
|
|
580
|
+
uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_signing_key(
|
|
581
581
|
void *ptr, uint32_t index);
|
|
582
582
|
/*handle*/ uint64_t
|
|
583
|
-
|
|
583
|
+
uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_keys(
|
|
584
584
|
void *ptr, RustBuffer signing_key, RustBuffer new_signing_key);
|
|
585
585
|
/*handle*/ uint64_t
|
|
586
|
-
|
|
586
|
+
uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret_with_proofs(
|
|
587
587
|
void *ptr, RustBuffer secret, uint32_t threshold, uint32_t num_shares);
|
|
588
588
|
/*handle*/ uint64_t
|
|
589
589
|
uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_private_key_for_receiver(
|
|
@@ -595,7 +595,7 @@ uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_from_private_key_
|
|
|
595
595
|
uniffi_breez_sdk_spark_fn_method_externalsigner_sign_frost(void *ptr,
|
|
596
596
|
RustBuffer request);
|
|
597
597
|
/*handle*/ uint64_t
|
|
598
|
-
|
|
598
|
+
uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost(
|
|
599
599
|
void *ptr, RustBuffer request);
|
|
600
600
|
void *
|
|
601
601
|
uniffi_breez_sdk_spark_fn_clone_fiatservice(void *ptr,
|
|
@@ -979,13 +979,13 @@ uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key();
|
|
|
979
979
|
uint16_t uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa();
|
|
980
980
|
uint16_t
|
|
981
981
|
uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable();
|
|
982
|
-
uint16_t
|
|
983
|
-
uint16_t
|
|
982
|
+
uint16_t uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies();
|
|
983
|
+
uint16_t uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies();
|
|
984
984
|
uint16_t
|
|
985
985
|
uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr();
|
|
986
986
|
uint16_t uniffi_breez_sdk_spark_checksum_method_externalsigner_hmac_sha256();
|
|
987
987
|
uint16_t
|
|
988
|
-
|
|
988
|
+
uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment();
|
|
989
989
|
uint16_t
|
|
990
990
|
uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node();
|
|
991
991
|
uint16_t
|
|
@@ -993,19 +993,20 @@ uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_key();
|
|
|
993
993
|
uint16_t
|
|
994
994
|
uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key_source();
|
|
995
995
|
uint16_t
|
|
996
|
-
|
|
996
|
+
uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key();
|
|
997
997
|
uint16_t
|
|
998
|
-
|
|
998
|
+
uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key();
|
|
999
999
|
uint16_t
|
|
1000
|
-
|
|
1001
|
-
uint16_t
|
|
1000
|
+
uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secret_keys();
|
|
1001
|
+
uint16_t
|
|
1002
|
+
uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs();
|
|
1002
1003
|
uint16_t
|
|
1003
1004
|
uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_private_key_for_receiver();
|
|
1004
1005
|
uint16_t
|
|
1005
1006
|
uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_from_private_key_source();
|
|
1006
1007
|
uint16_t uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost();
|
|
1007
1008
|
uint16_t
|
|
1008
|
-
|
|
1009
|
+
uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost();
|
|
1009
1010
|
uint16_t
|
|
1010
1011
|
uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies();
|
|
1011
1012
|
uint16_t uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates();
|
|
@@ -11630,22 +11631,22 @@ template <> struct Bridging<UniffiVTableCallbackInterfaceExternalSigner> {
|
|
|
11630
11631
|
rsObject.sign_ecdsa_recoverable = uniffi::breez_sdk_spark::cb::
|
|
11631
11632
|
callbackinterfaceexternalsignermethod3::makeCallbackFunction(
|
|
11632
11633
|
rt, callInvoker, jsObject.getProperty(rt, "signEcdsaRecoverable"));
|
|
11633
|
-
rsObject.
|
|
11634
|
+
rsObject.encrypt_ecies = uniffi::breez_sdk_spark::cb::
|
|
11634
11635
|
callbackinterfaceexternalsignermethod4::makeCallbackFunction(
|
|
11635
|
-
rt, callInvoker, jsObject.getProperty(rt, "
|
|
11636
|
-
rsObject.
|
|
11636
|
+
rt, callInvoker, jsObject.getProperty(rt, "encryptEcies"));
|
|
11637
|
+
rsObject.decrypt_ecies = uniffi::breez_sdk_spark::cb::
|
|
11637
11638
|
callbackinterfaceexternalsignermethod5::makeCallbackFunction(
|
|
11638
|
-
rt, callInvoker, jsObject.getProperty(rt, "
|
|
11639
|
+
rt, callInvoker, jsObject.getProperty(rt, "decryptEcies"));
|
|
11639
11640
|
rsObject.sign_hash_schnorr = uniffi::breez_sdk_spark::cb::
|
|
11640
11641
|
callbackinterfaceexternalsignermethod6::makeCallbackFunction(
|
|
11641
11642
|
rt, callInvoker, jsObject.getProperty(rt, "signHashSchnorr"));
|
|
11642
11643
|
rsObject.hmac_sha256 = uniffi::breez_sdk_spark::cb::
|
|
11643
11644
|
callbackinterfaceexternalsignermethod7::makeCallbackFunction(
|
|
11644
11645
|
rt, callInvoker, jsObject.getProperty(rt, "hmacSha256"));
|
|
11645
|
-
rsObject.
|
|
11646
|
+
rsObject.generate_random_signing_commitment = uniffi::breez_sdk_spark::cb::
|
|
11646
11647
|
callbackinterfaceexternalsignermethod8::makeCallbackFunction(
|
|
11647
11648
|
rt, callInvoker,
|
|
11648
|
-
jsObject.getProperty(rt, "
|
|
11649
|
+
jsObject.getProperty(rt, "generateRandomSigningCommitment"));
|
|
11649
11650
|
rsObject.get_public_key_for_node = uniffi::breez_sdk_spark::cb::
|
|
11650
11651
|
callbackinterfaceexternalsignermethod9::makeCallbackFunction(
|
|
11651
11652
|
rt, callInvoker, jsObject.getProperty(rt, "getPublicKeyForNode"));
|
|
@@ -11656,20 +11657,20 @@ template <> struct Bridging<UniffiVTableCallbackInterfaceExternalSigner> {
|
|
|
11656
11657
|
cb::callbackinterfaceexternalsignermethod11::makeCallbackFunction(
|
|
11657
11658
|
rt, callInvoker,
|
|
11658
11659
|
jsObject.getProperty(rt, "getStaticDepositPrivateKeySource"));
|
|
11659
|
-
rsObject.
|
|
11660
|
+
rsObject.static_deposit_secret_key = uniffi::breez_sdk_spark::cb::
|
|
11660
11661
|
callbackinterfaceexternalsignermethod12::makeCallbackFunction(
|
|
11661
11662
|
rt, callInvoker,
|
|
11662
|
-
jsObject.getProperty(rt, "
|
|
11663
|
-
rsObject.
|
|
11663
|
+
jsObject.getProperty(rt, "staticDepositSecretKey"));
|
|
11664
|
+
rsObject.static_deposit_signing_key = uniffi::breez_sdk_spark::cb::
|
|
11664
11665
|
callbackinterfaceexternalsignermethod13::makeCallbackFunction(
|
|
11665
11666
|
rt, callInvoker,
|
|
11666
|
-
jsObject.getProperty(rt, "
|
|
11667
|
-
rsObject.
|
|
11667
|
+
jsObject.getProperty(rt, "staticDepositSigningKey"));
|
|
11668
|
+
rsObject.subtract_secret_keys = uniffi::breez_sdk_spark::cb::
|
|
11668
11669
|
callbackinterfaceexternalsignermethod14::makeCallbackFunction(
|
|
11669
|
-
rt, callInvoker, jsObject.getProperty(rt, "
|
|
11670
|
-
rsObject.
|
|
11670
|
+
rt, callInvoker, jsObject.getProperty(rt, "subtractSecretKeys"));
|
|
11671
|
+
rsObject.split_secret_with_proofs = uniffi::breez_sdk_spark::cb::
|
|
11671
11672
|
callbackinterfaceexternalsignermethod15::makeCallbackFunction(
|
|
11672
|
-
rt, callInvoker, jsObject.getProperty(rt, "
|
|
11673
|
+
rt, callInvoker, jsObject.getProperty(rt, "splitSecretWithProofs"));
|
|
11673
11674
|
rsObject.encrypt_private_key_for_receiver = uniffi::breez_sdk_spark::cb::
|
|
11674
11675
|
callbackinterfaceexternalsignermethod16::makeCallbackFunction(
|
|
11675
11676
|
rt, callInvoker,
|
|
@@ -11681,10 +11682,9 @@ template <> struct Bridging<UniffiVTableCallbackInterfaceExternalSigner> {
|
|
|
11681
11682
|
rsObject.sign_frost = uniffi::breez_sdk_spark::cb::
|
|
11682
11683
|
callbackinterfaceexternalsignermethod18::makeCallbackFunction(
|
|
11683
11684
|
rt, callInvoker, jsObject.getProperty(rt, "signFrost"));
|
|
11684
|
-
rsObject.
|
|
11685
|
+
rsObject.aggregate_frost = uniffi::breez_sdk_spark::cb::
|
|
11685
11686
|
callbackinterfaceexternalsignermethod19::makeCallbackFunction(
|
|
11686
|
-
rt, callInvoker,
|
|
11687
|
-
jsObject.getProperty(rt, "aggregateFrostSignatures"));
|
|
11687
|
+
rt, callInvoker, jsObject.getProperty(rt, "aggregateFrost"));
|
|
11688
11688
|
rsObject.uniffi_free =
|
|
11689
11689
|
uniffi::breez_sdk_spark::st::vtablecallbackinterfaceexternalsigner::
|
|
11690
11690
|
vtablecallbackinterfaceexternalsigner::free::makeCallbackFunction(
|
|
@@ -12618,28 +12618,28 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
|
|
|
12618
12618
|
->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_ecdsa_recoverable(
|
|
12619
12619
|
rt, thisVal, args, count);
|
|
12620
12620
|
});
|
|
12621
|
-
props["
|
|
12621
|
+
props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_ecies"] =
|
|
12622
12622
|
jsi::Function::createFromHostFunction(
|
|
12623
12623
|
rt,
|
|
12624
12624
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
|
|
12625
|
-
"
|
|
12625
|
+
"externalsigner_encrypt_ecies"),
|
|
12626
12626
|
3,
|
|
12627
12627
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
12628
12628
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
12629
12629
|
return this
|
|
12630
|
-
->
|
|
12630
|
+
->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_ecies(
|
|
12631
12631
|
rt, thisVal, args, count);
|
|
12632
12632
|
});
|
|
12633
|
-
props["
|
|
12633
|
+
props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_decrypt_ecies"] =
|
|
12634
12634
|
jsi::Function::createFromHostFunction(
|
|
12635
12635
|
rt,
|
|
12636
12636
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
|
|
12637
|
-
"
|
|
12637
|
+
"externalsigner_decrypt_ecies"),
|
|
12638
12638
|
3,
|
|
12639
12639
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
12640
12640
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
12641
12641
|
return this
|
|
12642
|
-
->
|
|
12642
|
+
->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_decrypt_ecies(
|
|
12643
12643
|
rt, thisVal, args, count);
|
|
12644
12644
|
});
|
|
12645
12645
|
props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_hash_"
|
|
@@ -12666,17 +12666,17 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
|
|
|
12666
12666
|
->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_hmac_sha256(
|
|
12667
12667
|
rt, thisVal, args, count);
|
|
12668
12668
|
});
|
|
12669
|
-
props["
|
|
12670
|
-
"
|
|
12669
|
+
props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_"
|
|
12670
|
+
"signing_commitment"] = jsi::Function::createFromHostFunction(
|
|
12671
12671
|
rt,
|
|
12672
12672
|
jsi::PropNameID::forAscii(
|
|
12673
12673
|
rt, "ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_"
|
|
12674
|
-
"
|
|
12674
|
+
"random_signing_commitment"),
|
|
12675
12675
|
1,
|
|
12676
12676
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
12677
12677
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
12678
12678
|
return this
|
|
12679
|
-
->
|
|
12679
|
+
->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_signing_commitment(
|
|
12680
12680
|
rt, thisVal, args, count);
|
|
12681
12681
|
});
|
|
12682
12682
|
props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_"
|
|
@@ -12716,56 +12716,55 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
|
|
|
12716
12716
|
->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_private_key_source(
|
|
12717
12717
|
rt, thisVal, args, count);
|
|
12718
12718
|
});
|
|
12719
|
-
props["
|
|
12720
|
-
"
|
|
12719
|
+
props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_"
|
|
12720
|
+
"secret_key"] = jsi::Function::createFromHostFunction(
|
|
12721
12721
|
rt,
|
|
12722
|
-
jsi::PropNameID::forAscii(
|
|
12723
|
-
|
|
12724
|
-
"deposit_private_key"),
|
|
12722
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
|
|
12723
|
+
"externalsigner_static_deposit_secret_key"),
|
|
12725
12724
|
2,
|
|
12726
12725
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
12727
12726
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
12728
12727
|
return this
|
|
12729
|
-
->
|
|
12728
|
+
->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key(
|
|
12730
12729
|
rt, thisVal, args, count);
|
|
12731
12730
|
});
|
|
12732
|
-
props["
|
|
12733
|
-
"
|
|
12731
|
+
props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_"
|
|
12732
|
+
"signing_key"] = jsi::Function::createFromHostFunction(
|
|
12734
12733
|
rt,
|
|
12735
12734
|
jsi::PropNameID::forAscii(rt,
|
|
12736
12735
|
"ubrn_uniffi_breez_sdk_spark_fn_method_"
|
|
12737
|
-
"
|
|
12736
|
+
"externalsigner_static_deposit_signing_key"),
|
|
12738
12737
|
2,
|
|
12739
12738
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
12740
12739
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
12741
12740
|
return this
|
|
12742
|
-
->
|
|
12741
|
+
->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_signing_key(
|
|
12743
12742
|
rt, thisVal, args, count);
|
|
12744
12743
|
});
|
|
12745
|
-
props["
|
|
12744
|
+
props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_"
|
|
12746
12745
|
"keys"] = jsi::Function::createFromHostFunction(
|
|
12747
12746
|
rt,
|
|
12748
12747
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
|
|
12749
|
-
"
|
|
12748
|
+
"externalsigner_subtract_secret_keys"),
|
|
12750
12749
|
3,
|
|
12751
12750
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
12752
12751
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
12753
12752
|
return this
|
|
12754
|
-
->
|
|
12753
|
+
->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_keys(
|
|
12754
|
+
rt, thisVal, args, count);
|
|
12755
|
+
});
|
|
12756
|
+
props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret_"
|
|
12757
|
+
"with_proofs"] = jsi::Function::createFromHostFunction(
|
|
12758
|
+
rt,
|
|
12759
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
|
|
12760
|
+
"externalsigner_split_secret_with_proofs"),
|
|
12761
|
+
4,
|
|
12762
|
+
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
12763
|
+
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
12764
|
+
return this
|
|
12765
|
+
->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret_with_proofs(
|
|
12755
12766
|
rt, thisVal, args, count);
|
|
12756
12767
|
});
|
|
12757
|
-
props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret"] =
|
|
12758
|
-
jsi::Function::createFromHostFunction(
|
|
12759
|
-
rt,
|
|
12760
|
-
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
|
|
12761
|
-
"externalsigner_split_secret"),
|
|
12762
|
-
4,
|
|
12763
|
-
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
12764
|
-
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
12765
|
-
return this
|
|
12766
|
-
->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret(
|
|
12767
|
-
rt, thisVal, args, count);
|
|
12768
|
-
});
|
|
12769
12768
|
props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_private_"
|
|
12770
12769
|
"key_for_receiver"] = jsi::Function::createFromHostFunction(
|
|
12771
12770
|
rt,
|
|
@@ -12804,17 +12803,16 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
|
|
|
12804
12803
|
->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_frost(
|
|
12805
12804
|
rt, thisVal, args, count);
|
|
12806
12805
|
});
|
|
12807
|
-
props["
|
|
12808
|
-
"
|
|
12806
|
+
props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_"
|
|
12807
|
+
"frost"] = jsi::Function::createFromHostFunction(
|
|
12809
12808
|
rt,
|
|
12810
|
-
jsi::PropNameID::forAscii(rt,
|
|
12811
|
-
|
|
12812
|
-
"externalsigner_aggregate_frost_signatures"),
|
|
12809
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
|
|
12810
|
+
"externalsigner_aggregate_frost"),
|
|
12813
12811
|
2,
|
|
12814
12812
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
12815
12813
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
12816
12814
|
return this
|
|
12817
|
-
->
|
|
12815
|
+
->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost(
|
|
12818
12816
|
rt, thisVal, args, count);
|
|
12819
12817
|
});
|
|
12820
12818
|
props["ubrn_uniffi_breez_sdk_spark_fn_clone_fiatservice"] =
|
|
@@ -14787,28 +14785,28 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
|
|
|
14787
14785
|
->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable(
|
|
14788
14786
|
rt, thisVal, args, count);
|
|
14789
14787
|
});
|
|
14790
|
-
props["
|
|
14791
|
-
"
|
|
14788
|
+
props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_"
|
|
14789
|
+
"ecies"] = jsi::Function::createFromHostFunction(
|
|
14792
14790
|
rt,
|
|
14793
14791
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_checksum_"
|
|
14794
|
-
"
|
|
14792
|
+
"method_externalsigner_encrypt_ecies"),
|
|
14795
14793
|
0,
|
|
14796
14794
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
14797
14795
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
14798
14796
|
return this
|
|
14799
|
-
->
|
|
14797
|
+
->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies(
|
|
14800
14798
|
rt, thisVal, args, count);
|
|
14801
14799
|
});
|
|
14802
|
-
props["
|
|
14803
|
-
"
|
|
14800
|
+
props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_"
|
|
14801
|
+
"ecies"] = jsi::Function::createFromHostFunction(
|
|
14804
14802
|
rt,
|
|
14805
14803
|
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_checksum_"
|
|
14806
|
-
"
|
|
14804
|
+
"method_externalsigner_decrypt_ecies"),
|
|
14807
14805
|
0,
|
|
14808
14806
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
14809
14807
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
14810
14808
|
return this
|
|
14811
|
-
->
|
|
14809
|
+
->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies(
|
|
14812
14810
|
rt, thisVal, args, count);
|
|
14813
14811
|
});
|
|
14814
14812
|
props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_"
|
|
@@ -14836,16 +14834,16 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
|
|
|
14836
14834
|
rt, thisVal, args, count);
|
|
14837
14835
|
});
|
|
14838
14836
|
props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_"
|
|
14839
|
-
"
|
|
14837
|
+
"random_signing_commitment"] = jsi::Function::createFromHostFunction(
|
|
14840
14838
|
rt,
|
|
14841
14839
|
jsi::PropNameID::forAscii(
|
|
14842
14840
|
rt, "ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_"
|
|
14843
|
-
"
|
|
14841
|
+
"generate_random_signing_commitment"),
|
|
14844
14842
|
0,
|
|
14845
14843
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
14846
14844
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
14847
14845
|
return this
|
|
14848
|
-
->
|
|
14846
|
+
->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment(
|
|
14849
14847
|
rt, thisVal, args, count);
|
|
14850
14848
|
});
|
|
14851
14849
|
props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_"
|
|
@@ -14887,55 +14885,56 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
|
|
|
14887
14885
|
->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key_source(
|
|
14888
14886
|
rt, thisVal, args, count);
|
|
14889
14887
|
});
|
|
14890
|
-
props["
|
|
14891
|
-
"
|
|
14888
|
+
props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_"
|
|
14889
|
+
"deposit_secret_key"] = jsi::Function::createFromHostFunction(
|
|
14892
14890
|
rt,
|
|
14893
|
-
jsi::PropNameID::forAscii(
|
|
14894
|
-
|
|
14895
|
-
|
|
14891
|
+
jsi::PropNameID::forAscii(rt,
|
|
14892
|
+
"ubrn_uniffi_breez_sdk_spark_checksum_method_"
|
|
14893
|
+
"externalsigner_static_deposit_secret_key"),
|
|
14896
14894
|
0,
|
|
14897
14895
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
14898
14896
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
14899
14897
|
return this
|
|
14900
|
-
->
|
|
14898
|
+
->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key(
|
|
14901
14899
|
rt, thisVal, args, count);
|
|
14902
14900
|
});
|
|
14903
|
-
props["
|
|
14904
|
-
"
|
|
14901
|
+
props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_"
|
|
14902
|
+
"deposit_signing_key"] = jsi::Function::createFromHostFunction(
|
|
14905
14903
|
rt,
|
|
14906
14904
|
jsi::PropNameID::forAscii(rt,
|
|
14907
14905
|
"ubrn_uniffi_breez_sdk_spark_checksum_method_"
|
|
14908
|
-
"
|
|
14906
|
+
"externalsigner_static_deposit_signing_key"),
|
|
14909
14907
|
0,
|
|
14910
14908
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
14911
14909
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
14912
14910
|
return this
|
|
14913
|
-
->
|
|
14911
|
+
->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key(
|
|
14914
14912
|
rt, thisVal, args, count);
|
|
14915
14913
|
});
|
|
14916
14914
|
props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_"
|
|
14917
|
-
"
|
|
14915
|
+
"secret_keys"] = jsi::Function::createFromHostFunction(
|
|
14918
14916
|
rt,
|
|
14919
14917
|
jsi::PropNameID::forAscii(rt,
|
|
14920
14918
|
"ubrn_uniffi_breez_sdk_spark_checksum_method_"
|
|
14921
|
-
"
|
|
14919
|
+
"externalsigner_subtract_secret_keys"),
|
|
14922
14920
|
0,
|
|
14923
14921
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
14924
14922
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
14925
14923
|
return this
|
|
14926
|
-
->
|
|
14924
|
+
->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secret_keys(
|
|
14927
14925
|
rt, thisVal, args, count);
|
|
14928
14926
|
});
|
|
14929
14927
|
props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_"
|
|
14930
|
-
"
|
|
14928
|
+
"secret_with_proofs"] = jsi::Function::createFromHostFunction(
|
|
14931
14929
|
rt,
|
|
14932
|
-
jsi::PropNameID::forAscii(rt,
|
|
14933
|
-
|
|
14930
|
+
jsi::PropNameID::forAscii(rt,
|
|
14931
|
+
"ubrn_uniffi_breez_sdk_spark_checksum_method_"
|
|
14932
|
+
"externalsigner_split_secret_with_proofs"),
|
|
14934
14933
|
0,
|
|
14935
14934
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
14936
14935
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
14937
14936
|
return this
|
|
14938
|
-
->
|
|
14937
|
+
->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs(
|
|
14939
14938
|
rt, thisVal, args, count);
|
|
14940
14939
|
});
|
|
14941
14940
|
props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_"
|
|
@@ -14977,16 +14976,15 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
|
|
|
14977
14976
|
rt, thisVal, args, count);
|
|
14978
14977
|
});
|
|
14979
14978
|
props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_"
|
|
14980
|
-
"
|
|
14979
|
+
"frost"] = jsi::Function::createFromHostFunction(
|
|
14981
14980
|
rt,
|
|
14982
|
-
jsi::PropNameID::forAscii(rt,
|
|
14983
|
-
|
|
14984
|
-
"externalsigner_aggregate_frost_signatures"),
|
|
14981
|
+
jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_checksum_"
|
|
14982
|
+
"method_externalsigner_aggregate_frost"),
|
|
14985
14983
|
0,
|
|
14986
14984
|
[this](jsi::Runtime &rt, const jsi::Value &thisVal,
|
|
14987
14985
|
const jsi::Value *args, size_t count) -> jsi::Value {
|
|
14988
14986
|
return this
|
|
14989
|
-
->
|
|
14987
|
+
->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost(
|
|
14990
14988
|
rt, thisVal, args, count);
|
|
14991
14989
|
});
|
|
14992
14990
|
props["ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_"
|
|
@@ -16843,10 +16841,10 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
16843
16841
|
value);
|
|
16844
16842
|
}
|
|
16845
16843
|
jsi::Value NativeBreezSdkSpark::
|
|
16846
|
-
|
|
16844
|
+
cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_ecies(
|
|
16847
16845
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
16848
16846
|
size_t count) {
|
|
16849
|
-
auto value =
|
|
16847
|
+
auto value = uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_ecies(
|
|
16850
16848
|
uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
|
|
16851
16849
|
uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
16852
16850
|
args[1]),
|
|
@@ -16857,10 +16855,10 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
16857
16855
|
value);
|
|
16858
16856
|
}
|
|
16859
16857
|
jsi::Value NativeBreezSdkSpark::
|
|
16860
|
-
|
|
16858
|
+
cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_decrypt_ecies(
|
|
16861
16859
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
16862
16860
|
size_t count) {
|
|
16863
|
-
auto value =
|
|
16861
|
+
auto value = uniffi_breez_sdk_spark_fn_method_externalsigner_decrypt_ecies(
|
|
16864
16862
|
uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
|
|
16865
16863
|
uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
16866
16864
|
args[1]),
|
|
@@ -16900,11 +16898,11 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
16900
16898
|
value);
|
|
16901
16899
|
}
|
|
16902
16900
|
jsi::Value NativeBreezSdkSpark::
|
|
16903
|
-
|
|
16901
|
+
cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_signing_commitment(
|
|
16904
16902
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
16905
16903
|
size_t count) {
|
|
16906
16904
|
auto value =
|
|
16907
|
-
|
|
16905
|
+
uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_signing_commitment(
|
|
16908
16906
|
uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]));
|
|
16909
16907
|
|
|
16910
16908
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
@@ -16947,11 +16945,11 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
16947
16945
|
value);
|
|
16948
16946
|
}
|
|
16949
16947
|
jsi::Value NativeBreezSdkSpark::
|
|
16950
|
-
|
|
16948
|
+
cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key(
|
|
16951
16949
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
16952
16950
|
size_t count) {
|
|
16953
16951
|
auto value =
|
|
16954
|
-
|
|
16952
|
+
uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key(
|
|
16955
16953
|
uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
|
|
16956
16954
|
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]));
|
|
16957
16955
|
|
|
@@ -16959,11 +16957,11 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
16959
16957
|
value);
|
|
16960
16958
|
}
|
|
16961
16959
|
jsi::Value NativeBreezSdkSpark::
|
|
16962
|
-
|
|
16960
|
+
cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_signing_key(
|
|
16963
16961
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
16964
16962
|
size_t count) {
|
|
16965
16963
|
auto value =
|
|
16966
|
-
|
|
16964
|
+
uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_signing_key(
|
|
16967
16965
|
uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
|
|
16968
16966
|
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]));
|
|
16969
16967
|
|
|
@@ -16971,11 +16969,11 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
16971
16969
|
value);
|
|
16972
16970
|
}
|
|
16973
16971
|
jsi::Value NativeBreezSdkSpark::
|
|
16974
|
-
|
|
16972
|
+
cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_keys(
|
|
16975
16973
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
16976
16974
|
size_t count) {
|
|
16977
16975
|
auto value =
|
|
16978
|
-
|
|
16976
|
+
uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_keys(
|
|
16979
16977
|
uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
|
|
16980
16978
|
uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
16981
16979
|
args[1]),
|
|
@@ -16986,15 +16984,16 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
16986
16984
|
value);
|
|
16987
16985
|
}
|
|
16988
16986
|
jsi::Value NativeBreezSdkSpark::
|
|
16989
|
-
|
|
16987
|
+
cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret_with_proofs(
|
|
16990
16988
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
16991
16989
|
size_t count) {
|
|
16992
|
-
auto value =
|
|
16993
|
-
|
|
16994
|
-
|
|
16995
|
-
|
|
16996
|
-
|
|
16997
|
-
|
|
16990
|
+
auto value =
|
|
16991
|
+
uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret_with_proofs(
|
|
16992
|
+
uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
|
|
16993
|
+
uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
16994
|
+
args[1]),
|
|
16995
|
+
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[2]),
|
|
16996
|
+
uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[3]));
|
|
16998
16997
|
|
|
16999
16998
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
17000
16999
|
value);
|
|
@@ -17040,14 +17039,13 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
17040
17039
|
value);
|
|
17041
17040
|
}
|
|
17042
17041
|
jsi::Value NativeBreezSdkSpark::
|
|
17043
|
-
|
|
17042
|
+
cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost(
|
|
17044
17043
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
17045
17044
|
size_t count) {
|
|
17046
|
-
auto value =
|
|
17047
|
-
|
|
17048
|
-
|
|
17049
|
-
|
|
17050
|
-
args[1]));
|
|
17045
|
+
auto value = uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost(
|
|
17046
|
+
uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
|
|
17047
|
+
uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
|
|
17048
|
+
args[1]));
|
|
17051
17049
|
|
|
17052
17050
|
return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
|
|
17053
17051
|
value);
|
|
@@ -18929,20 +18927,20 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
18929
18927
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
18930
18928
|
}
|
|
18931
18929
|
jsi::Value NativeBreezSdkSpark::
|
|
18932
|
-
|
|
18930
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies(
|
|
18933
18931
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
18934
18932
|
size_t count) {
|
|
18935
18933
|
auto value =
|
|
18936
|
-
|
|
18934
|
+
uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies();
|
|
18937
18935
|
|
|
18938
18936
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
18939
18937
|
}
|
|
18940
18938
|
jsi::Value NativeBreezSdkSpark::
|
|
18941
|
-
|
|
18939
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies(
|
|
18942
18940
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
18943
18941
|
size_t count) {
|
|
18944
18942
|
auto value =
|
|
18945
|
-
|
|
18943
|
+
uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies();
|
|
18946
18944
|
|
|
18947
18945
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
18948
18946
|
}
|
|
@@ -18965,11 +18963,11 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
18965
18963
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
18966
18964
|
}
|
|
18967
18965
|
jsi::Value NativeBreezSdkSpark::
|
|
18968
|
-
|
|
18966
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment(
|
|
18969
18967
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
18970
18968
|
size_t count) {
|
|
18971
18969
|
auto value =
|
|
18972
|
-
|
|
18970
|
+
uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment();
|
|
18973
18971
|
|
|
18974
18972
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
18975
18973
|
}
|
|
@@ -19001,38 +18999,38 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
19001
18999
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
19002
19000
|
}
|
|
19003
19001
|
jsi::Value NativeBreezSdkSpark::
|
|
19004
|
-
|
|
19002
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key(
|
|
19005
19003
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
19006
19004
|
size_t count) {
|
|
19007
19005
|
auto value =
|
|
19008
|
-
|
|
19006
|
+
uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key();
|
|
19009
19007
|
|
|
19010
19008
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
19011
19009
|
}
|
|
19012
19010
|
jsi::Value NativeBreezSdkSpark::
|
|
19013
|
-
|
|
19011
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key(
|
|
19014
19012
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
19015
19013
|
size_t count) {
|
|
19016
19014
|
auto value =
|
|
19017
|
-
|
|
19015
|
+
uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key();
|
|
19018
19016
|
|
|
19019
19017
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
19020
19018
|
}
|
|
19021
19019
|
jsi::Value NativeBreezSdkSpark::
|
|
19022
|
-
|
|
19020
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secret_keys(
|
|
19023
19021
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
19024
19022
|
size_t count) {
|
|
19025
19023
|
auto value =
|
|
19026
|
-
|
|
19024
|
+
uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secret_keys();
|
|
19027
19025
|
|
|
19028
19026
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
19029
19027
|
}
|
|
19030
19028
|
jsi::Value NativeBreezSdkSpark::
|
|
19031
|
-
|
|
19029
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs(
|
|
19032
19030
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
19033
19031
|
size_t count) {
|
|
19034
19032
|
auto value =
|
|
19035
|
-
|
|
19033
|
+
uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs();
|
|
19036
19034
|
|
|
19037
19035
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
19038
19036
|
}
|
|
@@ -19064,11 +19062,11 @@ jsi::Value NativeBreezSdkSpark::
|
|
|
19064
19062
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
19065
19063
|
}
|
|
19066
19064
|
jsi::Value NativeBreezSdkSpark::
|
|
19067
|
-
|
|
19065
|
+
cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost(
|
|
19068
19066
|
jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
|
|
19069
19067
|
size_t count) {
|
|
19070
19068
|
auto value =
|
|
19071
|
-
|
|
19069
|
+
uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost();
|
|
19072
19070
|
|
|
19073
19071
|
return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
|
|
19074
19072
|
}
|