This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Commit 7a80b6a
committed
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 #2971 and #2973.
`packages/web3-providers-ws/src/index.js` is refactored since the `websocket`
package already does native WebSocket detection.1 parent 15817ac commit 7a80b6a
File tree
5 files changed
+3060
-33
lines changed- dist
- packages
- web3-eth-accounts/src
- web3-providers-ws
- src
5 files changed
+3060
-33
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments