From c0cbbab48d9a399f3cf8de1f95b2c08c97318e36 Mon Sep 17 00:00:00 2001 From: Mikhail Gladchenko Date: Thu, 21 Sep 2023 15:00:56 +0100 Subject: [PATCH] feature: add new fields to ratingSchema --- package.json | 2 +- src/services/ReferralSystem/schemas/ratingSchema.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2a7efb9..3458979 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/services/ReferralSystem/schemas/ratingSchema.ts b/src/services/ReferralSystem/schemas/ratingSchema.ts index c72b70b..fae0a58 100644 --- a/src/services/ReferralSystem/schemas/ratingSchema.ts +++ b/src/services/ReferralSystem/schemas/ratingSchema.ts @@ -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() })),