-
Notifications
You must be signed in to change notification settings - Fork 760
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
Just tried to upgrade but the new version will not work in a chrome extension #2587
Comments
Encountered the same issue with
It prevents the client apps from working in the extension realm (Chrome's manifest V3 does not allow wasm): |
I think if the wasm was imported from a file instead of being passed as a string to new Module() it could possibly work |
Thanks for reporting. We're going to discuss with chainsafe on a way forward. |
I just found out that you can add |
Addressed right now in #2721 Release likely in 1-2 weeks |
This has been released, will close. |
It looks like the latest minor upgrade uses @chainsafe/as-sha256 as a dependency which is not compatible with manifest 3 chrome extensions, because it loads the wasm using new Module() passing it as a string. This is equivalent to requiring the wasm-unsafe-eval permission which is not something that can be provided inside of manifest 3. We had to switch back. It's a bit unfortunate that this upgrade happened in a minor upgrade, because going back requires a bit of yarn.lock hacking.
The text was updated successfully, but these errors were encountered: