@breeztech/breez-sdk-spark-react-native 0.6.6 → 0.7.0-dev1
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 +5219 -840
- package/cpp/generated/breez_sdk_spark.hpp +179 -0
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark.js +674 -32
- 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 +674 -32
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +90 -1
- 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 +6186 -3579
- 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 +90 -1
- 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 +6186 -3579
- 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 +275 -3
- package/src/generated/breez_sdk_spark.ts +14518 -8898
|
@@ -87,6 +87,10 @@ interface NativeModuleInterface {
|
|
|
87
87
|
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_disconnect(
|
|
88
88
|
ptr: bigint
|
|
89
89
|
): bigint;
|
|
90
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_fetch_token_conversion_limits(
|
|
91
|
+
ptr: bigint,
|
|
92
|
+
request: Uint8Array
|
|
93
|
+
): bigint;
|
|
90
94
|
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_get_info(
|
|
91
95
|
ptr: bigint,
|
|
92
96
|
request: Uint8Array
|
|
@@ -186,6 +190,97 @@ interface NativeModuleInterface {
|
|
|
186
190
|
ptr: bigint,
|
|
187
191
|
request: Uint8Array
|
|
188
192
|
): bigint;
|
|
193
|
+
ubrn_uniffi_breez_sdk_spark_fn_clone_externalsigner(
|
|
194
|
+
ptr: bigint,
|
|
195
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
196
|
+
): bigint;
|
|
197
|
+
ubrn_uniffi_breez_sdk_spark_fn_free_externalsigner(
|
|
198
|
+
ptr: bigint,
|
|
199
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
200
|
+
): void;
|
|
201
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_identity_public_key(
|
|
202
|
+
ptr: bigint,
|
|
203
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
204
|
+
): Uint8Array;
|
|
205
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_derive_public_key(
|
|
206
|
+
ptr: bigint,
|
|
207
|
+
path: Uint8Array
|
|
208
|
+
): bigint;
|
|
209
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_ecdsa(
|
|
210
|
+
ptr: bigint,
|
|
211
|
+
message: Uint8Array,
|
|
212
|
+
path: Uint8Array
|
|
213
|
+
): bigint;
|
|
214
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_ecdsa_recoverable(
|
|
215
|
+
ptr: bigint,
|
|
216
|
+
message: Uint8Array,
|
|
217
|
+
path: Uint8Array
|
|
218
|
+
): bigint;
|
|
219
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_ecies_encrypt(
|
|
220
|
+
ptr: bigint,
|
|
221
|
+
message: Uint8Array,
|
|
222
|
+
path: Uint8Array
|
|
223
|
+
): bigint;
|
|
224
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_ecies_decrypt(
|
|
225
|
+
ptr: bigint,
|
|
226
|
+
message: Uint8Array,
|
|
227
|
+
path: Uint8Array
|
|
228
|
+
): bigint;
|
|
229
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_hash_schnorr(
|
|
230
|
+
ptr: bigint,
|
|
231
|
+
hash: Uint8Array,
|
|
232
|
+
path: Uint8Array
|
|
233
|
+
): bigint;
|
|
234
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_frost_signing_commitments(
|
|
235
|
+
ptr: bigint
|
|
236
|
+
): bigint;
|
|
237
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_for_node(
|
|
238
|
+
ptr: bigint,
|
|
239
|
+
id: Uint8Array
|
|
240
|
+
): bigint;
|
|
241
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_generate_random_key(
|
|
242
|
+
ptr: bigint
|
|
243
|
+
): bigint;
|
|
244
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_private_key_source(
|
|
245
|
+
ptr: bigint,
|
|
246
|
+
index: number
|
|
247
|
+
): bigint;
|
|
248
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_private_key(
|
|
249
|
+
ptr: bigint,
|
|
250
|
+
index: number
|
|
251
|
+
): bigint;
|
|
252
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_static_deposit_public_key(
|
|
253
|
+
ptr: bigint,
|
|
254
|
+
index: number
|
|
255
|
+
): bigint;
|
|
256
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_subtract_private_keys(
|
|
257
|
+
ptr: bigint,
|
|
258
|
+
signingKey: Uint8Array,
|
|
259
|
+
newSigningKey: Uint8Array
|
|
260
|
+
): bigint;
|
|
261
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_split_secret(
|
|
262
|
+
ptr: bigint,
|
|
263
|
+
secret: Uint8Array,
|
|
264
|
+
threshold: number,
|
|
265
|
+
numShares: number
|
|
266
|
+
): bigint;
|
|
267
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_encrypt_private_key_for_receiver(
|
|
268
|
+
ptr: bigint,
|
|
269
|
+
privateKey: Uint8Array,
|
|
270
|
+
receiverPublicKey: Uint8Array
|
|
271
|
+
): bigint;
|
|
272
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_get_public_key_from_private_key_source(
|
|
273
|
+
ptr: bigint,
|
|
274
|
+
privateKey: Uint8Array
|
|
275
|
+
): bigint;
|
|
276
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_sign_frost(
|
|
277
|
+
ptr: bigint,
|
|
278
|
+
request: Uint8Array
|
|
279
|
+
): bigint;
|
|
280
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_aggregate_frost_signatures(
|
|
281
|
+
ptr: bigint,
|
|
282
|
+
request: Uint8Array
|
|
283
|
+
): bigint;
|
|
189
284
|
ubrn_uniffi_breez_sdk_spark_fn_clone_fiatservice(
|
|
190
285
|
ptr: bigint,
|
|
191
286
|
uniffi_out_err: UniffiRustCallStatus
|
|
@@ -265,9 +360,7 @@ interface NativeModuleInterface {
|
|
|
265
360
|
): bigint;
|
|
266
361
|
ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_key_set(
|
|
267
362
|
ptr: bigint,
|
|
268
|
-
|
|
269
|
-
useAddressIndex: number,
|
|
270
|
-
accountNumber: Uint8Array
|
|
363
|
+
config: Uint8Array
|
|
271
364
|
): bigint;
|
|
272
365
|
ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_lnurl_client(
|
|
273
366
|
ptr: bigint,
|
|
@@ -438,10 +531,20 @@ interface NativeModuleInterface {
|
|
|
438
531
|
request: Uint8Array
|
|
439
532
|
): bigint;
|
|
440
533
|
ubrn_uniffi_breez_sdk_spark_fn_func_connect(request: Uint8Array): bigint;
|
|
534
|
+
ubrn_uniffi_breez_sdk_spark_fn_func_connect_with_signer(
|
|
535
|
+
request: Uint8Array
|
|
536
|
+
): bigint;
|
|
441
537
|
ubrn_uniffi_breez_sdk_spark_fn_func_default_config(
|
|
442
538
|
network: Uint8Array,
|
|
443
539
|
uniffi_out_err: UniffiRustCallStatus
|
|
444
540
|
): Uint8Array;
|
|
541
|
+
ubrn_uniffi_breez_sdk_spark_fn_func_default_external_signer(
|
|
542
|
+
mnemonic: Uint8Array,
|
|
543
|
+
passphrase: Uint8Array,
|
|
544
|
+
network: Uint8Array,
|
|
545
|
+
keySetConfig: Uint8Array,
|
|
546
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
547
|
+
): bigint;
|
|
445
548
|
ubrn_uniffi_breez_sdk_spark_fn_func_init_logging(
|
|
446
549
|
logDir: Uint8Array,
|
|
447
550
|
appLogger: Uint8Array,
|
|
@@ -592,7 +695,9 @@ interface NativeModuleInterface {
|
|
|
592
695
|
uniffi_out_err: UniffiRustCallStatus
|
|
593
696
|
): void;
|
|
594
697
|
ubrn_uniffi_breez_sdk_spark_checksum_func_connect(): number;
|
|
698
|
+
ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signer(): number;
|
|
595
699
|
ubrn_uniffi_breez_sdk_spark_checksum_func_default_config(): number;
|
|
700
|
+
ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signer(): number;
|
|
596
701
|
ubrn_uniffi_breez_sdk_spark_checksum_func_init_logging(): number;
|
|
597
702
|
ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos(): number;
|
|
598
703
|
ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status(): number;
|
|
@@ -607,6 +712,7 @@ interface NativeModuleInterface {
|
|
|
607
712
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_claim_htlc_payment(): number;
|
|
608
713
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_delete_lightning_address(): number;
|
|
609
714
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_disconnect(): number;
|
|
715
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_fetch_token_conversion_limits(): number;
|
|
610
716
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_info(): number;
|
|
611
717
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_leaf_optimization_progress(): number;
|
|
612
718
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_get_lightning_address(): number;
|
|
@@ -633,6 +739,25 @@ interface NativeModuleInterface {
|
|
|
633
739
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_start_leaf_optimization(): number;
|
|
634
740
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet(): number;
|
|
635
741
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings(): number;
|
|
742
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_identity_public_key(): number;
|
|
743
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_derive_public_key(): number;
|
|
744
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa(): number;
|
|
745
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_ecdsa_recoverable(): number;
|
|
746
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_encrypt(): number;
|
|
747
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_ecies_decrypt(): number;
|
|
748
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_hash_schnorr(): number;
|
|
749
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_frost_signing_commitments(): number;
|
|
750
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_for_node(): number;
|
|
751
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_generate_random_key(): number;
|
|
752
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key_source(): number;
|
|
753
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_private_key(): number;
|
|
754
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_static_deposit_public_key(): number;
|
|
755
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_subtract_private_keys(): number;
|
|
756
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_split_secret(): number;
|
|
757
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_encrypt_private_key_for_receiver(): number;
|
|
758
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_get_public_key_from_private_key_source(): number;
|
|
759
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_sign_frost(): number;
|
|
760
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_aggregate_frost_signatures(): number;
|
|
636
761
|
ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_currencies(): number;
|
|
637
762
|
ubrn_uniffi_breez_sdk_spark_checksum_method_fiatservice_fetch_fiat_rates(): number;
|
|
638
763
|
ubrn_uniffi_breez_sdk_spark_checksum_method_paymentobserver_before_send(): number;
|
|
@@ -692,6 +817,9 @@ interface NativeModuleInterface {
|
|
|
692
817
|
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_bitcoinchainservice(
|
|
693
818
|
vtable: UniffiVTableCallbackInterfaceBitcoinChainService
|
|
694
819
|
): void;
|
|
820
|
+
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalsigner(
|
|
821
|
+
vtable: UniffiVTableCallbackInterfaceExternalSigner
|
|
822
|
+
): void;
|
|
695
823
|
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_fiatservice(
|
|
696
824
|
vtable: UniffiVTableCallbackInterfaceFiatService
|
|
697
825
|
): void;
|
|
@@ -715,6 +843,10 @@ interface NativeModuleInterface {
|
|
|
715
843
|
pointer: bigint,
|
|
716
844
|
uniffi_out_err: UniffiRustCallStatus
|
|
717
845
|
): UniffiRustArcPtr;
|
|
846
|
+
ubrn_uniffi_internal_fn_method_externalsigner_ffi__bless_pointer(
|
|
847
|
+
pointer: bigint,
|
|
848
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
849
|
+
): UniffiRustArcPtr;
|
|
718
850
|
ubrn_uniffi_internal_fn_method_fiatservice_ffi__bless_pointer(
|
|
719
851
|
pointer: bigint,
|
|
720
852
|
uniffi_out_err: UniffiRustCallStatus
|
|
@@ -907,6 +1039,124 @@ type UniffiCallbackInterfaceBitcoinChainServiceMethod4 = (
|
|
|
907
1039
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
908
1040
|
uniffiCallbackData: bigint
|
|
909
1041
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1042
|
+
type UniffiCallbackInterfaceExternalSignerMethod0 = (
|
|
1043
|
+
uniffiHandle: bigint
|
|
1044
|
+
) => UniffiResult<Uint8Array>;
|
|
1045
|
+
type UniffiCallbackInterfaceExternalSignerMethod1 = (
|
|
1046
|
+
uniffiHandle: bigint,
|
|
1047
|
+
path: Uint8Array,
|
|
1048
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1049
|
+
uniffiCallbackData: bigint
|
|
1050
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1051
|
+
type UniffiCallbackInterfaceExternalSignerMethod2 = (
|
|
1052
|
+
uniffiHandle: bigint,
|
|
1053
|
+
message: Uint8Array,
|
|
1054
|
+
path: Uint8Array,
|
|
1055
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1056
|
+
uniffiCallbackData: bigint
|
|
1057
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1058
|
+
type UniffiCallbackInterfaceExternalSignerMethod3 = (
|
|
1059
|
+
uniffiHandle: bigint,
|
|
1060
|
+
message: Uint8Array,
|
|
1061
|
+
path: Uint8Array,
|
|
1062
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1063
|
+
uniffiCallbackData: bigint
|
|
1064
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1065
|
+
type UniffiCallbackInterfaceExternalSignerMethod4 = (
|
|
1066
|
+
uniffiHandle: bigint,
|
|
1067
|
+
message: Uint8Array,
|
|
1068
|
+
path: Uint8Array,
|
|
1069
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1070
|
+
uniffiCallbackData: bigint
|
|
1071
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1072
|
+
type UniffiCallbackInterfaceExternalSignerMethod5 = (
|
|
1073
|
+
uniffiHandle: bigint,
|
|
1074
|
+
message: Uint8Array,
|
|
1075
|
+
path: Uint8Array,
|
|
1076
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1077
|
+
uniffiCallbackData: bigint
|
|
1078
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1079
|
+
type UniffiCallbackInterfaceExternalSignerMethod6 = (
|
|
1080
|
+
uniffiHandle: bigint,
|
|
1081
|
+
hash: Uint8Array,
|
|
1082
|
+
path: Uint8Array,
|
|
1083
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1084
|
+
uniffiCallbackData: bigint
|
|
1085
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1086
|
+
type UniffiCallbackInterfaceExternalSignerMethod7 = (
|
|
1087
|
+
uniffiHandle: bigint,
|
|
1088
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1089
|
+
uniffiCallbackData: bigint
|
|
1090
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1091
|
+
type UniffiCallbackInterfaceExternalSignerMethod8 = (
|
|
1092
|
+
uniffiHandle: bigint,
|
|
1093
|
+
id: Uint8Array,
|
|
1094
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1095
|
+
uniffiCallbackData: bigint
|
|
1096
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1097
|
+
type UniffiCallbackInterfaceExternalSignerMethod9 = (
|
|
1098
|
+
uniffiHandle: bigint,
|
|
1099
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1100
|
+
uniffiCallbackData: bigint
|
|
1101
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1102
|
+
type UniffiCallbackInterfaceExternalSignerMethod10 = (
|
|
1103
|
+
uniffiHandle: bigint,
|
|
1104
|
+
index: number,
|
|
1105
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1106
|
+
uniffiCallbackData: bigint
|
|
1107
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1108
|
+
type UniffiCallbackInterfaceExternalSignerMethod11 = (
|
|
1109
|
+
uniffiHandle: bigint,
|
|
1110
|
+
index: number,
|
|
1111
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1112
|
+
uniffiCallbackData: bigint
|
|
1113
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1114
|
+
type UniffiCallbackInterfaceExternalSignerMethod12 = (
|
|
1115
|
+
uniffiHandle: bigint,
|
|
1116
|
+
index: number,
|
|
1117
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1118
|
+
uniffiCallbackData: bigint
|
|
1119
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1120
|
+
type UniffiCallbackInterfaceExternalSignerMethod13 = (
|
|
1121
|
+
uniffiHandle: bigint,
|
|
1122
|
+
signingKey: Uint8Array,
|
|
1123
|
+
newSigningKey: Uint8Array,
|
|
1124
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1125
|
+
uniffiCallbackData: bigint
|
|
1126
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1127
|
+
type UniffiCallbackInterfaceExternalSignerMethod14 = (
|
|
1128
|
+
uniffiHandle: bigint,
|
|
1129
|
+
secret: Uint8Array,
|
|
1130
|
+
threshold: number,
|
|
1131
|
+
numShares: number,
|
|
1132
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1133
|
+
uniffiCallbackData: bigint
|
|
1134
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1135
|
+
type UniffiCallbackInterfaceExternalSignerMethod15 = (
|
|
1136
|
+
uniffiHandle: bigint,
|
|
1137
|
+
privateKey: Uint8Array,
|
|
1138
|
+
receiverPublicKey: Uint8Array,
|
|
1139
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1140
|
+
uniffiCallbackData: bigint
|
|
1141
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1142
|
+
type UniffiCallbackInterfaceExternalSignerMethod16 = (
|
|
1143
|
+
uniffiHandle: bigint,
|
|
1144
|
+
privateKey: Uint8Array,
|
|
1145
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1146
|
+
uniffiCallbackData: bigint
|
|
1147
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1148
|
+
type UniffiCallbackInterfaceExternalSignerMethod17 = (
|
|
1149
|
+
uniffiHandle: bigint,
|
|
1150
|
+
request: Uint8Array,
|
|
1151
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1152
|
+
uniffiCallbackData: bigint
|
|
1153
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1154
|
+
type UniffiCallbackInterfaceExternalSignerMethod18 = (
|
|
1155
|
+
uniffiHandle: bigint,
|
|
1156
|
+
request: Uint8Array,
|
|
1157
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1158
|
+
uniffiCallbackData: bigint
|
|
1159
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
910
1160
|
type UniffiCallbackInterfaceFiatServiceMethod0 = (
|
|
911
1161
|
uniffiHandle: bigint,
|
|
912
1162
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
@@ -1104,6 +1354,28 @@ export type UniffiVTableCallbackInterfaceBitcoinChainService = {
|
|
|
1104
1354
|
recommendedFees: UniffiCallbackInterfaceBitcoinChainServiceMethod4;
|
|
1105
1355
|
uniffiFree: UniffiCallbackInterfaceFree;
|
|
1106
1356
|
};
|
|
1357
|
+
export type UniffiVTableCallbackInterfaceExternalSigner = {
|
|
1358
|
+
identityPublicKey: UniffiCallbackInterfaceExternalSignerMethod0;
|
|
1359
|
+
derivePublicKey: UniffiCallbackInterfaceExternalSignerMethod1;
|
|
1360
|
+
signEcdsa: UniffiCallbackInterfaceExternalSignerMethod2;
|
|
1361
|
+
signEcdsaRecoverable: UniffiCallbackInterfaceExternalSignerMethod3;
|
|
1362
|
+
eciesEncrypt: UniffiCallbackInterfaceExternalSignerMethod4;
|
|
1363
|
+
eciesDecrypt: UniffiCallbackInterfaceExternalSignerMethod5;
|
|
1364
|
+
signHashSchnorr: UniffiCallbackInterfaceExternalSignerMethod6;
|
|
1365
|
+
generateFrostSigningCommitments: UniffiCallbackInterfaceExternalSignerMethod7;
|
|
1366
|
+
getPublicKeyForNode: UniffiCallbackInterfaceExternalSignerMethod8;
|
|
1367
|
+
generateRandomKey: UniffiCallbackInterfaceExternalSignerMethod9;
|
|
1368
|
+
getStaticDepositPrivateKeySource: UniffiCallbackInterfaceExternalSignerMethod10;
|
|
1369
|
+
getStaticDepositPrivateKey: UniffiCallbackInterfaceExternalSignerMethod11;
|
|
1370
|
+
getStaticDepositPublicKey: UniffiCallbackInterfaceExternalSignerMethod12;
|
|
1371
|
+
subtractPrivateKeys: UniffiCallbackInterfaceExternalSignerMethod13;
|
|
1372
|
+
splitSecret: UniffiCallbackInterfaceExternalSignerMethod14;
|
|
1373
|
+
encryptPrivateKeyForReceiver: UniffiCallbackInterfaceExternalSignerMethod15;
|
|
1374
|
+
getPublicKeyFromPrivateKeySource: UniffiCallbackInterfaceExternalSignerMethod16;
|
|
1375
|
+
signFrost: UniffiCallbackInterfaceExternalSignerMethod17;
|
|
1376
|
+
aggregateFrostSignatures: UniffiCallbackInterfaceExternalSignerMethod18;
|
|
1377
|
+
uniffiFree: UniffiCallbackInterfaceFree;
|
|
1378
|
+
};
|
|
1107
1379
|
export type UniffiVTableCallbackInterfaceFiatService = {
|
|
1108
1380
|
fetchFiatCurrencies: UniffiCallbackInterfaceFiatServiceMethod0;
|
|
1109
1381
|
fetchFiatRates: UniffiCallbackInterfaceFiatServiceMethod1;
|