aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-04 01:41:55 +0800
committerFabio Berger <me@fabioberger.com>2018-08-04 01:41:55 +0800
commit9337d207a1f4d5c28b42d1364a2a8bdc0dc841cf (patch)
treea8de929b3d20b26c503bbf4c0f43467d78285591 /packages
parentc17d6c47c3253cf32c2dada8f7f871563f7209e9 (diff)
downloaddexon-sol-tools-9337d207a1f4d5c28b42d1364a2a8bdc0dc841cf.tar
dexon-sol-tools-9337d207a1f4d5c28b42d1364a2a8bdc0dc841cf.tar.gz
dexon-sol-tools-9337d207a1f4d5c28b42d1364a2a8bdc0dc841cf.tar.bz2
dexon-sol-tools-9337d207a1f4d5c28b42d1364a2a8bdc0dc841cf.tar.lz
dexon-sol-tools-9337d207a1f4d5c28b42d1364a2a8bdc0dc841cf.tar.xz
dexon-sol-tools-9337d207a1f4d5c28b42d1364a2a8bdc0dc841cf.tar.zst
dexon-sol-tools-9337d207a1f4d5c28b42d1364a2a8bdc0dc841cf.zip
Stop exporting constants from order-utils
Diffstat (limited to 'packages')
-rw-r--r--packages/order-utils/src/index.ts1
-rw-r--r--packages/order-utils/test/order_hash_test.ts4
-rw-r--r--packages/website/ts/redux/reducer.ts3
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