@breeztech/breez-sdk-spark-react-native 0.13.11-dev1 → 0.13.12-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 +1246 -98
- package/cpp/generated/breez_sdk_spark.hpp +88 -0
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark.js +152 -3
- 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 +151 -2
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +33 -0
- 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 +388 -1
- 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 +33 -0
- 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 +388 -1
- 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 +101 -0
- package/src/generated/breez_sdk_spark.ts +1093 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breeztech/breez-sdk-spark-react-native",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.12-dev1",
|
|
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": "18c12019fc6906a3412ce32ed8f4cfbc396de819f11818d64dd1a33018e40555",
|
|
201
|
+
"ios": "fb887f430e4a8ed8352d450746fe4a4d16fd72f7dc214b2939c77561ef83d1c4"
|
|
202
202
|
}
|
|
203
203
|
}
|
|
@@ -227,6 +227,14 @@ interface NativeModuleInterface {
|
|
|
227
227
|
ptr: bigint,
|
|
228
228
|
request: Uint8Array
|
|
229
229
|
): bigint;
|
|
230
|
+
ubrn_uniffi_breez_sdk_spark_fn_clone_connectionmanager(
|
|
231
|
+
ptr: bigint,
|
|
232
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
233
|
+
): bigint;
|
|
234
|
+
ubrn_uniffi_breez_sdk_spark_fn_free_connectionmanager(
|
|
235
|
+
ptr: bigint,
|
|
236
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
237
|
+
): void;
|
|
230
238
|
ubrn_uniffi_breez_sdk_spark_fn_clone_externalsigner(
|
|
231
239
|
ptr: bigint,
|
|
232
240
|
uniffi_out_err: UniffiRustCallStatus
|
|
@@ -449,6 +457,10 @@ interface NativeModuleInterface {
|
|
|
449
457
|
ptr: bigint,
|
|
450
458
|
chainService: bigint
|
|
451
459
|
): bigint;
|
|
460
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_connection_manager(
|
|
461
|
+
ptr: bigint,
|
|
462
|
+
connectionManager: bigint
|
|
463
|
+
): bigint;
|
|
452
464
|
ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_default_storage(
|
|
453
465
|
ptr: bigint,
|
|
454
466
|
storageDir: Uint8Array
|
|
@@ -475,10 +487,46 @@ interface NativeModuleInterface {
|
|
|
475
487
|
apiType: Uint8Array,
|
|
476
488
|
credentials: Uint8Array
|
|
477
489
|
): bigint;
|
|
490
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_session_manager(
|
|
491
|
+
ptr: bigint,
|
|
492
|
+
sessionManager: bigint
|
|
493
|
+
): bigint;
|
|
494
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_ssp_connection_manager(
|
|
495
|
+
ptr: bigint,
|
|
496
|
+
manager: bigint
|
|
497
|
+
): bigint;
|
|
478
498
|
ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_storage(
|
|
479
499
|
ptr: bigint,
|
|
480
500
|
storage: bigint
|
|
481
501
|
): bigint;
|
|
502
|
+
ubrn_uniffi_breez_sdk_spark_fn_clone_sessionmanager(
|
|
503
|
+
ptr: bigint,
|
|
504
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
505
|
+
): bigint;
|
|
506
|
+
ubrn_uniffi_breez_sdk_spark_fn_free_sessionmanager(
|
|
507
|
+
ptr: bigint,
|
|
508
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
509
|
+
): void;
|
|
510
|
+
ubrn_uniffi_breez_sdk_spark_fn_init_callback_vtable_sessionmanager(
|
|
511
|
+
vtable: UniffiVTableCallbackInterfaceSessionManager
|
|
512
|
+
): void;
|
|
513
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_sessionmanager_get_session(
|
|
514
|
+
ptr: bigint,
|
|
515
|
+
serviceIdentityKey: Uint8Array
|
|
516
|
+
): bigint;
|
|
517
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_sessionmanager_set_session(
|
|
518
|
+
ptr: bigint,
|
|
519
|
+
serviceIdentityKey: Uint8Array,
|
|
520
|
+
session: Uint8Array
|
|
521
|
+
): bigint;
|
|
522
|
+
ubrn_uniffi_breez_sdk_spark_fn_clone_sspconnectionmanager(
|
|
523
|
+
ptr: bigint,
|
|
524
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
525
|
+
): bigint;
|
|
526
|
+
ubrn_uniffi_breez_sdk_spark_fn_free_sspconnectionmanager(
|
|
527
|
+
ptr: bigint,
|
|
528
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
529
|
+
): void;
|
|
482
530
|
ubrn_uniffi_breez_sdk_spark_fn_clone_storage(
|
|
483
531
|
ptr: bigint,
|
|
484
532
|
uniffi_out_err: UniffiRustCallStatus
|
|
@@ -666,6 +714,21 @@ interface NativeModuleInterface {
|
|
|
666
714
|
logFilter: Uint8Array,
|
|
667
715
|
uniffi_out_err: UniffiRustCallStatus
|
|
668
716
|
): void;
|
|
717
|
+
ubrn_uniffi_breez_sdk_spark_fn_func_new_connection_manager(
|
|
718
|
+
connectionsPerOperator: Uint8Array,
|
|
719
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
720
|
+
): bigint;
|
|
721
|
+
ubrn_uniffi_breez_sdk_spark_fn_func_new_rest_chain_service(
|
|
722
|
+
url: Uint8Array,
|
|
723
|
+
network: Uint8Array,
|
|
724
|
+
apiType: Uint8Array,
|
|
725
|
+
credentials: Uint8Array,
|
|
726
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
727
|
+
): bigint;
|
|
728
|
+
ubrn_uniffi_breez_sdk_spark_fn_func_new_ssp_connection_manager(
|
|
729
|
+
userAgent: Uint8Array,
|
|
730
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
731
|
+
): bigint;
|
|
669
732
|
ubrn_ffi_breez_sdk_spark_rust_future_poll_u8(
|
|
670
733
|
handle: bigint,
|
|
671
734
|
callback: UniffiRustFutureContinuationCallback,
|
|
@@ -815,6 +878,9 @@ interface NativeModuleInterface {
|
|
|
815
878
|
ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signer(): number;
|
|
816
879
|
ubrn_uniffi_breez_sdk_spark_checksum_func_get_spark_status(): number;
|
|
817
880
|
ubrn_uniffi_breez_sdk_spark_checksum_func_init_logging(): number;
|
|
881
|
+
ubrn_uniffi_breez_sdk_spark_checksum_func_new_connection_manager(): number;
|
|
882
|
+
ubrn_uniffi_breez_sdk_spark_checksum_func_new_rest_chain_service(): number;
|
|
883
|
+
ubrn_uniffi_breez_sdk_spark_checksum_func_new_ssp_connection_manager(): number;
|
|
818
884
|
ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos(): number;
|
|
819
885
|
ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status(): number;
|
|
820
886
|
ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex(): number;
|
|
@@ -898,13 +964,18 @@ interface NativeModuleInterface {
|
|
|
898
964
|
ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_delete_request(): number;
|
|
899
965
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build(): number;
|
|
900
966
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service(): number;
|
|
967
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_connection_manager(): number;
|
|
901
968
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage(): number;
|
|
902
969
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service(): number;
|
|
903
970
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set(): number;
|
|
904
971
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client(): number;
|
|
905
972
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer(): number;
|
|
906
973
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service(): number;
|
|
974
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_session_manager(): number;
|
|
975
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_ssp_connection_manager(): number;
|
|
907
976
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage(): number;
|
|
977
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_sessionmanager_get_session(): number;
|
|
978
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_sessionmanager_set_session(): number;
|
|
908
979
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_delete_cached_item(): number;
|
|
909
980
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_get_cached_item(): number;
|
|
910
981
|
ubrn_uniffi_breez_sdk_spark_checksum_method_storage_set_cached_item(): number;
|
|
@@ -952,6 +1023,10 @@ interface NativeModuleInterface {
|
|
|
952
1023
|
pointer: bigint,
|
|
953
1024
|
uniffi_out_err: UniffiRustCallStatus
|
|
954
1025
|
): UniffiRustArcPtr;
|
|
1026
|
+
ubrn_uniffi_internal_fn_method_connectionmanager_ffi__bless_pointer(
|
|
1027
|
+
pointer: bigint,
|
|
1028
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
1029
|
+
): UniffiRustArcPtr;
|
|
955
1030
|
ubrn_uniffi_internal_fn_method_externalsigner_ffi__bless_pointer(
|
|
956
1031
|
pointer: bigint,
|
|
957
1032
|
uniffi_out_err: UniffiRustCallStatus
|
|
@@ -980,6 +1055,14 @@ interface NativeModuleInterface {
|
|
|
980
1055
|
pointer: bigint,
|
|
981
1056
|
uniffi_out_err: UniffiRustCallStatus
|
|
982
1057
|
): UniffiRustArcPtr;
|
|
1058
|
+
ubrn_uniffi_internal_fn_method_sessionmanager_ffi__bless_pointer(
|
|
1059
|
+
pointer: bigint,
|
|
1060
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
1061
|
+
): UniffiRustArcPtr;
|
|
1062
|
+
ubrn_uniffi_internal_fn_method_sspconnectionmanager_ffi__bless_pointer(
|
|
1063
|
+
pointer: bigint,
|
|
1064
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
1065
|
+
): UniffiRustArcPtr;
|
|
983
1066
|
ubrn_uniffi_internal_fn_method_storage_ffi__bless_pointer(
|
|
984
1067
|
pointer: bigint,
|
|
985
1068
|
uniffi_out_err: UniffiRustCallStatus
|
|
@@ -1327,6 +1410,19 @@ type UniffiCallbackInterfaceRestClientMethod2 = (
|
|
|
1327
1410
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1328
1411
|
uniffiCallbackData: bigint
|
|
1329
1412
|
) => UniffiForeignFuture;
|
|
1413
|
+
type UniffiCallbackInterfaceSessionManagerMethod0 = (
|
|
1414
|
+
uniffiHandle: bigint,
|
|
1415
|
+
serviceIdentityKey: Uint8Array,
|
|
1416
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1417
|
+
uniffiCallbackData: bigint
|
|
1418
|
+
) => UniffiForeignFuture;
|
|
1419
|
+
type UniffiCallbackInterfaceSessionManagerMethod1 = (
|
|
1420
|
+
uniffiHandle: bigint,
|
|
1421
|
+
serviceIdentityKey: Uint8Array,
|
|
1422
|
+
session: Uint8Array,
|
|
1423
|
+
uniffiFutureCallback: UniffiForeignFutureCompleteVoid,
|
|
1424
|
+
uniffiCallbackData: bigint
|
|
1425
|
+
) => UniffiForeignFuture;
|
|
1330
1426
|
type UniffiCallbackInterfaceStorageMethod0 = (
|
|
1331
1427
|
uniffiHandle: bigint,
|
|
1332
1428
|
key: Uint8Array,
|
|
@@ -1554,6 +1650,11 @@ export type UniffiVTableCallbackInterfaceRestClient = {
|
|
|
1554
1650
|
deleteRequest: UniffiCallbackInterfaceRestClientMethod2;
|
|
1555
1651
|
uniffiFree: UniffiCallbackInterfaceFree;
|
|
1556
1652
|
};
|
|
1653
|
+
export type UniffiVTableCallbackInterfaceSessionManager = {
|
|
1654
|
+
getSession: UniffiCallbackInterfaceSessionManagerMethod0;
|
|
1655
|
+
setSession: UniffiCallbackInterfaceSessionManagerMethod1;
|
|
1656
|
+
uniffiFree: UniffiCallbackInterfaceFree;
|
|
1657
|
+
};
|
|
1557
1658
|
export type UniffiVTableCallbackInterfaceStorage = {
|
|
1558
1659
|
deleteCachedItem: UniffiCallbackInterfaceStorageMethod0;
|
|
1559
1660
|
getCachedItem: UniffiCallbackInterfaceStorageMethod1;
|