@breeztech/breez-sdk-spark-react-native 0.14.0 → 0.15.0
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 +205 -345
- package/cpp/generated/breez_sdk_spark.hpp +25 -44
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark.js +129 -104
- 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 +128 -103
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +11 -16
- 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 +354 -199
- 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 -16
- 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 +354 -199
- 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 +25 -44
- package/src/generated/breez_sdk_spark.ts +701 -574
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.15.0",
|
|
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": "8575e29841c19347cc3d490914f155f9bc8db704144f6c6e1d5cb43cd33af39c",
|
|
201
|
+
"ios": "44b0cccd549afb6f6955148b0f701e9648617af0eadd8e107245d726dfc6a3b5"
|
|
202
202
|
}
|
|
203
203
|
}
|
|
@@ -188,6 +188,9 @@ interface NativeModuleInterface {
|
|
|
188
188
|
ptr: bigint,
|
|
189
189
|
request: Uint8Array
|
|
190
190
|
): bigint;
|
|
191
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_refund_pending_conversions(
|
|
192
|
+
ptr: bigint
|
|
193
|
+
): bigint;
|
|
191
194
|
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_register_lightning_address(
|
|
192
195
|
ptr: bigint,
|
|
193
196
|
request: Uint8Array
|
|
@@ -227,14 +230,6 @@ interface NativeModuleInterface {
|
|
|
227
230
|
ptr: bigint,
|
|
228
231
|
request: Uint8Array
|
|
229
232
|
): 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;
|
|
238
233
|
ubrn_uniffi_breez_sdk_spark_fn_clone_externalsigner(
|
|
239
234
|
ptr: bigint,
|
|
240
235
|
uniffi_out_err: UniffiRustCallStatus
|
|
@@ -457,10 +452,6 @@ interface NativeModuleInterface {
|
|
|
457
452
|
ptr: bigint,
|
|
458
453
|
chainService: bigint
|
|
459
454
|
): bigint;
|
|
460
|
-
ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_connection_manager(
|
|
461
|
-
ptr: bigint,
|
|
462
|
-
connectionManager: bigint
|
|
463
|
-
): bigint;
|
|
464
455
|
ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_default_storage(
|
|
465
456
|
ptr: bigint,
|
|
466
457
|
storageDir: Uint8Array
|
|
@@ -487,18 +478,22 @@ interface NativeModuleInterface {
|
|
|
487
478
|
apiType: Uint8Array,
|
|
488
479
|
credentials: Uint8Array
|
|
489
480
|
): bigint;
|
|
490
|
-
|
|
491
|
-
ptr: bigint,
|
|
492
|
-
sessionManager: bigint
|
|
493
|
-
): bigint;
|
|
494
|
-
ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_ssp_connection_manager(
|
|
481
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_shared_context(
|
|
495
482
|
ptr: bigint,
|
|
496
|
-
|
|
483
|
+
context: bigint
|
|
497
484
|
): bigint;
|
|
498
485
|
ubrn_uniffi_breez_sdk_spark_fn_method_sdkbuilder_with_storage(
|
|
499
486
|
ptr: bigint,
|
|
500
487
|
storage: bigint
|
|
501
488
|
): bigint;
|
|
489
|
+
ubrn_uniffi_breez_sdk_spark_fn_clone_sdkcontext(
|
|
490
|
+
ptr: bigint,
|
|
491
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
492
|
+
): bigint;
|
|
493
|
+
ubrn_uniffi_breez_sdk_spark_fn_free_sdkcontext(
|
|
494
|
+
ptr: bigint,
|
|
495
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
496
|
+
): void;
|
|
502
497
|
ubrn_uniffi_breez_sdk_spark_fn_clone_sessionmanager(
|
|
503
498
|
ptr: bigint,
|
|
504
499
|
uniffi_out_err: UniffiRustCallStatus
|
|
@@ -519,14 +514,6 @@ interface NativeModuleInterface {
|
|
|
519
514
|
serviceIdentityKey: Uint8Array,
|
|
520
515
|
session: Uint8Array
|
|
521
516
|
): 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;
|
|
530
517
|
ubrn_uniffi_breez_sdk_spark_fn_clone_storage(
|
|
531
518
|
ptr: bigint,
|
|
532
519
|
uniffi_out_err: UniffiRustCallStatus
|
|
@@ -707,6 +694,10 @@ interface NativeModuleInterface {
|
|
|
707
694
|
keySetConfig: Uint8Array,
|
|
708
695
|
uniffi_out_err: UniffiRustCallStatus
|
|
709
696
|
): bigint;
|
|
697
|
+
ubrn_uniffi_breez_sdk_spark_fn_func_default_server_config(
|
|
698
|
+
network: Uint8Array,
|
|
699
|
+
uniffi_out_err: UniffiRustCallStatus
|
|
700
|
+
): Uint8Array;
|
|
710
701
|
ubrn_uniffi_breez_sdk_spark_fn_func_get_spark_status(): bigint;
|
|
711
702
|
ubrn_uniffi_breez_sdk_spark_fn_func_init_logging(
|
|
712
703
|
logDir: Uint8Array,
|
|
@@ -714,19 +705,14 @@ interface NativeModuleInterface {
|
|
|
714
705
|
logFilter: Uint8Array,
|
|
715
706
|
uniffi_out_err: UniffiRustCallStatus
|
|
716
707
|
): void;
|
|
717
|
-
ubrn_uniffi_breez_sdk_spark_fn_func_new_connection_manager(
|
|
718
|
-
connectionsPerOperator: Uint8Array,
|
|
719
|
-
uniffi_out_err: UniffiRustCallStatus
|
|
720
|
-
): bigint;
|
|
721
708
|
ubrn_uniffi_breez_sdk_spark_fn_func_new_rest_chain_service(
|
|
722
709
|
url: Uint8Array,
|
|
723
710
|
network: Uint8Array,
|
|
724
711
|
apiType: Uint8Array,
|
|
725
712
|
credentials: Uint8Array
|
|
726
713
|
): bigint;
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
uniffi_out_err: UniffiRustCallStatus
|
|
714
|
+
ubrn_uniffi_breez_sdk_spark_fn_func_new_shared_sdk_context(
|
|
715
|
+
config: Uint8Array
|
|
730
716
|
): bigint;
|
|
731
717
|
ubrn_ffi_breez_sdk_spark_rust_future_poll_u8(
|
|
732
718
|
handle: bigint,
|
|
@@ -875,11 +861,11 @@ interface NativeModuleInterface {
|
|
|
875
861
|
ubrn_uniffi_breez_sdk_spark_checksum_func_connect_with_signer(): number;
|
|
876
862
|
ubrn_uniffi_breez_sdk_spark_checksum_func_default_config(): number;
|
|
877
863
|
ubrn_uniffi_breez_sdk_spark_checksum_func_default_external_signer(): number;
|
|
864
|
+
ubrn_uniffi_breez_sdk_spark_checksum_func_default_server_config(): number;
|
|
878
865
|
ubrn_uniffi_breez_sdk_spark_checksum_func_get_spark_status(): number;
|
|
879
866
|
ubrn_uniffi_breez_sdk_spark_checksum_func_init_logging(): number;
|
|
880
|
-
ubrn_uniffi_breez_sdk_spark_checksum_func_new_connection_manager(): number;
|
|
881
867
|
ubrn_uniffi_breez_sdk_spark_checksum_func_new_rest_chain_service(): number;
|
|
882
|
-
|
|
868
|
+
ubrn_uniffi_breez_sdk_spark_checksum_func_new_shared_sdk_context(): number;
|
|
883
869
|
ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_address_utxos(): number;
|
|
884
870
|
ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_status(): number;
|
|
885
871
|
ubrn_uniffi_breez_sdk_spark_checksum_method_bitcoinchainservice_get_transaction_hex(): number;
|
|
@@ -919,6 +905,7 @@ interface NativeModuleInterface {
|
|
|
919
905
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_receive_payment(): number;
|
|
920
906
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_recommended_fees(): number;
|
|
921
907
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_deposit(): number;
|
|
908
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_refund_pending_conversions(): number;
|
|
922
909
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address(): number;
|
|
923
910
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_webhook(): number;
|
|
924
911
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener(): number;
|
|
@@ -963,15 +950,13 @@ interface NativeModuleInterface {
|
|
|
963
950
|
ubrn_uniffi_breez_sdk_spark_checksum_method_restclient_delete_request(): number;
|
|
964
951
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_build(): number;
|
|
965
952
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_chain_service(): number;
|
|
966
|
-
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_connection_manager(): number;
|
|
967
953
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_default_storage(): number;
|
|
968
954
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_fiat_service(): number;
|
|
969
955
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_key_set(): number;
|
|
970
956
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_lnurl_client(): number;
|
|
971
957
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_payment_observer(): number;
|
|
972
958
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_rest_chain_service(): number;
|
|
973
|
-
|
|
974
|
-
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_ssp_connection_manager(): number;
|
|
959
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_shared_context(): number;
|
|
975
960
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sdkbuilder_with_storage(): number;
|
|
976
961
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sessionmanager_get_session(): number;
|
|
977
962
|
ubrn_uniffi_breez_sdk_spark_checksum_method_sessionmanager_set_session(): number;
|
|
@@ -1022,10 +1007,6 @@ interface NativeModuleInterface {
|
|
|
1022
1007
|
pointer: bigint,
|
|
1023
1008
|
uniffi_out_err: UniffiRustCallStatus
|
|
1024
1009
|
): UniffiRustArcPtr;
|
|
1025
|
-
ubrn_uniffi_internal_fn_method_connectionmanager_ffi__bless_pointer(
|
|
1026
|
-
pointer: bigint,
|
|
1027
|
-
uniffi_out_err: UniffiRustCallStatus
|
|
1028
|
-
): UniffiRustArcPtr;
|
|
1029
1010
|
ubrn_uniffi_internal_fn_method_externalsigner_ffi__bless_pointer(
|
|
1030
1011
|
pointer: bigint,
|
|
1031
1012
|
uniffi_out_err: UniffiRustCallStatus
|
|
@@ -1054,11 +1035,11 @@ interface NativeModuleInterface {
|
|
|
1054
1035
|
pointer: bigint,
|
|
1055
1036
|
uniffi_out_err: UniffiRustCallStatus
|
|
1056
1037
|
): UniffiRustArcPtr;
|
|
1057
|
-
|
|
1038
|
+
ubrn_uniffi_internal_fn_method_sdkcontext_ffi__bless_pointer(
|
|
1058
1039
|
pointer: bigint,
|
|
1059
1040
|
uniffi_out_err: UniffiRustCallStatus
|
|
1060
1041
|
): UniffiRustArcPtr;
|
|
1061
|
-
|
|
1042
|
+
ubrn_uniffi_internal_fn_method_sessionmanager_ffi__bless_pointer(
|
|
1062
1043
|
pointer: bigint,
|
|
1063
1044
|
uniffi_out_err: UniffiRustCallStatus
|
|
1064
1045
|
): UniffiRustArcPtr;
|