Skip to content

Commit

Permalink
Update helpers.js
Browse files Browse the repository at this point in the history
  • Loading branch information
daoauth authored Aug 3, 2020
1 parent dd160f4 commit 10783db
Showing 1 changed file with 1 addition and 3 deletions.
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 require('url').parse(url);
};
helpers = require('url').parse;;
}

module.exports = {
Expand Down

0 comments on commit 10783db

Please sign in to comment.