From 223df8006a30a95db544a2af080224a4d9d2d474 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 7 Feb 2018 15:09:06 +0100 Subject: Move .taker.amount to .takerTokenAmount and .maker.amount to .makerTokenAmount --- packages/website/ts/schemas/order_schema.ts | 4 ++++ packages/website/ts/schemas/order_taker_schema.ts | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'packages/website/ts/schemas') diff --git a/packages/website/ts/schemas/order_schema.ts b/packages/website/ts/schemas/order_schema.ts index e69891df1..ccf4af671 100644 --- a/packages/website/ts/schemas/order_schema.ts +++ b/packages/website/ts/schemas/order_schema.ts @@ -5,6 +5,8 @@ export const orderSchema = { taker: { $ref: '/OrderTaker' }, makerFee: { type: 'string' }, takerFee: { type: 'string' }, + makerTokenAmount: { type: 'string' }, + takerTokenAmount: { type: 'string' }, salt: { type: 'string' }, ecSignature: { $ref: '/SignatureData' }, expirationUnixTimestampSec: { type: 'string' }, @@ -17,6 +19,8 @@ export const orderSchema = { 'taker', 'makerFee', 'takerFee', + 'makerTokenAmount', + 'takerTokenAmount', 'salt', 'ecSignature', 'expirationUnixTimestampSec', diff --git a/packages/website/ts/schemas/order_taker_schema.ts b/packages/website/ts/schemas/order_taker_schema.ts index c8d56a417..bce71f74b 100644 --- a/packages/website/ts/schemas/order_taker_schema.ts +++ b/packages/website/ts/schemas/order_taker_schema.ts @@ -3,8 +3,7 @@ export const orderTakerSchema = { properties: { address: { type: 'string' }, token: { $ref: '/Token' }, - amount: { type: 'string' }, }, - required: ['address', 'token', 'amount'], + required: ['address', 'token'], type: 'object', }; -- cgit