aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2019-01-03 09:17:40 +0800
committerAmir Bandeali <abandeali1@gmail.com>2019-01-08 02:31:11 +0800
commit70508f52a1dd6bfcc891f145c3a06f1e66c3cda5 (patch)
treed5239c3515f1abb94e8d3351fa5929d96741325d /packages
parentb90c3196a331eee28c09dd6abcfe7f2e0f9e296c (diff)
downloaddexon-sol-tools-70508f52a1dd6bfcc891f145c3a06f1e66c3cda5.tar
dexon-sol-tools-70508f52a1dd6bfcc891f145c3a06f1e66c3cda5.tar.gz
dexon-sol-tools-70508f52a1dd6bfcc891f145c3a06f1e66c3cda5.tar.bz2
dexon-sol-tools-70508f52a1dd6bfcc891f145c3a06f1e66c3cda5.tar.lz
dexon-sol-tools-70508f52a1dd6bfcc891f145c3a06f1e66c3cda5.tar.xz
dexon-sol-tools-70508f52a1dd6bfcc891f145c3a06f1e66c3cda5.tar.zst
dexon-sol-tools-70508f52a1dd6bfcc891f145c3a06f1e66c3cda5.zip
Update CHANGELOGs
Diffstat (limited to 'packages')
-rw-r--r--packages/0x.js/CHANGELOG.json5
-rw-r--r--packages/0x.js/src/index.ts2
-rw-r--r--packages/contract-wrappers/CHANGELOG.json6
-rw-r--r--packages/order-utils/CHANGELOG.json3
-rw-r--r--packages/types/src/index.ts2
5 files changed, 14 insertions, 4 deletions
diff --git a/packages/0x.js/CHANGELOG.json b/packages/0x.js/CHANGELOG.json
index 0024052b3..29dbf12f5 100644
--- a/packages/0x.js/CHANGELOG.json
+++ b/packages/0x.js/CHANGELOG.json
@@ -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
}
]
diff --git a/packages/0x.js/src/index.ts b/packages/0x.js/src/index.ts
index 01742f1b9..c8978466d 100644
--- a/packages/0x.js/src/index.ts
+++ b/packages/0x.js/src/index.ts
@@ -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';
diff --git a/packages/contract-wrappers/CHANGELOG.json b/packages/contract-wrappers/CHANGELOG.json
index d39027797..a8c74fa24 100644
--- a/packages/contract-wrappers/CHANGELOG.json
+++ b/packages/contract-wrappers/CHANGELOG.json
@@ -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
}
]
},
diff --git a/packages/order-utils/CHANGELOG.json b/packages/order-utils/CHANGELOG.json
index a6fb91b83..292f7a57b 100644
--- a/packages/order-utils/CHANGELOG.json
+++ b/packages/order-utils/CHANGELOG.json
@@ -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
}
]
diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts
index 71fcbf9db..472b56dc2 100644
--- a/packages/types/src/index.ts
+++ b/packages/types/src/index.ts
@@ -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',