Closed Ayc0 closed 1 year ago
In the DOM, there is window.crypto:
window.crypto
Should it be built within HappyDOM? Note: it can be built using the native node's cypto's webcrypto:
import { webcrypto } from 'node:crypto';
Yes it should be part of Window, but it has not been added yet. Using 'node:crypto' sounds like a good idea.
I opened https://github.com/capricorn86/happy-dom/pull/1061 to fix this issue
In the DOM, there is
window.crypto
:Should it be built within HappyDOM? Note: it can be built using the native node's cypto's webcrypto: