@secondts/bark-react-native 0.22.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -60,7 +60,7 @@ npx expo install @secondts/bark-react-native@beta
60
60
 
61
61
  ```bash
62
62
  # Or install a specific beta version
63
- npx expo install @secondts/bark-react-native@0.22.0
63
+ npx expo install @secondts/bark-react-native@0.23.0
64
64
  ```
65
65
 
66
66
  For bare React Native projects, use:
@@ -169,17 +169,23 @@ extern "C" {
169
169
  typedef void
170
170
  (*UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod6)(
171
171
  uint64_t uniffi_handle,
172
+ RustBuffer txid,
173
+ void * uniffi_out_return, RustCallStatus* rust_call_status
174
+ );
175
+ typedef void
176
+ (*UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod7)(
177
+ uint64_t uniffi_handle,
172
178
  RustBuffer params,
173
179
  RustBuffer * uniffi_out_return, RustCallStatus* rust_call_status
174
180
  );
175
181
  typedef void
176
- (*UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod7)(
182
+ (*UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod8)(
177
183
  uint64_t uniffi_handle,
178
184
  RustBuffer tx_hex,
179
185
  void * uniffi_out_return, RustCallStatus* rust_call_status
180
186
  );
181
187
  typedef void
182
- (*UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod8)(
188
+ (*UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod9)(
183
189
  uint64_t uniffi_handle,
184
190
  void * uniffi_out_return, RustCallStatus* rust_call_status
185
191
  );
@@ -199,9 +205,10 @@ extern "C" {
199
205
  UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod3 finish_psbt;
200
206
  UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod4 is_mine;
201
207
  UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod5 register_tx;
202
- UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod6 make_signed_p2a_cpfp;
203
- UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod7 store_signed_p2a_cpfp;
204
- UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod8 sync;
208
+ UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod6 evict_tx;
209
+ UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod7 make_signed_p2a_cpfp;
210
+ UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod8 store_signed_p2a_cpfp;
211
+ UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod9 sync;
205
212
  } UniffiVTableCallbackInterfaceCustomOnchainWalletCallbacks;typedef struct UniffiVTableCallbackInterfaceBarkLogger {
206
213
  UniffiCallbackInterfaceFree uniffi_free;
207
214
  UniffiCallbackInterfaceClone uniffi_clone;
@@ -264,6 +271,11 @@ extern "C" {
264
271
  RustBuffer tx_hex,
265
272
  RustCallStatus *uniffi_out_err
266
273
  );
274
+ void uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_evict_tx(
275
+ /*handle*/ uint64_t ptr,
276
+ RustBuffer txid,
277
+ RustCallStatus *uniffi_out_err
278
+ );
267
279
  RustBuffer uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_make_signed_p2a_cpfp(
268
280
  /*handle*/ uint64_t ptr,
269
281
  RustBuffer params,
@@ -317,6 +329,10 @@ extern "C" {
317
329
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_onchainwallet_balance(
318
330
  /*handle*/ uint64_t ptr
319
331
  );
332
+ /*handle*/ uint64_t uniffi_bark_ffi_fn_method_onchainwallet_evict_tx(
333
+ /*handle*/ uint64_t ptr,
334
+ RustBuffer txid
335
+ );
320
336
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_onchainwallet_fee_rates(
321
337
  /*handle*/ uint64_t ptr
322
338
  );
@@ -663,6 +679,10 @@ extern "C" {
663
679
  /*handle*/ uint64_t ptr,
664
680
  RustCallStatus *uniffi_out_err
665
681
  );
682
+ RustBuffer uniffi_bark_ffi_fn_method_wallet_recovery_status(
683
+ /*handle*/ uint64_t ptr,
684
+ RustCallStatus *uniffi_out_err
685
+ );
666
686
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_refresh_server(
667
687
  /*handle*/ uint64_t ptr
668
688
  );
@@ -713,6 +733,9 @@ extern "C" {
713
733
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_stop_daemon(
714
734
  /*handle*/ uint64_t ptr
715
735
  );
736
+ /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_stop_daemon_wait(
737
+ /*handle*/ uint64_t ptr
738
+ );
716
739
  /*handle*/ uint64_t uniffi_bark_ffi_fn_method_wallet_stuck_failed_lightning_sends(
717
740
  /*handle*/ uint64_t ptr
718
741
  );
@@ -1004,6 +1027,8 @@ extern "C" {
1004
1027
  );
1005
1028
  uint16_t uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_register_tx(
1006
1029
  );
1030
+ uint16_t uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_evict_tx(
1031
+ );
1007
1032
  uint16_t uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_make_signed_p2a_cpfp(
1008
1033
  );
1009
1034
  uint16_t uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_store_signed_p2a_cpfp(
@@ -1014,6 +1039,8 @@ extern "C" {
1014
1039
  );
1015
1040
  uint16_t uniffi_bark_ffi_checksum_method_onchainwallet_balance(
1016
1041
  );
1042
+ uint16_t uniffi_bark_ffi_checksum_method_onchainwallet_evict_tx(
1043
+ );
1017
1044
  uint16_t uniffi_bark_ffi_checksum_method_onchainwallet_fee_rates(
1018
1045
  );
1019
1046
  uint16_t uniffi_bark_ffi_checksum_method_onchainwallet_initial_scan(
@@ -1184,6 +1211,8 @@ extern "C" {
1184
1211
  );
1185
1212
  uint16_t uniffi_bark_ffi_checksum_method_wallet_recovery_report(
1186
1213
  );
1214
+ uint16_t uniffi_bark_ffi_checksum_method_wallet_recovery_status(
1215
+ );
1187
1216
  uint16_t uniffi_bark_ffi_checksum_method_wallet_refresh_server(
1188
1217
  );
1189
1218
  uint16_t uniffi_bark_ffi_checksum_method_wallet_refresh_vtxos(
@@ -1210,6 +1239,8 @@ extern "C" {
1210
1239
  );
1211
1240
  uint16_t uniffi_bark_ffi_checksum_method_wallet_stop_daemon(
1212
1241
  );
1242
+ uint16_t uniffi_bark_ffi_checksum_method_wallet_stop_daemon_wait(
1243
+ );
1213
1244
  uint16_t uniffi_bark_ffi_checksum_method_wallet_stuck_failed_lightning_sends(
1214
1245
  );
1215
1246
  uint16_t uniffi_bark_ffi_checksum_method_wallet_sync(
@@ -3802,7 +3833,7 @@ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod5
3802
3833
  rsLambda = nullptr;
3803
3834
  }
3804
3835
  } // namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod5::vtablecallbackinterfacecustomonchainwalletcallbacks
3805
- // Implementation of CallbackInterfaceCustomOnchainWalletCallbacksMethod6 for vtable field make_signed_p2a_cpfp in VTableCallbackInterfaceCustomOnchainWalletCallbacks
3836
+ // Implementation of CallbackInterfaceCustomOnchainWalletCallbacksMethod6 for vtable field evict_tx in VTableCallbackInterfaceCustomOnchainWalletCallbacks
3806
3837
 
3807
3838
 
3808
3839
  // Callback function: uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod6::vtablecallbackinterfacecustomonchainwalletcallbacks::UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod6
@@ -3820,6 +3851,137 @@ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod5
3820
3851
  namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod6::vtablecallbackinterfacecustomonchainwalletcallbacks {
3821
3852
  using namespace facebook;
3822
3853
 
3854
+ // We need to store a lambda in a global so we can call it from
3855
+ // a function pointer. The function pointer is passed to Rust.
3856
+ static std::function<void(uint64_t, RustBuffer, void *, RustCallStatus*)> rsLambda = nullptr;
3857
+
3858
+ // This is the main body of the callback. It's called from the lambda,
3859
+ // which itself is called from the callback function which is passed to Rust.
3860
+ static void body(jsi::Runtime &rt,
3861
+ std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker,
3862
+ std::shared_ptr<jsi::Value> callbackValue
3863
+ ,uint64_t rs_uniffiHandle
3864
+ ,RustBuffer rs_txid
3865
+ ,void * rs_uniffiOutReturn, RustCallStatus* uniffi_call_status) {
3866
+
3867
+ // Convert the arguments from Rust, into jsi::Values.
3868
+ // We'll use the Bridging class to do this…
3869
+ auto js_uniffiHandle = uniffi_jsi::Bridging<uint64_t>::toJs(rt, callInvoker, rs_uniffiHandle);
3870
+ auto js_txid = uniffi::bark::Bridging<RustBuffer>::toJs(rt, callInvoker, rs_txid);
3871
+
3872
+ // Now we are ready to call the callback.
3873
+ // We are already on the JS thread, because this `body` function was
3874
+ // invoked from the CallInvoker.
3875
+ try {
3876
+ // Getting the callback function
3877
+ auto cb = callbackValue->asObject(rt).asFunction(rt);
3878
+ auto uniffiResult = cb.call(rt, js_uniffiHandle, js_txid
3879
+ );
3880
+
3881
+ // Now copy the result back from JS into the RustCallStatus object.
3882
+ uniffi::bark::Bridging<RustCallStatus>::copyFromJs(rt, callInvoker, uniffiResult, uniffi_call_status);
3883
+
3884
+ if (uniffi_call_status->code != UNIFFI_CALL_STATUS_OK) {
3885
+ // The JS callback finished abnormally, so we cannot retrieve the return value.
3886
+ return;
3887
+ }
3888
+
3889
+
3890
+ } catch (const jsi::JSError &error) {
3891
+ std::cout << "Error in callback UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod6: "
3892
+ << error.what() << std::endl;
3893
+ throw error;
3894
+ }
3895
+ }
3896
+
3897
+ static void callback(uint64_t rs_uniffiHandle, RustBuffer rs_txid, void * rs_uniffiOutReturn, RustCallStatus* uniffi_call_status) {
3898
+ // If the runtime has shutdown, then there is no point in trying to
3899
+ // call into Javascript. BUT how do we tell if the runtime has shutdown?
3900
+ //
3901
+ // Answer: the module destructor calls into callback `cleanup` method,
3902
+ // which nulls out the rsLamda.
3903
+ //
3904
+ // If rsLamda is null, then there is no runtime to call into.
3905
+ if (rsLambda == nullptr) {
3906
+ // This only occurs when destructors are calling into Rust free/drop,
3907
+ // which causes the JS callback to be dropped.
3908
+ return;
3909
+ }
3910
+
3911
+ // The runtime, the actual callback jsi::funtion, and the callInvoker
3912
+ // are all in the lambda.
3913
+ rsLambda(
3914
+ rs_uniffiHandle,
3915
+ rs_txid,
3916
+ rs_uniffiOutReturn, uniffi_call_status);
3917
+ }
3918
+
3919
+ [[maybe_unused]] static UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod6
3920
+ makeCallbackFunction( // uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod6::vtablecallbackinterfacecustomonchainwalletcallbacks
3921
+ jsi::Runtime &rt,
3922
+ std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker,
3923
+ const jsi::Value &value) {
3924
+ if (rsLambda != nullptr) {
3925
+ // `makeCallbackFunction` is called in two circumstances:
3926
+ //
3927
+ // 1. at startup, when initializing callback interface vtables.
3928
+ // 2. when polling futures. This happens at least once per future that is
3929
+ // exposed to Javascript. We know that this is always the same function,
3930
+ // `uniffiFutureContinuationCallback` in `async-rust-calls.ts`.
3931
+ //
3932
+ // We can therefore return the callback function without making anything
3933
+ // new if we've been initialized already.
3934
+ return callback;
3935
+ }
3936
+ auto callbackFunction = value.asObject(rt).asFunction(rt);
3937
+ auto callbackValue = std::make_shared<jsi::Value>(rt, callbackFunction);
3938
+ rsLambda = [&rt, callInvoker, callbackValue](uint64_t rs_uniffiHandle, RustBuffer rs_txid, void * rs_uniffiOutReturn, RustCallStatus* uniffi_call_status) {
3939
+ // We immediately make a lambda which will do the work of transforming the
3940
+ // arguments into JSI values and calling the callback.
3941
+ uniffi_runtime::UniffiCallFunc jsLambda = [
3942
+ callInvoker,
3943
+ callbackValue
3944
+ , rs_uniffiHandle
3945
+ , rs_txid
3946
+ , rs_uniffiOutReturn, uniffi_call_status](jsi::Runtime &rt) mutable {
3947
+ body(rt, callInvoker, callbackValue
3948
+ , rs_uniffiHandle
3949
+ , rs_txid
3950
+ , rs_uniffiOutReturn, uniffi_call_status);
3951
+ };
3952
+ // We'll then call that lambda from the callInvoker which will
3953
+ // look after calling it on the correct thread.
3954
+ callInvoker->invokeBlocking(rt, jsLambda);
3955
+ };
3956
+ return callback;
3957
+ }
3958
+
3959
+ // This method is called from the destructor of NativeBark, which only happens
3960
+ // when the jsi::Runtime is being destroyed.
3961
+ static void cleanup() {
3962
+ // The lambda holds a reference to the the Runtime, so when this is nulled out,
3963
+ // then the pointer will no longer be left dangling.
3964
+ rsLambda = nullptr;
3965
+ }
3966
+ } // namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod6::vtablecallbackinterfacecustomonchainwalletcallbacks
3967
+ // Implementation of CallbackInterfaceCustomOnchainWalletCallbacksMethod7 for vtable field make_signed_p2a_cpfp in VTableCallbackInterfaceCustomOnchainWalletCallbacks
3968
+
3969
+
3970
+ // Callback function: uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7::vtablecallbackinterfacecustomonchainwalletcallbacks::UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod7
3971
+ //
3972
+ // We have the following constraints:
3973
+ // - we need to pass a function pointer to Rust.
3974
+ // - we need a jsi::Runtime and jsi::Function to call into JS.
3975
+ // - function pointers can't store state, so we can't use a lamda.
3976
+ //
3977
+ // For this, we store a lambda as a global, as `rsLambda`. The `callback` function calls
3978
+ // the lambda, which itself calls the `body` which then calls into JS.
3979
+ //
3980
+ // We then give the `callback` function pointer to Rust which will call the lambda sometime in the
3981
+ // future.
3982
+ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7::vtablecallbackinterfacecustomonchainwalletcallbacks {
3983
+ using namespace facebook;
3984
+
3823
3985
  // We need to store a lambda in a global so we can call it from
3824
3986
  // a function pointer. The function pointer is passed to Rust.
3825
3987
  static std::function<void(uint64_t, RustBuffer, RustBuffer *, RustCallStatus*)> rsLambda = nullptr;
@@ -3865,7 +4027,7 @@ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod6
3865
4027
  rt, callInvoker, uniffiResult
3866
4028
  );
3867
4029
  } catch (const jsi::JSError &error) {
3868
- std::cout << "Error in callback UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod6: "
4030
+ std::cout << "Error in callback UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod7: "
3869
4031
  << error.what() << std::endl;
3870
4032
  throw error;
3871
4033
  }
@@ -3893,8 +4055,8 @@ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod6
3893
4055
  rs_uniffiOutReturn, uniffi_call_status);
3894
4056
  }
3895
4057
 
3896
- [[maybe_unused]] static UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod6
3897
- makeCallbackFunction( // uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod6::vtablecallbackinterfacecustomonchainwalletcallbacks
4058
+ [[maybe_unused]] static UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod7
4059
+ makeCallbackFunction( // uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7::vtablecallbackinterfacecustomonchainwalletcallbacks
3898
4060
  jsi::Runtime &rt,
3899
4061
  std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker,
3900
4062
  const jsi::Value &value) {
@@ -3940,11 +4102,11 @@ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod6
3940
4102
  // then the pointer will no longer be left dangling.
3941
4103
  rsLambda = nullptr;
3942
4104
  }
3943
- } // namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod6::vtablecallbackinterfacecustomonchainwalletcallbacks
3944
- // Implementation of CallbackInterfaceCustomOnchainWalletCallbacksMethod7 for vtable field store_signed_p2a_cpfp in VTableCallbackInterfaceCustomOnchainWalletCallbacks
4105
+ } // namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7::vtablecallbackinterfacecustomonchainwalletcallbacks
4106
+ // Implementation of CallbackInterfaceCustomOnchainWalletCallbacksMethod8 for vtable field store_signed_p2a_cpfp in VTableCallbackInterfaceCustomOnchainWalletCallbacks
3945
4107
 
3946
4108
 
3947
- // Callback function: uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7::vtablecallbackinterfacecustomonchainwalletcallbacks::UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod7
4109
+ // Callback function: uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod8::vtablecallbackinterfacecustomonchainwalletcallbacks::UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod8
3948
4110
  //
3949
4111
  // We have the following constraints:
3950
4112
  // - we need to pass a function pointer to Rust.
@@ -3956,7 +4118,7 @@ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod6
3956
4118
  //
3957
4119
  // We then give the `callback` function pointer to Rust which will call the lambda sometime in the
3958
4120
  // future.
3959
- namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7::vtablecallbackinterfacecustomonchainwalletcallbacks {
4121
+ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod8::vtablecallbackinterfacecustomonchainwalletcallbacks {
3960
4122
  using namespace facebook;
3961
4123
 
3962
4124
  // We need to store a lambda in a global so we can call it from
@@ -3996,7 +4158,7 @@ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7
3996
4158
 
3997
4159
 
3998
4160
  } catch (const jsi::JSError &error) {
3999
- std::cout << "Error in callback UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod7: "
4161
+ std::cout << "Error in callback UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod8: "
4000
4162
  << error.what() << std::endl;
4001
4163
  throw error;
4002
4164
  }
@@ -4024,8 +4186,8 @@ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7
4024
4186
  rs_uniffiOutReturn, uniffi_call_status);
4025
4187
  }
4026
4188
 
4027
- [[maybe_unused]] static UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod7
4028
- makeCallbackFunction( // uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7::vtablecallbackinterfacecustomonchainwalletcallbacks
4189
+ [[maybe_unused]] static UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod8
4190
+ makeCallbackFunction( // uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod8::vtablecallbackinterfacecustomonchainwalletcallbacks
4029
4191
  jsi::Runtime &rt,
4030
4192
  std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker,
4031
4193
  const jsi::Value &value) {
@@ -4071,11 +4233,11 @@ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7
4071
4233
  // then the pointer will no longer be left dangling.
4072
4234
  rsLambda = nullptr;
4073
4235
  }
4074
- } // namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7::vtablecallbackinterfacecustomonchainwalletcallbacks
4075
- // Implementation of CallbackInterfaceCustomOnchainWalletCallbacksMethod8 for vtable field sync in VTableCallbackInterfaceCustomOnchainWalletCallbacks
4236
+ } // namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod8::vtablecallbackinterfacecustomonchainwalletcallbacks
4237
+ // Implementation of CallbackInterfaceCustomOnchainWalletCallbacksMethod9 for vtable field sync in VTableCallbackInterfaceCustomOnchainWalletCallbacks
4076
4238
 
4077
4239
 
4078
- // Callback function: uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod8::vtablecallbackinterfacecustomonchainwalletcallbacks::UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod8
4240
+ // Callback function: uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod9::vtablecallbackinterfacecustomonchainwalletcallbacks::UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod9
4079
4241
  //
4080
4242
  // We have the following constraints:
4081
4243
  // - we need to pass a function pointer to Rust.
@@ -4087,7 +4249,7 @@ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7
4087
4249
  //
4088
4250
  // We then give the `callback` function pointer to Rust which will call the lambda sometime in the
4089
4251
  // future.
4090
- namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod8::vtablecallbackinterfacecustomonchainwalletcallbacks {
4252
+ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod9::vtablecallbackinterfacecustomonchainwalletcallbacks {
4091
4253
  using namespace facebook;
4092
4254
 
4093
4255
  // We need to store a lambda in a global so we can call it from
@@ -4125,7 +4287,7 @@ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod8
4125
4287
 
4126
4288
 
4127
4289
  } catch (const jsi::JSError &error) {
4128
- std::cout << "Error in callback UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod8: "
4290
+ std::cout << "Error in callback UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod9: "
4129
4291
  << error.what() << std::endl;
4130
4292
  throw error;
4131
4293
  }
@@ -4152,8 +4314,8 @@ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod8
4152
4314
  rs_uniffiOutReturn, uniffi_call_status);
4153
4315
  }
4154
4316
 
4155
- [[maybe_unused]] static UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod8
4156
- makeCallbackFunction( // uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod8::vtablecallbackinterfacecustomonchainwalletcallbacks
4317
+ [[maybe_unused]] static UniffiCallbackInterfaceCustomOnchainWalletCallbacksMethod9
4318
+ makeCallbackFunction( // uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod9::vtablecallbackinterfacecustomonchainwalletcallbacks
4157
4319
  jsi::Runtime &rt,
4158
4320
  std::shared_ptr<uniffi_runtime::UniffiCallInvoker> callInvoker,
4159
4321
  const jsi::Value &value) {
@@ -4197,7 +4359,7 @@ namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod8
4197
4359
  // then the pointer will no longer be left dangling.
4198
4360
  rsLambda = nullptr;
4199
4361
  }
4200
- } // namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod8::vtablecallbackinterfacecustomonchainwalletcallbacks
4362
+ } // namespace uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod9::vtablecallbackinterfacecustomonchainwalletcallbacks
4201
4363
  namespace uniffi::bark {
4202
4364
  using namespace facebook;
4203
4365
  using CallInvoker = uniffi_runtime::UniffiCallInvoker;
@@ -4243,13 +4405,16 @@ template <> struct Bridging<UniffiVTableCallbackInterfaceCustomOnchainWalletCall
4243
4405
  rsObject.register_tx = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod5::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4244
4406
  rt, callInvoker, jsObject.getProperty(rt, "registerTx")
4245
4407
  );
4246
- rsObject.make_signed_p2a_cpfp = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod6::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4408
+ rsObject.evict_tx = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod6::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4409
+ rt, callInvoker, jsObject.getProperty(rt, "evictTx")
4410
+ );
4411
+ rsObject.make_signed_p2a_cpfp = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4247
4412
  rt, callInvoker, jsObject.getProperty(rt, "makeSignedP2aCpfp")
4248
4413
  );
4249
- rsObject.store_signed_p2a_cpfp = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4414
+ rsObject.store_signed_p2a_cpfp = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod8::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4250
4415
  rt, callInvoker, jsObject.getProperty(rt, "storeSignedP2aCpfp")
4251
4416
  );
4252
- rsObject.sync = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod8::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4417
+ rsObject.sync = uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod9::vtablecallbackinterfacecustomonchainwalletcallbacks::makeCallbackFunction(
4253
4418
  rt, callInvoker, jsObject.getProperty(rt, "sync")
4254
4419
  );
4255
4420
 
@@ -4720,6 +4885,14 @@ NativeBark::NativeBark(
4720
4885
  return this->cpp_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_register_tx(rt, thisVal, args, count);
4721
4886
  }
4722
4887
  );
4888
+ props["ubrn_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_evict_tx"] = jsi::Function::createFromHostFunction(
4889
+ rt,
4890
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_evict_tx"),
4891
+ 2,
4892
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
4893
+ return this->cpp_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_evict_tx(rt, thisVal, args, count);
4894
+ }
4895
+ );
4723
4896
  props["ubrn_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_make_signed_p2a_cpfp"] = jsi::Function::createFromHostFunction(
4724
4897
  rt,
4725
4898
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_make_signed_p2a_cpfp"),
@@ -4816,6 +4989,14 @@ NativeBark::NativeBark(
4816
4989
  return this->cpp_uniffi_bark_ffi_fn_method_onchainwallet_balance(rt, thisVal, args, count);
4817
4990
  }
4818
4991
  );
4992
+ props["ubrn_uniffi_bark_ffi_fn_method_onchainwallet_evict_tx"] = jsi::Function::createFromHostFunction(
4993
+ rt,
4994
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_onchainwallet_evict_tx"),
4995
+ 2,
4996
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
4997
+ return this->cpp_uniffi_bark_ffi_fn_method_onchainwallet_evict_tx(rt, thisVal, args, count);
4998
+ }
4999
+ );
4819
5000
  props["ubrn_uniffi_bark_ffi_fn_method_onchainwallet_fee_rates"] = jsi::Function::createFromHostFunction(
4820
5001
  rt,
4821
5002
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_onchainwallet_fee_rates"),
@@ -5520,6 +5701,14 @@ NativeBark::NativeBark(
5520
5701
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_recovery_report(rt, thisVal, args, count);
5521
5702
  }
5522
5703
  );
5704
+ props["ubrn_uniffi_bark_ffi_fn_method_wallet_recovery_status"] = jsi::Function::createFromHostFunction(
5705
+ rt,
5706
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_recovery_status"),
5707
+ 1,
5708
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5709
+ return this->cpp_uniffi_bark_ffi_fn_method_wallet_recovery_status(rt, thisVal, args, count);
5710
+ }
5711
+ );
5523
5712
  props["ubrn_uniffi_bark_ffi_fn_method_wallet_refresh_server"] = jsi::Function::createFromHostFunction(
5524
5713
  rt,
5525
5714
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_refresh_server"),
@@ -5624,6 +5813,14 @@ NativeBark::NativeBark(
5624
5813
  return this->cpp_uniffi_bark_ffi_fn_method_wallet_stop_daemon(rt, thisVal, args, count);
5625
5814
  }
5626
5815
  );
5816
+ props["ubrn_uniffi_bark_ffi_fn_method_wallet_stop_daemon_wait"] = jsi::Function::createFromHostFunction(
5817
+ rt,
5818
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_stop_daemon_wait"),
5819
+ 1,
5820
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
5821
+ return this->cpp_uniffi_bark_ffi_fn_method_wallet_stop_daemon_wait(rt, thisVal, args, count);
5822
+ }
5823
+ );
5627
5824
  props["ubrn_uniffi_bark_ffi_fn_method_wallet_stuck_failed_lightning_sends"] = jsi::Function::createFromHostFunction(
5628
5825
  rt,
5629
5826
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_fn_method_wallet_stuck_failed_lightning_sends"),
@@ -6256,6 +6453,14 @@ NativeBark::NativeBark(
6256
6453
  return this->cpp_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_register_tx(rt, thisVal, args, count);
6257
6454
  }
6258
6455
  );
6456
+ props["ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_evict_tx"] = jsi::Function::createFromHostFunction(
6457
+ rt,
6458
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_evict_tx"),
6459
+ 0,
6460
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
6461
+ return this->cpp_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_evict_tx(rt, thisVal, args, count);
6462
+ }
6463
+ );
6259
6464
  props["ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_make_signed_p2a_cpfp"] = jsi::Function::createFromHostFunction(
6260
6465
  rt,
6261
6466
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_make_signed_p2a_cpfp"),
@@ -6296,6 +6501,14 @@ NativeBark::NativeBark(
6296
6501
  return this->cpp_uniffi_bark_ffi_checksum_method_onchainwallet_balance(rt, thisVal, args, count);
6297
6502
  }
6298
6503
  );
6504
+ props["ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_evict_tx"] = jsi::Function::createFromHostFunction(
6505
+ rt,
6506
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_evict_tx"),
6507
+ 0,
6508
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
6509
+ return this->cpp_uniffi_bark_ffi_checksum_method_onchainwallet_evict_tx(rt, thisVal, args, count);
6510
+ }
6511
+ );
6299
6512
  props["ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_fee_rates"] = jsi::Function::createFromHostFunction(
6300
6513
  rt,
6301
6514
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_onchainwallet_fee_rates"),
@@ -6976,6 +7189,14 @@ NativeBark::NativeBark(
6976
7189
  return this->cpp_uniffi_bark_ffi_checksum_method_wallet_recovery_report(rt, thisVal, args, count);
6977
7190
  }
6978
7191
  );
7192
+ props["ubrn_uniffi_bark_ffi_checksum_method_wallet_recovery_status"] = jsi::Function::createFromHostFunction(
7193
+ rt,
7194
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_recovery_status"),
7195
+ 0,
7196
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
7197
+ return this->cpp_uniffi_bark_ffi_checksum_method_wallet_recovery_status(rt, thisVal, args, count);
7198
+ }
7199
+ );
6979
7200
  props["ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_server"] = jsi::Function::createFromHostFunction(
6980
7201
  rt,
6981
7202
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_refresh_server"),
@@ -7080,6 +7301,14 @@ NativeBark::NativeBark(
7080
7301
  return this->cpp_uniffi_bark_ffi_checksum_method_wallet_stop_daemon(rt, thisVal, args, count);
7081
7302
  }
7082
7303
  );
7304
+ props["ubrn_uniffi_bark_ffi_checksum_method_wallet_stop_daemon_wait"] = jsi::Function::createFromHostFunction(
7305
+ rt,
7306
+ jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_stop_daemon_wait"),
7307
+ 0,
7308
+ [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
7309
+ return this->cpp_uniffi_bark_ffi_checksum_method_wallet_stop_daemon_wait(rt, thisVal, args, count);
7310
+ }
7311
+ );
7083
7312
  props["ubrn_uniffi_bark_ffi_checksum_method_wallet_stuck_failed_lightning_sends"] = jsi::Function::createFromHostFunction(
7084
7313
  rt,
7085
7314
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bark_ffi_checksum_method_wallet_stuck_failed_lightning_sends"),
@@ -7291,6 +7520,7 @@ uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod5::vtableca
7291
7520
  uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod6::vtablecallbackinterfacecustomonchainwalletcallbacks::cleanup();
7292
7521
  uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod7::vtablecallbackinterfacecustomonchainwalletcallbacks::cleanup();
7293
7522
  uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod8::vtablecallbackinterfacecustomonchainwalletcallbacks::cleanup();
7523
+ uniffi::bark::cb::callbackinterfacecustomonchainwalletcallbacksmethod9::vtablecallbackinterfacecustomonchainwalletcallbacks::cleanup();
7294
7524
  uniffi::bark::cb::callbackinterfaceclone::vtablecallbackinterfacebarklogger::cleanup();
7295
7525
  uniffi::bark::cb::callbackinterfacebarkloggermethod0::vtablecallbackinterfacebarklogger::cleanup();
7296
7526
  }
@@ -7486,6 +7716,16 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_customonchainwalletcallback
7486
7716
  uniffi::bark::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
7487
7717
 
7488
7718
 
7719
+ return jsi::Value::undefined();
7720
+ }
7721
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_evict_tx(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
7722
+ RustCallStatus status = uniffi::bark::Bridging<RustCallStatus>::rustSuccess(rt);
7723
+ uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_evict_tx(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
7724
+ &status
7725
+ );
7726
+ uniffi::bark::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
7727
+
7728
+
7489
7729
  return jsi::Value::undefined();
7490
7730
  }
7491
7731
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_customonchainwalletcallbacks_make_signed_p2a_cpfp(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -7607,6 +7847,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_onchainwallet_balance(jsi::
7607
7847
  );
7608
7848
 
7609
7849
 
7850
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
7851
+ }
7852
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_onchainwallet_evict_tx(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
7853
+ auto value = uniffi_bark_ffi_fn_method_onchainwallet_evict_tx(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bark::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1])
7854
+ );
7855
+
7856
+
7610
7857
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
7611
7858
  }
7612
7859
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_onchainwallet_fee_rates(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -8244,6 +8491,16 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_recovery_report(jsi:
8244
8491
  uniffi::bark::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
8245
8492
 
8246
8493
 
8494
+ return uniffi::bark::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
8495
+ }
8496
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_recovery_status(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8497
+ RustCallStatus status = uniffi::bark::Bridging<RustCallStatus>::rustSuccess(rt);
8498
+ auto value = uniffi_bark_ffi_fn_method_wallet_recovery_status(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]),
8499
+ &status
8500
+ );
8501
+ uniffi::bark::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
8502
+
8503
+
8247
8504
  return uniffi::bark::Bridging<RustBuffer>::toJs(rt, callInvoker, value);
8248
8505
  }
8249
8506
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_refresh_server(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -8335,6 +8592,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_stop_daemon(jsi::Run
8335
8592
  );
8336
8593
 
8337
8594
 
8595
+ return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8596
+ }
8597
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_stop_daemon_wait(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
8598
+ auto value = uniffi_bark_ffi_fn_method_wallet_stop_daemon_wait(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0])
8599
+ );
8600
+
8601
+
8338
8602
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
8339
8603
  }
8340
8604
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_fn_method_wallet_stuck_failed_lightning_sends(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -8938,6 +9202,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_customonchainwalletca
8938
9202
  );
8939
9203
 
8940
9204
 
9205
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9206
+ }
9207
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_evict_tx(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9208
+ auto value = uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_evict_tx(
9209
+ );
9210
+
9211
+
8941
9212
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8942
9213
  }
8943
9214
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_customonchainwalletcallbacks_make_signed_p2a_cpfp(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -8973,6 +9244,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_onchainwallet_balance
8973
9244
  );
8974
9245
 
8975
9246
 
9247
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9248
+ }
9249
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_onchainwallet_evict_tx(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9250
+ auto value = uniffi_bark_ffi_checksum_method_onchainwallet_evict_tx(
9251
+ );
9252
+
9253
+
8976
9254
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
8977
9255
  }
8978
9256
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_onchainwallet_fee_rates(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -9568,6 +9846,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_recovery_repor
9568
9846
  );
9569
9847
 
9570
9848
 
9849
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9850
+ }
9851
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_recovery_status(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9852
+ auto value = uniffi_bark_ffi_checksum_method_wallet_recovery_status(
9853
+ );
9854
+
9855
+
9571
9856
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9572
9857
  }
9573
9858
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_refresh_server(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -9659,6 +9944,13 @@ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_stop_daemon(js
9659
9944
  );
9660
9945
 
9661
9946
 
9947
+ return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9948
+ }
9949
+ jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_stop_daemon_wait(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
9950
+ auto value = uniffi_bark_ffi_checksum_method_wallet_stop_daemon_wait(
9951
+ );
9952
+
9953
+
9662
9954
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
9663
9955
  }
9664
9956
  jsi::Value NativeBark::cpp_uniffi_bark_ffi_checksum_method_wallet_stuck_failed_lightning_sends(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {