@breeztech/breez-sdk-spark-react-native 0.12.2-dev3 → 0.12.2
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/README.md +6 -6
- package/android/CMakeLists.txt +4 -3
- package/{BreezSdkSparkReactNative.podspec → breeztech-breez-sdk-spark-react-native.podspec} +2 -2
- package/cpp/generated/breez_sdk_spark.cpp +448 -657
- package/cpp/generated/breez_sdk_spark.hpp +29 -49
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark.js +155 -366
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark_bindings.js +2 -4
- package/lib/commonjs/generated/breez_sdk_spark_bindings.js.map +1 -1
- package/lib/commonjs/index.js +1 -11
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark.js +154 -365
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark_bindings.js +2 -4
- package/lib/module/generated/breez_sdk_spark_bindings.js.map +1 -1
- package/lib/module/index.js +0 -7
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +71 -77
- 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 +116 -1037
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +0 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts +71 -77
- 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 +116 -1037
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +0 -1
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/generated/breez_sdk_spark-ffi.ts +91 -106
- package/src/generated/breez_sdk_spark.ts +1030 -2796
- package/src/generated/breez_sdk_spark_bindings.ts +2 -2
- package/src/index.tsx +0 -7
|
@@ -2,7 +2,6 @@ export * from './generated/breez_sdk_spark';
|
|
|
2
2
|
export * from './generated/breez_sdk_spark_bindings';
|
|
3
3
|
import * as breez_sdk_spark from './generated/breez_sdk_spark';
|
|
4
4
|
import * as breez_sdk_spark_bindings from './generated/breez_sdk_spark_bindings';
|
|
5
|
-
export declare function uniffiInitAsync(): Promise<void>;
|
|
6
5
|
declare const _default: {
|
|
7
6
|
breez_sdk_spark: typeof breez_sdk_spark;
|
|
8
7
|
breez_sdk_spark_bindings: typeof breez_sdk_spark_bindings;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAaA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AAKrD,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,wBAAwB,MAAM,sCAAsC,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAaA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AAKrD,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,wBAAwB,MAAM,sCAAsC,CAAC;;;;;AAajF,wBAGE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breeztech/breez-sdk-spark-react-native",
|
|
3
|
-
"version": "0.12.2
|
|
3
|
+
"version": "0.12.2",
|
|
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",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"registry": "https://registry.npmjs.org/"
|
|
84
84
|
},
|
|
85
85
|
"dependencies": {
|
|
86
|
-
"uniffi-bindgen-react-native": "^0.
|
|
86
|
+
"uniffi-bindgen-react-native": "^0.28.3-5"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@commitlint/config-conventional": "^17.0.2",
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
"version": "0.49.0"
|
|
198
198
|
},
|
|
199
199
|
"checksums": {
|
|
200
|
-
"android": "
|
|
201
|
-
"ios": "
|
|
200
|
+
"android": "9f7f01125662e9da4b75abf7afe3743a467f03e12f86baffc887903511a617ed",
|
|
201
|
+
"ios": "c1f15bfd41129fa22b2b1cedb928a265265d2a780f37ff945a810ae455777a6b"
|
|
202
202
|
}
|
|
203
203
|
}
|
|
@@ -31,9 +31,6 @@ interface NativeModuleInterface {
|
|
|
31
31
|
ptr: bigint,
|
|
32
32
|
uniffi_out_err: UniffiRustCallStatus
|
|
33
33
|
): void;
|
|
34
|
-
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_bitcoinchainservice(
|
|
35
|
-
vtable: UniffiVTableCallbackInterfaceBitcoinChainService
|
|
36
|
-
): void;
|
|
37
34
|
ubrn_uniffi_breez_sdk_spark_fn_method_bitcoinchainservice_get_address_utxos(
|
|
38
35
|
ptr: bigint,
|
|
39
36
|
address: Uint8Array
|
|
@@ -150,9 +147,6 @@ interface NativeModuleInterface {
|
|
|
150
147
|
ptr: bigint,
|
|
151
148
|
request: Uint8Array
|
|
152
149
|
): bigint;
|
|
153
|
-
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_list_webhooks(
|
|
154
|
-
ptr: bigint
|
|
155
|
-
): bigint;
|
|
156
150
|
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_lnurl_auth(
|
|
157
151
|
ptr: bigint,
|
|
158
152
|
requestData: Uint8Array
|
|
@@ -192,10 +186,6 @@ interface NativeModuleInterface {
|
|
|
192
186
|
ptr: bigint,
|
|
193
187
|
request: Uint8Array
|
|
194
188
|
): bigint;
|
|
195
|
-
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_register_webhook(
|
|
196
|
-
ptr: bigint,
|
|
197
|
-
request: Uint8Array
|
|
198
|
-
): bigint;
|
|
199
189
|
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_remove_event_listener(
|
|
200
190
|
ptr: bigint,
|
|
201
191
|
id: Uint8Array
|
|
@@ -209,13 +199,10 @@ interface NativeModuleInterface {
|
|
|
209
199
|
request: Uint8Array
|
|
210
200
|
): bigint;
|
|
211
201
|
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_start_leaf_optimization(
|
|
212
|
-
ptr: bigint
|
|
213
|
-
): bigint;
|
|
214
|
-
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_sync_wallet(
|
|
215
202
|
ptr: bigint,
|
|
216
|
-
|
|
217
|
-
):
|
|
218
|
-
|
|
203
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
204
|
+
): void;
|
|
205
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_sync_wallet(
|
|
219
206
|
ptr: bigint,
|
|
220
207
|
request: Uint8Array
|
|
221
208
|
): bigint;
|
|
@@ -235,9 +222,6 @@ interface NativeModuleInterface {
|
|
|
235
222
|
ptr: bigint,
|
|
236
223
|
uniffi_out_err: UniffiRustCallStatus
|
|
237
224
|
): void;
|
|
238
|
-
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalsigner(
|
|
239
|
-
vtable: UniffiVTableCallbackInterfaceExternalSigner
|
|
240
|
-
): void;
|
|
241
225
|
ubrn_uniffi_breez_sdk_spark_fn_method_externalsigner_identity_public_key(
|
|
242
226
|
ptr: bigint,
|
|
243
227
|
uniffi_out_err: UniffiRustCallStatus
|
|
@@ -334,9 +318,6 @@ interface NativeModuleInterface {
|
|
|
334
318
|
ptr: bigint,
|
|
335
319
|
uniffi_out_err: UniffiRustCallStatus
|
|
336
320
|
): void;
|
|
337
|
-
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_fiatservice(
|
|
338
|
-
vtable: UniffiVTableCallbackInterfaceFiatService
|
|
339
|
-
): void;
|
|
340
321
|
ubrn_uniffi_breez_sdk_spark_fn_method_fiatservice_fetch_fiat_currencies(
|
|
341
322
|
ptr: bigint
|
|
342
323
|
): bigint;
|
|
@@ -378,9 +359,6 @@ interface NativeModuleInterface {
|
|
|
378
359
|
ptr: bigint,
|
|
379
360
|
uniffi_out_err: UniffiRustCallStatus
|
|
380
361
|
): void;
|
|
381
|
-
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_passkeyprfprovider(
|
|
382
|
-
vtable: UniffiVTableCallbackInterfacePasskeyPrfProvider
|
|
383
|
-
): void;
|
|
384
362
|
ubrn_uniffi_breez_sdk_spark_fn_method_passkeyprfprovider_derive_prf_seed(
|
|
385
363
|
ptr: bigint,
|
|
386
364
|
salt: Uint8Array
|
|
@@ -396,9 +374,6 @@ interface NativeModuleInterface {
|
|
|
396
374
|
ptr: bigint,
|
|
397
375
|
uniffi_out_err: UniffiRustCallStatus
|
|
398
376
|
): void;
|
|
399
|
-
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_paymentobserver(
|
|
400
|
-
vtable: UniffiVTableCallbackInterfacePaymentObserver
|
|
401
|
-
): void;
|
|
402
377
|
ubrn_uniffi_breez_sdk_spark_fn_method_paymentobserver_before_send(
|
|
403
378
|
ptr: bigint,
|
|
404
379
|
payments: Uint8Array
|
|
@@ -411,9 +386,6 @@ interface NativeModuleInterface {
|
|
|
411
386
|
ptr: bigint,
|
|
412
387
|
uniffi_out_err: UniffiRustCallStatus
|
|
413
388
|
): void;
|
|
414
|
-
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_restclient(
|
|
415
|
-
vtable: UniffiVTableCallbackInterfaceRestClient
|
|
416
|
-
): void;
|
|
417
389
|
ubrn_uniffi_breez_sdk_spark_fn_method_restclient_get_request(
|
|
418
390
|
ptr: bigint,
|
|
419
391
|
url: Uint8Array,
|
|
@@ -487,9 +459,6 @@ interface NativeModuleInterface {
|
|
|
487
459
|
ptr: bigint,
|
|
488
460
|
uniffi_out_err: UniffiRustCallStatus
|
|
489
461
|
): void;
|
|
490
|
-
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_storage(
|
|
491
|
-
vtable: UniffiVTableCallbackInterfaceStorage
|
|
492
|
-
): void;
|
|
493
462
|
ubrn_uniffi_breez_sdk_spark_fn_method_storage_delete_cached_item(
|
|
494
463
|
ptr: bigint,
|
|
495
464
|
key: Uint8Array
|
|
@@ -532,8 +501,7 @@ interface NativeModuleInterface {
|
|
|
532
501
|
ptr: bigint,
|
|
533
502
|
txid: Uint8Array,
|
|
534
503
|
vout: number,
|
|
535
|
-
amountSats: bigint
|
|
536
|
-
isMature: number
|
|
504
|
+
amountSats: bigint
|
|
537
505
|
): bigint;
|
|
538
506
|
ubrn_uniffi_breez_sdk_spark_fn_method_storage_delete_deposit(
|
|
539
507
|
ptr: bigint,
|
|
@@ -638,12 +606,6 @@ interface NativeModuleInterface {
|
|
|
638
606
|
ptr: bigint,
|
|
639
607
|
request: Uint8Array
|
|
640
608
|
): bigint;
|
|
641
|
-
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_eventlistener(
|
|
642
|
-
vtable: UniffiVTableCallbackInterfaceEventListener
|
|
643
|
-
): void;
|
|
644
|
-
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_logger(
|
|
645
|
-
vtable: UniffiVTableCallbackInterfaceLogger
|
|
646
|
-
): void;
|
|
647
609
|
ubrn_uniffi_breez_sdk_spark_fn_func_connect(request: Uint8Array): bigint;
|
|
648
610
|
ubrn_uniffi_breez_sdk_spark_fn_func_connect_with_signer(
|
|
649
611
|
request: Uint8Array
|
|
@@ -844,7 +806,6 @@ interface NativeModuleInterface {
|
|
|
844
806
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_fiat_rates(): number;
|
|
845
807
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_payments(): number;
|
|
846
808
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_unclaimed_deposits(): number;
|
|
847
|
-
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_list_webhooks(): number;
|
|
848
809
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_auth(): number;
|
|
849
810
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_pay(): number;
|
|
850
811
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_lnurl_withdraw(): number;
|
|
@@ -855,13 +816,11 @@ interface NativeModuleInterface {
|
|
|
855
816
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees(): number;
|
|
856
817
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit(): number;
|
|
857
818
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address(): number;
|
|
858
|
-
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_webhook(): number;
|
|
859
819
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener(): number;
|
|
860
820
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment(): number;
|
|
861
821
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message(): number;
|
|
862
822
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_start_leaf_optimization(): number;
|
|
863
823
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet(): number;
|
|
864
|
-
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_unregister_webhook(): number;
|
|
865
824
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_contact(): number;
|
|
866
825
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_update_user_settings(): number;
|
|
867
826
|
ubrn_uniffi_breez_sdk_spark_checksum_method_externalsigner_identity_public_key(): number;
|
|
@@ -944,6 +903,33 @@ interface NativeModuleInterface {
|
|
|
944
903
|
ubrn_uniffi_breez_sdk_spark_checksum_method_eventlistener_on_event(): number;
|
|
945
904
|
ubrn_uniffi_breez_sdk_spark_checksum_method_logger_log(): number;
|
|
946
905
|
ubrn_ffi_breez_sdk_spark_uniffi_contract_version(): number;
|
|
906
|
+
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_eventlistener(
|
|
907
|
+
vtable: UniffiVTableCallbackInterfaceEventListener
|
|
908
|
+
): void;
|
|
909
|
+
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_logger(
|
|
910
|
+
vtable: UniffiVTableCallbackInterfaceLogger
|
|
911
|
+
): void;
|
|
912
|
+
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_bitcoinchainservice(
|
|
913
|
+
vtable: UniffiVTableCallbackInterfaceBitcoinChainService
|
|
914
|
+
): void;
|
|
915
|
+
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_externalsigner(
|
|
916
|
+
vtable: UniffiVTableCallbackInterfaceExternalSigner
|
|
917
|
+
): void;
|
|
918
|
+
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_fiatservice(
|
|
919
|
+
vtable: UniffiVTableCallbackInterfaceFiatService
|
|
920
|
+
): void;
|
|
921
|
+
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_passkeyprfprovider(
|
|
922
|
+
vtable: UniffiVTableCallbackInterfacePasskeyPrfProvider
|
|
923
|
+
): void;
|
|
924
|
+
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_paymentobserver(
|
|
925
|
+
vtable: UniffiVTableCallbackInterfacePaymentObserver
|
|
926
|
+
): void;
|
|
927
|
+
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_restclient(
|
|
928
|
+
vtable: UniffiVTableCallbackInterfaceRestClient
|
|
929
|
+
): void;
|
|
930
|
+
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_storage(
|
|
931
|
+
vtable: UniffiVTableCallbackInterfaceStorage
|
|
932
|
+
): void;
|
|
947
933
|
ubrn_uniffi_internal_fn_method_bitcoinchainservice_ffi__bless_pointer(
|
|
948
934
|
pointer: bigint,
|
|
949
935
|
uniffi_out_err: UniffiRustCallStatus
|
|
@@ -1118,7 +1104,7 @@ type UniffiCallbackInterfaceEventListenerMethod0 = (
|
|
|
1118
1104
|
event: Uint8Array,
|
|
1119
1105
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1120
1106
|
uniffiCallbackData: bigint
|
|
1121
|
-
) => UniffiForeignFuture
|
|
1107
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1122
1108
|
type UniffiCallbackInterfaceLoggerMethod0 = (
|
|
1123
1109
|
uniffiHandle: bigint,
|
|
1124
1110
|
l: Uint8Array
|
|
@@ -1128,30 +1114,30 @@ type UniffiCallbackInterfaceBitcoinChainServiceMethod0 = (
|
|
|
1128
1114
|
address: Uint8Array,
|
|
1129
1115
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1130
1116
|
uniffiCallbackData: bigint
|
|
1131
|
-
) => UniffiForeignFuture
|
|
1117
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1132
1118
|
type UniffiCallbackInterfaceBitcoinChainServiceMethod1 = (
|
|
1133
1119
|
uniffiHandle: bigint,
|
|
1134
1120
|
txid: Uint8Array,
|
|
1135
1121
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1136
1122
|
uniffiCallbackData: bigint
|
|
1137
|
-
) => UniffiForeignFuture
|
|
1123
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1138
1124
|
type UniffiCallbackInterfaceBitcoinChainServiceMethod2 = (
|
|
1139
1125
|
uniffiHandle: bigint,
|
|
1140
1126
|
txid: Uint8Array,
|
|
1141
1127
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1142
1128
|
uniffiCallbackData: bigint
|
|
1143
|
-
) => UniffiForeignFuture
|
|
1129
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1144
1130
|
type UniffiCallbackInterfaceBitcoinChainServiceMethod3 = (
|
|
1145
1131
|
uniffiHandle: bigint,
|
|
1146
1132
|
tx: Uint8Array,
|
|
1147
1133
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1148
1134
|
uniffiCallbackData: bigint
|
|
1149
|
-
) => UniffiForeignFuture
|
|
1135
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1150
1136
|
type UniffiCallbackInterfaceBitcoinChainServiceMethod4 = (
|
|
1151
1137
|
uniffiHandle: bigint,
|
|
1152
1138
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1153
1139
|
uniffiCallbackData: bigint
|
|
1154
|
-
) => UniffiForeignFuture
|
|
1140
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1155
1141
|
type UniffiCallbackInterfaceExternalSignerMethod0 = (
|
|
1156
1142
|
uniffiHandle: bigint
|
|
1157
1143
|
) => UniffiResult<Uint8Array>;
|
|
@@ -1160,90 +1146,90 @@ type UniffiCallbackInterfaceExternalSignerMethod1 = (
|
|
|
1160
1146
|
path: Uint8Array,
|
|
1161
1147
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1162
1148
|
uniffiCallbackData: bigint
|
|
1163
|
-
) => UniffiForeignFuture
|
|
1149
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1164
1150
|
type UniffiCallbackInterfaceExternalSignerMethod2 = (
|
|
1165
1151
|
uniffiHandle: bigint,
|
|
1166
1152
|
message: Uint8Array,
|
|
1167
1153
|
path: Uint8Array,
|
|
1168
1154
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1169
1155
|
uniffiCallbackData: bigint
|
|
1170
|
-
) => UniffiForeignFuture
|
|
1156
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1171
1157
|
type UniffiCallbackInterfaceExternalSignerMethod3 = (
|
|
1172
1158
|
uniffiHandle: bigint,
|
|
1173
1159
|
message: Uint8Array,
|
|
1174
1160
|
path: Uint8Array,
|
|
1175
1161
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1176
1162
|
uniffiCallbackData: bigint
|
|
1177
|
-
) => UniffiForeignFuture
|
|
1163
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1178
1164
|
type UniffiCallbackInterfaceExternalSignerMethod4 = (
|
|
1179
1165
|
uniffiHandle: bigint,
|
|
1180
1166
|
message: Uint8Array,
|
|
1181
1167
|
path: Uint8Array,
|
|
1182
1168
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1183
1169
|
uniffiCallbackData: bigint
|
|
1184
|
-
) => UniffiForeignFuture
|
|
1170
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1185
1171
|
type UniffiCallbackInterfaceExternalSignerMethod5 = (
|
|
1186
1172
|
uniffiHandle: bigint,
|
|
1187
1173
|
message: Uint8Array,
|
|
1188
1174
|
path: Uint8Array,
|
|
1189
1175
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1190
1176
|
uniffiCallbackData: bigint
|
|
1191
|
-
) => UniffiForeignFuture
|
|
1177
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1192
1178
|
type UniffiCallbackInterfaceExternalSignerMethod6 = (
|
|
1193
1179
|
uniffiHandle: bigint,
|
|
1194
1180
|
hash: Uint8Array,
|
|
1195
1181
|
path: Uint8Array,
|
|
1196
1182
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1197
1183
|
uniffiCallbackData: bigint
|
|
1198
|
-
) => UniffiForeignFuture
|
|
1184
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1199
1185
|
type UniffiCallbackInterfaceExternalSignerMethod7 = (
|
|
1200
1186
|
uniffiHandle: bigint,
|
|
1201
1187
|
message: Uint8Array,
|
|
1202
1188
|
path: Uint8Array,
|
|
1203
1189
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1204
1190
|
uniffiCallbackData: bigint
|
|
1205
|
-
) => UniffiForeignFuture
|
|
1191
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1206
1192
|
type UniffiCallbackInterfaceExternalSignerMethod8 = (
|
|
1207
1193
|
uniffiHandle: bigint,
|
|
1208
1194
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1209
1195
|
uniffiCallbackData: bigint
|
|
1210
|
-
) => UniffiForeignFuture
|
|
1196
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1211
1197
|
type UniffiCallbackInterfaceExternalSignerMethod9 = (
|
|
1212
1198
|
uniffiHandle: bigint,
|
|
1213
1199
|
id: Uint8Array,
|
|
1214
1200
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1215
1201
|
uniffiCallbackData: bigint
|
|
1216
|
-
) => UniffiForeignFuture
|
|
1202
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1217
1203
|
type UniffiCallbackInterfaceExternalSignerMethod10 = (
|
|
1218
1204
|
uniffiHandle: bigint,
|
|
1219
1205
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1220
1206
|
uniffiCallbackData: bigint
|
|
1221
|
-
) => UniffiForeignFuture
|
|
1207
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1222
1208
|
type UniffiCallbackInterfaceExternalSignerMethod11 = (
|
|
1223
1209
|
uniffiHandle: bigint,
|
|
1224
1210
|
index: number,
|
|
1225
1211
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1226
1212
|
uniffiCallbackData: bigint
|
|
1227
|
-
) => UniffiForeignFuture
|
|
1213
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1228
1214
|
type UniffiCallbackInterfaceExternalSignerMethod12 = (
|
|
1229
1215
|
uniffiHandle: bigint,
|
|
1230
1216
|
index: number,
|
|
1231
1217
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1232
1218
|
uniffiCallbackData: bigint
|
|
1233
|
-
) => UniffiForeignFuture
|
|
1219
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1234
1220
|
type UniffiCallbackInterfaceExternalSignerMethod13 = (
|
|
1235
1221
|
uniffiHandle: bigint,
|
|
1236
1222
|
index: number,
|
|
1237
1223
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1238
1224
|
uniffiCallbackData: bigint
|
|
1239
|
-
) => UniffiForeignFuture
|
|
1225
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1240
1226
|
type UniffiCallbackInterfaceExternalSignerMethod14 = (
|
|
1241
1227
|
uniffiHandle: bigint,
|
|
1242
1228
|
signingKey: Uint8Array,
|
|
1243
1229
|
newSigningKey: Uint8Array,
|
|
1244
1230
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1245
1231
|
uniffiCallbackData: bigint
|
|
1246
|
-
) => UniffiForeignFuture
|
|
1232
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1247
1233
|
type UniffiCallbackInterfaceExternalSignerMethod15 = (
|
|
1248
1234
|
uniffiHandle: bigint,
|
|
1249
1235
|
secret: Uint8Array,
|
|
@@ -1251,66 +1237,66 @@ type UniffiCallbackInterfaceExternalSignerMethod15 = (
|
|
|
1251
1237
|
numShares: number,
|
|
1252
1238
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1253
1239
|
uniffiCallbackData: bigint
|
|
1254
|
-
) => UniffiForeignFuture
|
|
1240
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1255
1241
|
type UniffiCallbackInterfaceExternalSignerMethod16 = (
|
|
1256
1242
|
uniffiHandle: bigint,
|
|
1257
1243
|
encryptedSecret: Uint8Array,
|
|
1258
1244
|
receiverPublicKey: Uint8Array,
|
|
1259
1245
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1260
1246
|
uniffiCallbackData: bigint
|
|
1261
|
-
) => UniffiForeignFuture
|
|
1247
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1262
1248
|
type UniffiCallbackInterfaceExternalSignerMethod17 = (
|
|
1263
1249
|
uniffiHandle: bigint,
|
|
1264
1250
|
secret: Uint8Array,
|
|
1265
1251
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1266
1252
|
uniffiCallbackData: bigint
|
|
1267
|
-
) => UniffiForeignFuture
|
|
1253
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1268
1254
|
type UniffiCallbackInterfaceExternalSignerMethod18 = (
|
|
1269
1255
|
uniffiHandle: bigint,
|
|
1270
1256
|
request: Uint8Array,
|
|
1271
1257
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1272
1258
|
uniffiCallbackData: bigint
|
|
1273
|
-
) => UniffiForeignFuture
|
|
1259
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1274
1260
|
type UniffiCallbackInterfaceExternalSignerMethod19 = (
|
|
1275
1261
|
uniffiHandle: bigint,
|
|
1276
1262
|
request: Uint8Array,
|
|
1277
1263
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1278
1264
|
uniffiCallbackData: bigint
|
|
1279
|
-
) => UniffiForeignFuture
|
|
1265
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1280
1266
|
type UniffiCallbackInterfaceFiatServiceMethod0 = (
|
|
1281
1267
|
uniffiHandle: bigint,
|
|
1282
1268
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1283
1269
|
uniffiCallbackData: bigint
|
|
1284
|
-
) => UniffiForeignFuture
|
|
1270
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1285
1271
|
type UniffiCallbackInterfaceFiatServiceMethod1 = (
|
|
1286
1272
|
uniffiHandle: bigint,
|
|
1287
1273
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1288
1274
|
uniffiCallbackData: bigint
|
|
1289
|
-
) => UniffiForeignFuture
|
|
1275
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1290
1276
|
type UniffiCallbackInterfacePasskeyPrfProviderMethod0 = (
|
|
1291
1277
|
uniffiHandle: bigint,
|
|
1292
1278
|
salt: Uint8Array,
|
|
1293
1279
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1294
1280
|
uniffiCallbackData: bigint
|
|
1295
|
-
) => UniffiForeignFuture
|
|
1281
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1296
1282
|
type UniffiCallbackInterfacePasskeyPrfProviderMethod1 = (
|
|
1297
1283
|
uniffiHandle: bigint,
|
|
1298
1284
|
uniffiFutureCallback: UniffiForeignFutureCompleteI8,
|
|
1299
1285
|
uniffiCallbackData: bigint
|
|
1300
|
-
) => UniffiForeignFuture
|
|
1286
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1301
1287
|
type UniffiCallbackInterfacePaymentObserverMethod0 = (
|
|
1302
1288
|
uniffiHandle: bigint,
|
|
1303
1289
|
payments: Uint8Array,
|
|
1304
1290
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1305
1291
|
uniffiCallbackData: bigint
|
|
1306
|
-
) => UniffiForeignFuture
|
|
1292
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1307
1293
|
type UniffiCallbackInterfaceRestClientMethod0 = (
|
|
1308
1294
|
uniffiHandle: bigint,
|
|
1309
1295
|
url: Uint8Array,
|
|
1310
1296
|
headers: Uint8Array,
|
|
1311
1297
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1312
1298
|
uniffiCallbackData: bigint
|
|
1313
|
-
) => UniffiForeignFuture
|
|
1299
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1314
1300
|
type UniffiCallbackInterfaceRestClientMethod1 = (
|
|
1315
1301
|
uniffiHandle: bigint,
|
|
1316
1302
|
url: Uint8Array,
|
|
@@ -1318,7 +1304,7 @@ type UniffiCallbackInterfaceRestClientMethod1 = (
|
|
|
1318
1304
|
body: Uint8Array,
|
|
1319
1305
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1320
1306
|
uniffiCallbackData: bigint
|
|
1321
|
-
) => UniffiForeignFuture
|
|
1307
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1322
1308
|
type UniffiCallbackInterfaceRestClientMethod2 = (
|
|
1323
1309
|
uniffiHandle: bigint,
|
|
1324
1310
|
url: Uint8Array,
|
|
@@ -1326,84 +1312,83 @@ type UniffiCallbackInterfaceRestClientMethod2 = (
|
|
|
1326
1312
|
body: Uint8Array,
|
|
1327
1313
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1328
1314
|
uniffiCallbackData: bigint
|
|
1329
|
-
) => UniffiForeignFuture
|
|
1315
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1330
1316
|
type UniffiCallbackInterfaceStorageMethod0 = (
|
|
1331
1317
|
uniffiHandle: bigint,
|
|
1332
1318
|
key: Uint8Array,
|
|
1333
1319
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1334
1320
|
uniffiCallbackData: bigint
|
|
1335
|
-
) => UniffiForeignFuture
|
|
1321
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1336
1322
|
type UniffiCallbackInterfaceStorageMethod1 = (
|
|
1337
1323
|
uniffiHandle: bigint,
|
|
1338
1324
|
key: Uint8Array,
|
|
1339
1325
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1340
1326
|
uniffiCallbackData: bigint
|
|
1341
|
-
) => UniffiForeignFuture
|
|
1327
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1342
1328
|
type UniffiCallbackInterfaceStorageMethod2 = (
|
|
1343
1329
|
uniffiHandle: bigint,
|
|
1344
1330
|
key: Uint8Array,
|
|
1345
1331
|
value: Uint8Array,
|
|
1346
1332
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1347
1333
|
uniffiCallbackData: bigint
|
|
1348
|
-
) => UniffiForeignFuture
|
|
1334
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1349
1335
|
type UniffiCallbackInterfaceStorageMethod3 = (
|
|
1350
1336
|
uniffiHandle: bigint,
|
|
1351
1337
|
request: Uint8Array,
|
|
1352
1338
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1353
1339
|
uniffiCallbackData: bigint
|
|
1354
|
-
) => UniffiForeignFuture
|
|
1340
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1355
1341
|
type UniffiCallbackInterfaceStorageMethod4 = (
|
|
1356
1342
|
uniffiHandle: bigint,
|
|
1357
1343
|
payment: Uint8Array,
|
|
1358
1344
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1359
1345
|
uniffiCallbackData: bigint
|
|
1360
|
-
) => UniffiForeignFuture
|
|
1346
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1361
1347
|
type UniffiCallbackInterfaceStorageMethod5 = (
|
|
1362
1348
|
uniffiHandle: bigint,
|
|
1363
1349
|
paymentId: Uint8Array,
|
|
1364
1350
|
metadata: Uint8Array,
|
|
1365
1351
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1366
1352
|
uniffiCallbackData: bigint
|
|
1367
|
-
) => UniffiForeignFuture
|
|
1353
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1368
1354
|
type UniffiCallbackInterfaceStorageMethod6 = (
|
|
1369
1355
|
uniffiHandle: bigint,
|
|
1370
1356
|
id: Uint8Array,
|
|
1371
1357
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1372
1358
|
uniffiCallbackData: bigint
|
|
1373
|
-
) => UniffiForeignFuture
|
|
1359
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1374
1360
|
type UniffiCallbackInterfaceStorageMethod7 = (
|
|
1375
1361
|
uniffiHandle: bigint,
|
|
1376
1362
|
invoice: Uint8Array,
|
|
1377
1363
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1378
1364
|
uniffiCallbackData: bigint
|
|
1379
|
-
) => UniffiForeignFuture
|
|
1365
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1380
1366
|
type UniffiCallbackInterfaceStorageMethod8 = (
|
|
1381
1367
|
uniffiHandle: bigint,
|
|
1382
1368
|
parentPaymentIds: Uint8Array,
|
|
1383
1369
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1384
1370
|
uniffiCallbackData: bigint
|
|
1385
|
-
) => UniffiForeignFuture
|
|
1371
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1386
1372
|
type UniffiCallbackInterfaceStorageMethod9 = (
|
|
1387
1373
|
uniffiHandle: bigint,
|
|
1388
1374
|
txid: Uint8Array,
|
|
1389
1375
|
vout: number,
|
|
1390
1376
|
amountSats: bigint,
|
|
1391
|
-
isMature: number,
|
|
1392
1377
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1393
1378
|
uniffiCallbackData: bigint
|
|
1394
|
-
) => UniffiForeignFuture
|
|
1379
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1395
1380
|
type UniffiCallbackInterfaceStorageMethod10 = (
|
|
1396
1381
|
uniffiHandle: bigint,
|
|
1397
1382
|
txid: Uint8Array,
|
|
1398
1383
|
vout: number,
|
|
1399
1384
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1400
1385
|
uniffiCallbackData: bigint
|
|
1401
|
-
) => UniffiForeignFuture
|
|
1386
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1402
1387
|
type UniffiCallbackInterfaceStorageMethod11 = (
|
|
1403
1388
|
uniffiHandle: bigint,
|
|
1404
1389
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1405
1390
|
uniffiCallbackData: bigint
|
|
1406
|
-
) => UniffiForeignFuture
|
|
1391
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1407
1392
|
type UniffiCallbackInterfaceStorageMethod12 = (
|
|
1408
1393
|
uniffiHandle: bigint,
|
|
1409
1394
|
txid: Uint8Array,
|
|
@@ -1411,90 +1396,90 @@ type UniffiCallbackInterfaceStorageMethod12 = (
|
|
|
1411
1396
|
payload: Uint8Array,
|
|
1412
1397
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1413
1398
|
uniffiCallbackData: bigint
|
|
1414
|
-
) => UniffiForeignFuture
|
|
1399
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1415
1400
|
type UniffiCallbackInterfaceStorageMethod13 = (
|
|
1416
1401
|
uniffiHandle: bigint,
|
|
1417
1402
|
metadata: Uint8Array,
|
|
1418
1403
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1419
1404
|
uniffiCallbackData: bigint
|
|
1420
|
-
) => UniffiForeignFuture
|
|
1405
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1421
1406
|
type UniffiCallbackInterfaceStorageMethod14 = (
|
|
1422
1407
|
uniffiHandle: bigint,
|
|
1423
1408
|
request: Uint8Array,
|
|
1424
1409
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1425
1410
|
uniffiCallbackData: bigint
|
|
1426
|
-
) => UniffiForeignFuture
|
|
1411
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1427
1412
|
type UniffiCallbackInterfaceStorageMethod15 = (
|
|
1428
1413
|
uniffiHandle: bigint,
|
|
1429
1414
|
id: Uint8Array,
|
|
1430
1415
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1431
1416
|
uniffiCallbackData: bigint
|
|
1432
|
-
) => UniffiForeignFuture
|
|
1417
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1433
1418
|
type UniffiCallbackInterfaceStorageMethod16 = (
|
|
1434
1419
|
uniffiHandle: bigint,
|
|
1435
1420
|
contact: Uint8Array,
|
|
1436
1421
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1437
1422
|
uniffiCallbackData: bigint
|
|
1438
|
-
) => UniffiForeignFuture
|
|
1423
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1439
1424
|
type UniffiCallbackInterfaceStorageMethod17 = (
|
|
1440
1425
|
uniffiHandle: bigint,
|
|
1441
1426
|
id: Uint8Array,
|
|
1442
1427
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1443
1428
|
uniffiCallbackData: bigint
|
|
1444
|
-
) => UniffiForeignFuture
|
|
1429
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1445
1430
|
type UniffiCallbackInterfaceStorageMethod18 = (
|
|
1446
1431
|
uniffiHandle: bigint,
|
|
1447
1432
|
record: Uint8Array,
|
|
1448
1433
|
uniffiFutureCallback: UniffiForeignFutureCompleteU64,
|
|
1449
1434
|
uniffiCallbackData: bigint
|
|
1450
|
-
) => UniffiForeignFuture
|
|
1435
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1451
1436
|
type UniffiCallbackInterfaceStorageMethod19 = (
|
|
1452
1437
|
uniffiHandle: bigint,
|
|
1453
1438
|
record: Uint8Array,
|
|
1454
1439
|
localRevision: bigint,
|
|
1455
1440
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1456
1441
|
uniffiCallbackData: bigint
|
|
1457
|
-
) => UniffiForeignFuture
|
|
1442
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1458
1443
|
type UniffiCallbackInterfaceStorageMethod20 = (
|
|
1459
1444
|
uniffiHandle: bigint,
|
|
1460
1445
|
limit: number,
|
|
1461
1446
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1462
1447
|
uniffiCallbackData: bigint
|
|
1463
|
-
) => UniffiForeignFuture
|
|
1448
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1464
1449
|
type UniffiCallbackInterfaceStorageMethod21 = (
|
|
1465
1450
|
uniffiHandle: bigint,
|
|
1466
1451
|
uniffiFutureCallback: UniffiForeignFutureCompleteU64,
|
|
1467
1452
|
uniffiCallbackData: bigint
|
|
1468
|
-
) => UniffiForeignFuture
|
|
1453
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1469
1454
|
type UniffiCallbackInterfaceStorageMethod22 = (
|
|
1470
1455
|
uniffiHandle: bigint,
|
|
1471
1456
|
records: Uint8Array,
|
|
1472
1457
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1473
1458
|
uniffiCallbackData: bigint
|
|
1474
|
-
) => UniffiForeignFuture
|
|
1459
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1475
1460
|
type UniffiCallbackInterfaceStorageMethod23 = (
|
|
1476
1461
|
uniffiHandle: bigint,
|
|
1477
1462
|
record: Uint8Array,
|
|
1478
1463
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1479
1464
|
uniffiCallbackData: bigint
|
|
1480
|
-
) => UniffiForeignFuture
|
|
1465
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1481
1466
|
type UniffiCallbackInterfaceStorageMethod24 = (
|
|
1482
1467
|
uniffiHandle: bigint,
|
|
1483
1468
|
limit: number,
|
|
1484
1469
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1485
1470
|
uniffiCallbackData: bigint
|
|
1486
|
-
) => UniffiForeignFuture
|
|
1471
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1487
1472
|
type UniffiCallbackInterfaceStorageMethod25 = (
|
|
1488
1473
|
uniffiHandle: bigint,
|
|
1489
1474
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1490
1475
|
uniffiCallbackData: bigint
|
|
1491
|
-
) => UniffiForeignFuture
|
|
1476
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1492
1477
|
type UniffiCallbackInterfaceStorageMethod26 = (
|
|
1493
1478
|
uniffiHandle: bigint,
|
|
1494
1479
|
record: Uint8Array,
|
|
1495
1480
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1496
1481
|
uniffiCallbackData: bigint
|
|
1497
|
-
) => UniffiForeignFuture
|
|
1482
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1498
1483
|
export type UniffiVTableCallbackInterfaceEventListener = {
|
|
1499
1484
|
onEvent: UniffiCallbackInterfaceEventListenerMethod0;
|
|
1500
1485
|
uniffiFree: UniffiCallbackInterfaceFree;
|