Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch repo fork for the websocket package
The `michaelsbradleyjr/Websocket-Node#polyfill/globalThis` branch uses a more robust approach to resolve a browser's `window` object. It also includes all the latest commits on the upstream's `master` branch, including fixes for the `.git/` subdir npm bug and Node v12.x compatibility. The `"preinstall"` script in `packages/web3-providers-ws/package.json` is removed because it's not helpful and its use of `rm` causes Windows incompatibility. Closes web3#2973. `packages/web3-providers-ws/src/index.js` is refactored since the `websocket` package already does native WebSocket detection.
- Loading branch information