createHmac icon indicating copy to clipboard operation
createHmac copied to clipboard

Uncaught TypeError: Class constructor y cannot be invoked without 'new'

Open Martijn0405 opened this issue 11 months ago • 0 comments

Error using this code snippit: Uncaught TypeError: Class constructor y cannot be invoked without 'new'

`import createHmac from "https://esm.sh/create-hmac";

createHmac("sha256", server_seed) .update(public_seed) .digest("hex")`

Martijn0405 avatar Feb 05 '25 00:02 Martijn0405