aboutsummaryrefslogtreecommitdiffstats
path: root/packages/assert
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2018-01-10 18:18:51 +0800
committerGitHub <noreply@github.com>2018-01-10 18:18:51 +0800
commita39d3d723399e124ae617dfda67e754907312a98 (patch)
tree2084e27bad0dede62d99165453f9ec092ea8d1be /packages/assert
parent40c7ee63557b1795340c315eb9fab1dcfe092bed (diff)
parent326a6b729fe6cf96f0b4787d84903282738b6863 (diff)
downloaddexon-sol-tools-a39d3d723399e124ae617dfda67e754907312a98.tar
dexon-sol-tools-a39d3d723399e124ae617dfda67e754907312a98.tar.gz
dexon-sol-tools-a39d3d723399e124ae617dfda67e754907312a98.tar.bz2
dexon-sol-tools-a39d3d723399e124ae617dfda67e754907312a98.tar.lz
dexon-sol-tools-a39d3d723399e124ae617dfda67e754907312a98.tar.xz
dexon-sol-tools-a39d3d723399e124ae617dfda67e754907312a98.tar.zst
dexon-sol-tools-a39d3d723399e124ae617dfda67e754907312a98.zip
Merge pull request #305 from 0xProject/fix/bignumber_config
Use configured version of bignumber in all packages
Diffstat (limited to 'packages/assert')
-rw-r--r--packages/assert/package.json1
-rw-r--r--packages/assert/src/index.ts3
-rw-r--r--packages/assert/test/assert_test.ts2
3 files changed, 2 insertions, 4 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..051a741c5 100644
--- a/packages/assert/src/index.ts
+++ b/packages/assert/src/index.ts
@@ -1,6 +1,5 @@
import { Schema, SchemaValidator } from '@0xproject/json-schemas';
-import { addressUtils } from '@0xproject/utils';
-import BigNumber from 'bignumber.js';
+import { addressUtils, 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';