@neuraiproject/neurai-message 0.8.0 → 0.8.1

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.
@@ -0,0 +1,6 @@
1
+ /** returns a base64 encoded string representation of the legacy signature */
2
+ export declare function sign(message: string, privateKey: Uint8Array, compressed?: boolean): string;
3
+ export declare function signPQMessage(message: string, privateKey: Uint8Array, publicKey: Uint8Array): string;
4
+ export declare function verifyLegacyMessage(message: string, address: string, signature: string | Uint8Array): boolean;
5
+ export declare function verifyPQMessage(message: string, address: string, signature: string | Uint8Array): any;
6
+ export declare function verifyMessage(message: string, address: string, signature: string | Uint8Array): any;