@breeztech/breez-sdk-spark-react-native 0.25.0 → 0.26.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 +645 -233
- 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 +270 -52
- 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 +269 -51
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +42 -34
- 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 +1137 -66
- 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 +42 -34
- 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 +1137 -66
- 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 +57 -33
- package/src/generated/breez_sdk_spark.ts +2082 -429
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.26.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": "e2ac09ed947629c6041e2dc95ec9ffe2c3571e2b7c542affaa25c9551df1e4b4",
|
|
215
|
+
"ios": "770946ef5a536aa582e51c492055667e3097940303d4eba7cdebd91193a6089b"
|
|
216
216
|
}
|
|
217
217
|
}
|
|
@@ -787,6 +787,14 @@ interface NativeModuleInterface {
|
|
|
787
787
|
vout: number,
|
|
788
788
|
payload: Uint8Array
|
|
789
789
|
): bigint;
|
|
790
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_storage_list_watched_deposit_addresses(
|
|
791
|
+
ptr: bigint
|
|
792
|
+
): bigint;
|
|
793
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_storage_update_watched_deposit_address(
|
|
794
|
+
ptr: bigint,
|
|
795
|
+
address: Uint8Array,
|
|
796
|
+
payload: Uint8Array
|
|
797
|
+
): bigint;
|
|
790
798
|
ubrn_uniffi_breez_sdk_spark_fn_method_storage_set_lnurl_metadata(
|
|
791
799
|
ptr: bigint,
|
|
792
800
|
metadata: Uint8Array
|
|
@@ -1273,6 +1281,8 @@ interface NativeModuleInterface {
|
|
|
1273
1281
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit(): number;
|
|
1274
1282
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_deposits(): number;
|
|
1275
1283
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_deposit(): number;
|
|
1284
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_watched_deposit_addresses(): number;
|
|
1285
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_watched_deposit_address(): number;
|
|
1276
1286
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata(): number;
|
|
1277
1287
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_contacts(): number;
|
|
1278
1288
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_contact(): number;
|
|
@@ -1910,102 +1920,114 @@ type UniffiCallbackInterfaceStorageMethod12 = (
|
|
|
1910
1920
|
uniffiCallbackData: bigint
|
|
1911
1921
|
) => UniffiForeignFuture;
|
|
1912
1922
|
type UniffiCallbackInterfaceStorageMethod13 = (
|
|
1923
|
+
uniffiHandle: bigint,
|
|
1924
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1925
|
+
uniffiCallbackData: bigint
|
|
1926
|
+
) => UniffiForeignFuture;
|
|
1927
|
+
type UniffiCallbackInterfaceStorageMethod14 = (
|
|
1928
|
+
uniffiHandle: bigint,
|
|
1929
|
+
address: Uint8Array,
|
|
1930
|
+
payload: Uint8Array,
|
|
1931
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1932
|
+
uniffiCallbackData: bigint
|
|
1933
|
+
) => UniffiForeignFuture;
|
|
1934
|
+
type UniffiCallbackInterfaceStorageMethod15 = (
|
|
1913
1935
|
uniffiHandle: bigint,
|
|
1914
1936
|
metadata: Uint8Array,
|
|
1915
1937
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1916
1938
|
uniffiCallbackData: bigint
|
|
1917
1939
|
) => UniffiForeignFuture;
|
|
1918
|
-
type
|
|
1940
|
+
type UniffiCallbackInterfaceStorageMethod16 = (
|
|
1919
1941
|
uniffiHandle: bigint,
|
|
1920
1942
|
request: Uint8Array,
|
|
1921
1943
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1922
1944
|
uniffiCallbackData: bigint
|
|
1923
1945
|
) => UniffiForeignFuture;
|
|
1924
|
-
type
|
|
1946
|
+
type UniffiCallbackInterfaceStorageMethod17 = (
|
|
1925
1947
|
uniffiHandle: bigint,
|
|
1926
1948
|
id: Uint8Array,
|
|
1927
1949
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1928
1950
|
uniffiCallbackData: bigint
|
|
1929
1951
|
) => UniffiForeignFuture;
|
|
1930
|
-
type
|
|
1952
|
+
type UniffiCallbackInterfaceStorageMethod18 = (
|
|
1931
1953
|
uniffiHandle: bigint,
|
|
1932
1954
|
contact: Uint8Array,
|
|
1933
1955
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1934
1956
|
uniffiCallbackData: bigint
|
|
1935
1957
|
) => UniffiForeignFuture;
|
|
1936
|
-
type
|
|
1958
|
+
type UniffiCallbackInterfaceStorageMethod19 = (
|
|
1937
1959
|
uniffiHandle: bigint,
|
|
1938
1960
|
id: Uint8Array,
|
|
1939
1961
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1940
1962
|
uniffiCallbackData: bigint
|
|
1941
1963
|
) => UniffiForeignFuture;
|
|
1942
|
-
type
|
|
1964
|
+
type UniffiCallbackInterfaceStorageMethod20 = (
|
|
1943
1965
|
uniffiHandle: bigint,
|
|
1944
1966
|
swap: Uint8Array,
|
|
1945
1967
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1946
1968
|
uniffiCallbackData: bigint
|
|
1947
1969
|
) => UniffiForeignFuture;
|
|
1948
|
-
type
|
|
1970
|
+
type UniffiCallbackInterfaceStorageMethod21 = (
|
|
1949
1971
|
uniffiHandle: bigint,
|
|
1950
1972
|
provider: Uint8Array,
|
|
1951
1973
|
id: Uint8Array,
|
|
1952
1974
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1953
1975
|
uniffiCallbackData: bigint
|
|
1954
1976
|
) => UniffiForeignFuture;
|
|
1955
|
-
type
|
|
1977
|
+
type UniffiCallbackInterfaceStorageMethod22 = (
|
|
1956
1978
|
uniffiHandle: bigint,
|
|
1957
1979
|
provider: Uint8Array,
|
|
1958
1980
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1959
1981
|
uniffiCallbackData: bigint
|
|
1960
1982
|
) => UniffiForeignFuture;
|
|
1961
|
-
type
|
|
1983
|
+
type UniffiCallbackInterfaceStorageMethod23 = (
|
|
1962
1984
|
uniffiHandle: bigint,
|
|
1963
1985
|
record: Uint8Array,
|
|
1964
1986
|
uniffiFutureCallback: UniffiForeignFutureCompleteU64,
|
|
1965
1987
|
uniffiCallbackData: bigint
|
|
1966
1988
|
) => UniffiForeignFuture;
|
|
1967
|
-
type
|
|
1989
|
+
type UniffiCallbackInterfaceStorageMethod24 = (
|
|
1968
1990
|
uniffiHandle: bigint,
|
|
1969
1991
|
record: Uint8Array,
|
|
1970
1992
|
localRevision: bigint,
|
|
1971
1993
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1972
1994
|
uniffiCallbackData: bigint
|
|
1973
1995
|
) => UniffiForeignFuture;
|
|
1974
|
-
type
|
|
1996
|
+
type UniffiCallbackInterfaceStorageMethod25 = (
|
|
1975
1997
|
uniffiHandle: bigint,
|
|
1976
1998
|
limit: number,
|
|
1977
1999
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1978
2000
|
uniffiCallbackData: bigint
|
|
1979
2001
|
) => UniffiForeignFuture;
|
|
1980
|
-
type
|
|
2002
|
+
type UniffiCallbackInterfaceStorageMethod26 = (
|
|
1981
2003
|
uniffiHandle: bigint,
|
|
1982
2004
|
uniffiFutureCallback: UniffiForeignFutureCompleteU64,
|
|
1983
2005
|
uniffiCallbackData: bigint
|
|
1984
2006
|
) => UniffiForeignFuture;
|
|
1985
|
-
type
|
|
2007
|
+
type UniffiCallbackInterfaceStorageMethod27 = (
|
|
1986
2008
|
uniffiHandle: bigint,
|
|
1987
2009
|
records: Uint8Array,
|
|
1988
2010
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1989
2011
|
uniffiCallbackData: bigint
|
|
1990
2012
|
) => UniffiForeignFuture;
|
|
1991
|
-
type
|
|
2013
|
+
type UniffiCallbackInterfaceStorageMethod28 = (
|
|
1992
2014
|
uniffiHandle: bigint,
|
|
1993
2015
|
record: Uint8Array,
|
|
1994
2016
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1995
2017
|
uniffiCallbackData: bigint
|
|
1996
2018
|
) => UniffiForeignFuture;
|
|
1997
|
-
type
|
|
2019
|
+
type UniffiCallbackInterfaceStorageMethod29 = (
|
|
1998
2020
|
uniffiHandle: bigint,
|
|
1999
2021
|
limit: number,
|
|
2000
2022
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
2001
2023
|
uniffiCallbackData: bigint
|
|
2002
2024
|
) => UniffiForeignFuture;
|
|
2003
|
-
type
|
|
2025
|
+
type UniffiCallbackInterfaceStorageMethod30 = (
|
|
2004
2026
|
uniffiHandle: bigint,
|
|
2005
2027
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
2006
2028
|
uniffiCallbackData: bigint
|
|
2007
2029
|
) => UniffiForeignFuture;
|
|
2008
|
-
type
|
|
2030
|
+
type UniffiCallbackInterfaceStorageMethod31 = (
|
|
2009
2031
|
uniffiHandle: bigint,
|
|
2010
2032
|
record: Uint8Array,
|
|
2011
2033
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
@@ -2120,23 +2142,25 @@ export type UniffiVTableCallbackInterfaceStorage = {
|
|
|
2120
2142
|
deleteDeposit: UniffiCallbackInterfaceStorageMethod10;
|
|
2121
2143
|
listDeposits: UniffiCallbackInterfaceStorageMethod11;
|
|
2122
2144
|
updateDeposit: UniffiCallbackInterfaceStorageMethod12;
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2145
|
+
listWatchedDepositAddresses: UniffiCallbackInterfaceStorageMethod13;
|
|
2146
|
+
updateWatchedDepositAddress: UniffiCallbackInterfaceStorageMethod14;
|
|
2147
|
+
setLnurlMetadata: UniffiCallbackInterfaceStorageMethod15;
|
|
2148
|
+
listContacts: UniffiCallbackInterfaceStorageMethod16;
|
|
2149
|
+
getContact: UniffiCallbackInterfaceStorageMethod17;
|
|
2150
|
+
insertContact: UniffiCallbackInterfaceStorageMethod18;
|
|
2151
|
+
deleteContact: UniffiCallbackInterfaceStorageMethod19;
|
|
2152
|
+
setCrossChainSwap: UniffiCallbackInterfaceStorageMethod20;
|
|
2153
|
+
getCrossChainSwap: UniffiCallbackInterfaceStorageMethod21;
|
|
2154
|
+
listActiveCrossChainSwaps: UniffiCallbackInterfaceStorageMethod22;
|
|
2155
|
+
addOutgoingChange: UniffiCallbackInterfaceStorageMethod23;
|
|
2156
|
+
completeOutgoingSync: UniffiCallbackInterfaceStorageMethod24;
|
|
2157
|
+
getPendingOutgoingChanges: UniffiCallbackInterfaceStorageMethod25;
|
|
2158
|
+
getLastRevision: UniffiCallbackInterfaceStorageMethod26;
|
|
2159
|
+
insertIncomingRecords: UniffiCallbackInterfaceStorageMethod27;
|
|
2160
|
+
deleteIncomingRecord: UniffiCallbackInterfaceStorageMethod28;
|
|
2161
|
+
getIncomingRecords: UniffiCallbackInterfaceStorageMethod29;
|
|
2162
|
+
getLatestOutgoingChange: UniffiCallbackInterfaceStorageMethod30;
|
|
2163
|
+
updateRecordFromIncoming: UniffiCallbackInterfaceStorageMethod31;
|
|
2140
2164
|
uniffiFree: UniffiCallbackInterfaceFree;
|
|
2141
2165
|
};
|
|
2142
2166
|
export type UniffiVTableCallbackInterfaceStorageBackend = {
|