diff --git a/package-lock.json b/package-lock.json index 015ea74..1a7079b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1539,12 +1539,13 @@ "resolved": "https://registry.npmjs.org/eth-sig-util/-/eth-sig-util-1.4.2.tgz", "integrity": "sha1-jZWCAsftuq6Dlwf7pvCf8ydgYhA=", "requires": { + "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git#00ba8463a7f7a67fcad737ff9c2ebd95643427f7", "ethereumjs-util": "^5.1.1" }, "dependencies": { "ethereumjs-abi": { "version": "git+https://github.com/ethereumjs/ethereumjs-abi.git#00ba8463a7f7a67fcad737ff9c2ebd95643427f7", - "from": "git+https://github.com/ethereumjs/ethereumjs-abi.git#00ba8463a7f7a67fcad737ff9c2ebd95643427f7", + "from": "git+https://github.com/ethereumjs/ethereumjs-abi.git", "requires": { "bn.js": "^4.10.0", "ethereumjs-util": "^5.0.0" @@ -4371,6 +4372,7 @@ "resolved": "http://registry.npmjs.org/web3/-/web3-0.20.6.tgz", "integrity": "sha1-PpcwauAk+yThCj11yIQwJWIhUSA=", "requires": { + "bignumber.js": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934", "crypto-js": "^3.1.4", "utf8": "^2.1.1", "xhr2": "*", @@ -4379,7 +4381,7 @@ "dependencies": { "bignumber.js": { "version": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934", - "from": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934" + "from": "git+https://github.com/frozeman/bignumber.js-nolookahead.git" } } }, diff --git a/src/keeper/token.ts b/src/keeper/token.ts index 5c44bb4..26b2cf1 100644 --- a/src/keeper/token.ts +++ b/src/keeper/token.ts @@ -23,12 +23,12 @@ export default class OceanToken extends KeeperBase { public async getEthBalance(account: string): Promise { return new Promise((resolve, reject) => { - Logger.log("getting balance for", account); + // Logger.log("getting balance for", account); this.web3Helper.web3.eth.getBalance(account, "latest", (err: any, balance: number) => { if (err) { return reject(err); } - Logger.log("balance", balance); + // Logger.log("balance", balance); resolve(balance); }); }); diff --git a/tsconfig.json b/tsconfig.json index db6eae0..7d1dba2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "es6", "es7" ], + "declaration": true, "module": "commonjs", "noImplicitAny": false, "removeComments": true,