@breeztech/breez-sdk-spark-react-native 0.2.5-dev2 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -127,6 +127,12 @@ protected:
127
127
  cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_remove_event_listener(
128
128
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
129
129
  size_t count);
130
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_send_bitcoin_address(
131
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
132
+ size_t count);
133
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_send_bolt11_invoice(
134
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
135
+ size_t count);
130
136
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_send_payment(
131
137
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
132
138
  size_t count);
@@ -134,9 +140,15 @@ protected:
134
140
  cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_send_payment_internal(
135
141
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
136
142
  size_t count);
143
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_send_spark_address(
144
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
145
+ size_t count);
137
146
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_sync_wallet(
138
147
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
139
148
  size_t count);
149
+ jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_breezsdk_wait_for_payment(
150
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
151
+ size_t count);
140
152
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_clone_sdkbuilder(
141
153
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
142
154
  size_t count);
@@ -192,6 +204,10 @@ protected:
192
204
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_get_payment_by_id(
193
205
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
194
206
  size_t count);
207
+ jsi::Value
208
+ cpp_uniffi_breez_sdk_spark_fn_method_storage_get_payment_by_invoice(
209
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
210
+ size_t count);
195
211
  jsi::Value cpp_uniffi_breez_sdk_spark_fn_method_storage_add_deposit(
196
212
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
197
213
  size_t count);
@@ -484,6 +500,14 @@ protected:
484
500
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener(
485
501
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
486
502
  size_t count);
503
+ jsi::Value
504
+ cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_bitcoin_address(
505
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
506
+ size_t count);
507
+ jsi::Value
508
+ cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_bolt11_invoice(
509
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
510
+ size_t count);
487
511
  jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment(
488
512
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
489
513
  size_t count);
@@ -491,9 +515,17 @@ protected:
491
515
  cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment_internal(
492
516
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
493
517
  size_t count);
518
+ jsi::Value
519
+ cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_spark_address(
520
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
521
+ size_t count);
494
522
  jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet(
495
523
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
496
524
  size_t count);
525
+ jsi::Value
526
+ cpp_uniffi_breez_sdk_spark_checksum_method_breezsdk_wait_for_payment(
527
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
528
+ size_t count);
497
529
  jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build(
498
530
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
499
531
  size_t count);
@@ -540,6 +572,10 @@ protected:
540
572
  cpp_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id(
541
573
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
542
574
  size_t count);
575
+ jsi::Value
576
+ cpp_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice(
577
+ jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
578
+ size_t count);
543
579
  jsi::Value cpp_uniffi_breez_sdk_spark_checksum_method_storage_add_deposit(
544
580
  jsi::Runtime &rt, const jsi::Value &thisVal, const jsi::Value *args,
545
581
  size_t count);
@@ -1 +1 @@
1
- {"version":3,"names":["getter","globalThis","NativeBreezSdkSpark","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/breez_sdk_spark-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AA0eA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,mBAAmB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAC3BL,MAAM,EAErB;AA2PA;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","NativeBreezSdkSpark","_default","exports","default","isRustFutureContinuationCallbackTypeCompatible","isUniffiForeignFutureTypeCompatible"],"sourceRoot":"../../../src","sources":["generated/breez_sdk_spark-ffi.ts"],"mappings":";;;;;;AAAA;AACA;;AAwgBA;AACA;AACA;AACA;AACA;AACA,MAAMA,MAAmC,GAAGA,CAAA,KACzCC,UAAU,CAASC,mBAAmB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAC3BL,MAAM,EAErB;AAkQA;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":[]}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.Utxo = exports.UpdateDepositPayload_Tags = exports.UpdateDepositPayload = exports.TxStatus = exports.SyncWalletResponse = exports.SyncWalletRequest = exports.StorageImpl = exports.StorageError_Tags = exports.StorageError = exports.SendPaymentResponse = exports.SendPaymentRequest = exports.SendPaymentOptions_Tags = exports.SendPaymentOptions = exports.SendPaymentMethod_Tags = exports.SendPaymentMethod = exports.SendOnchainSpeedFeeQuote = exports.SendOnchainFeeQuote = exports.Seed_Tags = exports.Seed = exports.SdkEvent_Tags = exports.SdkEvent = exports.SdkError_Tags = exports.SdkError = exports.SdkBuilder = exports.RegisterLightningAddressRequest = exports.RefundDepositResponse = exports.RefundDepositRequest = exports.ReceivePaymentResponse = exports.ReceivePaymentRequest = exports.ReceivePaymentMethod_Tags = exports.ReceivePaymentMethod = exports.PrepareSendPaymentResponse = exports.PrepareSendPaymentRequest = exports.PrepareLnurlPayResponse = exports.PrepareLnurlPayRequest = exports.PaymentType = exports.PaymentStatus = exports.PaymentMethod = exports.PaymentMetadata = exports.PaymentDetails_Tags = exports.PaymentDetails = exports.Payment = exports.OnchainConfirmationSpeed = exports.Network = exports.LogEntry = exports.LnurlPayResponse = exports.LnurlPayRequest = exports.LnurlPayInfo = exports.ListUnclaimedDepositsResponse = exports.ListUnclaimedDepositsRequest = exports.ListPaymentsResponse = exports.ListPaymentsRequest = exports.ListFiatRatesResponse = exports.ListFiatCurrenciesResponse = exports.LightningAddressInfo = exports.KeySetType = exports.GetPaymentResponse = exports.GetPaymentRequest = exports.GetInfoResponse = exports.GetInfoRequest = exports.Fee_Tags = exports.Fee = exports.DepositInfo = exports.DepositClaimError_Tags = exports.DepositClaimError = exports.Credentials = exports.ConnectRequest = exports.Config = exports.ClaimDepositResponse = exports.ClaimDepositRequest = exports.CheckLightningAddressRequest = exports.ChainServiceError_Tags = exports.ChainServiceError = exports.BreezSdk = exports.BitcoinChainServiceImpl = void 0;
6
+ exports.WaitForPaymentResponse = exports.WaitForPaymentRequest = exports.WaitForPaymentIdentifier_Tags = exports.WaitForPaymentIdentifier = exports.Utxo = exports.UpdateDepositPayload_Tags = exports.UpdateDepositPayload = exports.TxStatus = exports.SyncWalletResponse = exports.SyncWalletRequest = exports.StorageImpl = exports.StorageError_Tags = exports.StorageError = exports.SendPaymentResponse = exports.SendPaymentRequest = exports.SendPaymentOptions_Tags = exports.SendPaymentOptions = exports.SendPaymentMethod_Tags = exports.SendPaymentMethod = exports.SendOnchainSpeedFeeQuote = exports.SendOnchainFeeQuote = exports.Seed_Tags = exports.Seed = exports.SdkEvent_Tags = exports.SdkEvent = exports.SdkError_Tags = exports.SdkError = exports.SdkBuilder = exports.RegisterLightningAddressRequest = exports.RefundDepositResponse = exports.RefundDepositRequest = exports.ReceivePaymentResponse = exports.ReceivePaymentRequest = exports.ReceivePaymentMethod_Tags = exports.ReceivePaymentMethod = exports.PrepareSendPaymentResponse = exports.PrepareSendPaymentRequest = exports.PrepareLnurlPayResponse = exports.PrepareLnurlPayRequest = exports.PaymentType = exports.PaymentStatus = exports.PaymentMethod = exports.PaymentMetadata = exports.PaymentDetails_Tags = exports.PaymentDetails = exports.Payment = exports.OnchainConfirmationSpeed = exports.Network = exports.LogEntry = exports.LnurlPayResponse = exports.LnurlPayRequest = exports.LnurlPayInfo = exports.ListUnclaimedDepositsResponse = exports.ListUnclaimedDepositsRequest = exports.ListPaymentsResponse = exports.ListPaymentsRequest = exports.ListFiatRatesResponse = exports.ListFiatCurrenciesResponse = exports.LightningAddressInfo = exports.KeySetType = exports.GetPaymentResponse = exports.GetPaymentRequest = exports.GetInfoResponse = exports.GetInfoRequest = exports.Fee_Tags = exports.Fee = exports.DepositInfo = exports.DepositClaimError_Tags = exports.DepositClaimError = exports.Credentials = exports.ConnectRequest = exports.Config = exports.ClaimDepositResponse = exports.ClaimDepositRequest = exports.CheckLightningAddressRequest = exports.ChainServiceError_Tags = exports.ChainServiceError = exports.BreezSdk = exports.BitcoinChainServiceImpl = void 0;
7
7
  exports.connect = connect;
8
8
  exports.default = void 0;
9
9
  exports.defaultConfig = defaultConfig;
@@ -2027,6 +2027,88 @@ const FfiConverterTypeUtxo = (() => {
2027
2027
  }
2028
2028
  return new FFIConverter();
2029
2029
  })();
2030
+ /**
2031
+ * Generated factory for {@link WaitForPaymentRequest} record objects.
2032
+ */
2033
+ const WaitForPaymentRequest = exports.WaitForPaymentRequest = (() => {
2034
+ const defaults = () => ({});
2035
+ const create = (() => {
2036
+ return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
2037
+ })();
2038
+ return Object.freeze({
2039
+ /**
2040
+ * Create a frozen instance of {@link WaitForPaymentRequest}, with defaults specified
2041
+ * in Rust, in the {@link breez_sdk_spark} crate.
2042
+ */
2043
+ create,
2044
+ /**
2045
+ * Create a frozen instance of {@link WaitForPaymentRequest}, with defaults specified
2046
+ * in Rust, in the {@link breez_sdk_spark} crate.
2047
+ */
2048
+ new: create,
2049
+ /**
2050
+ * Defaults specified in the {@link breez_sdk_spark} crate.
2051
+ */
2052
+ defaults: () => Object.freeze(defaults())
2053
+ });
2054
+ })();
2055
+ const FfiConverterTypeWaitForPaymentRequest = (() => {
2056
+ class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
2057
+ read(from) {
2058
+ return {
2059
+ identifier: FfiConverterTypeWaitForPaymentIdentifier.read(from)
2060
+ };
2061
+ }
2062
+ write(value, into) {
2063
+ FfiConverterTypeWaitForPaymentIdentifier.write(value.identifier, into);
2064
+ }
2065
+ allocationSize(value) {
2066
+ return FfiConverterTypeWaitForPaymentIdentifier.allocationSize(value.identifier);
2067
+ }
2068
+ }
2069
+ return new FFIConverter();
2070
+ })();
2071
+ /**
2072
+ * Generated factory for {@link WaitForPaymentResponse} record objects.
2073
+ */
2074
+ const WaitForPaymentResponse = exports.WaitForPaymentResponse = (() => {
2075
+ const defaults = () => ({});
2076
+ const create = (() => {
2077
+ return (0, _uniffiBindgenReactNative.uniffiCreateRecord)(defaults);
2078
+ })();
2079
+ return Object.freeze({
2080
+ /**
2081
+ * Create a frozen instance of {@link WaitForPaymentResponse}, with defaults specified
2082
+ * in Rust, in the {@link breez_sdk_spark} crate.
2083
+ */
2084
+ create,
2085
+ /**
2086
+ * Create a frozen instance of {@link WaitForPaymentResponse}, with defaults specified
2087
+ * in Rust, in the {@link breez_sdk_spark} crate.
2088
+ */
2089
+ new: create,
2090
+ /**
2091
+ * Defaults specified in the {@link breez_sdk_spark} crate.
2092
+ */
2093
+ defaults: () => Object.freeze(defaults())
2094
+ });
2095
+ })();
2096
+ const FfiConverterTypeWaitForPaymentResponse = (() => {
2097
+ class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
2098
+ read(from) {
2099
+ return {
2100
+ payment: FfiConverterTypePayment.read(from)
2101
+ };
2102
+ }
2103
+ write(value, into) {
2104
+ FfiConverterTypePayment.write(value.payment, into);
2105
+ }
2106
+ allocationSize(value) {
2107
+ return FfiConverterTypePayment.allocationSize(value.payment);
2108
+ }
2109
+ }
2110
+ return new FFIConverter();
2111
+ })();
2030
2112
  const stringConverter = {
2031
2113
  stringToBytes: s => uniffiCaller.rustCall(status => (0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_internal_fn_func_ffi__string_to_arraybuffer(s, status)),
2032
2114
  bytesToString: ab => uniffiCaller.rustCall(status => (0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_internal_fn_func_ffi__arraybuffer_to_string(ab, status)),
@@ -4164,7 +4246,8 @@ const FfiConverterTypeSendPaymentOptions = (() => {
4164
4246
  });
4165
4247
  case 2:
4166
4248
  return new SendPaymentOptions.Bolt11Invoice({
4167
- preferSpark: _uniffiBindgenReactNative.FfiConverterBool.read(from)
4249
+ preferSpark: _uniffiBindgenReactNative.FfiConverterBool.read(from),
4250
+ completionTimeoutSecs: FfiConverterOptionalUInt32.read(from)
4168
4251
  });
4169
4252
  default:
4170
4253
  throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
@@ -4184,6 +4267,7 @@ const FfiConverterTypeSendPaymentOptions = (() => {
4184
4267
  ordinalConverter.write(2, into);
4185
4268
  const inner = value.inner;
4186
4269
  _uniffiBindgenReactNative.FfiConverterBool.write(inner.preferSpark, into);
4270
+ FfiConverterOptionalUInt32.write(inner.completionTimeoutSecs, into);
4187
4271
  return;
4188
4272
  }
4189
4273
  default:
@@ -4205,6 +4289,7 @@ const FfiConverterTypeSendPaymentOptions = (() => {
4205
4289
  const inner = value.inner;
4206
4290
  let size = ordinalConverter.allocationSize(2);
4207
4291
  size += _uniffiBindgenReactNative.FfiConverterBool.allocationSize(inner.preferSpark);
4292
+ size += FfiConverterOptionalUInt32.allocationSize(inner.completionTimeoutSecs);
4208
4293
  return size;
4209
4294
  }
4210
4295
  default:
@@ -4510,6 +4595,117 @@ const FfiConverterTypeUpdateDepositPayload = (() => {
4510
4595
  }
4511
4596
  return new FFIConverter();
4512
4597
  })();
4598
+
4599
+ // Enum: WaitForPaymentIdentifier
4600
+ let WaitForPaymentIdentifier_Tags = exports.WaitForPaymentIdentifier_Tags = /*#__PURE__*/function (WaitForPaymentIdentifier_Tags) {
4601
+ WaitForPaymentIdentifier_Tags["PaymentId"] = "PaymentId";
4602
+ WaitForPaymentIdentifier_Tags["PaymentRequest"] = "PaymentRequest";
4603
+ return WaitForPaymentIdentifier_Tags;
4604
+ }({});
4605
+ const WaitForPaymentIdentifier = exports.WaitForPaymentIdentifier = (() => {
4606
+ class PaymentId_ extends _uniffiBindgenReactNative.UniffiEnum {
4607
+ /**
4608
+ * @private
4609
+ * This field is private and should not be used, use `tag` instead.
4610
+ */
4611
+ [_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'WaitForPaymentIdentifier';
4612
+ tag = WaitForPaymentIdentifier_Tags.PaymentId;
4613
+ constructor(v0) {
4614
+ super('WaitForPaymentIdentifier', 'PaymentId');
4615
+ this.inner = Object.freeze([v0]);
4616
+ }
4617
+ static new(v0) {
4618
+ return new PaymentId_(v0);
4619
+ }
4620
+ static instanceOf(obj) {
4621
+ return obj.tag === WaitForPaymentIdentifier_Tags.PaymentId;
4622
+ }
4623
+ }
4624
+ class PaymentRequest_ extends _uniffiBindgenReactNative.UniffiEnum {
4625
+ /**
4626
+ * @private
4627
+ * This field is private and should not be used, use `tag` instead.
4628
+ */
4629
+ [_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'WaitForPaymentIdentifier';
4630
+ tag = WaitForPaymentIdentifier_Tags.PaymentRequest;
4631
+ constructor(v0) {
4632
+ super('WaitForPaymentIdentifier', 'PaymentRequest');
4633
+ this.inner = Object.freeze([v0]);
4634
+ }
4635
+ static new(v0) {
4636
+ return new PaymentRequest_(v0);
4637
+ }
4638
+ static instanceOf(obj) {
4639
+ return obj.tag === WaitForPaymentIdentifier_Tags.PaymentRequest;
4640
+ }
4641
+ }
4642
+ function instanceOf(obj) {
4643
+ return obj[_uniffiBindgenReactNative.uniffiTypeNameSymbol] === 'WaitForPaymentIdentifier';
4644
+ }
4645
+ return Object.freeze({
4646
+ instanceOf,
4647
+ PaymentId: PaymentId_,
4648
+ PaymentRequest: PaymentRequest_
4649
+ });
4650
+ })();
4651
+ // FfiConverter for enum WaitForPaymentIdentifier
4652
+ const FfiConverterTypeWaitForPaymentIdentifier = (() => {
4653
+ const ordinalConverter = _uniffiBindgenReactNative.FfiConverterInt32;
4654
+ class FFIConverter extends _uniffiBindgenReactNative.AbstractFfiConverterByteArray {
4655
+ read(from) {
4656
+ switch (ordinalConverter.read(from)) {
4657
+ case 1:
4658
+ return new WaitForPaymentIdentifier.PaymentId(FfiConverterString.read(from));
4659
+ case 2:
4660
+ return new WaitForPaymentIdentifier.PaymentRequest(FfiConverterString.read(from));
4661
+ default:
4662
+ throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
4663
+ }
4664
+ }
4665
+ write(value, into) {
4666
+ switch (value.tag) {
4667
+ case WaitForPaymentIdentifier_Tags.PaymentId:
4668
+ {
4669
+ ordinalConverter.write(1, into);
4670
+ const inner = value.inner;
4671
+ FfiConverterString.write(inner[0], into);
4672
+ return;
4673
+ }
4674
+ case WaitForPaymentIdentifier_Tags.PaymentRequest:
4675
+ {
4676
+ ordinalConverter.write(2, into);
4677
+ const inner = value.inner;
4678
+ FfiConverterString.write(inner[0], into);
4679
+ return;
4680
+ }
4681
+ default:
4682
+ // Throwing from here means that WaitForPaymentIdentifier_Tags hasn't matched an ordinal.
4683
+ throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
4684
+ }
4685
+ }
4686
+ allocationSize(value) {
4687
+ switch (value.tag) {
4688
+ case WaitForPaymentIdentifier_Tags.PaymentId:
4689
+ {
4690
+ const inner = value.inner;
4691
+ let size = ordinalConverter.allocationSize(1);
4692
+ size += FfiConverterString.allocationSize(inner[0]);
4693
+ return size;
4694
+ }
4695
+ case WaitForPaymentIdentifier_Tags.PaymentRequest:
4696
+ {
4697
+ const inner = value.inner;
4698
+ let size = ordinalConverter.allocationSize(2);
4699
+ size += FfiConverterString.allocationSize(inner[0]);
4700
+ return size;
4701
+ }
4702
+ default:
4703
+ throw new _uniffiBindgenReactNative.UniffiInternalError.UnexpectedEnumCase();
4704
+ }
4705
+ }
4706
+ }
4707
+ return new FFIConverter();
4708
+ })();
4513
4709
  class BitcoinChainServiceImpl extends _uniffiBindgenReactNative.UniffiAbstractObject {
4514
4710
  [_uniffiBindgenReactNative.uniffiTypeNameSymbol] = 'BitcoinChainServiceImpl';
4515
4711
  // No primary constructor declared for this class.
@@ -4833,10 +5029,18 @@ class BreezSdk extends _uniffiBindgenReactNative.UniffiAbstractObject {
4833
5029
  *
4834
5030
  * Result containing either success or an `SdkError` if the background task couldn't be stopped
4835
5031
  */
4836
- disconnect() /*throws*/{
4837
- uniffiCaller.rustCallWithError(/*liftError:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError), /*caller:*/callStatus => {
4838
- (0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_disconnect(uniffiTypeBreezSdkObjectFactory.clonePointer(this), callStatus);
4839
- }, /*liftString:*/FfiConverterString.lift);
5032
+ async disconnect(asyncOpts_) /*throws*/{
5033
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
5034
+ try {
5035
+ return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
5036
+ return (0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_disconnect(uniffiTypeBreezSdkObjectFactory.clonePointer(this));
5037
+ }, /*pollFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_poll_void, /*cancelFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_cancel_void, /*completeFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_complete_void, /*freeFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_free_void, /*liftFunc:*/_v => {}, /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));
5038
+ } catch (__error) {
5039
+ if (uniffiIsDebug && __error instanceof Error) {
5040
+ __error.stack = __stack;
5041
+ }
5042
+ throw __error;
5043
+ }
4840
5044
  }
4841
5045
 
4842
5046
  /**
@@ -5083,6 +5287,32 @@ class BreezSdk extends _uniffiBindgenReactNative.UniffiAbstractObject {
5083
5287
  throw __error;
5084
5288
  }
5085
5289
  }
5290
+ async sendBitcoinAddress(address, feeQuote, request, asyncOpts_) /*throws*/{
5291
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
5292
+ try {
5293
+ return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
5294
+ return (0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_send_bitcoin_address(uniffiTypeBreezSdkObjectFactory.clonePointer(this), FfiConverterTypeBitcoinAddressDetails.lower(address), FfiConverterTypeSendOnchainFeeQuote.lower(feeQuote), FfiConverterTypeSendPaymentRequest.lower(request));
5295
+ }, /*pollFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeSendPaymentResponse.lift.bind(FfiConverterTypeSendPaymentResponse), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));
5296
+ } catch (__error) {
5297
+ if (uniffiIsDebug && __error instanceof Error) {
5298
+ __error.stack = __stack;
5299
+ }
5300
+ throw __error;
5301
+ }
5302
+ }
5303
+ async sendBolt11Invoice(invoiceDetails, sparkTransferFeeSats, lightningFeeSats, request, asyncOpts_) /*throws*/{
5304
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
5305
+ try {
5306
+ return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
5307
+ return (0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_send_bolt11_invoice(uniffiTypeBreezSdkObjectFactory.clonePointer(this), FfiConverterTypeBolt11InvoiceDetails.lower(invoiceDetails), FfiConverterOptionalUInt64.lower(sparkTransferFeeSats), _uniffiBindgenReactNative.FfiConverterUInt64.lower(lightningFeeSats), FfiConverterTypeSendPaymentRequest.lower(request));
5308
+ }, /*pollFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeSendPaymentResponse.lift.bind(FfiConverterTypeSendPaymentResponse), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));
5309
+ } catch (__error) {
5310
+ if (uniffiIsDebug && __error instanceof Error) {
5311
+ __error.stack = __stack;
5312
+ }
5313
+ throw __error;
5314
+ }
5315
+ }
5086
5316
  async sendPayment(request, asyncOpts_) /*throws*/{
5087
5317
  const __stack = uniffiIsDebug ? new Error().stack : undefined;
5088
5318
  try {
@@ -5109,6 +5339,19 @@ class BreezSdk extends _uniffiBindgenReactNative.UniffiAbstractObject {
5109
5339
  throw __error;
5110
5340
  }
5111
5341
  }
5342
+ async sendSparkAddress(address, request, asyncOpts_) /*throws*/{
5343
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
5344
+ try {
5345
+ return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
5346
+ return (0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_send_spark_address(uniffiTypeBreezSdkObjectFactory.clonePointer(this), FfiConverterString.lower(address), FfiConverterTypeSendPaymentRequest.lower(request));
5347
+ }, /*pollFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeSendPaymentResponse.lift.bind(FfiConverterTypeSendPaymentResponse), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));
5348
+ } catch (__error) {
5349
+ if (uniffiIsDebug && __error instanceof Error) {
5350
+ __error.stack = __stack;
5351
+ }
5352
+ throw __error;
5353
+ }
5354
+ }
5112
5355
 
5113
5356
  /**
5114
5357
  * Synchronizes the wallet with the Spark network
@@ -5126,6 +5369,19 @@ class BreezSdk extends _uniffiBindgenReactNative.UniffiAbstractObject {
5126
5369
  throw __error;
5127
5370
  }
5128
5371
  }
5372
+ async waitForPayment(request, asyncOpts_) /*throws*/{
5373
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
5374
+ try {
5375
+ return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
5376
+ return (0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_wait_for_payment(uniffiTypeBreezSdkObjectFactory.clonePointer(this), FfiConverterTypeWaitForPaymentRequest.lower(request));
5377
+ }, /*pollFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterTypeWaitForPaymentResponse.lift.bind(FfiConverterTypeWaitForPaymentResponse), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));
5378
+ } catch (__error) {
5379
+ if (uniffiIsDebug && __error instanceof Error) {
5380
+ __error.stack = __stack;
5381
+ }
5382
+ throw __error;
5383
+ }
5384
+ }
5129
5385
 
5130
5386
  /**
5131
5387
  * {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}
@@ -5518,6 +5774,29 @@ class StorageImpl extends _uniffiBindgenReactNative.UniffiAbstractObject {
5518
5774
  }
5519
5775
  }
5520
5776
 
5777
+ /**
5778
+ * Gets a payment by its invoice
5779
+ * # Arguments
5780
+ *
5781
+ * * `invoice` - The invoice of the payment to retrieve
5782
+ * # Returns
5783
+ *
5784
+ * The payment if found or None if not found
5785
+ */
5786
+ async getPaymentByInvoice(invoice, asyncOpts_) /*throws*/{
5787
+ const __stack = uniffiIsDebug ? new Error().stack : undefined;
5788
+ try {
5789
+ return await (0, _uniffiBindgenReactNative.uniffiRustCallAsync)(/*rustCaller:*/uniffiCaller, /*rustFutureFunc:*/() => {
5790
+ return (0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_payment_by_invoice(uniffiTypeStorageImplObjectFactory.clonePointer(this), FfiConverterString.lower(invoice));
5791
+ }, /*pollFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_poll_rust_buffer, /*cancelFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_cancel_rust_buffer, /*completeFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_complete_rust_buffer, /*freeFunc:*/(0, _breez_sdk_sparkFfi.default)().ubrn_ffi_breez_sdk_spark_rust_future_free_rust_buffer, /*liftFunc:*/FfiConverterOptionalTypePayment.lift.bind(FfiConverterOptionalTypePayment), /*liftString:*/FfiConverterString.lift, /*asyncOpts:*/asyncOpts_, /*errorHandler:*/FfiConverterTypeStorageError.lift.bind(FfiConverterTypeStorageError));
5792
+ } catch (__error) {
5793
+ if (uniffiIsDebug && __error instanceof Error) {
5794
+ __error.stack = __stack;
5795
+ }
5796
+ throw __error;
5797
+ }
5798
+ }
5799
+
5521
5800
  /**
5522
5801
  * Add a deposit to storage
5523
5802
  * # Arguments
@@ -5847,6 +6126,32 @@ const uniffiCallbackInterfaceStorage = {
5847
6126
  const uniffiForeignFuture = (0, _uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall, /*handleSuccess:*/uniffiHandleSuccess, /*handleError:*/uniffiHandleError, /*isErrorType:*/StorageError.instanceOf, /*lowerError:*/FfiConverterTypeStorageError.lower.bind(FfiConverterTypeStorageError), /*lowerString:*/FfiConverterString.lower);
5848
6127
  return _uniffiBindgenReactNative.UniffiResult.success(uniffiForeignFuture);
5849
6128
  },
6129
+ getPaymentByInvoice: (uniffiHandle, invoice, uniffiFutureCallback, uniffiCallbackData) => {
6130
+ const uniffiMakeCall = async signal => {
6131
+ const jsCallback = FfiConverterTypeStorage.lift(uniffiHandle);
6132
+ return await jsCallback.getPaymentByInvoice(FfiConverterString.lift(invoice), {
6133
+ signal
6134
+ });
6135
+ };
6136
+ const uniffiHandleSuccess = returnValue => {
6137
+ uniffiFutureCallback(uniffiCallbackData, /* UniffiForeignFutureStructRustBuffer */{
6138
+ returnValue: FfiConverterOptionalTypePayment.lower(returnValue),
6139
+ callStatus: uniffiCaller.createCallStatus()
6140
+ });
6141
+ };
6142
+ const uniffiHandleError = (code, errorBuf) => {
6143
+ uniffiFutureCallback(uniffiCallbackData, /* UniffiForeignFutureStructRustBuffer */{
6144
+ returnValue: /*empty*/new Uint8Array(0),
6145
+ // TODO create callstatus with error.
6146
+ callStatus: {
6147
+ code,
6148
+ errorBuf
6149
+ }
6150
+ });
6151
+ };
6152
+ const uniffiForeignFuture = (0, _uniffiBindgenReactNative.uniffiTraitInterfaceCallAsyncWithError)(/*makeCall:*/uniffiMakeCall, /*handleSuccess:*/uniffiHandleSuccess, /*handleError:*/uniffiHandleError, /*isErrorType:*/StorageError.instanceOf, /*lowerError:*/FfiConverterTypeStorageError.lower.bind(FfiConverterTypeStorageError), /*lowerString:*/FfiConverterString.lower);
6153
+ return _uniffiBindgenReactNative.UniffiResult.success(uniffiForeignFuture);
6154
+ },
5850
6155
  addDeposit: (uniffiHandle, txid, vout, amountSats, uniffiFutureCallback, uniffiCallbackData) => {
5851
6156
  const uniffiMakeCall = async signal => {
5852
6157
  const jsCallback = FfiConverterTypeStorage.lift(uniffiHandle);
@@ -5976,6 +6281,9 @@ const FfiConverterOptionalTypeLightningAddressInfo = new _uniffiBindgenReactNati
5976
6281
  // FfiConverter for LnurlPayInfo | undefined
5977
6282
  const FfiConverterOptionalTypeLnurlPayInfo = new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypeLnurlPayInfo);
5978
6283
 
6284
+ // FfiConverter for Payment | undefined
6285
+ const FfiConverterOptionalTypePayment = new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterTypePayment);
6286
+
5979
6287
  // FfiConverter for string | undefined
5980
6288
  const FfiConverterOptionalString = new _uniffiBindgenReactNative.FfiConverterOptional(FfiConverterString);
5981
6289
 
@@ -6069,7 +6377,7 @@ function uniffiEnsureInitialized() {
6069
6377
  if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address() !== 44132) {
6070
6378
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address');
6071
6379
  }
6072
- if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect() !== 30986) {
6380
+ if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect() !== 330) {
6073
6381
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect');
6074
6382
  }
6075
6383
  if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info() !== 6771) {
@@ -6120,15 +6428,27 @@ function uniffiEnsureInitialized() {
6120
6428
  if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener() !== 41066) {
6121
6429
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener');
6122
6430
  }
6431
+ if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_bitcoin_address() !== 5926) {
6432
+ throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_send_bitcoin_address');
6433
+ }
6434
+ if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_bolt11_invoice() !== 21785) {
6435
+ throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_send_bolt11_invoice');
6436
+ }
6123
6437
  if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment() !== 54349) {
6124
6438
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment');
6125
6439
  }
6126
6440
  if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment_internal() !== 37855) {
6127
6441
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment_internal');
6128
6442
  }
6443
+ if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_spark_address() !== 63147) {
6444
+ throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_send_spark_address');
6445
+ }
6129
6446
  if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet() !== 30368) {
6130
6447
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet');
6131
6448
  }
6449
+ if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_wait_for_payment() !== 64922) {
6450
+ throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_breezsdk_wait_for_payment');
6451
+ }
6132
6452
  if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build() !== 8126) {
6133
6453
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build');
6134
6454
  }
@@ -6168,16 +6488,19 @@ function uniffiEnsureInitialized() {
6168
6488
  if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id() !== 35394) {
6169
6489
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id');
6170
6490
  }
6171
- if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_deposit() !== 55082) {
6491
+ if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice() !== 57075) {
6492
+ throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice');
6493
+ }
6494
+ if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_deposit() !== 60240) {
6172
6495
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_add_deposit');
6173
6496
  }
6174
- if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit() !== 13111) {
6497
+ if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit() !== 60586) {
6175
6498
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit');
6176
6499
  }
6177
- if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_deposits() !== 22806) {
6500
+ if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_deposits() !== 54118) {
6178
6501
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_list_deposits');
6179
6502
  }
6180
- if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_deposit() !== 48478) {
6503
+ if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_deposit() !== 39803) {
6181
6504
  throw new _uniffiBindgenReactNative.UniffiInternalError.ApiChecksumMismatch('uniffi_breez_sdk_spark_checksum_method_storage_update_deposit');
6182
6505
  }
6183
6506
  if ((0, _breez_sdk_sparkFfi.default)().ubrn_uniffi_breez_sdk_spark_checksum_constructor_sdkbuilder_new() !== 53882) {
@@ -6256,7 +6579,10 @@ var _default = exports.default = Object.freeze({
6256
6579
  FfiConverterTypeSyncWalletResponse,
6257
6580
  FfiConverterTypeTxStatus,
6258
6581
  FfiConverterTypeUpdateDepositPayload,
6259
- FfiConverterTypeUtxo
6582
+ FfiConverterTypeUtxo,
6583
+ FfiConverterTypeWaitForPaymentIdentifier,
6584
+ FfiConverterTypeWaitForPaymentRequest,
6585
+ FfiConverterTypeWaitForPaymentResponse
6260
6586
  }
6261
6587
  });
6262
6588
  //# sourceMappingURL=breez_sdk_spark.js.map