completionId: cgen-431719d7850f496ca6dedea350449b37

cgen-431719d7850f496ca6dedea350449b37
This commit is contained in:
Builder.io 2025-11-08 04:57:12 +00:00
parent 4ce59c891b
commit a5f4eabd3d

View file

@ -53,9 +53,9 @@ export default function handler(req: VercelRequest, res: VercelResponse) {
// Create public key object for Ed25519
const publicKey = createPublicKey({
key: publicKeyBuffer,
format: "raw",
type: "ed25519",
});
format: "raw" as any,
type: "ed25519" as any,
} as any);
// Verify the signature using Ed25519
const isValid = verify(