Update CHANGELOGs

This commit is contained in:
Amir Bandeali 2019-01-02 17:17:40 -08:00
parent b90c3196a3
commit 70508f52a1
5 changed files with 14 additions and 4 deletions

View File

@ -1,9 +1,10 @@
[
{
"version": "2.0.9",
"version": "2.1.0",
"changes": [
{
"note": "Export `MultiAssetData` from types",
"note":
"Export `MultiAssetData`, `MultiAssetDataWithRecursiveDecoding`, `ObjectMap`, and `SingleAssetData` from types",
"pr": 1363
}
]

View File

@ -71,6 +71,7 @@ export { AbiDecoder } from '@0x/utils';
export { BigNumber } from '@0x/utils';
export {
AssetData,
ExchangeContractErrs,
Order,
SignedOrder,
@ -85,6 +86,7 @@ export {
MultiAssetData,
MultiAssetDataWithRecursiveDecoding,
SignatureType,
ObjectMap,
OrderRelevantState,
Stats,
} from '@0x/types';

View File

@ -1,9 +1,13 @@
[
{
"version": "4.1.4",
"version": "4.2.0",
"changes": [
{
"note": "Add support for Trust Wallet signature denial error"
},
{
"note": "Add balance and allowance queries for MultiAssetProxy",
"pr": 1363
}
]
},

View File

@ -3,7 +3,8 @@
"version": "3.1.0",
"changes": [
{
"note": "Use new ABI encoder and add encoding/decoding logic for MultiAsset assetData",
"note":
"Use new ABI encoder, add encoding/decoding logic for MultiAsset assetData, and add information to return values in orderStateUtils",
"pr": 1363
}
]

View File

@ -185,6 +185,8 @@ export interface MultiAssetDataWithRecursiveDecoding {
nestedAssetData: SingleAssetData[];
}
export type AssetData = SingleAssetData | MultiAssetData | MultiAssetDataWithRecursiveDecoding;
// TODO: DRY. These should be extracted from contract code.
export enum RevertReason {
OrderUnfillable = 'ORDER_UNFILLABLE',