mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-01 02:27:56 +03:00
fix cexPrices schema & ver up
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user