Make assetData a static property and add to CHANGELOG

This commit is contained in:
Fabio Berger 2018-07-17 15:33:49 +02:00
parent 94ea7cc451
commit f2393de59b
2 changed files with 4 additions and 1 deletions

View File

@ -36,6 +36,9 @@
{ {
"note": "Remove stateLayer config from OrderWatcher. It now always operates on the latest block", "note": "Remove stateLayer config from OrderWatcher. It now always operates on the latest block",
"pr": 875 "pr": 875
},
{
"note": "Export ZeroEx.assetData with methods to decode/encode AssetData fields found in 0x orders"
} }
] ]
}, },

View File

@ -38,7 +38,7 @@ export class ZeroEx {
/** /**
* A set of methods to easily decode/encode assetData fields found in 0x orders. * A set of methods to easily decode/encode assetData fields found in 0x orders.
*/ */
public assetData = assetDataUtils; public static assetData = assetDataUtils;
/** /**
* An instance of the ExchangeWrapper class containing methods for interacting with the 0x Exchange smart contract. * An instance of the ExchangeWrapper class containing methods for interacting with the 0x Exchange smart contract.
*/ */