fix build bug
Build and Deploy / build (push) Successful in 7m29s

This commit is contained in:
cheney
2026-04-18 13:34:02 +08:00
parent cd5fe4cee5
commit c9d66a77b1
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ declare module 'sm-crypto' {
generateKeyPairHex: (privateKey?: string) => SM2KeyPair;
doEncrypt: (message: string, publicKey: string) => string;
doDecrypt: (ciphertext: string, privateKey: string) => string;
doSignature: (message: string, privateKey: string, options?: { hash?: boolean, der?: boolean, userId?: string, publicKey?: string, pointPool?: any[] }) => string;
doVerifySignature: (message: string, signature: string, publicKey: string, options?: { hash?: boolean, der?: boolean, userId?: string }) => boolean;
doSignature: (message: string | Uint8Array, privateKey: string, options?: { hash?: boolean, der?: boolean, userId?: string, publicKey?: string, pointPool?: any[] }) => string;
doVerifySignature: (message: string | Uint8Array, signature: string, publicKey: string, options?: { hash?: boolean, der?: boolean, userId?: string }) => boolean;
};
export const sm3: {