diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-15 05:00:16 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-15 05:00:16 +0800 |
commit | c1cc92a46f9ebfa4408a5dc515f1e100fe3a7054 (patch) | |
tree | 816b1412ee9deada82c487033b67052b58c9d1d7 /packages/connect/src/schemas | |
parent | 7eff195d61072007e64ef934e1411f8100656be8 (diff) | |
download | dexon-sol-tools-c1cc92a46f9ebfa4408a5dc515f1e100fe3a7054.tar dexon-sol-tools-c1cc92a46f9ebfa4408a5dc515f1e100fe3a7054.tar.gz dexon-sol-tools-c1cc92a46f9ebfa4408a5dc515f1e100fe3a7054.tar.bz2 dexon-sol-tools-c1cc92a46f9ebfa4408a5dc515f1e100fe3a7054.tar.lz dexon-sol-tools-c1cc92a46f9ebfa4408a5dc515f1e100fe3a7054.tar.xz dexon-sol-tools-c1cc92a46f9ebfa4408a5dc515f1e100fe3a7054.tar.zst dexon-sol-tools-c1cc92a46f9ebfa4408a5dc515f1e100fe3a7054.zip |
Change names of basic types in Client interface
Diffstat (limited to 'packages/connect/src/schemas')
-rw-r--r-- | packages/connect/src/schemas/schemas.ts | 4 | ||||
-rw-r--r-- | packages/connect/src/schemas/token_pairs_request_opts_schema.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/connect/src/schemas/schemas.ts b/packages/connect/src/schemas/schemas.ts index 0b8b798a9..e6ca010ae 100644 --- a/packages/connect/src/schemas/schemas.ts +++ b/packages/connect/src/schemas/schemas.ts @@ -2,12 +2,12 @@ import { feesRequestSchema } from './fees_request_schema'; import { orderBookRequestSchema } from './orderbook_request_schema'; import { ordersRequestOptsSchema } from './orders_request_opts_schema'; import { pagedRequestOptsSchema } from './paged_request_opts_schema'; -import { tokenPairsRequestOptsSchema } from './token_pairs_request_opts_schema'; +import { AssetPairsRequestOptsSchema } from './token_pairs_request_opts_schema'; export const schemas = { feesRequestSchema, orderBookRequestSchema, ordersRequestOptsSchema, pagedRequestOptsSchema, - tokenPairsRequestOptsSchema, + AssetPairsRequestOptsSchema, }; diff --git a/packages/connect/src/schemas/token_pairs_request_opts_schema.ts b/packages/connect/src/schemas/token_pairs_request_opts_schema.ts index 9b73a917b..dffd063d0 100644 --- a/packages/connect/src/schemas/token_pairs_request_opts_schema.ts +++ b/packages/connect/src/schemas/token_pairs_request_opts_schema.ts @@ -1,5 +1,5 @@ -export const tokenPairsRequestOptsSchema = { - id: '/TokenPairsRequestOpts', +export const AssetPairsRequestOptsSchema = { + id: '/AssetPairsRequestOpts', type: 'object', properties: { tokenA: { $ref: '/Address' }, |