fix cexPrices schema & ver up

This commit is contained in:
lambdagit
2023-09-05 16:23:14 +03:00
parent 24cd59dc26
commit 9ac991ec6c
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@orionprotocol/sdk",
"version": "0.19.80-rc",
"version": "0.19.80-rc1",
"description": "Orion Protocol SDK",
"main": "./lib/index.cjs",
"module": "./lib/index.js",

View File

@@ -2,7 +2,7 @@ import { z } from 'zod';
const cexPriceTickerInfoSchema = z.tuple([
z.string(), // pair name
z.string(), // lastPrice
z.number(), // lastPrice
]).transform(([pairName, lastPrice]) => ({
pairName:pairName.toUpperCase(),
lastPrice,