@breeztech/breez-sdk-spark-react-native 0.7.5 → 0.7.7
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 +231 -234
- package/cpp/generated/breez_sdk_spark.hpp +23 -22
- package/lib/commonjs/generated/breez_sdk_spark.js +76 -53
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark.js +75 -52
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +35 -35
- 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 +133 -87
- 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 +35 -35
- 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 +133 -87
- 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 +37 -37
- package/src/generated/breez_sdk_spark.ts +248 -202
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.7",
|
|
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": "f3ccc2fabc815f0979581b2b701efc0f91f319483b1cc41ae2aa7e2dcfd8a82c",
|
|
201
|
+
"ios": "7c849abd96ce7b9efbe105262be0db8dde3cbf0415a816317735e64b3dba82ef"
|
|
202
202
|
}
|
|
203
203
|
}
|
|
@@ -220,12 +220,12 @@ interface NativeModuleInterface {
|
|
|
220
220
|
message: Uint8Array,
|
|
221
221
|
path: Uint8Array
|
|
222
222
|
): bigint;
|
|
223
|
-
|
|
223
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_ecies(
|
|
224
224
|
ptr: bigint,
|
|
225
225
|
message: Uint8Array,
|
|
226
226
|
path: Uint8Array
|
|
227
227
|
): bigint;
|
|
228
|
-
|
|
228
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_decrypt_ecies(
|
|
229
229
|
ptr: bigint,
|
|
230
230
|
message: Uint8Array,
|
|
231
231
|
path: Uint8Array
|
|
@@ -240,7 +240,7 @@ interface NativeModuleInterface {
|
|
|
240
240
|
message: Uint8Array,
|
|
241
241
|
path: Uint8Array
|
|
242
242
|
): bigint;
|
|
243
|
-
|
|
243
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_signing_commitment(
|
|
244
244
|
ptr: bigint
|
|
245
245
|
): bigint;
|
|
246
246
|
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_for_node(
|
|
@@ -250,43 +250,43 @@ interface NativeModuleInterface {
|
|
|
250
250
|
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_key(
|
|
251
251
|
ptr: bigint
|
|
252
252
|
): bigint;
|
|
253
|
-
|
|
253
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key_encrypted(
|
|
254
254
|
ptr: bigint,
|
|
255
255
|
index: number
|
|
256
256
|
): bigint;
|
|
257
|
-
|
|
257
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_secret_key(
|
|
258
258
|
ptr: bigint,
|
|
259
259
|
index: number
|
|
260
260
|
): bigint;
|
|
261
|
-
|
|
261
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_static_deposit_signing_key(
|
|
262
262
|
ptr: bigint,
|
|
263
263
|
index: number
|
|
264
264
|
): bigint;
|
|
265
|
-
|
|
265
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_secret_keys(
|
|
266
266
|
ptr: bigint,
|
|
267
267
|
signingKey: Uint8Array,
|
|
268
268
|
newSigningKey: Uint8Array
|
|
269
269
|
): bigint;
|
|
270
|
-
|
|
270
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret_with_proofs(
|
|
271
271
|
ptr: bigint,
|
|
272
272
|
secret: Uint8Array,
|
|
273
273
|
threshold: number,
|
|
274
274
|
numShares: number
|
|
275
275
|
): bigint;
|
|
276
|
-
|
|
276
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_secret_key_for_receiver(
|
|
277
277
|
ptr: bigint,
|
|
278
|
-
|
|
278
|
+
secretKey: Uint8Array,
|
|
279
279
|
receiverPublicKey: Uint8Array
|
|
280
280
|
): bigint;
|
|
281
|
-
|
|
281
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_public_key_from_secret_key_source(
|
|
282
282
|
ptr: bigint,
|
|
283
|
-
|
|
283
|
+
secretKey: Uint8Array
|
|
284
284
|
): bigint;
|
|
285
285
|
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_frost(
|
|
286
286
|
ptr: bigint,
|
|
287
287
|
request: Uint8Array
|
|
288
288
|
): bigint;
|
|
289
|
-
|
|
289
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost(
|
|
290
290
|
ptr: bigint,
|
|
291
291
|
request: Uint8Array
|
|
292
292
|
): bigint;
|
|
@@ -753,22 +753,22 @@ interface NativeModuleInterface {
|
|
|
753
753
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key(): number;
|
|
754
754
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa(): number;
|
|
755
755
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable(): number;
|
|
756
|
-
|
|
757
|
-
|
|
756
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_ecies(): number;
|
|
757
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_decrypt_ecies(): number;
|
|
758
758
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr(): number;
|
|
759
759
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_hmac_sha256(): number;
|
|
760
|
-
|
|
760
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_signing_commitment(): number;
|
|
761
761
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node(): number;
|
|
762
762
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_key(): number;
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
763
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key_encrypted(): number;
|
|
764
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key(): number;
|
|
765
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key(): number;
|
|
766
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secret_keys(): number;
|
|
767
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs(): number;
|
|
768
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_secret_key_for_receiver(): number;
|
|
769
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_public_key_from_secret_key_source(): number;
|
|
770
770
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost(): number;
|
|
771
|
-
|
|
771
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost(): number;
|
|
772
772
|
ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies(): number;
|
|
773
773
|
ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates(): number;
|
|
774
774
|
ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send(): number;
|
|
@@ -1152,14 +1152,14 @@ type UniffiCallbackInterfaceExternalSignerMethod15 = (
|
|
|
1152
1152
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1153
1153
|
type UniffiCallbackInterfaceExternalSignerMethod16 = (
|
|
1154
1154
|
uniffiHandle: bigint,
|
|
1155
|
-
|
|
1155
|
+
secretKey: Uint8Array,
|
|
1156
1156
|
receiverPublicKey: Uint8Array,
|
|
1157
1157
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1158
1158
|
uniffiCallbackData: bigint
|
|
1159
1159
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1160
1160
|
type UniffiCallbackInterfaceExternalSignerMethod17 = (
|
|
1161
1161
|
uniffiHandle: bigint,
|
|
1162
|
-
|
|
1162
|
+
secretKey: Uint8Array,
|
|
1163
1163
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1164
1164
|
uniffiCallbackData: bigint
|
|
1165
1165
|
) => UniffiResult<UniffiForeignFuture>;
|
|
@@ -1377,22 +1377,22 @@ export type UniffiVTableCallbackInterfaceExternalSigner = {
|
|
|
1377
1377
|
derivePublicKey: UniffiCallbackInterfaceExternalSignerMethod1;
|
|
1378
1378
|
signEcdsa: UniffiCallbackInterfaceExternalSignerMethod2;
|
|
1379
1379
|
signEcdsaRecoverable: UniffiCallbackInterfaceExternalSignerMethod3;
|
|
1380
|
-
|
|
1381
|
-
|
|
1380
|
+
encryptEcies: UniffiCallbackInterfaceExternalSignerMethod4;
|
|
1381
|
+
decryptEcies: UniffiCallbackInterfaceExternalSignerMethod5;
|
|
1382
1382
|
signHashSchnorr: UniffiCallbackInterfaceExternalSignerMethod6;
|
|
1383
1383
|
hmacSha256: UniffiCallbackInterfaceExternalSignerMethod7;
|
|
1384
|
-
|
|
1384
|
+
generateRandomSigningCommitment: UniffiCallbackInterfaceExternalSignerMethod8;
|
|
1385
1385
|
getPublicKeyForNode: UniffiCallbackInterfaceExternalSignerMethod9;
|
|
1386
1386
|
generateRandomKey: UniffiCallbackInterfaceExternalSignerMethod10;
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1387
|
+
staticDepositSecretKeyEncrypted: UniffiCallbackInterfaceExternalSignerMethod11;
|
|
1388
|
+
staticDepositSecretKey: UniffiCallbackInterfaceExternalSignerMethod12;
|
|
1389
|
+
staticDepositSigningKey: UniffiCallbackInterfaceExternalSignerMethod13;
|
|
1390
|
+
subtractSecretKeys: UniffiCallbackInterfaceExternalSignerMethod14;
|
|
1391
|
+
splitSecretWithProofs: UniffiCallbackInterfaceExternalSignerMethod15;
|
|
1392
|
+
encryptSecretKeyForReceiver: UniffiCallbackInterfaceExternalSignerMethod16;
|
|
1393
|
+
publicKeyFromSecretKeySource: UniffiCallbackInterfaceExternalSignerMethod17;
|
|
1394
1394
|
signFrost: UniffiCallbackInterfaceExternalSignerMethod18;
|
|
1395
|
-
|
|
1395
|
+
aggregateFrost: UniffiCallbackInterfaceExternalSignerMethod19;
|
|
1396
1396
|
uniffiFree: UniffiCallbackInterfaceFree;
|
|
1397
1397
|
};
|
|
1398
1398
|
export type UniffiVTableCallbackInterfaceFiatService = {
|