aboutsummaryrefslogtreecommitdiffstats
path: root/packages/types
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/types
parentce6abad97f248a3557390dd1e1ff3ae84662838f (diff)
downloaddexon-0x-contracts-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.gz
dexon-0x-contracts-4dfa720f2dec2be0b0758633c087579a02e482bb.tar.zst
dexon-0x-contracts-4dfa720f2dec2be0b0758633c087579a02e482bb.zip
Use configured version of bignumber in all packages
Diffstat (limited to 'packages/types')
-rw-r--r--packages/types/package.json3
-rw-r--r--packages/types/src/index.ts2
2 files changed, 2 insertions, 3 deletions
diff --git a/packages/types/package.json b/packages/types/package.json
index d39ed1f91..a16217169 100644
--- a/packages/types/package.json
+++ b/packages/types/package.json
@@ -20,13 +20,12 @@
"homepage": "https://github.com/0xProject/0x.js/packages/types/README.md",
"devDependencies": {
"@0xproject/tslint-config": "^0.4.0",
- "bignumber.js": "^5.0.0",
"shx": "^0.2.2",
"tslint": "5.8.0",
"typescript": "~2.6.1"
},
"dependencies": {
- "bignumber.js": "~4.1.0",
+ "@0xproject/utils": "^0.1.2",
"web3": "^0.20.0"
}
}
diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts
index 3e81e506f..9cf9bc7af 100644
--- a/packages/types/src/index.ts
+++ b/packages/types/src/index.ts
@@ -1,4 +1,4 @@
-import { BigNumber } from 'bignumber.js';
+import { BigNumber } from '@0xproject/utils';
import * as Web3 from 'web3';
export interface TxData {