Skip to content

Commit

Permalink
Fix eth-lib transpile problem (web3#1006)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkanani authored and nachomazzara committed Jun 4, 2020
1 parent acf3467 commit 926d573
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion packages/web3-eth-accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"main": "src/index.js",
"dependencies": {
"bluebird": "3.3.1",
"eth-lib": "0.1.24",
"eth-lib": "^0.1.27",
"scrypt.js": "0.2.0",
"underscore": "1.8.3",
"uuid": "2.0.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/web3-eth-accounts/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ var _ = require("underscore");
var core = require('web3-core');
var Method = require('web3-core-method');
var Promise = require('bluebird');
var Account = require("eth-lib/src/account");
var Hash = require("eth-lib/src/hash");
var RLP = require("eth-lib/src/rlp");
var Account = require("eth-lib/lib/account");
var Hash = require("eth-lib/lib/hash");
var RLP = require("eth-lib/lib/rlp");
var crypto = require('crypto');
var scryptsy = require('scrypt.js');
var uuid = require('uuid');
Expand Down
30 changes: 15 additions & 15 deletions packages/web3-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "web3-utils",
"version": "1.0.0-beta.17",
"description": "Collection of utility functions used in web3.js.",
"repository": "https://github.com/ethereum/web3.js/tree/master/packages/web3-utils",
"license": "LGPL-3.0",
"main": "src/index.js",
"dependencies": {
"bn.js": "4.11.6",
"eth-lib": "0.1.23",
"ethjs-unit": "0.1.6",
"number-to-bn": "1.7.0",
"randomhex": "0.1.5",
"underscore": "1.8.3",
"utf8": "2.1.1"
}
"name": "web3-utils",
"version": "1.0.0-beta.17",
"description": "Collection of utility functions used in web3.js.",
"repository": "https://github.com/ethereum/web3.js/tree/master/packages/web3-utils",
"license": "LGPL-3.0",
"main": "src/index.js",
"dependencies": {
"bn.js": "4.11.6",
"eth-lib": "^0.1.27",
"ethjs-unit": "0.1.6",
"number-to-bn": "1.7.0",
"randomhex": "0.1.5",
"underscore": "1.8.3",
"utf8": "2.1.1"
}
}
2 changes: 1 addition & 1 deletion packages/web3-utils/src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var _ = require('underscore');
var BN = require('bn.js');
var numberToBN = require('number-to-bn');
var utf8 = require('utf8');
var Hash = require("eth-lib/src/hash");
var Hash = require("eth-lib/lib/hash");


/**
Expand Down

0 comments on commit 926d573

Please sign in to comment.