-
Notifications
You must be signed in to change notification settings - Fork 56
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
Use ffjavascript with chrome extension #132
Comments
Hello @0xmad, please check if new release fixes your issue. There were fixes in this part of code. Also there's now new ESM build for browsers. |
@OBrezhniev thanks but our dependencies have v0.2.59 and I'm not sure if ESM will help here. |
Thanks @OBrezhniev for replying back on this. I just wanted to add more details. In developing Crypt-Keeper browser extension in MV3 (https://github.com/CryptKeeperZK/crypt-keeper-extension) We had this error
And because |
you can make a workaround for workers without forking as in this example https://github.com/0xPolygonID/extension-demo/pull/14/files |
Hello, we are developing browser extension and have ffjavascript and a dependency in our node modules.
We have chrome extension manifest v3 and it's not possible to spawn a web worker inside service worker so we had to fork this repo to fix it https://github.com/CryptKeeperZK/ffjavascript.
For now this solution works only for browser and fails for node.
Is it possible to add support for extensions? I can create a PR for this case but first I'd like to hear the feedback or maybe there is some other solution to make it works.
The text was updated successfully, but these errors were encountered: