mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 22:22:35 +03:00
feature: updated pool v2 and v3 schemas
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.20.10-rc19",
|
||||
"version": "0.20.10-rc20",
|
||||
"description": "Orion Protocol SDK",
|
||||
"main": "./lib/index.cjs",
|
||||
"module": "./lib/index.js",
|
||||
|
||||
@@ -19,7 +19,7 @@ export const listPoolV3Schema = z.object({
|
||||
|
||||
...basicPoolInfo.shape,
|
||||
|
||||
type: z.string().nonempty(),
|
||||
type: z.literal('v3'),
|
||||
});
|
||||
|
||||
const listPoolV3ResponseSchema = z.object({
|
||||
|
||||
@@ -50,7 +50,7 @@ const poolInfoSchema = z.object({
|
||||
boostCurrentLiquidity: z.number(),
|
||||
boostCurrentVeORN: z.number(),
|
||||
boostTotalReward: z.number(),
|
||||
type: z.string(),
|
||||
type: z.literal('v2'),
|
||||
|
||||
...basicPoolInfo.shape,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user