@breeztech/breez-sdk-spark-react-native 0.7.6 → 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 +77 -78
- package/cpp/generated/breez_sdk_spark.hpp +6 -6
- package/lib/commonjs/generated/breez_sdk_spark.js +42 -39
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark.js +41 -38
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +11 -11
- 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 +79 -73
- 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 +11 -11
- 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 +79 -73
- 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 +13 -13
- package/src/generated/breez_sdk_spark.ts +142 -136
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
|
}
|
|
@@ -250,7 +250,7 @@ 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;
|
|
@@ -273,14 +273,14 @@ interface NativeModuleInterface {
|
|
|
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,
|
|
@@ -760,13 +760,13 @@ interface NativeModuleInterface {
|
|
|
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
|
-
|
|
763
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key_encrypted(): number;
|
|
764
764
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_secret_key(): number;
|
|
765
765
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_static_deposit_signing_key(): number;
|
|
766
766
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_secret_keys(): number;
|
|
767
767
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret_with_proofs(): number;
|
|
768
|
-
|
|
769
|
-
|
|
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;
|
|
@@ -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>;
|
|
@@ -1384,13 +1384,13 @@ export type UniffiVTableCallbackInterfaceExternalSigner = {
|
|
|
1384
1384
|
generateRandomSigningCommitment: UniffiCallbackInterfaceExternalSignerMethod8;
|
|
1385
1385
|
getPublicKeyForNode: UniffiCallbackInterfaceExternalSignerMethod9;
|
|
1386
1386
|
generateRandomKey: UniffiCallbackInterfaceExternalSignerMethod10;
|
|
1387
|
-
|
|
1387
|
+
staticDepositSecretKeyEncrypted: UniffiCallbackInterfaceExternalSignerMethod11;
|
|
1388
1388
|
staticDepositSecretKey: UniffiCallbackInterfaceExternalSignerMethod12;
|
|
1389
1389
|
staticDepositSigningKey: UniffiCallbackInterfaceExternalSignerMethod13;
|
|
1390
1390
|
subtractSecretKeys: UniffiCallbackInterfaceExternalSignerMethod14;
|
|
1391
1391
|
splitSecretWithProofs: UniffiCallbackInterfaceExternalSignerMethod15;
|
|
1392
|
-
|
|
1393
|
-
|
|
1392
|
+
encryptSecretKeyForReceiver: UniffiCallbackInterfaceExternalSignerMethod16;
|
|
1393
|
+
publicKeyFromSecretKeySource: UniffiCallbackInterfaceExternalSignerMethod17;
|
|
1394
1394
|
signFrost: UniffiCallbackInterfaceExternalSignerMethod18;
|
|
1395
1395
|
aggregateFrost: UniffiCallbackInterfaceExternalSignerMethod19;
|
|
1396
1396
|
uniffiFree: UniffiCallbackInterfaceFree;
|