Skip to content

Commit

Permalink
Merge cade7f8 into dbf659a
Browse files Browse the repository at this point in the history
  • Loading branch information
daoauth committed Aug 9, 2020
2 parents dbf659a + cade7f8 commit 2026dbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,3 +282,4 @@ Released with 1.0.0-beta.37 code base.
### Fixed

- Fix parsing of non-`eth_subscription` provider events (#3660)
- Fix parsedUrl problem of websocket provider (#3666)
4 changes: 1 addition & 3 deletions packages/web3-providers-ws/src/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ if (isNode) {
}
} else {
_btoa = btoa.bind(window);
helpers = function(url) {
return new URL(url);
};
helpers = require('url').parse;;
}

module.exports = {
Expand Down

0 comments on commit 2026dbd

Please sign in to comment.