aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/src
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/connect/src
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/connect/src')
-rw-r--r--packages/connect/src/index.ts5
-rw-r--r--packages/connect/src/types.ts2
-rw-r--r--packages/connect/src/utils/type_converters.ts2
3 files changed, 2 insertions, 7 deletions
diff --git a/packages/connect/src/index.ts b/packages/connect/src/index.ts
index b9fc3c568..a492f5ae9 100644
--- a/packages/connect/src/index.ts
+++ b/packages/connect/src/index.ts
@@ -1,8 +1,3 @@
-import { bigNumberConfigs } from '@0xproject/utils';
-
-// Customize our BigNumber instances
-bigNumberConfigs.configure();
-
export { HttpClient } from './http_client';
export { WebSocketOrderbookChannel } from './ws_orderbook_channel';
export {
diff --git a/packages/connect/src/types.ts b/packages/connect/src/types.ts
index 1e6139bf9..edb6c77a6 100644
--- a/packages/connect/src/types.ts
+++ b/packages/connect/src/types.ts
@@ -1,4 +1,4 @@
-import { BigNumber } from 'bignumber.js';
+import { BigNumber } from '@0xproject/utils';
// TODO: Consolidate Order, SignedOrder and ECSignature into a shared package instead of duplicating them from 0x.js
export interface Order {
diff --git a/packages/connect/src/utils/type_converters.ts b/packages/connect/src/utils/type_converters.ts
index 31abdc95c..9d20154fd 100644
--- a/packages/connect/src/utils/type_converters.ts
+++ b/packages/connect/src/utils/type_converters.ts
@@ -1,4 +1,4 @@
-import { BigNumber } from 'bignumber.js';
+import { BigNumber } from '@0xproject/utils';
import * as _ from 'lodash';
// TODO: convert all of these to non-mutating, pure functions