@sats-connect/core 0.16.0-1c86499 → 0.16.0-aa348f8
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 +8 -2
- package/dist/index.mjs +8 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -611,7 +611,10 @@ declare const signMessageParamsSchema: v.ObjectSchema<{
|
|
|
611
611
|
**/
|
|
612
612
|
readonly message: v.StringSchema<undefined>;
|
|
613
613
|
/**
|
|
614
|
-
* The protocol to
|
|
614
|
+
* The protocol to used to sign 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>;
|
|
@@ -647,7 +650,10 @@ declare const signMessageRequestMessageSchema: v.ObjectSchema<{
|
|
|
647
650
|
**/
|
|
648
651
|
readonly message: v.StringSchema<undefined>;
|
|
649
652
|
/**
|
|
650
|
-
* The protocol to
|
|
653
|
+
* The protocol to used to sign 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
|
|
677
|
+
* The protocol to used 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>;
|
|
@@ -708,7 +717,10 @@ declare const signMultipleMessagesRequestMessageSchema: v.ObjectSchema<{
|
|
|
708
717
|
**/
|
|
709
718
|
readonly message: v.StringSchema<undefined>;
|
|
710
719
|
/**
|
|
711
|
-
* The protocol to
|
|
720
|
+
* The protocol to used 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
|
@@ -611,7 +611,10 @@ declare const signMessageParamsSchema: v.ObjectSchema<{
|
|
|
611
611
|
**/
|
|
612
612
|
readonly message: v.StringSchema<undefined>;
|
|
613
613
|
/**
|
|
614
|
-
* The protocol to
|
|
614
|
+
* The protocol to used to sign 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>;
|
|
@@ -647,7 +650,10 @@ declare const signMessageRequestMessageSchema: v.ObjectSchema<{
|
|
|
647
650
|
**/
|
|
648
651
|
readonly message: v.StringSchema<undefined>;
|
|
649
652
|
/**
|
|
650
|
-
* The protocol to
|
|
653
|
+
* The protocol to used to sign 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
|
|
677
|
+
* The protocol to used 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>;
|
|
@@ -708,7 +717,10 @@ declare const signMultipleMessagesRequestMessageSchema: v.ObjectSchema<{
|
|
|
708
717
|
**/
|
|
709
718
|
readonly message: v.StringSchema<undefined>;
|
|
710
719
|
/**
|
|
711
|
-
* The protocol to
|
|
720
|
+
* The protocol to used 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
|
@@ -1011,7 +1011,10 @@ var signMessageParamsSchema = v25.object({
|
|
|
1011
1011
|
**/
|
|
1012
1012
|
message: v25.string(),
|
|
1013
1013
|
/**
|
|
1014
|
-
* The protocol to
|
|
1014
|
+
* The protocol to used to sign 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
|
});
|
|
@@ -1056,7 +1059,10 @@ var signMultipleMessagesParamsSchema = v26.array(
|
|
|
1056
1059
|
**/
|
|
1057
1060
|
message: v26.string(),
|
|
1058
1061
|
/**
|
|
1059
|
-
* The protocol to
|
|
1062
|
+
* The protocol to used 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
|
})
|
package/dist/index.mjs
CHANGED
|
@@ -720,7 +720,10 @@ var signMessageParamsSchema = v25.object({
|
|
|
720
720
|
**/
|
|
721
721
|
message: v25.string(),
|
|
722
722
|
/**
|
|
723
|
-
* The protocol to
|
|
723
|
+
* The protocol to used to sign 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
|
});
|
|
@@ -765,7 +768,10 @@ var signMultipleMessagesParamsSchema = v26.array(
|
|
|
765
768
|
**/
|
|
766
769
|
message: v26.string(),
|
|
767
770
|
/**
|
|
768
|
-
* The protocol to
|
|
771
|
+
* The protocol to used 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
|
})
|