diff --git a/package.json b/package.json index 3431899..bfa5120 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orionprotocol/sdk", - "version": "0.20.79-rc9", + "version": "0.20.79-rc10", "description": "Orion Protocol SDK", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/src/services/Frontage/schemas/tickers-schema.ts b/src/services/Frontage/schemas/tickers-schema.ts index 9835803..41384ed 100644 --- a/src/services/Frontage/schemas/tickers-schema.ts +++ b/src/services/Frontage/schemas/tickers-schema.ts @@ -1,11 +1,12 @@ import { z } from 'zod'; +import { SupportedChainId } from '../../../types'; export const tickerSchema = z.object({ pair: z.string(), volume24: z.number(), change24: z.number(), lastPrice: z.number(), - networks: z.array(z.number()), + networks: z.array(z.nativeEnum(SupportedChainId)), }); export const tickersSchema = z.array(tickerSchema);