-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@semaphore-protocol/[email protected]
cannot be used with ES modules
#713
Comments
9 tasks
github-project-automation
bot
moved this from 👀 In review
to ✔️ Done
in Semaphore Board
Mar 19, 2024
cedoor
added a commit
that referenced
this issue
Apr 26, 2024
cedoor
added a commit
that referenced
this issue
Apr 26, 2024
github-project-automation
bot
moved this from 👀 In review
to ✔️ Done
in Semaphore Board
Apr 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
@semaphore-protocol/proof
doesn't work with ES modules, because, in turn,snarkjs
cannot be used with ES modules as some iden3 packages depend on [email protected], which for some reason doesn't include type: "module" in its package.json (and exports its ES modules with .js instead of .mjs).To Reproduce
Error
Expected behavior
@semaphore-protocol/proof
should work when imported into an ES module.Additional context
Related issues:
type: module
inpackage.json
developit/web-worker#44.snarkjs
cannot be used with ES modules iden3/snarkjs#476The text was updated successfully, but these errors were encountered: