Unexport constants from order-utils.

Directly grab the EIP712 constants from the `order-utils` package in `/contracts/coordinator/test/util/hash_utils`.
Update changelogs.
This commit is contained in:
Lawrence Forman 2019-03-15 18:01:43 -04:00
parent 54c17b0068
commit ad5d4bdfc5
4 changed files with 12 additions and 13 deletions

View File

@ -6,7 +6,10 @@
"note": "Created Coordinator package" "note": "Created Coordinator package"
}, },
{ {
"note": "Use mixed EIP712 domains for transactions and approvals." "note": "Use mixed EIP712 domains for transactions and approvals"
},
{
"note": "Add `SignatureType.Invalid`"
} }
] ]
} }

View File

@ -1,4 +1,5 @@
import { constants, eip712Utils, transactionHashUtils } from '@0x/order-utils'; import { eip712Utils, transactionHashUtils } from '@0x/order-utils';
import { constants } from '@0x/order-utils/lib/src/constants';
import { SignedZeroExTransaction } from '@0x/types'; import { SignedZeroExTransaction } from '@0x/types';
import { BigNumber, signTypedDataUtils } from '@0x/utils'; import { BigNumber, signTypedDataUtils } from '@0x/utils';
import * as _ from 'lodash'; import * as _ from 'lodash';

View File

@ -1,14 +1,11 @@
[ [
{ {
"version" : "7.1.0", "version": "7.1.0",
"changes": [ "changes": [
{ {
"note": "Add Coordinator EIP712 constants" "note": "Add Coordinator EIP712 constants"
}, }
{ ]
"note": "Export constants"
}
]
}, },
{ {
"timestamp": 1551479279, "timestamp": 1551479279,

View File

@ -73,5 +73,3 @@ export {
FeeOrdersAndRemainingFeeAmount, FeeOrdersAndRemainingFeeAmount,
OrdersAndRemainingFillAmount, OrdersAndRemainingFillAmount,
} from './types'; } from './types';
export { constants } from './constants';