react-native-bdk-sdk 0.1.9 → 0.2.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.
@@ -329,10 +329,6 @@ extern "C" {
329
329
  /*handle*/ uint64_t ptr,
330
330
  /*handle*/ uint64_t wallet
331
331
  );
332
- void uniffi_bdk_ffi_fn_method_txbuilder_include_output_redeem_witness_script(
333
- /*handle*/ uint64_t ptr,
334
- RustCallStatus *uniffi_out_err
335
- );
336
332
  void uniffi_bdk_ffi_fn_method_txbuilder_manually_selected_only(
337
333
  /*handle*/ uint64_t ptr,
338
334
  RustCallStatus *uniffi_out_err
@@ -427,11 +423,6 @@ extern "C" {
427
423
  RustBuffer tx_hex,
428
424
  RustCallStatus *uniffi_out_err
429
425
  );
430
- void uniffi_bdk_ffi_fn_method_wallet_cancel_tx(
431
- /*handle*/ uint64_t ptr,
432
- RustBuffer tx_hex,
433
- RustCallStatus *uniffi_out_err
434
- );
435
426
  RustBuffer uniffi_bdk_ffi_fn_method_wallet_checkpoints(
436
427
  /*handle*/ uint64_t ptr,
437
428
  RustCallStatus *uniffi_out_err
@@ -602,12 +593,12 @@ extern "C" {
602
593
  /*handle*/ uint64_t uniffi_bdk_ffi_fn_method_wallet_sync_with_electrum(
603
594
  /*handle*/ uint64_t ptr,
604
595
  /*handle*/ uint64_t client,
605
- uint64_t stop_gap
596
+ uint64_t _stop_gap
606
597
  );
607
598
  /*handle*/ uint64_t uniffi_bdk_ffi_fn_method_wallet_sync_with_esplora(
608
599
  /*handle*/ uint64_t ptr,
609
600
  RustBuffer url,
610
- uint64_t stop_gap
601
+ uint64_t _stop_gap
611
602
  );
612
603
  RustBuffer uniffi_bdk_ffi_fn_method_wallet_transactions(
613
604
  /*handle*/ uint64_t ptr,
@@ -965,8 +956,6 @@ extern "C" {
965
956
  );
966
957
  uint16_t uniffi_bdk_ffi_checksum_method_txbuilder_finish(
967
958
  );
968
- uint16_t uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script(
969
- );
970
959
  uint16_t uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only(
971
960
  );
972
961
  uint16_t uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime(
@@ -999,8 +988,6 @@ extern "C" {
999
988
  );
1000
989
  uint16_t uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate(
1001
990
  );
1002
- uint16_t uniffi_bdk_ffi_checksum_method_wallet_cancel_tx(
1003
- );
1004
991
  uint16_t uniffi_bdk_ffi_checksum_method_wallet_checkpoints(
1005
992
  );
1006
993
  uint16_t uniffi_bdk_ffi_checksum_method_wallet_derivation_index(
@@ -2895,14 +2882,6 @@ NativeBdkFfi::NativeBdkFfi(
2895
2882
  return this->cpp_uniffi_bdk_ffi_fn_method_txbuilder_finish(rt, thisVal, args, count);
2896
2883
  }
2897
2884
  );
2898
- props["ubrn_uniffi_bdk_ffi_fn_method_txbuilder_include_output_redeem_witness_script"] = jsi::Function::createFromHostFunction(
2899
- rt,
2900
- jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_fn_method_txbuilder_include_output_redeem_witness_script"),
2901
- 1,
2902
- [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
2903
- return this->cpp_uniffi_bdk_ffi_fn_method_txbuilder_include_output_redeem_witness_script(rt, thisVal, args, count);
2904
- }
2905
- );
2906
2885
  props["ubrn_uniffi_bdk_ffi_fn_method_txbuilder_manually_selected_only"] = jsi::Function::createFromHostFunction(
2907
2886
  rt,
2908
2887
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_fn_method_txbuilder_manually_selected_only"),
@@ -3055,14 +3034,6 @@ NativeBdkFfi::NativeBdkFfi(
3055
3034
  return this->cpp_uniffi_bdk_ffi_fn_method_wallet_calculate_fee_rate(rt, thisVal, args, count);
3056
3035
  }
3057
3036
  );
3058
- props["ubrn_uniffi_bdk_ffi_fn_method_wallet_cancel_tx"] = jsi::Function::createFromHostFunction(
3059
- rt,
3060
- jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_fn_method_wallet_cancel_tx"),
3061
- 2,
3062
- [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
3063
- return this->cpp_uniffi_bdk_ffi_fn_method_wallet_cancel_tx(rt, thisVal, args, count);
3064
- }
3065
- );
3066
3037
  props["ubrn_uniffi_bdk_ffi_fn_method_wallet_checkpoints"] = jsi::Function::createFromHostFunction(
3067
3038
  rt,
3068
3039
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_fn_method_wallet_checkpoints"),
@@ -4167,14 +4138,6 @@ NativeBdkFfi::NativeBdkFfi(
4167
4138
  return this->cpp_uniffi_bdk_ffi_checksum_method_txbuilder_finish(rt, thisVal, args, count);
4168
4139
  }
4169
4140
  );
4170
- props["ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script"] = jsi::Function::createFromHostFunction(
4171
- rt,
4172
- jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script"),
4173
- 0,
4174
- [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
4175
- return this->cpp_uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script(rt, thisVal, args, count);
4176
- }
4177
- );
4178
4141
  props["ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only"] = jsi::Function::createFromHostFunction(
4179
4142
  rt,
4180
4143
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only"),
@@ -4303,14 +4266,6 @@ NativeBdkFfi::NativeBdkFfi(
4303
4266
  return this->cpp_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate(rt, thisVal, args, count);
4304
4267
  }
4305
4268
  );
4306
- props["ubrn_uniffi_bdk_ffi_checksum_method_wallet_cancel_tx"] = jsi::Function::createFromHostFunction(
4307
- rt,
4308
- jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_checksum_method_wallet_cancel_tx"),
4309
- 0,
4310
- [this](jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args, size_t count) -> jsi::Value {
4311
- return this->cpp_uniffi_bdk_ffi_checksum_method_wallet_cancel_tx(rt, thisVal, args, count);
4312
- }
4313
- );
4314
4269
  props["ubrn_uniffi_bdk_ffi_checksum_method_wallet_checkpoints"] = jsi::Function::createFromHostFunction(
4315
4270
  rt,
4316
4271
  jsi::PropNameID::forAscii(rt, "ubrn_uniffi_bdk_ffi_checksum_method_wallet_checkpoints"),
@@ -5293,16 +5248,6 @@ jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_txbuilder_finish(jsi::Runt
5293
5248
 
5294
5249
  return uniffi_jsi::Bridging</*handle*/ uint64_t>::toJs(rt, callInvoker, value);
5295
5250
  }
5296
- jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_txbuilder_include_output_redeem_witness_script(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
5297
- RustCallStatus status = uniffi::bdk_ffi::Bridging<RustCallStatus>::rustSuccess(rt);
5298
- uniffi_bdk_ffi_fn_method_txbuilder_include_output_redeem_witness_script(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]),
5299
- &status
5300
- );
5301
- uniffi::bdk_ffi::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
5302
-
5303
-
5304
- return jsi::Value::undefined();
5305
- }
5306
5251
  jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_txbuilder_manually_selected_only(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
5307
5252
  RustCallStatus status = uniffi::bdk_ffi::Bridging<RustCallStatus>::rustSuccess(rt);
5308
5253
  uniffi_bdk_ffi_fn_method_txbuilder_manually_selected_only(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]),
@@ -5487,16 +5432,6 @@ jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_wallet_calculate_fee_rate(
5487
5432
 
5488
5433
  return uniffi_jsi::Bridging<double>::toJs(rt, callInvoker, value);
5489
5434
  }
5490
- jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_wallet_cancel_tx(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
5491
- RustCallStatus status = uniffi::bdk_ffi::Bridging<RustCallStatus>::rustSuccess(rt);
5492
- uniffi_bdk_ffi_fn_method_wallet_cancel_tx(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]), uniffi::bdk_ffi::Bridging<RustBuffer>::fromJs(rt, callInvoker, args[1]),
5493
- &status
5494
- );
5495
- uniffi::bdk_ffi::Bridging<RustCallStatus>::copyIntoJs(rt, callInvoker, status, args[count - 1]);
5496
-
5497
-
5498
- return jsi::Value::undefined();
5499
- }
5500
5435
  jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_fn_method_wallet_checkpoints(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
5501
5436
  RustCallStatus status = uniffi::bdk_ffi::Bridging<RustCallStatus>::rustSuccess(rt);
5502
5437
  auto value = uniffi_bdk_ffi_fn_method_wallet_checkpoints(uniffi_jsi::Bridging</*handle*/ uint64_t>::fromJs(rt, callInvoker, args[0]),
@@ -6616,13 +6551,6 @@ jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_method_txbuilder_finish(jsi
6616
6551
  );
6617
6552
 
6618
6553
 
6619
- return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
6620
- }
6621
- jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
6622
- auto value = uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script(
6623
- );
6624
-
6625
-
6626
6554
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
6627
6555
  }
6628
6556
  jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -6735,13 +6663,6 @@ jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee
6735
6663
  );
6736
6664
 
6737
6665
 
6738
- return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
6739
- }
6740
- jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_method_wallet_cancel_tx(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
6741
- auto value = uniffi_bdk_ffi_checksum_method_wallet_cancel_tx(
6742
- );
6743
-
6744
-
6745
6666
  return uniffi_jsi::Bridging<uint16_t>::toJs(rt, callInvoker, value);
6746
6667
  }
6747
6668
  jsi::Value NativeBdkFfi::cpp_uniffi_bdk_ffi_checksum_method_wallet_checkpoints(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count) {
@@ -67,7 +67,6 @@ class NativeBdkFfi : public jsi::HostObject {
67
67
  jsi::Value cpp_uniffi_bdk_ffi_fn_method_txbuilder_fee_absolute(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
68
68
  jsi::Value cpp_uniffi_bdk_ffi_fn_method_txbuilder_fee_rate(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
69
69
  jsi::Value cpp_uniffi_bdk_ffi_fn_method_txbuilder_finish(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
70
- jsi::Value cpp_uniffi_bdk_ffi_fn_method_txbuilder_include_output_redeem_witness_script(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
71
70
  jsi::Value cpp_uniffi_bdk_ffi_fn_method_txbuilder_manually_selected_only(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
72
71
  jsi::Value cpp_uniffi_bdk_ffi_fn_method_txbuilder_nlocktime(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
73
72
  jsi::Value cpp_uniffi_bdk_ffi_fn_method_txbuilder_only_spend_change(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
@@ -87,7 +86,6 @@ class NativeBdkFfi : public jsi::HostObject {
87
86
  jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_build_fee_bump(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
88
87
  jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_calculate_fee(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
89
88
  jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_calculate_fee_rate(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
90
- jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_cancel_tx(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
91
89
  jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_checkpoints(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
92
90
  jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_derivation_index(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
93
91
  jsi::Value cpp_uniffi_bdk_ffi_fn_method_wallet_derivation_of_spk(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
@@ -226,7 +224,6 @@ class NativeBdkFfi : public jsi::HostObject {
226
224
  jsi::Value cpp_uniffi_bdk_ffi_checksum_method_txbuilder_fee_absolute(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
227
225
  jsi::Value cpp_uniffi_bdk_ffi_checksum_method_txbuilder_fee_rate(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
228
226
  jsi::Value cpp_uniffi_bdk_ffi_checksum_method_txbuilder_finish(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
229
- jsi::Value cpp_uniffi_bdk_ffi_checksum_method_txbuilder_include_output_redeem_witness_script(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
230
227
  jsi::Value cpp_uniffi_bdk_ffi_checksum_method_txbuilder_manually_selected_only(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
231
228
  jsi::Value cpp_uniffi_bdk_ffi_checksum_method_txbuilder_nlocktime(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
232
229
  jsi::Value cpp_uniffi_bdk_ffi_checksum_method_txbuilder_only_spend_change(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
@@ -243,7 +240,6 @@ class NativeBdkFfi : public jsi::HostObject {
243
240
  jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_build_fee_bump(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
244
241
  jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
245
242
  jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_calculate_fee_rate(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
246
- jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_cancel_tx(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
247
243
  jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_checkpoints(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
248
244
  jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_derivation_index(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
249
245
  jsi::Value cpp_uniffi_bdk_ffi_checksum_method_wallet_derivation_of_spk(jsi::Runtime& rt, const jsi::Value& thisVal, const jsi::Value* args, size_t count);
@@ -1 +1 @@
1
- {"version":3,"names":["getter","globalThis","NativeBdkFfi","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/bdk_ffi-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AAEA;AACA;AACA;;AA40BA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,YAAY;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GACpBL,MAAM,EAErB;AA4GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMM,8CAGL,GAAG,IAAI;AACR,MAAMC,mCAGL,GAAG,IAAI","ignoreList":[]}
1
+ {"version":3,"names":["getter","globalThis","NativeBdkFfi","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/bdk_ffi-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AAEA;AACA;AACA;;AAi0BA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,YAAY;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GACpBL,MAAM,EAErB;AA4GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMM,8CAGL,GAAG,IAAI;AACR,MAAMC,mCAGL,GAAG,IAAI","ignoreList":[]}