@sats-connect/core 0.16.0-1c86499 → 0.16.0-55e197a
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/dist/index.d.mts +16 -4
- package/dist/index.d.ts +16 -4
- package/dist/index.js +9 -3
- package/dist/index.mjs +9 -3
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -612,6 +612,9 @@ declare const signMessageParamsSchema: v.ObjectSchema<{
|
|
|
612
612
|
readonly message: v.StringSchema<undefined>;
|
|
613
613
|
/**
|
|
614
614
|
* The protocol to use for signing the message.
|
|
615
|
+
*
|
|
616
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
617
|
+
* and to BIP322 if signing with a taproot address.
|
|
615
618
|
*/
|
|
616
619
|
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
617
620
|
}, undefined>;
|
|
@@ -630,7 +633,7 @@ declare const signMessageResultSchema: v.ObjectSchema<{
|
|
|
630
633
|
*/
|
|
631
634
|
readonly address: v.StringSchema<undefined>;
|
|
632
635
|
/**
|
|
633
|
-
* The protocol
|
|
636
|
+
* The protocol used for signing the message.
|
|
634
637
|
*/
|
|
635
638
|
readonly protocol: v.EnumSchema<typeof MessageSigningProtocols, undefined>;
|
|
636
639
|
}, undefined>;
|
|
@@ -648,6 +651,9 @@ declare const signMessageRequestMessageSchema: v.ObjectSchema<{
|
|
|
648
651
|
readonly message: v.StringSchema<undefined>;
|
|
649
652
|
/**
|
|
650
653
|
* The protocol to use for signing the message.
|
|
654
|
+
*
|
|
655
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
656
|
+
* and to BIP322 if signing with a taproot address.
|
|
651
657
|
*/
|
|
652
658
|
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
653
659
|
}, undefined>;
|
|
@@ -668,7 +674,10 @@ declare const signMultipleMessagesParamsSchema: v.ArraySchema<v.ObjectSchema<{
|
|
|
668
674
|
**/
|
|
669
675
|
readonly message: v.StringSchema<undefined>;
|
|
670
676
|
/**
|
|
671
|
-
* The protocol to use
|
|
677
|
+
* The protocol to use to sign the message.
|
|
678
|
+
*
|
|
679
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
680
|
+
* and to BIP322 if signing with a taproot address.
|
|
672
681
|
*/
|
|
673
682
|
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
674
683
|
}, undefined>, undefined>;
|
|
@@ -691,7 +700,7 @@ declare const signMultipleMessagesResultSchema: v.ArraySchema<v.ObjectSchema<{
|
|
|
691
700
|
*/
|
|
692
701
|
readonly address: v.StringSchema<undefined>;
|
|
693
702
|
/**
|
|
694
|
-
* The protocol
|
|
703
|
+
* The protocol used for signing the message.
|
|
695
704
|
*/
|
|
696
705
|
readonly protocol: v.EnumSchema<typeof MessageSigningProtocols, undefined>;
|
|
697
706
|
}, undefined>, undefined>;
|
|
@@ -708,7 +717,10 @@ declare const signMultipleMessagesRequestMessageSchema: v.ObjectSchema<{
|
|
|
708
717
|
**/
|
|
709
718
|
readonly message: v.StringSchema<undefined>;
|
|
710
719
|
/**
|
|
711
|
-
* The protocol to use
|
|
720
|
+
* The protocol to use to sign the message.
|
|
721
|
+
*
|
|
722
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
723
|
+
* and to BIP322 if signing with a taproot address.
|
|
712
724
|
*/
|
|
713
725
|
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
714
726
|
}, undefined>, undefined>;
|
package/dist/index.d.ts
CHANGED
|
@@ -612,6 +612,9 @@ declare const signMessageParamsSchema: v.ObjectSchema<{
|
|
|
612
612
|
readonly message: v.StringSchema<undefined>;
|
|
613
613
|
/**
|
|
614
614
|
* The protocol to use for signing the message.
|
|
615
|
+
*
|
|
616
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
617
|
+
* and to BIP322 if signing with a taproot address.
|
|
615
618
|
*/
|
|
616
619
|
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
617
620
|
}, undefined>;
|
|
@@ -630,7 +633,7 @@ declare const signMessageResultSchema: v.ObjectSchema<{
|
|
|
630
633
|
*/
|
|
631
634
|
readonly address: v.StringSchema<undefined>;
|
|
632
635
|
/**
|
|
633
|
-
* The protocol
|
|
636
|
+
* The protocol used for signing the message.
|
|
634
637
|
*/
|
|
635
638
|
readonly protocol: v.EnumSchema<typeof MessageSigningProtocols, undefined>;
|
|
636
639
|
}, undefined>;
|
|
@@ -648,6 +651,9 @@ declare const signMessageRequestMessageSchema: v.ObjectSchema<{
|
|
|
648
651
|
readonly message: v.StringSchema<undefined>;
|
|
649
652
|
/**
|
|
650
653
|
* The protocol to use for signing the message.
|
|
654
|
+
*
|
|
655
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
656
|
+
* and to BIP322 if signing with a taproot address.
|
|
651
657
|
*/
|
|
652
658
|
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
653
659
|
}, undefined>;
|
|
@@ -668,7 +674,10 @@ declare const signMultipleMessagesParamsSchema: v.ArraySchema<v.ObjectSchema<{
|
|
|
668
674
|
**/
|
|
669
675
|
readonly message: v.StringSchema<undefined>;
|
|
670
676
|
/**
|
|
671
|
-
* The protocol to use
|
|
677
|
+
* The protocol to use to sign the message.
|
|
678
|
+
*
|
|
679
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
680
|
+
* and to BIP322 if signing with a taproot address.
|
|
672
681
|
*/
|
|
673
682
|
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
674
683
|
}, undefined>, undefined>;
|
|
@@ -691,7 +700,7 @@ declare const signMultipleMessagesResultSchema: v.ArraySchema<v.ObjectSchema<{
|
|
|
691
700
|
*/
|
|
692
701
|
readonly address: v.StringSchema<undefined>;
|
|
693
702
|
/**
|
|
694
|
-
* The protocol
|
|
703
|
+
* The protocol used for signing the message.
|
|
695
704
|
*/
|
|
696
705
|
readonly protocol: v.EnumSchema<typeof MessageSigningProtocols, undefined>;
|
|
697
706
|
}, undefined>, undefined>;
|
|
@@ -708,7 +717,10 @@ declare const signMultipleMessagesRequestMessageSchema: v.ObjectSchema<{
|
|
|
708
717
|
**/
|
|
709
718
|
readonly message: v.StringSchema<undefined>;
|
|
710
719
|
/**
|
|
711
|
-
* The protocol to use
|
|
720
|
+
* The protocol to use to sign the message.
|
|
721
|
+
*
|
|
722
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
723
|
+
* and to BIP322 if signing with a taproot address.
|
|
712
724
|
*/
|
|
713
725
|
readonly protocol: v.OptionalSchema<v.EnumSchema<typeof MessageSigningProtocols, undefined>, undefined>;
|
|
714
726
|
}, undefined>, undefined>;
|
package/dist/index.js
CHANGED
|
@@ -1012,6 +1012,9 @@ var signMessageParamsSchema = v25.object({
|
|
|
1012
1012
|
message: v25.string(),
|
|
1013
1013
|
/**
|
|
1014
1014
|
* The protocol to use for signing the message.
|
|
1015
|
+
*
|
|
1016
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
1017
|
+
* and to BIP322 if signing with a taproot address.
|
|
1015
1018
|
*/
|
|
1016
1019
|
protocol: v25.optional(v25.enum(MessageSigningProtocols))
|
|
1017
1020
|
});
|
|
@@ -1029,7 +1032,7 @@ var signMessageResultSchema = v25.object({
|
|
|
1029
1032
|
*/
|
|
1030
1033
|
address: v25.string(),
|
|
1031
1034
|
/**
|
|
1032
|
-
* The protocol
|
|
1035
|
+
* The protocol used for signing the message.
|
|
1033
1036
|
*/
|
|
1034
1037
|
protocol: v25.enum(MessageSigningProtocols)
|
|
1035
1038
|
});
|
|
@@ -1056,7 +1059,10 @@ var signMultipleMessagesParamsSchema = v26.array(
|
|
|
1056
1059
|
**/
|
|
1057
1060
|
message: v26.string(),
|
|
1058
1061
|
/**
|
|
1059
|
-
* The protocol to use
|
|
1062
|
+
* The protocol to use to sign the message.
|
|
1063
|
+
*
|
|
1064
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
1065
|
+
* and to BIP322 if signing with a taproot address.
|
|
1060
1066
|
*/
|
|
1061
1067
|
protocol: v26.optional(v26.enum(MessageSigningProtocols))
|
|
1062
1068
|
})
|
|
@@ -1080,7 +1086,7 @@ var signMultipleMessagesResultSchema = v26.array(
|
|
|
1080
1086
|
*/
|
|
1081
1087
|
address: v26.string(),
|
|
1082
1088
|
/**
|
|
1083
|
-
* The protocol
|
|
1089
|
+
* The protocol used for signing the message.
|
|
1084
1090
|
*/
|
|
1085
1091
|
protocol: v26.enum(MessageSigningProtocols)
|
|
1086
1092
|
})
|
package/dist/index.mjs
CHANGED
|
@@ -721,6 +721,9 @@ var signMessageParamsSchema = v25.object({
|
|
|
721
721
|
message: v25.string(),
|
|
722
722
|
/**
|
|
723
723
|
* The protocol to use for signing the message.
|
|
724
|
+
*
|
|
725
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
726
|
+
* and to BIP322 if signing with a taproot address.
|
|
724
727
|
*/
|
|
725
728
|
protocol: v25.optional(v25.enum(MessageSigningProtocols))
|
|
726
729
|
});
|
|
@@ -738,7 +741,7 @@ var signMessageResultSchema = v25.object({
|
|
|
738
741
|
*/
|
|
739
742
|
address: v25.string(),
|
|
740
743
|
/**
|
|
741
|
-
* The protocol
|
|
744
|
+
* The protocol used for signing the message.
|
|
742
745
|
*/
|
|
743
746
|
protocol: v25.enum(MessageSigningProtocols)
|
|
744
747
|
});
|
|
@@ -765,7 +768,10 @@ var signMultipleMessagesParamsSchema = v26.array(
|
|
|
765
768
|
**/
|
|
766
769
|
message: v26.string(),
|
|
767
770
|
/**
|
|
768
|
-
* The protocol to use
|
|
771
|
+
* The protocol to use to sign the message.
|
|
772
|
+
*
|
|
773
|
+
* If not specified, defaults to ECDSA if signing with a P2WPKH or P2SH address,
|
|
774
|
+
* and to BIP322 if signing with a taproot address.
|
|
769
775
|
*/
|
|
770
776
|
protocol: v26.optional(v26.enum(MessageSigningProtocols))
|
|
771
777
|
})
|
|
@@ -789,7 +795,7 @@ var signMultipleMessagesResultSchema = v26.array(
|
|
|
789
795
|
*/
|
|
790
796
|
address: v26.string(),
|
|
791
797
|
/**
|
|
792
|
-
* The protocol
|
|
798
|
+
* The protocol used for signing the message.
|
|
793
799
|
*/
|
|
794
800
|
protocol: v26.enum(MessageSigningProtocols)
|
|
795
801
|
})
|