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

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 secret_key,
195
+ uint64_t uniffi_handle, RustBuffer encrypted_secret,
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 secret_key,
200
+ uint64_t uniffi_handle, RustBuffer secret,
201
201
  UniffiForeignFutureCompleteRustBuffer uniffi_future_callback,
202
202
  uint64_t uniffi_callback_data, UniffiForeignFuture *uniffi_out_return);
203
203
  typedef void (*UniffiCallbackInterfaceExternalSignerMethod18)(
@@ -353,16 +353,14 @@ typedef struct UniffiVTableCallbackInterfaceExternalSigner {
353
353
  UniffiCallbackInterfaceExternalSignerMethod8
354
354
  generate_random_signing_commitment;
355
355
  UniffiCallbackInterfaceExternalSignerMethod9 get_public_key_for_node;
356
- UniffiCallbackInterfaceExternalSignerMethod10 generate_random_key;
357
- UniffiCallbackInterfaceExternalSignerMethod11
358
- static_deposit_secret_key_encrypted;
359
- UniffiCallbackInterfaceExternalSignerMethod12 static_deposit_secret_key;
356
+ UniffiCallbackInterfaceExternalSignerMethod10 generate_random_secret;
357
+ UniffiCallbackInterfaceExternalSignerMethod11 static_deposit_secret_encrypted;
358
+ UniffiCallbackInterfaceExternalSignerMethod12 static_deposit_secret;
360
359
  UniffiCallbackInterfaceExternalSignerMethod13 static_deposit_signing_key;
361
- UniffiCallbackInterfaceExternalSignerMethod14 subtract_secret_keys;
360
+ UniffiCallbackInterfaceExternalSignerMethod14 subtract_secrets;
362
361
  UniffiCallbackInterfaceExternalSignerMethod15 split_secret_with_proofs;
363
- UniffiCallbackInterfaceExternalSignerMethod16 encrypt_secret_key_for_receiver;
364
- UniffiCallbackInterfaceExternalSignerMethod17
365
- public_key_from_secret_key_source;
362
+ UniffiCallbackInterfaceExternalSignerMethod16 encrypt_secret_for_receiver;
363
+ UniffiCallbackInterfaceExternalSignerMethod17 public_key_from_secret;
366
364
  UniffiCallbackInterfaceExternalSignerMethod18 sign_frost;
367
365
  UniffiCallbackInterfaceExternalSignerMethod19 aggregate_frost;
368
366
  UniffiCallbackInterfaceFree uniffi_free;
@@ -568,28 +566,29 @@ uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_signing_commitme
568
566
  uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_for_node(
569
567
  void *ptr, RustBuffer id);
570
568
  /*handle*/ uint64_t
571
- uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_key(void *ptr);
569
+ uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_secret(
570
+ void *ptr);
572
571
  /*handle*/ uint64_t
573
- uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key_encrypted(
572
+ uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_encrypted(
574
573
  void *ptr, uint32_t index);
575
574
  /*handle*/ uint64_t
576
- uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key(
575
+ uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret(
577
576
  void *ptr, uint32_t index);
578
577
  /*handle*/ uint64_t
579
578
  uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_signing_key(
580
579
  void *ptr, uint32_t index);
581
580
  /*handle*/ uint64_t
582
- uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_keys(
581
+ uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secrets(
583
582
  void *ptr, RustBuffer signing_key, RustBuffer new_signing_key);
584
583
  /*handle*/ uint64_t
585
584
  uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret_with_proofs(
586
585
  void *ptr, RustBuffer secret, uint32_t threshold, uint32_t num_shares);
587
586
  /*handle*/ uint64_t
588
- uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_key_for_receiver(
589
- void *ptr, RustBuffer secret_key, RustBuffer receiver_public_key);
587
+ uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_for_receiver(
588
+ void *ptr, RustBuffer encrypted_secret, RustBuffer receiver_public_key);
590
589
  /*handle*/ uint64_t
591
- uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_secret_key_source(
592
- void *ptr, RustBuffer secret_key);
590
+ uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_secret(
591
+ void *ptr, RustBuffer secret);
593
592
  /*handle*/ uint64_t
594
593
  uniffi_breez_sdk_spark_fn_method_externalsigner_sign_frost(void *ptr,
595
594
  RustBuffer request);
@@ -988,21 +987,21 @@ uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_co
988
987
  uint16_t
989
988
  uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node();
990
989
  uint16_t
991
- uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_key();
990
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_secret();
992
991
  uint16_t
993
- uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key_encrypted();
992
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_encrypted();
994
993
  uint16_t
995
- uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key();
994
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret();
996
995
  uint16_t
997
996
  uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key();
998
997
  uint16_t
999
- uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secret_keys();
998
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secrets();
1000
999
  uint16_t
1001
1000
  uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs();
1002
1001
  uint16_t
1003
- uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_key_for_receiver();
1002
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_for_receiver();
1004
1003
  uint16_t
1005
- uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret_key_source();
1004
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret();
1006
1005
  uint16_t uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost();
1007
1006
  uint16_t
1008
1007
  uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost();
@@ -6809,7 +6808,7 @@ static std::function<void(uint64_t, RustBuffer, RustBuffer,
6809
6808
  static void body(jsi::Runtime &rt,
6810
6809
  std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker,
6811
6810
  std::shared_ptr<jsi::Value> callbackValue,
6812
- uint64_t rs_uniffiHandle, RustBuffer rs_secretKey,
6811
+ uint64_t rs_uniffiHandle, RustBuffer rs_encryptedSecret,
6813
6812
  RustBuffer rs_receiverPublicKey,
6814
6813
  UniffiForeignFutureCompleteRustBuffer rs_uniffiFutureCallback,
6815
6814
  uint64_t rs_uniffiCallbackData,
@@ -6819,8 +6818,8 @@ static void body(jsi::Runtime &rt,
6819
6818
  // We'll use the Bridging class to do this…
6820
6819
  auto js_uniffiHandle =
6821
6820
  uniffi_jsi::Bridging<uint64_t>::toJs(rt, callInvoker, rs_uniffiHandle);
6822
- auto js_secretKey = uniffi::breez_sdk_spark::Bridging<RustBuffer>::toJs(
6823
- rt, callInvoker, rs_secretKey);
6821
+ auto js_encryptedSecret = uniffi::breez_sdk_spark::Bridging<RustBuffer>::toJs(
6822
+ rt, callInvoker, rs_encryptedSecret);
6824
6823
  auto js_receiverPublicKey =
6825
6824
  uniffi::breez_sdk_spark::Bridging<RustBuffer>::toJs(rt, callInvoker,
6826
6825
  rs_receiverPublicKey);
@@ -6837,7 +6836,7 @@ static void body(jsi::Runtime &rt,
6837
6836
  // Getting the callback function
6838
6837
  auto cb = callbackValue->asObject(rt).asFunction(rt);
6839
6838
  auto uniffiResult =
6840
- cb.call(rt, js_uniffiHandle, js_secretKey, js_receiverPublicKey,
6839
+ cb.call(rt, js_uniffiHandle, js_encryptedSecret, js_receiverPublicKey,
6841
6840
  js_uniffiFutureCallback, js_uniffiCallbackData);
6842
6841
 
6843
6842
  // Finally, we need to copy the return value back into the Rust pointer.
@@ -6853,7 +6852,7 @@ static void body(jsi::Runtime &rt,
6853
6852
  }
6854
6853
 
6855
6854
  static void
6856
- callback(uint64_t rs_uniffiHandle, RustBuffer rs_secretKey,
6855
+ callback(uint64_t rs_uniffiHandle, RustBuffer rs_encryptedSecret,
6857
6856
  RustBuffer rs_receiverPublicKey,
6858
6857
  UniffiForeignFutureCompleteRustBuffer rs_uniffiFutureCallback,
6859
6858
  uint64_t rs_uniffiCallbackData,
@@ -6873,7 +6872,7 @@ callback(uint64_t rs_uniffiHandle, RustBuffer rs_secretKey,
6873
6872
 
6874
6873
  // The runtime, the actual callback jsi::funtion, and the callInvoker
6875
6874
  // are all in the lambda.
6876
- rsLambda(rs_uniffiHandle, rs_secretKey, rs_receiverPublicKey,
6875
+ rsLambda(rs_uniffiHandle, rs_encryptedSecret, rs_receiverPublicKey,
6877
6876
  rs_uniffiFutureCallback, rs_uniffiCallbackData, rs_uniffiOutReturn);
6878
6877
  }
6879
6878
 
@@ -6897,7 +6896,7 @@ makeCallbackFunction( // uniffi::breez_sdk_spark::cb::callbackinterfaceexternals
6897
6896
  auto callbackFunction = value.asObject(rt).asFunction(rt);
6898
6897
  auto callbackValue = std::make_shared<jsi::Value>(rt, callbackFunction);
6899
6898
  rsLambda = [&rt, callInvoker, callbackValue](
6900
- uint64_t rs_uniffiHandle, RustBuffer rs_secretKey,
6899
+ uint64_t rs_uniffiHandle, RustBuffer rs_encryptedSecret,
6901
6900
  RustBuffer rs_receiverPublicKey,
6902
6901
  UniffiForeignFutureCompleteRustBuffer rs_uniffiFutureCallback,
6903
6902
  uint64_t rs_uniffiCallbackData,
@@ -6905,12 +6904,13 @@ makeCallbackFunction( // uniffi::breez_sdk_spark::cb::callbackinterfaceexternals
6905
6904
  // We immediately make a lambda which will do the work of transforming the
6906
6905
  // arguments into JSI values and calling the callback.
6907
6906
  uniffi_runtime::UniffiCallFunc jsLambda =
6908
- [callInvoker, callbackValue, rs_uniffiHandle, rs_secretKey,
6907
+ [callInvoker, callbackValue, rs_uniffiHandle, rs_encryptedSecret,
6909
6908
  rs_receiverPublicKey, rs_uniffiFutureCallback, rs_uniffiCallbackData,
6910
6909
  rs_uniffiOutReturn](jsi::Runtime &rt) mutable {
6911
- body(rt, callInvoker, callbackValue, rs_uniffiHandle, rs_secretKey,
6912
- rs_receiverPublicKey, rs_uniffiFutureCallback,
6913
- rs_uniffiCallbackData, rs_uniffiOutReturn);
6910
+ body(rt, callInvoker, callbackValue, rs_uniffiHandle,
6911
+ rs_encryptedSecret, rs_receiverPublicKey,
6912
+ rs_uniffiFutureCallback, rs_uniffiCallbackData,
6913
+ rs_uniffiOutReturn);
6914
6914
  };
6915
6915
  // We'll then call that lambda from the callInvoker which will
6916
6916
  // look after calling it on the correct thread.
@@ -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_secretKey,
6963
+ uint64_t rs_uniffiHandle, RustBuffer rs_secret,
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_secretKey = uniffi::breez_sdk_spark::Bridging<RustBuffer>::toJs(
6973
- rt, callInvoker, rs_secretKey);
6972
+ auto js_secret = uniffi::breez_sdk_spark::Bridging<RustBuffer>::toJs(
6973
+ rt, callInvoker, rs_secret);
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_secretKey,
6986
+ auto uniffiResult = cb.call(rt, js_uniffiHandle, js_secret,
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_secretKey,
7002
+ callback(uint64_t rs_uniffiHandle, RustBuffer rs_secret,
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_secretKey,
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_secretKey, rs_uniffiFutureCallback,
7021
+ rsLambda(rs_uniffiHandle, rs_secret, 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_secretKey,
7045
+ uint64_t rs_uniffiHandle, RustBuffer rs_secret,
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_secretKey,
7052
+ [callInvoker, callbackValue, rs_uniffiHandle, rs_secret,
7053
7053
  rs_uniffiFutureCallback, rs_uniffiCallbackData,
7054
7054
  rs_uniffiOutReturn](jsi::Runtime &rt) mutable {
7055
- body(rt, callInvoker, callbackValue, rs_uniffiHandle, rs_secretKey,
7055
+ body(rt, callInvoker, callbackValue, rs_uniffiHandle, rs_secret,
7056
7056
  rs_uniffiFutureCallback, rs_uniffiCallbackData,
7057
7057
  rs_uniffiOutReturn);
7058
7058
  };
@@ -11649,35 +11649,33 @@ template <> struct Bridging<UniffiVTableCallbackInterfaceExternalSigner> {
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
- rsObject.generate_random_key = uniffi::breez_sdk_spark::cb::
11652
+ rsObject.generate_random_secret = uniffi::breez_sdk_spark::cb::
11653
11653
  callbackinterfaceexternalsignermethod10::makeCallbackFunction(
11654
- rt, callInvoker, jsObject.getProperty(rt, "generateRandomKey"));
11655
- rsObject.static_deposit_secret_key_encrypted = uniffi::breez_sdk_spark::cb::
11654
+ rt, callInvoker, jsObject.getProperty(rt, "generateRandomSecret"));
11655
+ rsObject.static_deposit_secret_encrypted = uniffi::breez_sdk_spark::cb::
11656
11656
  callbackinterfaceexternalsignermethod11::makeCallbackFunction(
11657
11657
  rt, callInvoker,
11658
- jsObject.getProperty(rt, "staticDepositSecretKeyEncrypted"));
11659
- rsObject.static_deposit_secret_key = uniffi::breez_sdk_spark::cb::
11658
+ jsObject.getProperty(rt, "staticDepositSecretEncrypted"));
11659
+ rsObject.static_deposit_secret = uniffi::breez_sdk_spark::cb::
11660
11660
  callbackinterfaceexternalsignermethod12::makeCallbackFunction(
11661
- rt, callInvoker,
11662
- jsObject.getProperty(rt, "staticDepositSecretKey"));
11661
+ rt, callInvoker, jsObject.getProperty(rt, "staticDepositSecret"));
11663
11662
  rsObject.static_deposit_signing_key = uniffi::breez_sdk_spark::cb::
11664
11663
  callbackinterfaceexternalsignermethod13::makeCallbackFunction(
11665
11664
  rt, callInvoker,
11666
11665
  jsObject.getProperty(rt, "staticDepositSigningKey"));
11667
- rsObject.subtract_secret_keys = uniffi::breez_sdk_spark::cb::
11666
+ rsObject.subtract_secrets = uniffi::breez_sdk_spark::cb::
11668
11667
  callbackinterfaceexternalsignermethod14::makeCallbackFunction(
11669
- rt, callInvoker, jsObject.getProperty(rt, "subtractSecretKeys"));
11668
+ rt, callInvoker, jsObject.getProperty(rt, "subtractSecrets"));
11670
11669
  rsObject.split_secret_with_proofs = uniffi::breez_sdk_spark::cb::
11671
11670
  callbackinterfaceexternalsignermethod15::makeCallbackFunction(
11672
11671
  rt, callInvoker, jsObject.getProperty(rt, "splitSecretWithProofs"));
11673
- rsObject.encrypt_secret_key_for_receiver = uniffi::breez_sdk_spark::cb::
11672
+ rsObject.encrypt_secret_for_receiver = uniffi::breez_sdk_spark::cb::
11674
11673
  callbackinterfaceexternalsignermethod16::makeCallbackFunction(
11675
11674
  rt, callInvoker,
11676
- jsObject.getProperty(rt, "encryptSecretKeyForReceiver"));
11677
- rsObject.public_key_from_secret_key_source = uniffi::breez_sdk_spark::cb::
11675
+ jsObject.getProperty(rt, "encryptSecretForReceiver"));
11676
+ rsObject.public_key_from_secret = uniffi::breez_sdk_spark::cb::
11678
11677
  callbackinterfaceexternalsignermethod17::makeCallbackFunction(
11679
- rt, callInvoker,
11680
- jsObject.getProperty(rt, "publicKeyFromSecretKeySource"));
11678
+ rt, callInvoker, jsObject.getProperty(rt, "publicKeyFromSecret"));
11681
11679
  rsObject.sign_frost = uniffi::breez_sdk_spark::cb::
11682
11680
  callbackinterfaceexternalsignermethod18::makeCallbackFunction(
11683
11681
  rt, callInvoker, jsObject.getProperty(rt, "signFrost"));
@@ -12691,40 +12689,40 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
12691
12689
  rt, thisVal, args, count);
12692
12690
  });
12693
12691
  props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_"
12694
- "key"] = jsi::Function::createFromHostFunction(
12692
+ "secret"] = jsi::Function::createFromHostFunction(
12695
12693
  rt,
12696
12694
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
12697
- "externalsigner_generate_random_key"),
12695
+ "externalsigner_generate_random_secret"),
12698
12696
  1,
12699
12697
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12700
12698
  const jsi::Value *args, size_t count) -> jsi::Value {
12701
12699
  return this
12702
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_key(
12700
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_secret(
12703
12701
  rt, thisVal, args, count);
12704
12702
  });
12705
12703
  props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_"
12706
- "secret_key_encrypted"] = jsi::Function::createFromHostFunction(
12704
+ "secret_encrypted"] = jsi::Function::createFromHostFunction(
12707
12705
  rt,
12708
12706
  jsi::PropNameID::forAscii(
12709
12707
  rt, "ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_"
12710
- "deposit_secret_key_encrypted"),
12708
+ "deposit_secret_encrypted"),
12711
12709
  2,
12712
12710
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12713
12711
  const jsi::Value *args, size_t count) -> jsi::Value {
12714
12712
  return this
12715
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key_encrypted(
12713
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_encrypted(
12716
12714
  rt, thisVal, args, count);
12717
12715
  });
12718
12716
  props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_"
12719
- "secret_key"] = jsi::Function::createFromHostFunction(
12717
+ "secret"] = jsi::Function::createFromHostFunction(
12720
12718
  rt,
12721
12719
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
12722
- "externalsigner_static_deposit_secret_key"),
12720
+ "externalsigner_static_deposit_secret"),
12723
12721
  2,
12724
12722
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12725
12723
  const jsi::Value *args, size_t count) -> jsi::Value {
12726
12724
  return this
12727
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key(
12725
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret(
12728
12726
  rt, thisVal, args, count);
12729
12727
  });
12730
12728
  props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_"
@@ -12740,16 +12738,16 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
12740
12738
  ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_signing_key(
12741
12739
  rt, thisVal, args, count);
12742
12740
  });
12743
- props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_"
12744
- "keys"] = jsi::Function::createFromHostFunction(
12741
+ props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_"
12742
+ "secrets"] = jsi::Function::createFromHostFunction(
12745
12743
  rt,
12746
12744
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
12747
- "externalsigner_subtract_secret_keys"),
12745
+ "externalsigner_subtract_secrets"),
12748
12746
  3,
12749
12747
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12750
12748
  const jsi::Value *args, size_t count) -> jsi::Value {
12751
12749
  return this
12752
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_keys(
12750
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secrets(
12753
12751
  rt, thisVal, args, count);
12754
12752
  });
12755
12753
  props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret_"
@@ -12765,29 +12763,28 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
12765
12763
  rt, thisVal, args, count);
12766
12764
  });
12767
12765
  props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_"
12768
- "key_for_receiver"] = jsi::Function::createFromHostFunction(
12766
+ "for_receiver"] = jsi::Function::createFromHostFunction(
12769
12767
  rt,
12770
- jsi::PropNameID::forAscii(
12771
- rt, "ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_"
12772
- "secret_key_for_receiver"),
12768
+ jsi::PropNameID::forAscii(rt,
12769
+ "ubrn_uniffi_breez_sdk_spark_fn_method_"
12770
+ "externalsigner_encrypt_secret_for_receiver"),
12773
12771
  3,
12774
12772
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12775
12773
  const jsi::Value *args, size_t count) -> jsi::Value {
12776
12774
  return this
12777
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_key_for_receiver(
12775
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_for_receiver(
12778
12776
  rt, thisVal, args, count);
12779
12777
  });
12780
12778
  props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_"
12781
- "secret_key_source"] = jsi::Function::createFromHostFunction(
12779
+ "secret"] = jsi::Function::createFromHostFunction(
12782
12780
  rt,
12783
- jsi::PropNameID::forAscii(
12784
- rt, "ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_"
12785
- "from_secret_key_source"),
12781
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_fn_method_"
12782
+ "externalsigner_public_key_from_secret"),
12786
12783
  2,
12787
12784
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
12788
12785
  const jsi::Value *args, size_t count) -> jsi::Value {
12789
12786
  return this
12790
- ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_secret_key_source(
12787
+ ->cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_secret(
12791
12788
  rt, thisVal, args, count);
12792
12789
  });
12793
12790
  props["ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_frost"] =
@@ -14859,42 +14856,42 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
14859
14856
  rt, thisVal, args, count);
14860
14857
  });
14861
14858
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_"
14862
- "random_key"] = jsi::Function::createFromHostFunction(
14859
+ "random_secret"] = jsi::Function::createFromHostFunction(
14863
14860
  rt,
14864
14861
  jsi::PropNameID::forAscii(rt,
14865
14862
  "ubrn_uniffi_breez_sdk_spark_checksum_method_"
14866
- "externalsigner_generate_random_key"),
14863
+ "externalsigner_generate_random_secret"),
14867
14864
  0,
14868
14865
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14869
14866
  const jsi::Value *args, size_t count) -> jsi::Value {
14870
14867
  return this
14871
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_key(
14868
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_secret(
14872
14869
  rt, thisVal, args, count);
14873
14870
  });
14874
14871
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_"
14875
- "deposit_secret_key_encrypted"] = jsi::Function::createFromHostFunction(
14872
+ "deposit_secret_encrypted"] = jsi::Function::createFromHostFunction(
14876
14873
  rt,
14877
14874
  jsi::PropNameID::forAscii(
14878
14875
  rt, "ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_"
14879
- "static_deposit_secret_key_encrypted"),
14876
+ "static_deposit_secret_encrypted"),
14880
14877
  0,
14881
14878
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14882
14879
  const jsi::Value *args, size_t count) -> jsi::Value {
14883
14880
  return this
14884
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key_encrypted(
14881
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_encrypted(
14885
14882
  rt, thisVal, args, count);
14886
14883
  });
14887
14884
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_"
14888
- "deposit_secret_key"] = jsi::Function::createFromHostFunction(
14885
+ "deposit_secret"] = jsi::Function::createFromHostFunction(
14889
14886
  rt,
14890
14887
  jsi::PropNameID::forAscii(rt,
14891
14888
  "ubrn_uniffi_breez_sdk_spark_checksum_method_"
14892
- "externalsigner_static_deposit_secret_key"),
14889
+ "externalsigner_static_deposit_secret"),
14893
14890
  0,
14894
14891
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14895
14892
  const jsi::Value *args, size_t count) -> jsi::Value {
14896
14893
  return this
14897
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key(
14894
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret(
14898
14895
  rt, thisVal, args, count);
14899
14896
  });
14900
14897
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_"
@@ -14911,16 +14908,15 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
14911
14908
  rt, thisVal, args, count);
14912
14909
  });
14913
14910
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_"
14914
- "secret_keys"] = jsi::Function::createFromHostFunction(
14911
+ "secrets"] = jsi::Function::createFromHostFunction(
14915
14912
  rt,
14916
- jsi::PropNameID::forAscii(rt,
14917
- "ubrn_uniffi_breez_sdk_spark_checksum_method_"
14918
- "externalsigner_subtract_secret_keys"),
14913
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_breez_sdk_spark_checksum_"
14914
+ "method_externalsigner_subtract_secrets"),
14919
14915
  0,
14920
14916
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14921
14917
  const jsi::Value *args, size_t count) -> jsi::Value {
14922
14918
  return this
14923
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secret_keys(
14919
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secrets(
14924
14920
  rt, thisVal, args, count);
14925
14921
  });
14926
14922
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_"
@@ -14937,29 +14933,29 @@ NativeBreezSdkSpark::NativeBreezSdkSpark(
14937
14933
  rt, thisVal, args, count);
14938
14934
  });
14939
14935
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_"
14940
- "secret_key_for_receiver"] = jsi::Function::createFromHostFunction(
14936
+ "secret_for_receiver"] = jsi::Function::createFromHostFunction(
14941
14937
  rt,
14942
- jsi::PropNameID::forAscii(
14943
- rt, "ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_"
14944
- "encrypt_secret_key_for_receiver"),
14938
+ jsi::PropNameID::forAscii(rt,
14939
+ "ubrn_uniffi_breez_sdk_spark_checksum_method_"
14940
+ "externalsigner_encrypt_secret_for_receiver"),
14945
14941
  0,
14946
14942
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14947
14943
  const jsi::Value *args, size_t count) -> jsi::Value {
14948
14944
  return this
14949
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_key_for_receiver(
14945
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_for_receiver(
14950
14946
  rt, thisVal, args, count);
14951
14947
  });
14952
14948
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_"
14953
- "from_secret_key_source"] = jsi::Function::createFromHostFunction(
14949
+ "from_secret"] = jsi::Function::createFromHostFunction(
14954
14950
  rt,
14955
- jsi::PropNameID::forAscii(
14956
- rt, "ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_"
14957
- "public_key_from_secret_key_source"),
14951
+ jsi::PropNameID::forAscii(rt,
14952
+ "ubrn_uniffi_breez_sdk_spark_checksum_method_"
14953
+ "externalsigner_public_key_from_secret"),
14958
14954
  0,
14959
14955
  [this](jsi::Runtime &rt, const jsi::Value &thisVal,
14960
14956
  const jsi::Value *args, size_t count) -> jsi::Value {
14961
14957
  return this
14962
- ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret_key_source(
14958
+ ->cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret(
14963
14959
  rt, thisVal, args, count);
14964
14960
  });
14965
14961
  props["ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_"
@@ -16921,22 +16917,22 @@ jsi::Value NativeBreezSdkSpark::
16921
16917
  value);
16922
16918
  }
16923
16919
  jsi::Value NativeBreezSdkSpark::
16924
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_key(
16920
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_secret(
16925
16921
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
16926
16922
  size_t count) {
16927
16923
  auto value =
16928
- uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_key(
16924
+ uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_secret(
16929
16925
  uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]));
16930
16926
 
16931
16927
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
16932
16928
  value);
16933
16929
  }
16934
16930
  jsi::Value NativeBreezSdkSpark::
16935
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key_encrypted(
16931
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_encrypted(
16936
16932
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
16937
16933
  size_t count) {
16938
16934
  auto value =
16939
- uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key_encrypted(
16935
+ uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_encrypted(
16940
16936
  uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
16941
16937
  uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]));
16942
16938
 
@@ -16944,11 +16940,11 @@ jsi::Value NativeBreezSdkSpark::
16944
16940
  value);
16945
16941
  }
16946
16942
  jsi::Value NativeBreezSdkSpark::
16947
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key(
16943
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret(
16948
16944
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
16949
16945
  size_t count) {
16950
16946
  auto value =
16951
- uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key(
16947
+ uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret(
16952
16948
  uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
16953
16949
  uniffi_jsi::Bridging<uint32_t>::fromJs(rt, callInvoker, args[1]));
16954
16950
 
@@ -16968,16 +16964,15 @@ jsi::Value NativeBreezSdkSpark::
16968
16964
  value);
16969
16965
  }
16970
16966
  jsi::Value NativeBreezSdkSpark::
16971
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_keys(
16967
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secrets(
16972
16968
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
16973
16969
  size_t count) {
16974
- auto value =
16975
- uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_keys(
16976
- uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
16977
- uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
16978
- args[1]),
16979
- uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
16980
- args[2]));
16970
+ auto value = uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secrets(
16971
+ uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
16972
+ uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
16973
+ args[1]),
16974
+ uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
16975
+ args[2]));
16981
16976
 
16982
16977
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker,
16983
16978
  value);
@@ -16998,11 +16993,11 @@ jsi::Value NativeBreezSdkSpark::
16998
16993
  value);
16999
16994
  }
17000
16995
  jsi::Value NativeBreezSdkSpark::
17001
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_key_for_receiver(
16996
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_for_receiver(
17002
16997
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
17003
16998
  size_t count) {
17004
16999
  auto value =
17005
- uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_key_for_receiver(
17000
+ uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_for_receiver(
17006
17001
  uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
17007
17002
  uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
17008
17003
  args[1]),
@@ -17013,11 +17008,11 @@ jsi::Value NativeBreezSdkSpark::
17013
17008
  value);
17014
17009
  }
17015
17010
  jsi::Value NativeBreezSdkSpark::
17016
- cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_secret_key_source(
17011
+ cpp_uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_secret(
17017
17012
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
17018
17013
  size_t count) {
17019
17014
  auto value =
17020
- uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_secret_key_source(
17015
+ uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_secret(
17021
17016
  uniffi_jsi::Bridging<void *>::fromJs(rt, callInvoker, args[0]),
17022
17017
  uniffi::breez_sdk_spark::Bridging<RustBuffer>::fromJs(rt, callInvoker,
17023
17018
  args[1]));
@@ -18980,29 +18975,29 @@ jsi::Value NativeBreezSdkSpark::
18980
18975
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
18981
18976
  }
18982
18977
  jsi::Value NativeBreezSdkSpark::
18983
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_key(
18978
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_secret(
18984
18979
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
18985
18980
  size_t count) {
18986
18981
  auto value =
18987
- uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_key();
18982
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_secret();
18988
18983
 
18989
18984
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
18990
18985
  }
18991
18986
  jsi::Value NativeBreezSdkSpark::
18992
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key_encrypted(
18987
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_encrypted(
18993
18988
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
18994
18989
  size_t count) {
18995
18990
  auto value =
18996
- uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key_encrypted();
18991
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_encrypted();
18997
18992
 
18998
18993
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
18999
18994
  }
19000
18995
  jsi::Value NativeBreezSdkSpark::
19001
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key(
18996
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret(
19002
18997
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
19003
18998
  size_t count) {
19004
18999
  auto value =
19005
- uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key();
19000
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret();
19006
19001
 
19007
19002
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
19008
19003
  }
@@ -19016,11 +19011,11 @@ jsi::Value NativeBreezSdkSpark::
19016
19011
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
19017
19012
  }
19018
19013
  jsi::Value NativeBreezSdkSpark::
19019
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secret_keys(
19014
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secrets(
19020
19015
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
19021
19016
  size_t count) {
19022
19017
  auto value =
19023
- uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secret_keys();
19018
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secrets();
19024
19019
 
19025
19020
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
19026
19021
  }
@@ -19034,20 +19029,20 @@ jsi::Value NativeBreezSdkSpark::
19034
19029
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
19035
19030
  }
19036
19031
  jsi::Value NativeBreezSdkSpark::
19037
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_key_for_receiver(
19032
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_for_receiver(
19038
19033
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
19039
19034
  size_t count) {
19040
19035
  auto value =
19041
- uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_key_for_receiver();
19036
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_for_receiver();
19042
19037
 
19043
19038
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
19044
19039
  }
19045
19040
  jsi::Value NativeBreezSdkSpark::
19046
- cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret_key_source(
19041
+ cpp_uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret(
19047
19042
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
19048
19043
  size_t count) {
19049
19044
  auto value =
19050
- uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret_key_source();
19045
+ uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret();
19051
19046
 
19052
19047
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
19053
19048
  }