@breeztech/breez-sdk-spark-react-native 0.7.3 → 0.7.5
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 +371 -114
- package/cpp/generated/breez_sdk_spark.hpp +13 -0
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark.js +123 -10
- 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 +122 -9
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +27 -21
- 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 +325 -8
- 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 +27 -21
- 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 +325 -8
- 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 +38 -19
- package/src/generated/breez_sdk_spark.ts +614 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breeztech/breez-sdk-spark-react-native",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
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",
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
"version": "0.49.0"
|
|
198
198
|
},
|
|
199
199
|
"checksums": {
|
|
200
|
-
"android": "
|
|
201
|
-
"ios": "
|
|
200
|
+
"android": "44394fead4007b4c0127ca003f51dfcda2d19869ac351654a6afbdb42bd1d839",
|
|
201
|
+
"ios": "8d2dd43103eeb3d815b397571d343d91b51254c4a83aa0b06b2f40a9208d885b"
|
|
202
202
|
}
|
|
203
203
|
}
|
|
@@ -131,6 +131,10 @@ interface NativeModuleInterface {
|
|
|
131
131
|
ptr: bigint,
|
|
132
132
|
request: Uint8Array
|
|
133
133
|
): bigint;
|
|
134
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_lnurl_auth(
|
|
135
|
+
ptr: bigint,
|
|
136
|
+
requestData: Uint8Array
|
|
137
|
+
): bigint;
|
|
134
138
|
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_lnurl_pay(
|
|
135
139
|
ptr: bigint,
|
|
136
140
|
request: Uint8Array
|
|
@@ -231,6 +235,11 @@ interface NativeModuleInterface {
|
|
|
231
235
|
hash: Uint8Array,
|
|
232
236
|
path: Uint8Array
|
|
233
237
|
): bigint;
|
|
238
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_hmac_sha256(
|
|
239
|
+
ptr: bigint,
|
|
240
|
+
message: Uint8Array,
|
|
241
|
+
path: Uint8Array
|
|
242
|
+
): bigint;
|
|
234
243
|
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_frost_signing_commitments(
|
|
235
244
|
ptr: bigint
|
|
236
245
|
): bigint;
|
|
@@ -724,6 +733,7 @@ interface NativeModuleInterface {
|
|
|
724
733
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates(): number;
|
|
725
734
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments(): number;
|
|
726
735
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits(): number;
|
|
736
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth(): number;
|
|
727
737
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay(): number;
|
|
728
738
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw(): number;
|
|
729
739
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_parse(): number;
|
|
@@ -746,6 +756,7 @@ interface NativeModuleInterface {
|
|
|
746
756
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_encrypt(): number;
|
|
747
757
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_decrypt(): number;
|
|
748
758
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr(): number;
|
|
759
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_hmac_sha256(): number;
|
|
749
760
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_frost_signing_commitments(): number;
|
|
750
761
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node(): number;
|
|
751
762
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_key(): number;
|
|
@@ -1085,23 +1096,24 @@ type UniffiCallbackInterfaceExternalSignerMethod6 = (
|
|
|
1085
1096
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1086
1097
|
type UniffiCallbackInterfaceExternalSignerMethod7 = (
|
|
1087
1098
|
uniffiHandle: bigint,
|
|
1099
|
+
message: Uint8Array,
|
|
1100
|
+
path: Uint8Array,
|
|
1088
1101
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1089
1102
|
uniffiCallbackData: bigint
|
|
1090
1103
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1091
1104
|
type UniffiCallbackInterfaceExternalSignerMethod8 = (
|
|
1092
1105
|
uniffiHandle: bigint,
|
|
1093
|
-
id: Uint8Array,
|
|
1094
1106
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1095
1107
|
uniffiCallbackData: bigint
|
|
1096
1108
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1097
1109
|
type UniffiCallbackInterfaceExternalSignerMethod9 = (
|
|
1098
1110
|
uniffiHandle: bigint,
|
|
1111
|
+
id: Uint8Array,
|
|
1099
1112
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1100
1113
|
uniffiCallbackData: bigint
|
|
1101
1114
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1102
1115
|
type UniffiCallbackInterfaceExternalSignerMethod10 = (
|
|
1103
1116
|
uniffiHandle: bigint,
|
|
1104
|
-
index: number,
|
|
1105
1117
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1106
1118
|
uniffiCallbackData: bigint
|
|
1107
1119
|
) => UniffiResult<UniffiForeignFuture>;
|
|
@@ -1118,13 +1130,19 @@ type UniffiCallbackInterfaceExternalSignerMethod12 = (
|
|
|
1118
1130
|
uniffiCallbackData: bigint
|
|
1119
1131
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1120
1132
|
type UniffiCallbackInterfaceExternalSignerMethod13 = (
|
|
1133
|
+
uniffiHandle: bigint,
|
|
1134
|
+
index: number,
|
|
1135
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1136
|
+
uniffiCallbackData: bigint
|
|
1137
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1138
|
+
type UniffiCallbackInterfaceExternalSignerMethod14 = (
|
|
1121
1139
|
uniffiHandle: bigint,
|
|
1122
1140
|
signingKey: Uint8Array,
|
|
1123
1141
|
newSigningKey: Uint8Array,
|
|
1124
1142
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1125
1143
|
uniffiCallbackData: bigint
|
|
1126
1144
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1127
|
-
type
|
|
1145
|
+
type UniffiCallbackInterfaceExternalSignerMethod15 = (
|
|
1128
1146
|
uniffiHandle: bigint,
|
|
1129
1147
|
secret: Uint8Array,
|
|
1130
1148
|
threshold: number,
|
|
@@ -1132,26 +1150,26 @@ type UniffiCallbackInterfaceExternalSignerMethod14 = (
|
|
|
1132
1150
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1133
1151
|
uniffiCallbackData: bigint
|
|
1134
1152
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1135
|
-
type
|
|
1153
|
+
type UniffiCallbackInterfaceExternalSignerMethod16 = (
|
|
1136
1154
|
uniffiHandle: bigint,
|
|
1137
1155
|
privateKey: Uint8Array,
|
|
1138
1156
|
receiverPublicKey: Uint8Array,
|
|
1139
1157
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1140
1158
|
uniffiCallbackData: bigint
|
|
1141
1159
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1142
|
-
type
|
|
1160
|
+
type UniffiCallbackInterfaceExternalSignerMethod17 = (
|
|
1143
1161
|
uniffiHandle: bigint,
|
|
1144
1162
|
privateKey: Uint8Array,
|
|
1145
1163
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1146
1164
|
uniffiCallbackData: bigint
|
|
1147
1165
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1148
|
-
type
|
|
1166
|
+
type UniffiCallbackInterfaceExternalSignerMethod18 = (
|
|
1149
1167
|
uniffiHandle: bigint,
|
|
1150
1168
|
request: Uint8Array,
|
|
1151
1169
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1152
1170
|
uniffiCallbackData: bigint
|
|
1153
1171
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1154
|
-
type
|
|
1172
|
+
type UniffiCallbackInterfaceExternalSignerMethod19 = (
|
|
1155
1173
|
uniffiHandle: bigint,
|
|
1156
1174
|
request: Uint8Array,
|
|
1157
1175
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
@@ -1362,18 +1380,19 @@ export type UniffiVTableCallbackInterfaceExternalSigner = {
|
|
|
1362
1380
|
eciesEncrypt: UniffiCallbackInterfaceExternalSignerMethod4;
|
|
1363
1381
|
eciesDecrypt: UniffiCallbackInterfaceExternalSignerMethod5;
|
|
1364
1382
|
signHashSchnorr: UniffiCallbackInterfaceExternalSignerMethod6;
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1383
|
+
hmacSha256: UniffiCallbackInterfaceExternalSignerMethod7;
|
|
1384
|
+
generateFrostSigningCommitments: UniffiCallbackInterfaceExternalSignerMethod8;
|
|
1385
|
+
getPublicKeyForNode: UniffiCallbackInterfaceExternalSignerMethod9;
|
|
1386
|
+
generateRandomKey: UniffiCallbackInterfaceExternalSignerMethod10;
|
|
1387
|
+
getStaticDepositPrivateKeySource: UniffiCallbackInterfaceExternalSignerMethod11;
|
|
1388
|
+
getStaticDepositPrivateKey: UniffiCallbackInterfaceExternalSignerMethod12;
|
|
1389
|
+
getStaticDepositPublicKey: UniffiCallbackInterfaceExternalSignerMethod13;
|
|
1390
|
+
subtractPrivateKeys: UniffiCallbackInterfaceExternalSignerMethod14;
|
|
1391
|
+
splitSecret: UniffiCallbackInterfaceExternalSignerMethod15;
|
|
1392
|
+
encryptPrivateKeyForReceiver: UniffiCallbackInterfaceExternalSignerMethod16;
|
|
1393
|
+
getPublicKeyFromPrivateKeySource: UniffiCallbackInterfaceExternalSignerMethod17;
|
|
1394
|
+
signFrost: UniffiCallbackInterfaceExternalSignerMethod18;
|
|
1395
|
+
aggregateFrostSignatures: UniffiCallbackInterfaceExternalSignerMethod19;
|
|
1377
1396
|
uniffiFree: UniffiCallbackInterfaceFree;
|
|
1378
1397
|
};
|
|
1379
1398
|
export type UniffiVTableCallbackInterfaceFiatService = {
|