@breeztech/breez-sdk-spark-react-native 0.23.0 → 0.24.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/cpp/generated/breez_sdk_spark.cpp +298 -42
- package/cpp/generated/breez_sdk_spark.hpp +16 -0
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark.js +192 -71
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark.js +191 -70
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +16 -10
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts +837 -202
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts +16 -10
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts +837 -202
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/generated/breez_sdk_spark-ffi.ts +27 -9
- package/src/generated/breez_sdk_spark.ts +1245 -298
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breeztech/breez-sdk-spark-react-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
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": "
|
|
215
|
-
"ios": "
|
|
214
|
+
"android": "bd7873a3e78068643d2bf6528e4b592aa5a9dfdb4baed91370b1149ce27caac0",
|
|
215
|
+
"ios": "957bd08d92434449b9e6274b423467880901537b54a10b595b6976500bcc6897"
|
|
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(
|
|
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
|
|
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
|
|
1550
|
+
type UniffiCallbackInterfaceBitcoinChainServiceMethod6 = (
|
|
1534
1551
|
uniffiHandle: bigint,
|
|
1535
1552
|
tx: Uint8Array,
|
|
1536
1553
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1537
1554
|
uniffiCallbackData: bigint
|
|
1538
1555
|
) => UniffiForeignFuture;
|
|
1539
|
-
type
|
|
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
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
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 = {
|