diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-04 19:38:19 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-04 19:38:19 +0800 |
commit | 4dfa720f2dec2be0b0758633c087579a02e482bb (patch) | |
tree | 242eec230a95f44a1280c7a6431cf1b48ff70337 /packages/assert | |
parent | ce6abad97f248a3557390dd1e1ff3ae84662838f (diff) | |
download | dexon-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/assert')
-rw-r--r-- | packages/assert/package.json | 1 | ||||
-rw-r--r-- | packages/assert/src/index.ts | 2 | ||||
-rw-r--r-- | packages/assert/test/assert_test.ts | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/packages/assert/package.json b/packages/assert/package.json index 71b02b1ac..1752f4b17 100644 --- a/packages/assert/package.json +++ b/packages/assert/package.json @@ -39,7 +39,6 @@ "dependencies": { "@0xproject/json-schemas": "^0.7.1", "@0xproject/utils": "^0.1.2", - "bignumber.js": "~4.1.0", "lodash": "^4.17.4", "valid-url": "^1.0.9" } diff --git a/packages/assert/src/index.ts b/packages/assert/src/index.ts index e729c043c..34eb42eb9 100644 --- a/packages/assert/src/index.ts +++ b/packages/assert/src/index.ts @@ -1,6 +1,6 @@ import { Schema, SchemaValidator } from '@0xproject/json-schemas'; import { addressUtils } from '@0xproject/utils'; -import BigNumber from 'bignumber.js'; +import { BigNumber } from '@0xproject/utils'; import * as _ from 'lodash'; import * as validUrl from 'valid-url'; diff --git a/packages/assert/test/assert_test.ts b/packages/assert/test/assert_test.ts index 51dc1d586..29344584a 100644 --- a/packages/assert/test/assert_test.ts +++ b/packages/assert/test/assert_test.ts @@ -1,5 +1,5 @@ import { schemas } from '@0xproject/json-schemas'; -import { BigNumber } from 'bignumber.js'; +import { BigNumber } from '@0xproject/utils'; import * as chai from 'chai'; import * as dirtyChai from 'dirty-chai'; import 'mocha'; |