From f2393de59bf77806281ebabfad9f4500dd183f4a Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Tue, 17 Jul 2018 15:33:49 +0200 Subject: Make assetData a static property and add to CHANGELOG --- packages/0x.js/CHANGELOG.json | 3 +++ packages/0x.js/src/0x.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/0x.js/CHANGELOG.json b/packages/0x.js/CHANGELOG.json index 9419311dd..849432c5a 100644 --- a/packages/0x.js/CHANGELOG.json +++ b/packages/0x.js/CHANGELOG.json @@ -36,6 +36,9 @@ { "note": "Remove stateLayer config from OrderWatcher. It now always operates on the latest block", "pr": 875 + }, + { + "note": "Export ZeroEx.assetData with methods to decode/encode AssetData fields found in 0x orders" } ] }, diff --git a/packages/0x.js/src/0x.ts b/packages/0x.js/src/0x.ts index 11ceb7c89..e321b4020 100644 --- a/packages/0x.js/src/0x.ts +++ b/packages/0x.js/src/0x.ts @@ -38,7 +38,7 @@ export class ZeroEx { /** * 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. */ -- cgit