Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
global.crypto fix for Node 19.0 (#19)
With Node.js 19.0, the Web Crypto API is now accessible directly from the global object. global.crypto is not writable so trying to assign to it crashes the program. This is a simple fix for it.
- Loading branch information