@breeztech/breez-sdk-spark-react-native 0.23.1 → 0.24.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breeztech/breez-sdk-spark-react-native",
3
- "version": "0.23.1",
3
+ "version": "0.24.1",
4
4
  "description": "React Native bindings for the Breez SDK - Nodeless (Spark Implementation)",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -211,7 +211,7 @@
211
211
  "version": "0.49.0"
212
212
  },
213
213
  "checksums": {
214
- "android": "b4d4de2d9744e966c710d6cbf4c127ff597d8afe628287ed11e0724e5451a55e",
215
- "ios": "8113ededc7d625eed8e9f6adc73deb2747917f82465195edfbc1febf5fe3eb86"
214
+ "android": "65fa06d137ca825811b090345826f5c8a97c882bb3dc5933459742816b5304f1",
215
+ "ios": "01cc715f93532aaa9175b895872c2174e186e63d548bffd5b10d9f073ada1d8f"
216
216
  }
217
217
  }
@@ -46,6 +46,9 @@ interface NativeModuleInterface {
46
46
  ptr: bigint,
47
47
  txid: Uint8Array
48
48
  ): bigint;
49
+ ubrn_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_tip_height(
50
+ ptr: bigint
51
+ ): bigint;
49
52
  ubrn_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_get_transaction_hex(
50
53
  ptr: bigint,
51
54
  txid: Uint8Array
@@ -131,6 +134,10 @@ interface NativeModuleInterface {
131
134
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_export_unilateral_exit_state(
132
135
  ptr: bigint
133
136
  ): bigint;
137
+ ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_fetch_claim_deposit_quote(
138
+ ptr: bigint,
139
+ request: Uint8Array
140
+ ): bigint;
134
141
  ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_fetch_conversion_limits(
135
142
  ptr: bigint,
136
143
  request: Uint8Array
@@ -938,7 +945,9 @@ interface NativeModuleInterface {
938
945
  storageDir: Uint8Array,
939
946
  uniffi_out_err: UniffiRustCallStatus
940
947
  ): bigint;
941
- ubrn_uniffi_breez_sdk_spark_fn_func_get_spark_status(): bigint;
948
+ ubrn_uniffi_breez_sdk_spark_fn_func_get_spark_status(
949
+ request: Uint8Array
950
+ ): bigint;
942
951
  ubrn_uniffi_breez_sdk_spark_fn_func_init_logging(
943
952
  logDir: Uint8Array,
944
953
  appLogger: Uint8Array,
@@ -949,7 +958,8 @@ interface NativeModuleInterface {
949
958
  url: Uint8Array,
950
959
  network: Uint8Array,
951
960
  apiType: Uint8Array,
952
- credentials: Uint8Array
961
+ credentials: Uint8Array,
962
+ request: Uint8Array
953
963
  ): bigint;
954
964
  ubrn_uniffi_breez_sdk_spark_fn_func_new_shared_sdk_context(
955
965
  config: Uint8Array
@@ -1120,6 +1130,7 @@ interface NativeModuleInterface {
1120
1130
  ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos(): number;
1121
1131
  ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_txos(): number;
1122
1132
  ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status(): number;
1133
+ ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_tip_height(): number;
1123
1134
  ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex(): number;
1124
1135
  ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_outspend(): number;
1125
1136
  ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction(): number;
@@ -1140,6 +1151,7 @@ interface NativeModuleInterface {
1140
1151
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address(): number;
1141
1152
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect(): number;
1142
1153
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_export_unilateral_exit_state(): number;
1154
+ ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_claim_deposit_quote(): number;
1143
1155
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_conversion_limits(): number;
1144
1156
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_cross_chain_routes(): number;
1145
1157
  ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info(): number;
@@ -1518,25 +1530,30 @@ type UniffiCallbackInterfaceBitcoinChainServiceMethod2 = (
1518
1530
  uniffiCallbackData: bigint
1519
1531
  ) => UniffiForeignFuture;
1520
1532
  type UniffiCallbackInterfaceBitcoinChainServiceMethod3 = (
1533
+ uniffiHandle: bigint,
1534
+ uniffiFutureCallback: UniffiForeignFutureCompleteU32,
1535
+ uniffiCallbackData: bigint
1536
+ ) => UniffiForeignFuture;
1537
+ type UniffiCallbackInterfaceBitcoinChainServiceMethod4 = (
1521
1538
  uniffiHandle: bigint,
1522
1539
  txid: Uint8Array,
1523
1540
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1524
1541
  uniffiCallbackData: bigint
1525
1542
  ) => UniffiForeignFuture;
1526
- type UniffiCallbackInterfaceBitcoinChainServiceMethod4 = (
1543
+ type UniffiCallbackInterfaceBitcoinChainServiceMethod5 = (
1527
1544
  uniffiHandle: bigint,
1528
1545
  txid: Uint8Array,
1529
1546
  vout: number,
1530
1547
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1531
1548
  uniffiCallbackData: bigint
1532
1549
  ) => UniffiForeignFuture;
1533
- type UniffiCallbackInterfaceBitcoinChainServiceMethod5 = (
1550
+ type UniffiCallbackInterfaceBitcoinChainServiceMethod6 = (
1534
1551
  uniffiHandle: bigint,
1535
1552
  tx: Uint8Array,
1536
1553
  uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
1537
1554
  uniffiCallbackData: bigint
1538
1555
  ) => UniffiForeignFuture;
1539
- type UniffiCallbackInterfaceBitcoinChainServiceMethod6 = (
1556
+ type UniffiCallbackInterfaceBitcoinChainServiceMethod7 = (
1540
1557
  uniffiHandle: bigint,
1541
1558
  uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
1542
1559
  uniffiCallbackData: bigint
@@ -2008,10 +2025,11 @@ export type UniffiVTableCallbackInterfaceBitcoinChainService = {
2008
2025
  getAddressUtxos: UniffiCallbackInterfaceBitcoinChainServiceMethod0;
2009
2026
  getAddressTxos: UniffiCallbackInterfaceBitcoinChainServiceMethod1;
2010
2027
  getTransactionStatus: UniffiCallbackInterfaceBitcoinChainServiceMethod2;
2011
- getTransactionHex: UniffiCallbackInterfaceBitcoinChainServiceMethod3;
2012
- getOutspend: UniffiCallbackInterfaceBitcoinChainServiceMethod4;
2013
- broadcastTransaction: UniffiCallbackInterfaceBitcoinChainServiceMethod5;
2014
- recommendedFees: UniffiCallbackInterfaceBitcoinChainServiceMethod6;
2028
+ tipHeight: UniffiCallbackInterfaceBitcoinChainServiceMethod3;
2029
+ getTransactionHex: UniffiCallbackInterfaceBitcoinChainServiceMethod4;
2030
+ getOutspend: UniffiCallbackInterfaceBitcoinChainServiceMethod5;
2031
+ broadcastTransaction: UniffiCallbackInterfaceBitcoinChainServiceMethod6;
2032
+ recommendedFees: UniffiCallbackInterfaceBitcoinChainServiceMethod7;
2015
2033
  uniffiFree: UniffiCallbackInterfaceFree;
2016
2034
  };
2017
2035
  export type UniffiVTableCallbackInterfaceCpfpSigner = {