diff options
Diffstat (limited to 'packages/website/ts/schemas')
-rw-r--r-- | packages/website/ts/schemas/order_schema.ts | 4 | ||||
-rw-r--r-- | packages/website/ts/schemas/order_taker_schema.ts | 3 |
2 files changed, 5 insertions, 2 deletions
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', }; |