diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-04 01:41:55 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-04 01:41:55 +0800 |
commit | 9337d207a1f4d5c28b42d1364a2a8bdc0dc841cf (patch) | |
tree | a8de929b3d20b26c503bbf4c0f43467d78285591 | |
parent | c17d6c47c3253cf32c2dada8f7f871563f7209e9 (diff) | |
download | dexon-0x-contracts-9337d207a1f4d5c28b42d1364a2a8bdc0dc841cf.tar.gz dexon-0x-contracts-9337d207a1f4d5c28b42d1364a2a8bdc0dc841cf.tar.zst dexon-0x-contracts-9337d207a1f4d5c28b42d1364a2a8bdc0dc841cf.zip |
Stop exporting constants from order-utils
-rw-r--r-- | packages/order-utils/src/index.ts | 1 | ||||
-rw-r--r-- | packages/order-utils/test/order_hash_test.ts | 4 | ||||
-rw-r--r-- | packages/website/ts/redux/reducer.ts | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/packages/order-utils/src/index.ts b/packages/order-utils/src/index.ts index c685a94e2..85d26de81 100644 --- a/packages/order-utils/src/index.ts +++ b/packages/order-utils/src/index.ts @@ -1,6 +1,5 @@ export { orderHashUtils } from './order_hash'; export { signatureUtils } from './signature_utils'; -export { constants } from './constants'; export { generatePseudoRandomSalt } from './salt'; export { OrderError, diff --git a/packages/order-utils/test/order_hash_test.ts b/packages/order-utils/test/order_hash_test.ts index 0a6be83d0..3fdbbad21 100644 --- a/packages/order-utils/test/order_hash_test.ts +++ b/packages/order-utils/test/order_hash_test.ts @@ -3,7 +3,9 @@ import { BigNumber } from '@0xproject/utils'; import * as chai from 'chai'; import 'mocha'; -import { constants, orderHashUtils } from '../src'; +import { orderHashUtils } from '../src'; + +import { constants } from '../src/constants'; import { chaiSetup } from './utils/chai_setup'; diff --git a/packages/website/ts/redux/reducer.ts b/packages/website/ts/redux/reducer.ts index caddabcf0..15f118813 100644 --- a/packages/website/ts/redux/reducer.ts +++ b/packages/website/ts/redux/reducer.ts @@ -1,4 +1,4 @@ -import { constants, generatePseudoRandomSalt } from '@0xproject/order-utils'; +import { generatePseudoRandomSalt } from '@0xproject/order-utils'; import { ECSignature } from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; import * as _ from 'lodash'; @@ -16,6 +16,7 @@ import { } from 'ts/types'; import { Translate } from 'ts/utils/translate'; import { utils } from 'ts/utils/utils'; +import { constants } from 'ts/utils/constants'; // Instead of defaulting the docs version to an empty string, we pre-populate it with // a valid version value. This does not need to be updated however, since onLoad, it |