From 18fb8a72df1401bf0d1e5b7738a9443d62566af7 Mon Sep 17 00:00:00 2001 From: Mikhail Gladchenko Date: Thu, 19 Oct 2023 09:26:22 +0100 Subject: [PATCH] feature: up version to 0.20.10-rc4 --- .../Integrator/schemas/list-pool-v2-response-schema.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/services/Integrator/schemas/list-pool-v2-response-schema.ts b/src/services/Integrator/schemas/list-pool-v2-response-schema.ts index 6212605..f8ad119 100644 --- a/src/services/Integrator/schemas/list-pool-v2-response-schema.ts +++ b/src/services/Integrator/schemas/list-pool-v2-response-schema.ts @@ -3,9 +3,6 @@ import { evmAddressSchema } from './util-schemas.js'; import basicPoolInfo from './basic-pool-info-schema.js'; import infoSchema from './info-schema.js'; -// This is a crutch. In the nearest future Yuriy will update his model and we need to replace this constant with basicPoolInfo -const omittedBasicPoolInfo = basicPoolInfo.omit({ feeRate: true }) - const poolOfListPoolSchema = z.object({ pair: z.string(), token0: z.string().nonempty(), @@ -45,9 +42,8 @@ const poolOfListPoolSchema = z.object({ userLockTimePeriod: z.number(), userVeORN: z.number(), userORN: z.number(), - feeRate: z.number().nonnegative(), - ...omittedBasicPoolInfo.shape, + ...basicPoolInfo.shape, type: z.string().nonempty(), });