@breeztech/breez-sdk-spark-react-native 0.7.21 → 0.8.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/cpp/generated/breez_sdk_spark.cpp +681 -898
- package/cpp/generated/breez_sdk_spark.hpp +41 -50
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark.js +206 -145
- 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 +205 -144
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +57 -62
- 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 +618 -450
- 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 +57 -62
- 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 +618 -450
- 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 +70 -84
- package/src/generated/breez_sdk_spark.ts +1986 -1532
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breeztech/breez-sdk-spark-react-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.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",
|
|
@@ -197,7 +197,7 @@
|
|
|
197
197
|
"version": "0.49.0"
|
|
198
198
|
},
|
|
199
199
|
"checksums": {
|
|
200
|
-
"android": "
|
|
201
|
-
"ios": "
|
|
200
|
+
"android": "21eda7d9ff9c87ee95966c1f49019511b908921a62ffd7bf9aa4b8dba13c93f5",
|
|
201
|
+
"ios": "082484c7a57eb619abb795ee06912f76632e327c39fce41fb11b03ae37bbb742"
|
|
202
202
|
}
|
|
203
203
|
}
|
|
@@ -62,6 +62,10 @@ interface NativeModuleInterface {
|
|
|
62
62
|
ptr: bigint,
|
|
63
63
|
listener: bigint
|
|
64
64
|
): bigint;
|
|
65
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_buy_bitcoin(
|
|
66
|
+
ptr: bigint,
|
|
67
|
+
request: Uint8Array
|
|
68
|
+
): bigint;
|
|
65
69
|
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_cancel_leaf_optimization(
|
|
66
70
|
ptr: bigint
|
|
67
71
|
): bigint;
|
|
@@ -379,10 +383,6 @@ interface NativeModuleInterface {
|
|
|
379
383
|
ptr: bigint,
|
|
380
384
|
paymentObserver: bigint
|
|
381
385
|
): bigint;
|
|
382
|
-
ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_real_time_sync_storage(
|
|
383
|
-
ptr: bigint,
|
|
384
|
-
storage: bigint
|
|
385
|
-
): bigint;
|
|
386
386
|
ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_rest_chain_service(
|
|
387
387
|
ptr: bigint,
|
|
388
388
|
url: Uint8Array,
|
|
@@ -422,7 +422,7 @@ interface NativeModuleInterface {
|
|
|
422
422
|
ptr: bigint,
|
|
423
423
|
payment: Uint8Array
|
|
424
424
|
): bigint;
|
|
425
|
-
|
|
425
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_storage_insert_payment_metadata(
|
|
426
426
|
ptr: bigint,
|
|
427
427
|
paymentId: Uint8Array,
|
|
428
428
|
metadata: Uint8Array
|
|
@@ -435,6 +435,10 @@ interface NativeModuleInterface {
|
|
|
435
435
|
ptr: bigint,
|
|
436
436
|
invoice: Uint8Array
|
|
437
437
|
): bigint;
|
|
438
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_payments_by_parent_ids(
|
|
439
|
+
ptr: bigint,
|
|
440
|
+
parentPaymentIds: Uint8Array
|
|
441
|
+
): bigint;
|
|
438
442
|
ubrn_uniffi_breez_sdk_spark_fn_method_storage_add_deposit(
|
|
439
443
|
ptr: bigint,
|
|
440
444
|
txid: Uint8Array,
|
|
@@ -459,49 +463,38 @@ interface NativeModuleInterface {
|
|
|
459
463
|
ptr: bigint,
|
|
460
464
|
metadata: Uint8Array
|
|
461
465
|
): bigint;
|
|
462
|
-
|
|
463
|
-
ptr: bigint,
|
|
464
|
-
uniffi_out_err: UniffiRustCallStatus
|
|
465
|
-
): bigint;
|
|
466
|
-
ubrn_uniffi_breez_sdk_spark_fn_free_syncstorage(
|
|
467
|
-
ptr: bigint,
|
|
468
|
-
uniffi_out_err: UniffiRustCallStatus
|
|
469
|
-
): void;
|
|
470
|
-
ubrn_uniffi_breez_sdk_spark_fn_method_syncstorage_add_outgoing_change(
|
|
466
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_storage_add_outgoing_change(
|
|
471
467
|
ptr: bigint,
|
|
472
468
|
record: Uint8Array
|
|
473
469
|
): bigint;
|
|
474
|
-
|
|
470
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_storage_complete_outgoing_sync(
|
|
475
471
|
ptr: bigint,
|
|
476
|
-
record: Uint8Array
|
|
472
|
+
record: Uint8Array,
|
|
473
|
+
localRevision: bigint
|
|
477
474
|
): bigint;
|
|
478
|
-
|
|
475
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_pending_outgoing_changes(
|
|
479
476
|
ptr: bigint,
|
|
480
477
|
limit: number
|
|
481
478
|
): bigint;
|
|
482
|
-
|
|
479
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_last_revision(
|
|
483
480
|
ptr: bigint
|
|
484
481
|
): bigint;
|
|
485
|
-
|
|
482
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_storage_insert_incoming_records(
|
|
486
483
|
ptr: bigint,
|
|
487
484
|
records: Uint8Array
|
|
488
485
|
): bigint;
|
|
489
|
-
|
|
486
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_storage_delete_incoming_record(
|
|
490
487
|
ptr: bigint,
|
|
491
488
|
record: Uint8Array
|
|
492
489
|
): bigint;
|
|
493
|
-
|
|
494
|
-
ptr: bigint,
|
|
495
|
-
revision: bigint
|
|
496
|
-
): bigint;
|
|
497
|
-
ubrn_uniffi_breez_sdk_spark_fn_method_syncstorage_get_incoming_records(
|
|
490
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_incoming_records(
|
|
498
491
|
ptr: bigint,
|
|
499
492
|
limit: number
|
|
500
493
|
): bigint;
|
|
501
|
-
|
|
494
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_storage_get_latest_outgoing_change(
|
|
502
495
|
ptr: bigint
|
|
503
496
|
): bigint;
|
|
504
|
-
|
|
497
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_storage_update_record_from_incoming(
|
|
505
498
|
ptr: bigint,
|
|
506
499
|
record: Uint8Array
|
|
507
500
|
): bigint;
|
|
@@ -554,6 +547,7 @@ interface NativeModuleInterface {
|
|
|
554
547
|
keySetConfig: Uint8Array,
|
|
555
548
|
uniffi_out_err: UniffiRustCallStatus
|
|
556
549
|
): bigint;
|
|
550
|
+
ubrn_uniffi_breez_sdk_spark_fn_func_get_spark_status(): bigint;
|
|
557
551
|
ubrn_uniffi_breez_sdk_spark_fn_func_init_logging(
|
|
558
552
|
logDir: Uint8Array,
|
|
559
553
|
appLogger: Uint8Array,
|
|
@@ -707,6 +701,7 @@ interface NativeModuleInterface {
|
|
|
707
701
|
ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signer(): number;
|
|
708
702
|
ubrn_uniffi_breez_sdk_spark_checksum_func_default_config(): number;
|
|
709
703
|
ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signer(): number;
|
|
704
|
+
ubrn_uniffi_breez_sdk_spark_checksum_func_get_spark_status(): number;
|
|
710
705
|
ubrn_uniffi_breez_sdk_spark_checksum_func_init_logging(): number;
|
|
711
706
|
ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos(): number;
|
|
712
707
|
ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status(): number;
|
|
@@ -714,6 +709,7 @@ interface NativeModuleInterface {
|
|
|
714
709
|
ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_broadcast_transaction(): number;
|
|
715
710
|
ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_recommended_fees(): number;
|
|
716
711
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener(): number;
|
|
712
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin(): number;
|
|
717
713
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_cancel_leaf_optimization(): number;
|
|
718
714
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_lightning_address_available(): number;
|
|
719
715
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_check_message(): number;
|
|
@@ -782,7 +778,6 @@ interface NativeModuleInterface {
|
|
|
782
778
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set(): number;
|
|
783
779
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client(): number;
|
|
784
780
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer(): number;
|
|
785
|
-
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_real_time_sync_storage(): number;
|
|
786
781
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service(): number;
|
|
787
782
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage(): number;
|
|
788
783
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item(): number;
|
|
@@ -790,24 +785,24 @@ interface NativeModuleInterface {
|
|
|
790
785
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item(): number;
|
|
791
786
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_payments(): number;
|
|
792
787
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment(): number;
|
|
793
|
-
|
|
788
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_payment_metadata(): number;
|
|
794
789
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_id(): number;
|
|
795
790
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payment_by_invoice(): number;
|
|
791
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_payments_by_parent_ids(): number;
|
|
796
792
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_deposit(): number;
|
|
797
793
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_deposit(): number;
|
|
798
794
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_list_deposits(): number;
|
|
799
795
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_deposit(): number;
|
|
800
796
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_lnurl_metadata(): number;
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
ubrn_uniffi_breez_sdk_spark_checksum_method_syncstorage_update_record_from_incoming(): number;
|
|
797
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_add_outgoing_change(): number;
|
|
798
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_complete_outgoing_sync(): number;
|
|
799
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_pending_outgoing_changes(): number;
|
|
800
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_last_revision(): number;
|
|
801
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_insert_incoming_records(): number;
|
|
802
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_incoming_record(): number;
|
|
803
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_incoming_records(): number;
|
|
804
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_latest_outgoing_change(): number;
|
|
805
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_update_record_from_incoming(): number;
|
|
811
806
|
ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_burn_issuer_token(): number;
|
|
812
807
|
ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_create_issuer_token(): number;
|
|
813
808
|
ubrn_uniffi_breez_sdk_spark_checksum_method_tokenissuer_freeze_issuer_token(): number;
|
|
@@ -843,9 +838,6 @@ interface NativeModuleInterface {
|
|
|
843
838
|
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_storage(
|
|
844
839
|
vtable: UniffiVTableCallbackInterfaceStorage
|
|
845
840
|
): void;
|
|
846
|
-
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_syncstorage(
|
|
847
|
-
vtable: UniffiVTableCallbackInterfaceSyncStorage
|
|
848
|
-
): void;
|
|
849
841
|
ubrn_uniffi_internal_fn_method_bitcoinchainservice_ffi__bless_pointer(
|
|
850
842
|
pointer: bigint,
|
|
851
843
|
uniffi_out_err: UniffiRustCallStatus
|
|
@@ -878,10 +870,6 @@ interface NativeModuleInterface {
|
|
|
878
870
|
pointer: bigint,
|
|
879
871
|
uniffi_out_err: UniffiRustCallStatus
|
|
880
872
|
): UniffiRustArcPtr;
|
|
881
|
-
ubrn_uniffi_internal_fn_method_syncstorage_ffi__bless_pointer(
|
|
882
|
-
pointer: bigint,
|
|
883
|
-
uniffi_out_err: UniffiRustCallStatus
|
|
884
|
-
): UniffiRustArcPtr;
|
|
885
873
|
ubrn_uniffi_internal_fn_method_tokenissuer_ffi__bless_pointer(
|
|
886
874
|
pointer: bigint,
|
|
887
875
|
uniffi_out_err: UniffiRustCallStatus
|
|
@@ -1265,6 +1253,12 @@ type UniffiCallbackInterfaceStorageMethod7 = (
|
|
|
1265
1253
|
uniffiCallbackData: bigint
|
|
1266
1254
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1267
1255
|
type UniffiCallbackInterfaceStorageMethod8 = (
|
|
1256
|
+
uniffiHandle: bigint,
|
|
1257
|
+
parentPaymentIds: Uint8Array,
|
|
1258
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1259
|
+
uniffiCallbackData: bigint
|
|
1260
|
+
) => UniffiResult<UniffiForeignFuture>;
|
|
1261
|
+
type UniffiCallbackInterfaceStorageMethod9 = (
|
|
1268
1262
|
uniffiHandle: bigint,
|
|
1269
1263
|
txid: Uint8Array,
|
|
1270
1264
|
vout: number,
|
|
@@ -1272,19 +1266,19 @@ type UniffiCallbackInterfaceStorageMethod8 = (
|
|
|
1272
1266
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1273
1267
|
uniffiCallbackData: bigint
|
|
1274
1268
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1275
|
-
type
|
|
1269
|
+
type UniffiCallbackInterfaceStorageMethod10 = (
|
|
1276
1270
|
uniffiHandle: bigint,
|
|
1277
1271
|
txid: Uint8Array,
|
|
1278
1272
|
vout: number,
|
|
1279
1273
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1280
1274
|
uniffiCallbackData: bigint
|
|
1281
1275
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1282
|
-
type
|
|
1276
|
+
type UniffiCallbackInterfaceStorageMethod11 = (
|
|
1283
1277
|
uniffiHandle: bigint,
|
|
1284
1278
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1285
1279
|
uniffiCallbackData: bigint
|
|
1286
1280
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1287
|
-
type
|
|
1281
|
+
type UniffiCallbackInterfaceStorageMethod12 = (
|
|
1288
1282
|
uniffiHandle: bigint,
|
|
1289
1283
|
txid: Uint8Array,
|
|
1290
1284
|
vout: number,
|
|
@@ -1292,65 +1286,60 @@ type UniffiCallbackInterfaceStorageMethod11 = (
|
|
|
1292
1286
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1293
1287
|
uniffiCallbackData: bigint
|
|
1294
1288
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1295
|
-
type
|
|
1289
|
+
type UniffiCallbackInterfaceStorageMethod13 = (
|
|
1296
1290
|
uniffiHandle: bigint,
|
|
1297
1291
|
metadata: Uint8Array,
|
|
1298
1292
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1299
1293
|
uniffiCallbackData: bigint
|
|
1300
1294
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1301
|
-
type
|
|
1295
|
+
type UniffiCallbackInterfaceStorageMethod14 = (
|
|
1302
1296
|
uniffiHandle: bigint,
|
|
1303
1297
|
record: Uint8Array,
|
|
1304
1298
|
uniffiFutureCallback: UniffiForeignFutureCompleteU64,
|
|
1305
1299
|
uniffiCallbackData: bigint
|
|
1306
1300
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1307
|
-
type
|
|
1301
|
+
type UniffiCallbackInterfaceStorageMethod15 = (
|
|
1308
1302
|
uniffiHandle: bigint,
|
|
1309
1303
|
record: Uint8Array,
|
|
1304
|
+
localRevision: bigint,
|
|
1310
1305
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1311
1306
|
uniffiCallbackData: bigint
|
|
1312
1307
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1313
|
-
type
|
|
1308
|
+
type UniffiCallbackInterfaceStorageMethod16 = (
|
|
1314
1309
|
uniffiHandle: bigint,
|
|
1315
1310
|
limit: number,
|
|
1316
1311
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1317
1312
|
uniffiCallbackData: bigint
|
|
1318
1313
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1319
|
-
type
|
|
1314
|
+
type UniffiCallbackInterfaceStorageMethod17 = (
|
|
1320
1315
|
uniffiHandle: bigint,
|
|
1321
1316
|
uniffiFutureCallback: UniffiForeignFutureCompleteU64,
|
|
1322
1317
|
uniffiCallbackData: bigint
|
|
1323
1318
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1324
|
-
type
|
|
1319
|
+
type UniffiCallbackInterfaceStorageMethod18 = (
|
|
1325
1320
|
uniffiHandle: bigint,
|
|
1326
1321
|
records: Uint8Array,
|
|
1327
1322
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1328
1323
|
uniffiCallbackData: bigint
|
|
1329
1324
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1330
|
-
type
|
|
1325
|
+
type UniffiCallbackInterfaceStorageMethod19 = (
|
|
1331
1326
|
uniffiHandle: bigint,
|
|
1332
1327
|
record: Uint8Array,
|
|
1333
1328
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1334
1329
|
uniffiCallbackData: bigint
|
|
1335
1330
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1336
|
-
type
|
|
1337
|
-
uniffiHandle: bigint,
|
|
1338
|
-
revision: bigint,
|
|
1339
|
-
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1340
|
-
uniffiCallbackData: bigint
|
|
1341
|
-
) => UniffiResult<UniffiForeignFuture>;
|
|
1342
|
-
type UniffiCallbackInterfaceSyncStorageMethod7 = (
|
|
1331
|
+
type UniffiCallbackInterfaceStorageMethod20 = (
|
|
1343
1332
|
uniffiHandle: bigint,
|
|
1344
1333
|
limit: number,
|
|
1345
1334
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1346
1335
|
uniffiCallbackData: bigint
|
|
1347
1336
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1348
|
-
type
|
|
1337
|
+
type UniffiCallbackInterfaceStorageMethod21 = (
|
|
1349
1338
|
uniffiHandle: bigint,
|
|
1350
1339
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1351
1340
|
uniffiCallbackData: bigint
|
|
1352
1341
|
) => UniffiResult<UniffiForeignFuture>;
|
|
1353
|
-
type
|
|
1342
|
+
type UniffiCallbackInterfaceStorageMethod22 = (
|
|
1354
1343
|
uniffiHandle: bigint,
|
|
1355
1344
|
record: Uint8Array,
|
|
1356
1345
|
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
@@ -1416,27 +1405,24 @@ export type UniffiVTableCallbackInterfaceStorage = {
|
|
|
1416
1405
|
setCachedItem: UniffiCallbackInterfaceStorageMethod2;
|
|
1417
1406
|
listPayments: UniffiCallbackInterfaceStorageMethod3;
|
|
1418
1407
|
insertPayment: UniffiCallbackInterfaceStorageMethod4;
|
|
1419
|
-
|
|
1408
|
+
insertPaymentMetadata: UniffiCallbackInterfaceStorageMethod5;
|
|
1420
1409
|
getPaymentById: UniffiCallbackInterfaceStorageMethod6;
|
|
1421
1410
|
getPaymentByInvoice: UniffiCallbackInterfaceStorageMethod7;
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
getIncomingRecords: UniffiCallbackInterfaceSyncStorageMethod7;
|
|
1438
|
-
getLatestOutgoingChange: UniffiCallbackInterfaceSyncStorageMethod8;
|
|
1439
|
-
updateRecordFromIncoming: UniffiCallbackInterfaceSyncStorageMethod9;
|
|
1411
|
+
getPaymentsByParentIds: UniffiCallbackInterfaceStorageMethod8;
|
|
1412
|
+
addDeposit: UniffiCallbackInterfaceStorageMethod9;
|
|
1413
|
+
deleteDeposit: UniffiCallbackInterfaceStorageMethod10;
|
|
1414
|
+
listDeposits: UniffiCallbackInterfaceStorageMethod11;
|
|
1415
|
+
updateDeposit: UniffiCallbackInterfaceStorageMethod12;
|
|
1416
|
+
setLnurlMetadata: UniffiCallbackInterfaceStorageMethod13;
|
|
1417
|
+
addOutgoingChange: UniffiCallbackInterfaceStorageMethod14;
|
|
1418
|
+
completeOutgoingSync: UniffiCallbackInterfaceStorageMethod15;
|
|
1419
|
+
getPendingOutgoingChanges: UniffiCallbackInterfaceStorageMethod16;
|
|
1420
|
+
getLastRevision: UniffiCallbackInterfaceStorageMethod17;
|
|
1421
|
+
insertIncomingRecords: UniffiCallbackInterfaceStorageMethod18;
|
|
1422
|
+
deleteIncomingRecord: UniffiCallbackInterfaceStorageMethod19;
|
|
1423
|
+
getIncomingRecords: UniffiCallbackInterfaceStorageMethod20;
|
|
1424
|
+
getLatestOutgoingChange: UniffiCallbackInterfaceStorageMethod21;
|
|
1425
|
+
updateRecordFromIncoming: UniffiCallbackInterfaceStorageMethod22;
|
|
1440
1426
|
uniffiFree: UniffiCallbackInterfaceFree;
|
|
1441
1427
|
};
|
|
1442
1428
|
|