browserify / browserify/createHmac

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

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
60
Forks
22
PR merge metrics
No merged PRs in 30d

Description

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")`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.