aboutsummaryrefslogtreecommitdiffstats
path: root/packages/web3-wrapper
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-01-04 19:38:19 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-04 19:38:19 +0800
commit4dfa720f2dec2be0b0758633c087579a02e482bb (patch)
tree242eec230a95f44a1280c7a6431cf1b48ff70337 /packages/web3-wrapper
parentce6abad97f248a3557390dd1e1ff3ae84662838f (diff)
downloaddexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar
dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.gz
dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.bz2
dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.lz
dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.xz
dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.zst
dexon-sol-tools-4dfa720f2dec2be0b0758633c087579a02e482bb.zip
Use configured version of bignumber in all packages
Diffstat (limited to 'packages/web3-wrapper')
-rw-r--r--packages/web3-wrapper/package.json1
-rw-r--r--packages/web3-wrapper/src/index.ts6
2 files changed, 1 insertions, 6 deletions
diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json
index 6cc642c9d..053712b12 100644
--- a/packages/web3-wrapper/package.json
+++ b/packages/web3-wrapper/package.json
@@ -30,7 +30,6 @@
},
"dependencies": {
"@0xproject/utils": "^0.1.2",
- "bignumber.js": "~4.1.0",
"lodash": "^4.17.4",
"web3": "^0.20.0"
}
diff --git a/packages/web3-wrapper/src/index.ts b/packages/web3-wrapper/src/index.ts
index b7dd042f2..8fa38e987 100644
--- a/packages/web3-wrapper/src/index.ts
+++ b/packages/web3-wrapper/src/index.ts
@@ -1,6 +1,5 @@
import { TransactionReceipt, TxData } from '@0xproject/types';
-import { bigNumberConfigs, promisify } from '@0xproject/utils';
-import BigNumber from 'bignumber.js';
+import { BigNumber, promisify } from '@0xproject/utils';
import * as _ from 'lodash';
import * as Web3 from 'web3';
@@ -15,9 +14,6 @@ interface RawLogEntry {
topics: string[];
}
-// Customize our BigNumber instances
-bigNumberConfigs.configure();
-
export class Web3Wrapper {
private _web3: Web3;
private _defaults: Partial<TxData>;