@breeztech/breez-sdk-spark-react-native 0.7.5 → 0.7.7

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.
@@ -192,12 +192,12 @@ typedef void (*UniffiCallbackInterfaceExternalSignerMethod15)(
192
192
  UniffiForeignFutureCompleteRustBuffer uniffi_future_callback,
193
193
  uint64_t uniffi_callback_data, UniffiForeignFuture *uniffi_out_return);
194
194
  typedef void (*UniffiCallbackInterfaceExternalSignerMethod16)(
195
- uint64_t uniffi_handle, RustBuffer private_key,
195
+ uint64_t uniffi_handle, RustBuffer secret_key,
196
196
  RustBuffer receiver_public_key,
197
197
  UniffiForeignFutureCompleteRustBuffer uniffi_future_callback,
198
198
  uint64_t uniffi_callback_data, UniffiForeignFuture *uniffi_out_return);
199
199
  typedef void (*UniffiCallbackInterfaceExternalSignerMethod17)(
200
- uint64_t uniffi_handle, RustBuffer private_key,
200
+ uint64_t uniffi_handle, RustBuffer secret_key,
201
201
  UniffiForeignFutureCompleteRustBuffer uniffi_future_callback,
202
202
  uint64_t uniffi_callback_data, UniffiForeignFuture *uniffi_out_return);
203
203
  typedef void (*UniffiCallbackInterfaceExternalSignerMethod18)(
@@ -346,26 +346,25 @@ typedef struct UniffiVTableCallbackInterfaceExternalSigner {
346
346
  UniffiCallbackInterfaceExternalSignerMethod1 derive_public_key;
347
347
  UniffiCallbackInterfaceExternalSignerMethod2 sign_ecdsa;
348
348
  UniffiCallbackInterfaceExternalSignerMethod3 sign_ecdsa_recoverable;
349
- UniffiCallbackInterfaceExternalSignerMethod4 ecies_encrypt;
350
- UniffiCallbackInterfaceExternalSignerMethod5 ecies_decrypt;
349
+ UniffiCallbackInterfaceExternalSignerMethod4 encrypt_ecies;
350
+ UniffiCallbackInterfaceExternalSignerMethod5 decrypt_ecies;
351
351
  UniffiCallbackInterfaceExternalSignerMethod6 sign_hash_schnorr;
352
352
  UniffiCallbackInterfaceExternalSignerMethod7 hmac_sha256;
353
353
  UniffiCallbackInterfaceExternalSignerMethod8
354
- generate_frost_signing_commitments;
354
+ generate_random_signing_commitment;
355
355
  UniffiCallbackInterfaceExternalSignerMethod9 get_public_key_for_node;
356
356
  UniffiCallbackInterfaceExternalSignerMethod10 generate_random_key;
357
357
  UniffiCallbackInterfaceExternalSignerMethod11
358
- get_static_deposit_private_key_source;
359
- UniffiCallbackInterfaceExternalSignerMethod12 get_static_deposit_private_key;
360
- UniffiCallbackInterfaceExternalSignerMethod13 get_static_deposit_public_key;
361
- UniffiCallbackInterfaceExternalSignerMethod14 subtract_private_keys;
362
- UniffiCallbackInterfaceExternalSignerMethod15 split_secret;
363
- UniffiCallbackInterfaceExternalSignerMethod16
364
- encrypt_private_key_for_receiver;
358
+ static_deposit_secret_key_encrypted;
359
+ UniffiCallbackInterfaceExternalSignerMethod12 static_deposit_secret_key;
360
+ UniffiCallbackInterfaceExternalSignerMethod13 static_deposit_signing_key;
361
+ UniffiCallbackInterfaceExternalSignerMethod14 subtract_secret_keys;
362
+ UniffiCallbackInterfaceExternalSignerMethod15 split_secret_with_proofs;
363
+ UniffiCallbackInterfaceExternalSignerMethod16 encrypt_secret_key_for_receiver;
365
364
  UniffiCallbackInterfaceExternalSignerMethod17
366
- get_public_key_from_private_key_source;
365
+ public_key_from_secret_key_source;
367
366
  UniffiCallbackInterfaceExternalSignerMethod18 sign_frost;
368
- UniffiCallbackInterfaceExternalSignerMethod19 aggregate_frost_signatures;
367
+ UniffiCallbackInterfaceExternalSignerMethod19 aggregate_frost;
369
368
  UniffiCallbackInterfaceFree uniffi_free;
370
369
  } UniffiVTableCallbackInterfaceExternalSigner;
371
370
  typedef struct UniffiVTableCallbackInterfaceFiatService {
@@ -552,10 +551,10 @@ uniffi_breez_sdk_spark_fn_method_externalsigner_derive_public_key(
552
551
  uniffi_breez_sdk_spark_fn_method_externalsigner_sign_ecdsa_recoverable(
553
552
  void *ptr, RustBuffer message, RustBuffer path);
554
553
  /*handle*/ uint64_t
555
- uniffi_breez_sdk_spark_fn_method_externalsigner_ecies_encrypt(
554
+ uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_ecies(
556
555
  void *ptr, RustBuffer message, RustBuffer path);
557
556
  /*handle*/ uint64_t
558
- uniffi_breez_sdk_spark_fn_method_externalsigner_ecies_decrypt(
557
+ uniffi_breez_sdk_spark_fn_method_externalsigner_decrypt_ecies(
559
558
  void *ptr, RustBuffer message, RustBuffer path);
560
559
  /*handle*/ uint64_t
561
560
  uniffi_breez_sdk_spark_fn_method_externalsigner_sign_hash_schnorr(
@@ -563,7 +562,7 @@ uniffi_breez_sdk_spark_fn_method_externalsigner_sign_hash_schnorr(
563
562
  /*handle*/ uint64_t uniffi_breez_sdk_spark_fn_method_externalsigner_hmac_sha256(
564
563
  void *ptr, RustBuffer message, RustBuffer path);
565
564
  /*handle*/ uint64_t
566
- uniffi_breez_sdk_spark_fn_method_externalsigner_generate_frost_signing_commitments(
565
+ uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_signing_commitment(
567
566
  void *ptr);
568
567
  /*handle*/ uint64_t
569
568
  uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_for_node(
@@ -571,31 +570,31 @@ uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_for_node(
571
570
  /*handle*/ uint64_t
572
571
  uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_key(void *ptr);
573
572
  /*handle*/ uint64_t
574
- uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_private_key_source(
573
+ uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key_encrypted(
575
574
  void *ptr, uint32_t index);
576
575
  /*handle*/ uint64_t
577
- uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_private_key(
576
+ uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key(
578
577
  void *ptr, uint32_t index);
579
578
  /*handle*/ uint64_t
580
- uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_public_key(
579
+ uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_signing_key(
581
580
  void *ptr, uint32_t index);
582
581
  /*handle*/ uint64_t
583
- uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_private_keys(
582
+ uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_keys(
584
583
  void *ptr, RustBuffer signing_key, RustBuffer new_signing_key);
585
584
  /*handle*/ uint64_t
586
- uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret(
585
+ uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret_with_proofs(
587
586
  void *ptr, RustBuffer secret, uint32_t threshold, uint32_t num_shares);
588
587
  /*handle*/ uint64_t
589
- uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_private_key_for_receiver(
590
- void *ptr, RustBuffer private_key, RustBuffer receiver_public_key);
588
+ uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_key_for_receiver(
589
+ void *ptr, RustBuffer secret_key, RustBuffer receiver_public_key);
591
590
  /*handle*/ uint64_t
592
- uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_from_private_key_source(
593
- void *ptr, RustBuffer private_key);
591
+ uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_secret_key_source(
592
+ void *ptr, RustBuffer secret_key);
594
593
  /*handle*/ uint64_t
595
594
  uniffi_breez_sdk_spark_fn_method_externalsigner_sign_frost(void *ptr,
596
595
  RustBuffer request);
597
596
  /*handle*/ uint64_t
598
- uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost_signatures(
597
+ uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost(
599
598
  void *ptr, RustBuffer request);
600
599
  void *
601
600
  uniffi_breez_sdk_spark_fn_clone_fiatservice(void *ptr,
@@ -979,33 +978,34 @@ uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key();
979
978
  uint16_t uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa();
980
979
  uint16_t
981
980
  uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable();
982
- uint16_t uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_encrypt();
983
- uint16_t uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_decrypt();
981
+ uint16_t uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies();
982
+ uint16_t uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies();
984
983
  uint16_t
985
984
  uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr();
986
985
  uint16_t uniffi_breez_sdk_spark_checksum_method_externalsigner_hmac_sha256();
987
986
  uint16_t
988
- uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_frost_signing_commitments();
987
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment();
989
988
  uint16_t
990
989
  uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node();
991
990
  uint16_t
992
991
  uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_key();
993
992
  uint16_t
994
- uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key_source();
993
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key_encrypted();
995
994
  uint16_t
996
- uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key();
995
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key();
997
996
  uint16_t
998
- uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_public_key();
997
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key();
999
998
  uint16_t
1000
- uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_private_keys();
1001
- uint16_t uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret();
999
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secret_keys();
1002
1000
  uint16_t
1003
- uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_private_key_for_receiver();
1001
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs();
1004
1002
  uint16_t
1005
- uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_from_private_key_source();
1003
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_key_for_receiver();
1004
+ uint16_t
1005
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret_key_source();
1006
1006
  uint16_t uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost();
1007
1007
  uint16_t
1008
- uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost_signatures();
1008
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost();
1009
1009
  uint16_t
1010
1010
  uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies();
1011
1011
  uint16_t uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates();
@@ -6809,7 +6809,7 @@ static std::function<void(uint64_t, RustBuffer, RustBuffer,
6809
6809
  static void body(jsi::Runtime &rt,
6810
6810
  std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker,
6811
6811
  std::shared_ptr<jsi::Value> callbackValue,
6812
- uint64_t rs_uniffiHandle, RustBuffer rs_privateKey,
6812
+ uint64_t rs_uniffiHandle, RustBuffer rs_secretKey,
6813
6813
  RustBuffer rs_receiverPublicKey,
6814
6814
  UniffiForeignFutureCompleteRustBuffer rs_uniffiFutureCallback,
6815
6815
  uint64_t rs_uniffiCallbackData,
@@ -6819,8 +6819,8 @@ static void body(jsi::Runtime &rt,
6819
6819
  // We'll use the Bridging class to do this…
6820
6820
  auto js_uniffiHandle =
6821
6821
  uniffi_jsi::Bridging<uint64_t>::toJs(rt, callInvoker, rs_uniffiHandle);
6822
- auto js_privateKey = uniffi::breez_sdk_spark::Bridging<RustBuffer>::toJs(
6823
- rt, callInvoker, rs_privateKey);
6822
+ auto js_secretKey = uniffi::breez_sdk_spark::Bridging<RustBuffer>::toJs(
6823
+ rt, callInvoker, rs_secretKey);
6824
6824
  auto js_receiverPublicKey =
6825
6825
  uniffi::breez_sdk_spark::Bridging<RustBuffer>::toJs(rt, callInvoker,
6826
6826
  rs_receiverPublicKey);
@@ -6837,7 +6837,7 @@ static void body(jsi::Runtime &rt,
6837
6837
  // Getting the callback function
6838
6838
  auto cb = callbackValue->asObject(rt).asFunction(rt);
6839
6839
  auto uniffiResult =
6840
- cb.call(rt, js_uniffiHandle, js_privateKey, js_receiverPublicKey,
6840
+ cb.call(rt, js_uniffiHandle, js_secretKey, js_receiverPublicKey,
6841
6841
  js_uniffiFutureCallback, js_uniffiCallbackData);
6842
6842
 
6843
6843
  // Finally, we need to copy the return value back into the Rust pointer.
@@ -6853,7 +6853,7 @@ static void body(jsi::Runtime &rt,
6853
6853
  }
6854
6854
 
6855
6855
  static void
6856
- callback(uint64_t rs_uniffiHandle, RustBuffer rs_privateKey,
6856
+ callback(uint64_t rs_uniffiHandle, RustBuffer rs_secretKey,
6857
6857
  RustBuffer rs_receiverPublicKey,
6858
6858
  UniffiForeignFutureCompleteRustBuffer rs_uniffiFutureCallback,
6859
6859
  uint64_t rs_uniffiCallbackData,
@@ -6873,7 +6873,7 @@ callback(uint64_t rs_uniffiHandle, RustBuffer rs_privateKey,
6873
6873
 
6874
6874
  // The runtime, the actual callback jsi::funtion, and the callInvoker
6875
6875
  // are all in the lambda.
6876
- rsLambda(rs_uniffiHandle, rs_privateKey, rs_receiverPublicKey,
6876
+ rsLambda(rs_uniffiHandle, rs_secretKey, rs_receiverPublicKey,
6877
6877
  rs_uniffiFutureCallback, rs_uniffiCallbackData, rs_uniffiOutReturn);
6878
6878
  }
6879
6879
 
@@ -6897,7 +6897,7 @@ makeCallbackFunction( // uniffi::breez_sdk_spark::cb::callbackinterfaceexternals
6897
6897
  auto callbackFunction = value.asObject(rt).asFunction(rt);
6898
6898
  auto callbackValue = std::make_shared<jsi::Value>(rt, callbackFunction);
6899
6899
  rsLambda = [&rt, callInvoker, callbackValue](
6900
- uint64_t rs_uniffiHandle, RustBuffer rs_privateKey,
6900
+ uint64_t rs_uniffiHandle, RustBuffer rs_secretKey,
6901
6901
  RustBuffer rs_receiverPublicKey,
6902
6902
  UniffiForeignFutureCompleteRustBuffer rs_uniffiFutureCallback,
6903
6903
  uint64_t rs_uniffiCallbackData,
@@ -6905,10 +6905,10 @@ makeCallbackFunction( // uniffi::breez_sdk_spark::cb::callbackinterfaceexternals
6905
6905
  // We immediately make a lambda which will do the work of transforming the
6906
6906
  // arguments into JSI values and calling the callback.
6907
6907
  uniffi_runtime::UniffiCallFunc jsLambda =
6908
- [callInvoker, callbackValue, rs_uniffiHandle, rs_privateKey,
6908
+ [callInvoker, callbackValue, rs_uniffiHandle, rs_secretKey,
6909
6909
  rs_receiverPublicKey, rs_uniffiFutureCallback, rs_uniffiCallbackData,
6910
6910
  rs_uniffiOutReturn](jsi::Runtime &rt) mutable {
6911
- body(rt, callInvoker, callbackValue, rs_uniffiHandle, rs_privateKey,
6911
+ body(rt, callInvoker, callbackValue, rs_uniffiHandle, rs_secretKey,
6912
6912
  rs_receiverPublicKey, rs_uniffiFutureCallback,
6913
6913
  rs_uniffiCallbackData, rs_uniffiOutReturn);
6914
6914
  };
@@ -6960,7 +6960,7 @@ static std::function<void(uint64_t, RustBuffer,
6960
6960
  static void body(jsi::Runtime &rt,
6961
6961
  std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker,
6962
6962
  std::shared_ptr<jsi::Value> callbackValue,
6963
- uint64_t rs_uniffiHandle, RustBuffer rs_privateKey,
6963
+ uint64_t rs_uniffiHandle, RustBuffer rs_secretKey,
6964
6964
  UniffiForeignFutureCompleteRustBuffer rs_uniffiFutureCallback,
6965
6965
  uint64_t rs_uniffiCallbackData,
6966
6966
  UniffiForeignFuture *rs_uniffiOutReturn) {
@@ -6969,8 +6969,8 @@ static void body(jsi::Runtime &rt,
6969
6969
  // We'll use the Bridging class to do this…
6970
6970
  auto js_uniffiHandle =
6971
6971
  uniffi_jsi::Bridging<uint64_t>::toJs(rt, callInvoker, rs_uniffiHandle);
6972
- auto js_privateKey = uniffi::breez_sdk_spark::Bridging<RustBuffer>::toJs(
6973
- rt, callInvoker, rs_privateKey);
6972
+ auto js_secretKey = uniffi::breez_sdk_spark::Bridging<RustBuffer>::toJs(
6973
+ rt, callInvoker, rs_secretKey);
6974
6974
  auto js_uniffiFutureCallback = uniffi::breez_sdk_spark::Bridging<
6975
6975
  UniffiForeignFutureCompleteRustBuffer>::toJs(rt, callInvoker,
6976
6976
  rs_uniffiFutureCallback);
@@ -6983,7 +6983,7 @@ static void body(jsi::Runtime &rt,
6983
6983
  try {
6984
6984
  // Getting the callback function
6985
6985
  auto cb = callbackValue->asObject(rt).asFunction(rt);
6986
- auto uniffiResult = cb.call(rt, js_uniffiHandle, js_privateKey,
6986
+ auto uniffiResult = cb.call(rt, js_uniffiHandle, js_secretKey,
6987
6987
  js_uniffiFutureCallback, js_uniffiCallbackData);
6988
6988
 
6989
6989
  // Finally, we need to copy the return value back into the Rust pointer.
@@ -6999,7 +6999,7 @@ static void body(jsi::Runtime &rt,
6999
6999
  }
7000
7000
 
7001
7001
  static void
7002
- callback(uint64_t rs_uniffiHandle, RustBuffer rs_privateKey,
7002
+ callback(uint64_t rs_uniffiHandle, RustBuffer rs_secretKey,
7003
7003
  UniffiForeignFutureCompleteRustBuffer rs_uniffiFutureCallback,
7004
7004
  uint64_t rs_uniffiCallbackData,
7005
7005
  UniffiForeignFuture *rs_uniffiOutReturn) {
@@ -7018,7 +7018,7 @@ callback(uint64_t rs_uniffiHandle, RustBuffer rs_privateKey,
7018
7018
 
7019
7019
  // The runtime, the actual callback jsi::funtion, and the callInvoker
7020
7020
  // are all in the lambda.
7021
- rsLambda(rs_uniffiHandle, rs_privateKey, rs_uniffiFutureCallback,
7021
+ rsLambda(rs_uniffiHandle, rs_secretKey, rs_uniffiFutureCallback,
7022
7022
  rs_uniffiCallbackData, rs_uniffiOutReturn);
7023
7023
  }
7024
7024
 
@@ -7042,17 +7042,17 @@ makeCallbackFunction( // uniffi::breez_sdk_spark::cb::callbackinterfaceexternals
7042
7042
  auto callbackFunction = value.asObject(rt).asFunction(rt);
7043
7043
  auto callbackValue = std::make_shared<jsi::Value>(rt, callbackFunction);
7044
7044
  rsLambda = [&rt, callInvoker, callbackValue](
7045
- uint64_t rs_uniffiHandle, RustBuffer rs_privateKey,
7045
+ uint64_t rs_uniffiHandle, RustBuffer rs_secretKey,
7046
7046
  UniffiForeignFutureCompleteRustBuffer rs_uniffiFutureCallback,
7047
7047
  uint64_t rs_uniffiCallbackData,
7048
7048
  UniffiForeignFuture *rs_uniffiOutReturn) {
7049
7049
  // We immediately make a lambda which will do the work of transforming the
7050
7050
  // arguments into JSI values and calling the callback.
7051
7051
  uniffi_runtime::UniffiCallFunc jsLambda =
7052
- [callInvoker, callbackValue, rs_uniffiHandle, rs_privateKey,
7052
+ [callInvoker, callbackValue, rs_uniffiHandle, rs_secretKey,
7053
7053
  rs_uniffiFutureCallback, rs_uniffiCallbackData,
7054
7054
  rs_uniffiOutReturn](jsi::Runtime &rt) mutable {
7055
- body(rt, callInvoker, callbackValue, rs_uniffiHandle, rs_privateKey,
7055
+ body(rt, callInvoker, callbackValue, rs_uniffiHandle, rs_secretKey,
7056
7056
  rs_uniffiFutureCallback, rs_uniffiCallbackData,
7057
7057
  rs_uniffiOutReturn);
7058
7058
  };
@@ -11630,61 +11630,60 @@ template <> struct Bridging<UniffiVTableCallbackInterfaceExternalSigner> {
11630
11630
  rsObject.sign_ecdsa_recoverable = uniffi::breez_sdk_spark::cb::
11631
11631
  callbackinterfaceexternalsignermethod3::makeCallbackFunction(
11632
11632
  rt, callInvoker, jsObject.getProperty(rt, "signEcdsaRecoverable"));
11633
- rsObject.ecies_encrypt = uniffi::breez_sdk_spark::cb::
11633
+ rsObject.encrypt_ecies = uniffi::breez_sdk_spark::cb::
11634
11634
  callbackinterfaceexternalsignermethod4::makeCallbackFunction(
11635
- rt, callInvoker, jsObject.getProperty(rt, "eciesEncrypt"));
11636
- rsObject.ecies_decrypt = uniffi::breez_sdk_spark::cb::
11635
+ rt, callInvoker, jsObject.getProperty(rt, "encryptEcies"));
11636
+ rsObject.decrypt_ecies = uniffi::breez_sdk_spark::cb::
11637
11637
  callbackinterfaceexternalsignermethod5::makeCallbackFunction(
11638
- rt, callInvoker, jsObject.getProperty(rt, "eciesDecrypt"));
11638
+ rt, callInvoker, jsObject.getProperty(rt, "decryptEcies"));
11639
11639
  rsObject.sign_hash_schnorr = uniffi::breez_sdk_spark::cb::
11640
11640
  callbackinterfaceexternalsignermethod6::makeCallbackFunction(
11641
11641
  rt, callInvoker, jsObject.getProperty(rt, "signHashSchnorr"));
11642
11642
  rsObject.hmac_sha256 = uniffi::breez_sdk_spark::cb::
11643
11643
  callbackinterfaceexternalsignermethod7::makeCallbackFunction(
11644
11644
  rt, callInvoker, jsObject.getProperty(rt, "hmacSha256"));
11645
- rsObject.generate_frost_signing_commitments = uniffi::breez_sdk_spark::cb::
11645
+ rsObject.generate_random_signing_commitment = uniffi::breez_sdk_spark::cb::
11646
11646
  callbackinterfaceexternalsignermethod8::makeCallbackFunction(
11647
11647
  rt, callInvoker,
11648
- jsObject.getProperty(rt, "generateFrostSigningCommitments"));
11648
+ jsObject.getProperty(rt, "generateRandomSigningCommitment"));
11649
11649
  rsObject.get_public_key_for_node = uniffi::breez_sdk_spark::cb::
11650
11650
  callbackinterfaceexternalsignermethod9::makeCallbackFunction(
11651
11651
  rt, callInvoker, jsObject.getProperty(rt, "getPublicKeyForNode"));
11652
11652
  rsObject.generate_random_key = uniffi::breez_sdk_spark::cb::
11653
11653
  callbackinterfaceexternalsignermethod10::makeCallbackFunction(
11654
11654
  rt, callInvoker, jsObject.getProperty(rt, "generateRandomKey"));
11655
- rsObject.get_static_deposit_private_key_source = uniffi::breez_sdk_spark::
11656
- cb::callbackinterfaceexternalsignermethod11::makeCallbackFunction(
11655
+ rsObject.static_deposit_secret_key_encrypted = uniffi::breez_sdk_spark::cb::
11656
+ callbackinterfaceexternalsignermethod11::makeCallbackFunction(
11657
11657
  rt, callInvoker,
11658
- jsObject.getProperty(rt, "getStaticDepositPrivateKeySource"));
11659
- rsObject.get_static_deposit_private_key = uniffi::breez_sdk_spark::cb::
11658
+ jsObject.getProperty(rt, "staticDepositSecretKeyEncrypted"));
11659
+ rsObject.static_deposit_secret_key = uniffi::breez_sdk_spark::cb::
11660
11660
  callbackinterfaceexternalsignermethod12::makeCallbackFunction(
11661
11661
  rt, callInvoker,
11662
- jsObject.getProperty(rt, "getStaticDepositPrivateKey"));
11663
- rsObject.get_static_deposit_public_key = uniffi::breez_sdk_spark::cb::
11662
+ jsObject.getProperty(rt, "staticDepositSecretKey"));
11663
+ rsObject.static_deposit_signing_key = uniffi::breez_sdk_spark::cb::
11664
11664
  callbackinterfaceexternalsignermethod13::makeCallbackFunction(
11665
11665
  rt, callInvoker,
11666
- jsObject.getProperty(rt, "getStaticDepositPublicKey"));
11667
- rsObject.subtract_private_keys = uniffi::breez_sdk_spark::cb::
11666
+ jsObject.getProperty(rt, "staticDepositSigningKey"));
11667
+ rsObject.subtract_secret_keys = uniffi::breez_sdk_spark::cb::
11668
11668
  callbackinterfaceexternalsignermethod14::makeCallbackFunction(
11669
- rt, callInvoker, jsObject.getProperty(rt, "subtractPrivateKeys"));
11670
- rsObject.split_secret = uniffi::breez_sdk_spark::cb::
11669
+ rt, callInvoker, jsObject.getProperty(rt, "subtractSecretKeys"));
11670
+ rsObject.split_secret_with_proofs = uniffi::breez_sdk_spark::cb::
11671
11671
  callbackinterfaceexternalsignermethod15::makeCallbackFunction(
11672
- rt, callInvoker, jsObject.getProperty(rt, "splitSecret"));
11673
- rsObject.encrypt_private_key_for_receiver = uniffi::breez_sdk_spark::cb::
11672
+ rt, callInvoker, jsObject.getProperty(rt, "splitSecretWithProofs"));
11673
+ rsObject.encrypt_secret_key_for_receiver = uniffi::breez_sdk_spark::cb::
11674
11674
  callbackinterfaceexternalsignermethod16::makeCallbackFunction(
11675
11675
  rt, callInvoker,
11676
- jsObject.getProperty(rt, "encryptPrivateKeyForReceiver"));
11677
- rsObject.get_public_key_from_private_key_source = uniffi::breez_sdk_spark::
11678
- cb::callbackinterfaceexternalsignermethod17::makeCallbackFunction(
11676
+ jsObject.getProperty(rt, "encryptSecretKeyForReceiver"));
11677
+ rsObject.public_key_from_secret_key_source = uniffi::breez_sdk_spark::cb::
11678
+ callbackinterfaceexternalsignermethod17::makeCallbackFunction(
11679
11679
  rt, callInvoker,
11680
- jsObject.getProperty(rt, "getPublicKeyFromPrivateKeySource"));
11680
+ jsObject.getProperty(rt, "publicKeyFromSecretKeySource"));
11681
11681
  rsObject.sign_frost = uniffi::breez_sdk_spark::cb::
11682
11682
  callbackinterfaceexternalsignermethod18::makeCallbackFunction(
11683
11683
  rt, callInvoker, jsObject.getProperty(rt, "signFrost"));
11684
- rsObject.aggregate_frost_signatures = uniffi::breez_sdk_spark::cb::
11684
+ rsObject.aggregate_frost = uniffi::breez_sdk_spark::cb::
11685
11685
  callbackinterfaceexternalsignermethod19::makeCallbackFunction(
11686
- rt, callInvoker,
11687
- jsObject.getProperty(rt, "aggregateFrostSignatures"));
11686
+ rt, callInvoker, jsObject.getProperty(rt, "aggregateFrost"));
11688
11687
  rsObject.uniffi_free =
11689
11688
  uniffi::breez_sdk_spark::st::vtablecallbackinterfaceexternalsigner::
11690
11689
  vtablecallbackinterfaceexternalsigner::free::makeCallbackFunction(
@@ -12618,28 +12617,28 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
12618
12617
  ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_ecdsa_recoverable(
12619
12618
  rt, thisVal, args, count);
12620
12619
  });
12621
- props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_ecies_encrypt"] =
12620
+ props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_ecies"] =
12622
12621
  jsi::Function::createFromHostFunction(
12623
12622
  rt,
12624
12623
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
12625
- "externalsigner_ecies_encrypt"),
12624
+ "externalsigner_encrypt_ecies"),
12626
12625
  3,
12627
12626
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12628
12627
  const jsi::Value *args, size_t count) -> jsi::Value {
12629
12628
  return this
12630
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_ecies_encrypt(
12629
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_ecies(
12631
12630
  rt, thisVal, args, count);
12632
12631
  });
12633
- props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_ecies_decrypt"] =
12632
+ props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_decrypt_ecies"] =
12634
12633
  jsi::Function::createFromHostFunction(
12635
12634
  rt,
12636
12635
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
12637
- "externalsigner_ecies_decrypt"),
12636
+ "externalsigner_decrypt_ecies"),
12638
12637
  3,
12639
12638
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12640
12639
  const jsi::Value *args, size_t count) -> jsi::Value {
12641
12640
  return this
12642
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_ecies_decrypt(
12641
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_decrypt_ecies(
12643
12642
  rt, thisVal, args, count);
12644
12643
  });
12645
12644
  props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_hash_"
@@ -12666,17 +12665,17 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
12666
12665
  ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_hmac_sha256(
12667
12666
  rt, thisVal, args, count);
12668
12667
  });
12669
- props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_frost_"
12670
- "signing_commitments"] = jsi::Function::createFromHostFunction(
12668
+ props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_"
12669
+ "signing_commitment"] = jsi::Function::createFromHostFunction(
12671
12670
  rt,
12672
12671
  jsi::PropNameID::forAscii(
12673
12672
  rt, "ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_"
12674
- "frost_signing_commitments"),
12673
+ "random_signing_commitment"),
12675
12674
  1,
12676
12675
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12677
12676
  const jsi::Value *args, size_t count) -> jsi::Value {
12678
12677
  return this
12679
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_frost_signing_commitments(
12678
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_signing_commitment(
12680
12679
  rt, thisVal, args, count);
12681
12680
  });
12682
12681
  props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_"
@@ -12703,93 +12702,92 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
12703
12702
  ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_key(
12704
12703
  rt, thisVal, args, count);
12705
12704
  });
12706
- props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_"
12707
- "deposit_private_key_source"] = jsi::Function::createFromHostFunction(
12705
+ props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_"
12706
+ "secret_key_encrypted"] = jsi::Function::createFromHostFunction(
12708
12707
  rt,
12709
12708
  jsi::PropNameID::forAscii(
12710
- rt, "ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_"
12711
- "deposit_private_key_source"),
12709
+ rt, "ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_"
12710
+ "deposit_secret_key_encrypted"),
12712
12711
  2,
12713
12712
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12714
12713
  const jsi::Value *args, size_t count) -> jsi::Value {
12715
12714
  return this
12716
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_private_key_source(
12715
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key_encrypted(
12717
12716
  rt, thisVal, args, count);
12718
12717
  });
12719
- props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_"
12720
- "deposit_private_key"] = jsi::Function::createFromHostFunction(
12718
+ props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_"
12719
+ "secret_key"] = jsi::Function::createFromHostFunction(
12721
12720
  rt,
12722
- jsi::PropNameID::forAscii(
12723
- rt, "ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_"
12724
- "deposit_private_key"),
12721
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
12722
+ "externalsigner_static_deposit_secret_key"),
12725
12723
  2,
12726
12724
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12727
12725
  const jsi::Value *args, size_t count) -> jsi::Value {
12728
12726
  return this
12729
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_private_key(
12727
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key(
12730
12728
  rt, thisVal, args, count);
12731
12729
  });
12732
- props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_"
12733
- "deposit_public_key"] = jsi::Function::createFromHostFunction(
12730
+ props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_"
12731
+ "signing_key"] = jsi::Function::createFromHostFunction(
12734
12732
  rt,
12735
12733
  jsi::PropNameID::forAscii(rt,
12736
12734
  "ubrn_uniffi_breez_sdk_spark_fn_method_"
12737
- "externalsigner_get_static_deposit_public_key"),
12735
+ "externalsigner_static_deposit_signing_key"),
12738
12736
  2,
12739
12737
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12740
12738
  const jsi::Value *args, size_t count) -> jsi::Value {
12741
12739
  return this
12742
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_public_key(
12740
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_signing_key(
12743
12741
  rt, thisVal, args, count);
12744
12742
  });
12745
- props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_private_"
12743
+ props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_"
12746
12744
  "keys"] = jsi::Function::createFromHostFunction(
12747
12745
  rt,
12748
12746
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
12749
- "externalsigner_subtract_private_keys"),
12747
+ "externalsigner_subtract_secret_keys"),
12750
12748
  3,
12751
12749
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12752
12750
  const jsi::Value *args, size_t count) -> jsi::Value {
12753
12751
  return this
12754
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_private_keys(
12752
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_keys(
12755
12753
  rt, thisVal, args, count);
12756
12754
  });
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
- props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_private_"
12755
+ props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret_"
12756
+ "with_proofs"] = jsi::Function::createFromHostFunction(
12757
+ rt,
12758
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
12759
+ "externalsigner_split_secret_with_proofs"),
12760
+ 4,
12761
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12762
+ const jsi::Value *args, size_t count) -> jsi::Value {
12763
+ return this
12764
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret_with_proofs(
12765
+ rt, thisVal, args, count);
12766
+ });
12767
+ props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_"
12770
12768
  "key_for_receiver"] = jsi::Function::createFromHostFunction(
12771
12769
  rt,
12772
12770
  jsi::PropNameID::forAscii(
12773
12771
  rt, "ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_"
12774
- "private_key_for_receiver"),
12772
+ "secret_key_for_receiver"),
12775
12773
  3,
12776
12774
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12777
12775
  const jsi::Value *args, size_t count) -> jsi::Value {
12778
12776
  return this
12779
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_private_key_for_receiver(
12777
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_key_for_receiver(
12780
12778
  rt, thisVal, args, count);
12781
12779
  });
12782
- props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_"
12783
- "from_private_key_source"] = jsi::Function::createFromHostFunction(
12780
+ props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_"
12781
+ "secret_key_source"] = jsi::Function::createFromHostFunction(
12784
12782
  rt,
12785
12783
  jsi::PropNameID::forAscii(
12786
- rt, "ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_"
12787
- "key_from_private_key_source"),
12784
+ rt, "ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_"
12785
+ "from_secret_key_source"),
12788
12786
  2,
12789
12787
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12790
12788
  const jsi::Value *args, size_t count) -> jsi::Value {
12791
12789
  return this
12792
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_from_private_key_source(
12790
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_secret_key_source(
12793
12791
  rt, thisVal, args, count);
12794
12792
  });
12795
12793
  props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_frost"] =
@@ -12804,17 +12802,16 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
12804
12802
  ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_frost(
12805
12803
  rt, thisVal, args, count);
12806
12804
  });
12807
- props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost_"
12808
- "signatures"] = jsi::Function::createFromHostFunction(
12805
+ props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_"
12806
+ "frost"] = jsi::Function::createFromHostFunction(
12809
12807
  rt,
12810
- jsi::PropNameID::forAscii(rt,
12811
- "ubrn_uniffi_breez_sdk_spark_fn_method_"
12812
- "externalsigner_aggregate_frost_signatures"),
12808
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
12809
+ "externalsigner_aggregate_frost"),
12813
12810
  2,
12814
12811
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12815
12812
  const jsi::Value *args, size_t count) -> jsi::Value {
12816
12813
  return this
12817
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost_signatures(
12814
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost(
12818
12815
  rt, thisVal, args, count);
12819
12816
  });
12820
12817
  props["ubrn_uniffi_breez_sdk_spark_fn_clone_fiatservice"] =
@@ -14787,28 +14784,28 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
14787
14784
  ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable(
14788
14785
  rt, thisVal, args, count);
14789
14786
  });
14790
- props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_"
14791
- "encrypt"] = jsi::Function::createFromHostFunction(
14787
+ props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_"
14788
+ "ecies"] = jsi::Function::createFromHostFunction(
14792
14789
  rt,
14793
14790
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_checksum_"
14794
- "method_externalsigner_ecies_encrypt"),
14791
+ "method_externalsigner_encrypt_ecies"),
14795
14792
  0,
14796
14793
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14797
14794
  const jsi::Value *args, size_t count) -> jsi::Value {
14798
14795
  return this
14799
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_encrypt(
14796
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies(
14800
14797
  rt, thisVal, args, count);
14801
14798
  });
14802
- props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_"
14803
- "decrypt"] = jsi::Function::createFromHostFunction(
14799
+ props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_"
14800
+ "ecies"] = jsi::Function::createFromHostFunction(
14804
14801
  rt,
14805
14802
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_checksum_"
14806
- "method_externalsigner_ecies_decrypt"),
14803
+ "method_externalsigner_decrypt_ecies"),
14807
14804
  0,
14808
14805
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14809
14806
  const jsi::Value *args, size_t count) -> jsi::Value {
14810
14807
  return this
14811
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_decrypt(
14808
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies(
14812
14809
  rt, thisVal, args, count);
14813
14810
  });
14814
14811
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_"
@@ -14836,16 +14833,16 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
14836
14833
  rt, thisVal, args, count);
14837
14834
  });
14838
14835
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_"
14839
- "frost_signing_commitments"] = jsi::Function::createFromHostFunction(
14836
+ "random_signing_commitment"] = jsi::Function::createFromHostFunction(
14840
14837
  rt,
14841
14838
  jsi::PropNameID::forAscii(
14842
14839
  rt, "ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_"
14843
- "generate_frost_signing_commitments"),
14840
+ "generate_random_signing_commitment"),
14844
14841
  0,
14845
14842
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14846
14843
  const jsi::Value *args, size_t count) -> jsi::Value {
14847
14844
  return this
14848
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_frost_signing_commitments(
14845
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment(
14849
14846
  rt, thisVal, args, count);
14850
14847
  });
14851
14848
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_"
@@ -14874,94 +14871,95 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
14874
14871
  ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_key(
14875
14872
  rt, thisVal, args, count);
14876
14873
  });
14877
- props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_"
14878
- "deposit_private_key_source"] = jsi::Function::createFromHostFunction(
14874
+ props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_"
14875
+ "deposit_secret_key_encrypted"] = jsi::Function::createFromHostFunction(
14879
14876
  rt,
14880
14877
  jsi::PropNameID::forAscii(
14881
- rt, "ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_"
14882
- "static_deposit_private_key_source"),
14878
+ rt, "ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_"
14879
+ "static_deposit_secret_key_encrypted"),
14883
14880
  0,
14884
14881
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14885
14882
  const jsi::Value *args, size_t count) -> jsi::Value {
14886
14883
  return this
14887
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key_source(
14884
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key_encrypted(
14888
14885
  rt, thisVal, args, count);
14889
14886
  });
14890
- props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_"
14891
- "deposit_private_key"] = jsi::Function::createFromHostFunction(
14887
+ props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_"
14888
+ "deposit_secret_key"] = jsi::Function::createFromHostFunction(
14892
14889
  rt,
14893
- jsi::PropNameID::forAscii(
14894
- rt, "ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_"
14895
- "static_deposit_private_key"),
14890
+ jsi::PropNameID::forAscii(rt,
14891
+ "ubrn_uniffi_breez_sdk_spark_checksum_method_"
14892
+ "externalsigner_static_deposit_secret_key"),
14896
14893
  0,
14897
14894
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14898
14895
  const jsi::Value *args, size_t count) -> jsi::Value {
14899
14896
  return this
14900
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key(
14897
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key(
14901
14898
  rt, thisVal, args, count);
14902
14899
  });
14903
- props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_"
14904
- "deposit_public_key"] = jsi::Function::createFromHostFunction(
14900
+ props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_"
14901
+ "deposit_signing_key"] = jsi::Function::createFromHostFunction(
14905
14902
  rt,
14906
14903
  jsi::PropNameID::forAscii(rt,
14907
14904
  "ubrn_uniffi_breez_sdk_spark_checksum_method_"
14908
- "externalsigner_get_static_deposit_public_key"),
14905
+ "externalsigner_static_deposit_signing_key"),
14909
14906
  0,
14910
14907
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14911
14908
  const jsi::Value *args, size_t count) -> jsi::Value {
14912
14909
  return this
14913
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_public_key(
14910
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key(
14914
14911
  rt, thisVal, args, count);
14915
14912
  });
14916
14913
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_"
14917
- "private_keys"] = jsi::Function::createFromHostFunction(
14914
+ "secret_keys"] = jsi::Function::createFromHostFunction(
14918
14915
  rt,
14919
14916
  jsi::PropNameID::forAscii(rt,
14920
14917
  "ubrn_uniffi_breez_sdk_spark_checksum_method_"
14921
- "externalsigner_subtract_private_keys"),
14918
+ "externalsigner_subtract_secret_keys"),
14922
14919
  0,
14923
14920
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14924
14921
  const jsi::Value *args, size_t count) -> jsi::Value {
14925
14922
  return this
14926
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_private_keys(
14923
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secret_keys(
14927
14924
  rt, thisVal, args, count);
14928
14925
  });
14929
14926
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_"
14930
- "secret"] = jsi::Function::createFromHostFunction(
14927
+ "secret_with_proofs"] = jsi::Function::createFromHostFunction(
14931
14928
  rt,
14932
- jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_checksum_"
14933
- "method_externalsigner_split_secret"),
14929
+ jsi::PropNameID::forAscii(rt,
14930
+ "ubrn_uniffi_breez_sdk_spark_checksum_method_"
14931
+ "externalsigner_split_secret_with_proofs"),
14934
14932
  0,
14935
14933
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14936
14934
  const jsi::Value *args, size_t count) -> jsi::Value {
14937
14935
  return this
14938
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret(
14936
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs(
14939
14937
  rt, thisVal, args, count);
14940
14938
  });
14941
14939
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_"
14942
- "private_key_for_receiver"] = jsi::Function::createFromHostFunction(
14940
+ "secret_key_for_receiver"] = jsi::Function::createFromHostFunction(
14943
14941
  rt,
14944
14942
  jsi::PropNameID::forAscii(
14945
14943
  rt, "ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_"
14946
- "encrypt_private_key_for_receiver"),
14944
+ "encrypt_secret_key_for_receiver"),
14947
14945
  0,
14948
14946
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14949
14947
  const jsi::Value *args, size_t count) -> jsi::Value {
14950
14948
  return this
14951
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_private_key_for_receiver(
14949
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_key_for_receiver(
14952
14950
  rt, thisVal, args, count);
14953
14951
  });
14954
- props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_"
14955
- "key_from_private_key_source"] = jsi::Function::createFromHostFunction(
14952
+ props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_"
14953
+ "from_secret_key_source"] = jsi::Function::createFromHostFunction(
14956
14954
  rt,
14957
14955
  jsi::PropNameID::forAscii(
14958
- rt, "ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_"
14959
- "public_key_from_private_key_source"),
14956
+ rt, "ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_"
14957
+ "public_key_from_secret_key_source"),
14960
14958
  0,
14961
14959
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14962
14960
  const jsi::Value *args, size_t count) -> jsi::Value {
14963
14961
  return this
14964
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_from_private_key_source(
14962
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret_key_source(
14965
14963
  rt, thisVal, args, count);
14966
14964
  });
14967
14965
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_"
@@ -14977,16 +14975,15 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
14977
14975
  rt, thisVal, args, count);
14978
14976
  });
14979
14977
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_"
14980
- "frost_signatures"] = jsi::Function::createFromHostFunction(
14978
+ "frost"] = jsi::Function::createFromHostFunction(
14981
14979
  rt,
14982
- jsi::PropNameID::forAscii(rt,
14983
- "ubrn_uniffi_breez_sdk_spark_checksum_method_"
14984
- "externalsigner_aggregate_frost_signatures"),
14980
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_checksum_"
14981
+ "method_externalsigner_aggregate_frost"),
14985
14982
  0,
14986
14983
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14987
14984
  const jsi::Value *args, size_t count) -> jsi::Value {
14988
14985
  return this
14989
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost_signatures(
14986
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost(
14990
14987
  rt, thisVal, args, count);
14991
14988
  });
14992
14989
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_"
@@ -16843,10 +16840,10 @@ jsi::Value NativeBreezSdkSpark::
16843
16840
  value);
16844
16841
  }
16845
16842
  jsi::Value NativeBreezSdkSpark::
16846
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_ecies_encrypt(
16843
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_ecies(
16847
16844
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
16848
16845
  size_t count) {
16849
- auto value = uniffi_breez_sdk_spark_fn_method_externalsigner_ecies_encrypt(
16846
+ auto value = uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_ecies(
16850
16847
  uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
16851
16848
  uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
16852
16849
  args[1]),
@@ -16857,10 +16854,10 @@ jsi::Value NativeBreezSdkSpark::
16857
16854
  value);
16858
16855
  }
16859
16856
  jsi::Value NativeBreezSdkSpark::
16860
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_ecies_decrypt(
16857
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_decrypt_ecies(
16861
16858
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
16862
16859
  size_t count) {
16863
- auto value = uniffi_breez_sdk_spark_fn_method_externalsigner_ecies_decrypt(
16860
+ auto value = uniffi_breez_sdk_spark_fn_method_externalsigner_decrypt_ecies(
16864
16861
  uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
16865
16862
  uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
16866
16863
  args[1]),
@@ -16900,11 +16897,11 @@ jsi::Value NativeBreezSdkSpark::
16900
16897
  value);
16901
16898
  }
16902
16899
  jsi::Value NativeBreezSdkSpark::
16903
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_frost_signing_commitments(
16900
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_signing_commitment(
16904
16901
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
16905
16902
  size_t count) {
16906
16903
  auto value =
16907
- uniffi_breez_sdk_spark_fn_method_externalsigner_generate_frost_signing_commitments(
16904
+ uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_signing_commitment(
16908
16905
  uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]));
16909
16906
 
16910
16907
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
@@ -16935,11 +16932,11 @@ jsi::Value NativeBreezSdkSpark::
16935
16932
  value);
16936
16933
  }
16937
16934
  jsi::Value NativeBreezSdkSpark::
16938
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_private_key_source(
16935
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key_encrypted(
16939
16936
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
16940
16937
  size_t count) {
16941
16938
  auto value =
16942
- uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_private_key_source(
16939
+ uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key_encrypted(
16943
16940
  uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
16944
16941
  uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]));
16945
16942
 
@@ -16947,11 +16944,11 @@ jsi::Value NativeBreezSdkSpark::
16947
16944
  value);
16948
16945
  }
16949
16946
  jsi::Value NativeBreezSdkSpark::
16950
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_private_key(
16947
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key(
16951
16948
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
16952
16949
  size_t count) {
16953
16950
  auto value =
16954
- uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_private_key(
16951
+ uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key(
16955
16952
  uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
16956
16953
  uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]));
16957
16954
 
@@ -16959,11 +16956,11 @@ jsi::Value NativeBreezSdkSpark::
16959
16956
  value);
16960
16957
  }
16961
16958
  jsi::Value NativeBreezSdkSpark::
16962
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_public_key(
16959
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_signing_key(
16963
16960
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
16964
16961
  size_t count) {
16965
16962
  auto value =
16966
- uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_public_key(
16963
+ uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_signing_key(
16967
16964
  uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
16968
16965
  uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]));
16969
16966
 
@@ -16971,11 +16968,11 @@ jsi::Value NativeBreezSdkSpark::
16971
16968
  value);
16972
16969
  }
16973
16970
  jsi::Value NativeBreezSdkSpark::
16974
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_private_keys(
16971
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_keys(
16975
16972
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
16976
16973
  size_t count) {
16977
16974
  auto value =
16978
- uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_private_keys(
16975
+ uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_keys(
16979
16976
  uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
16980
16977
  uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
16981
16978
  args[1]),
@@ -16986,25 +16983,26 @@ jsi::Value NativeBreezSdkSpark::
16986
16983
  value);
16987
16984
  }
16988
16985
  jsi::Value NativeBreezSdkSpark::
16989
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret(
16986
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret_with_proofs(
16990
16987
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
16991
16988
  size_t count) {
16992
- auto value = uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret(
16993
- uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
16994
- uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
16995
- args[1]),
16996
- uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[2]),
16997
- uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[3]));
16989
+ auto value =
16990
+ uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret_with_proofs(
16991
+ uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
16992
+ uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
16993
+ args[1]),
16994
+ uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[2]),
16995
+ uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[3]));
16998
16996
 
16999
16997
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
17000
16998
  value);
17001
16999
  }
17002
17000
  jsi::Value NativeBreezSdkSpark::
17003
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_private_key_for_receiver(
17001
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_key_for_receiver(
17004
17002
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
17005
17003
  size_t count) {
17006
17004
  auto value =
17007
- uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_private_key_for_receiver(
17005
+ uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_key_for_receiver(
17008
17006
  uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
17009
17007
  uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
17010
17008
  args[1]),
@@ -17015,11 +17013,11 @@ jsi::Value NativeBreezSdkSpark::
17015
17013
  value);
17016
17014
  }
17017
17015
  jsi::Value NativeBreezSdkSpark::
17018
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_from_private_key_source(
17016
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_secret_key_source(
17019
17017
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
17020
17018
  size_t count) {
17021
17019
  auto value =
17022
- uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_from_private_key_source(
17020
+ uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_secret_key_source(
17023
17021
  uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
17024
17022
  uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
17025
17023
  args[1]));
@@ -17040,14 +17038,13 @@ jsi::Value NativeBreezSdkSpark::
17040
17038
  value);
17041
17039
  }
17042
17040
  jsi::Value NativeBreezSdkSpark::
17043
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost_signatures(
17041
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost(
17044
17042
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
17045
17043
  size_t count) {
17046
- auto value =
17047
- uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost_signatures(
17048
- uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
17049
- uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
17050
- args[1]));
17044
+ auto value = uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost(
17045
+ uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
17046
+ uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
17047
+ args[1]));
17051
17048
 
17052
17049
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
17053
17050
  value);
@@ -18929,20 +18926,20 @@ jsi::Value NativeBreezSdkSpark::
18929
18926
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
18930
18927
  }
18931
18928
  jsi::Value NativeBreezSdkSpark::
18932
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_encrypt(
18929
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies(
18933
18930
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
18934
18931
  size_t count) {
18935
18932
  auto value =
18936
- uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_encrypt();
18933
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies();
18937
18934
 
18938
18935
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
18939
18936
  }
18940
18937
  jsi::Value NativeBreezSdkSpark::
18941
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_decrypt(
18938
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies(
18942
18939
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
18943
18940
  size_t count) {
18944
18941
  auto value =
18945
- uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_decrypt();
18942
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies();
18946
18943
 
18947
18944
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
18948
18945
  }
@@ -18965,11 +18962,11 @@ jsi::Value NativeBreezSdkSpark::
18965
18962
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
18966
18963
  }
18967
18964
  jsi::Value NativeBreezSdkSpark::
18968
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_frost_signing_commitments(
18965
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment(
18969
18966
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
18970
18967
  size_t count) {
18971
18968
  auto value =
18972
- uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_frost_signing_commitments();
18969
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment();
18973
18970
 
18974
18971
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
18975
18972
  }
@@ -18992,65 +18989,65 @@ jsi::Value NativeBreezSdkSpark::
18992
18989
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
18993
18990
  }
18994
18991
  jsi::Value NativeBreezSdkSpark::
18995
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key_source(
18992
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key_encrypted(
18996
18993
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
18997
18994
  size_t count) {
18998
18995
  auto value =
18999
- uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key_source();
18996
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key_encrypted();
19000
18997
 
19001
18998
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
19002
18999
  }
19003
19000
  jsi::Value NativeBreezSdkSpark::
19004
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key(
19001
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key(
19005
19002
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
19006
19003
  size_t count) {
19007
19004
  auto value =
19008
- uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key();
19005
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key();
19009
19006
 
19010
19007
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
19011
19008
  }
19012
19009
  jsi::Value NativeBreezSdkSpark::
19013
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_public_key(
19010
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key(
19014
19011
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
19015
19012
  size_t count) {
19016
19013
  auto value =
19017
- uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_public_key();
19014
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key();
19018
19015
 
19019
19016
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
19020
19017
  }
19021
19018
  jsi::Value NativeBreezSdkSpark::
19022
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_private_keys(
19019
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secret_keys(
19023
19020
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
19024
19021
  size_t count) {
19025
19022
  auto value =
19026
- uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_private_keys();
19023
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secret_keys();
19027
19024
 
19028
19025
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
19029
19026
  }
19030
19027
  jsi::Value NativeBreezSdkSpark::
19031
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret(
19028
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs(
19032
19029
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
19033
19030
  size_t count) {
19034
19031
  auto value =
19035
- uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret();
19032
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs();
19036
19033
 
19037
19034
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
19038
19035
  }
19039
19036
  jsi::Value NativeBreezSdkSpark::
19040
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_private_key_for_receiver(
19037
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_key_for_receiver(
19041
19038
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
19042
19039
  size_t count) {
19043
19040
  auto value =
19044
- uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_private_key_for_receiver();
19041
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_key_for_receiver();
19045
19042
 
19046
19043
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
19047
19044
  }
19048
19045
  jsi::Value NativeBreezSdkSpark::
19049
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_from_private_key_source(
19046
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret_key_source(
19050
19047
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
19051
19048
  size_t count) {
19052
19049
  auto value =
19053
- uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_from_private_key_source();
19050
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret_key_source();
19054
19051
 
19055
19052
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
19056
19053
  }
@@ -19064,11 +19061,11 @@ jsi::Value NativeBreezSdkSpark::
19064
19061
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
19065
19062
  }
19066
19063
  jsi::Value NativeBreezSdkSpark::
19067
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost_signatures(
19064
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost(
19068
19065
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
19069
19066
  size_t count) {
19070
19067
  auto value =
19071
- uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost_signatures();
19068
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost();
19072
19069
 
19073
19070
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
19074
19071
  }