feature: add new fields to ratingSchema

This commit is contained in:
Mikhail Gladchenko
2023-09-21 15:00:56 +01:00
parent 86944a3273
commit c0cbbab48d
2 changed files with 5 additions and 1 deletions

View File

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

View File

@@ -33,6 +33,10 @@ const ratingSchema = z.object({
weighted_volume_fmt: z.number(),
total_weight: z.string(),
total_weight_fmt: z.number(),
total_volume_fmt: z.number(),
total_earnings_fmt: z.number(),
referrals_count_fmt: z.number(),
total_trades_fmt: z.number(),
reward: z.string(),
reward_fmt: z.number()
})),