-
Notifications
You must be signed in to change notification settings - Fork 5
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
Question about node:crypto #10
Comments
I wrote this specifically for use on Cloudflare, which aliases https://developers.cloudflare.com/workers/runtime-apis/nodejs/crypto/ However, I'm now uncertain if the |
node:crypto will not work in Web Worker in browser environment. Also I don't think that cloudflare alias nods:crypto however |
However, it's not necessary due to WebCrypro being available as a global. I'll cut a new version and revert this back to what it was. |
This reverts commit cbbc30d. Fix bruceharrison1984#10
Fix #10: Revert "import crypto from node:crypto instead of implicit"
README says that this project is mainly for web workers and Cloudflare workers. Why
node:crypto
is imported in v0.0.5 instead of WebCrypto?See also https://developers.cloudflare.com/workers/runtime-apis/web-crypto/#methods
The text was updated successfully, but these errors were encountered: