diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-07 21:41:40 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-07 21:41:40 +0800 |
commit | 9b3680780fab26543331524870eba75eea08a426 (patch) | |
tree | 8ed51682e7f1a7b86d1ea84c9f53ef468f7ccaf2 /packages/website/ts/schemas | |
parent | 12d62e1157168ec9e8cd23749523b2bcda8eefe5 (diff) | |
download | dexon-sol-tools-9b3680780fab26543331524870eba75eea08a426.tar dexon-sol-tools-9b3680780fab26543331524870eba75eea08a426.tar.gz dexon-sol-tools-9b3680780fab26543331524870eba75eea08a426.tar.bz2 dexon-sol-tools-9b3680780fab26543331524870eba75eea08a426.tar.lz dexon-sol-tools-9b3680780fab26543331524870eba75eea08a426.tar.xz dexon-sol-tools-9b3680780fab26543331524870eba75eea08a426.tar.zst dexon-sol-tools-9b3680780fab26543331524870eba75eea08a426.zip |
Rename expiration to expirationUnixTimestampSec
Diffstat (limited to 'packages/website/ts/schemas')
-rw-r--r-- | packages/website/ts/schemas/order_schema.ts | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/packages/website/ts/schemas/order_schema.ts b/packages/website/ts/schemas/order_schema.ts index bfbf9eb8b..1d9e96fee 100644 --- a/packages/website/ts/schemas/order_schema.ts +++ b/packages/website/ts/schemas/order_schema.ts @@ -5,11 +5,20 @@ export const orderSchema = { taker: { $ref: '/OrderTaker' }, salt: { type: 'string' }, signature: { $ref: '/SignatureData' }, - expiration: { type: 'string' }, + expirationUnixTimestampSec: { type: 'string' }, feeRecipient: { type: 'string' }, exchangeContract: { type: 'string' }, networkId: { type: 'number' }, }, - required: ['maker', 'taker', 'salt', 'signature', 'expiration', 'feeRecipient', 'exchangeContract', 'networkId'], + required: [ + 'maker', + 'taker', + 'salt', + 'signature', + 'expirationUnixTimestampSec', + 'feeRecipient', + 'exchangeContract', + 'networkId', + ], type: 'object', }; |