aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/0x.js/CHANGELOG.json3
-rw-r--r--packages/0x.js/src/0x.ts2
2 files changed, 4 insertions, 1 deletions
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.
*/