diff options
author | Leonid <logvinov.leon@gmail.com> | 2018-01-10 18:18:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-10 18:18:51 +0800 |
commit | a39d3d723399e124ae617dfda67e754907312a98 (patch) | |
tree | 2084e27bad0dede62d99165453f9ec092ea8d1be /packages/connect/src | |
parent | 40c7ee63557b1795340c315eb9fab1dcfe092bed (diff) | |
parent | 326a6b729fe6cf96f0b4787d84903282738b6863 (diff) | |
download | dexon-sol-tools-a39d3d723399e124ae617dfda67e754907312a98.tar.gz 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/connect/src')
-rw-r--r-- | packages/connect/src/index.ts | 5 | ||||
-rw-r--r-- | packages/connect/src/types.ts | 2 | ||||
-rw-r--r-- | packages/connect/src/utils/type_converters.ts | 2 |
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 ad27e0b97..c1808ce8a 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'; export const typeConverters = { |