Skip to content

Commit

Permalink
Merge branch 'main' into feat/OP-5020-pnl-share
Browse files Browse the repository at this point in the history
# Conflicts:
#	package.json
  • Loading branch information
TheJuze committed Feb 28, 2024
2 parents 95e1934 + e785237 commit 3cd1f67
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package",
"name": "@electra.finance/sdk",
"version": "0.2.11-rc1",
"version": "0.2.12",
"description": "Electra finance SDK",
"main": "./lib/index.cjs",
"module": "./lib/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const pointsAdditionalSchema = z.object({
export const accountDetailsSchema = z.object({
address: z.string(),
ref_link: z.string(),
rank: z.number(),
referrals_count: z.number(),
direct_referrals_count: z.number(),
points_total: z.number(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { z } from 'zod';
const aggregatedHistorySchema = z.object({
data: z.array(z.object({
history_type: z.string(),
bonus_description: z.string().nullable(),
chain_type: z.string(),
chain_comp: z.string(),
chain_id: z.number(),
Expand Down

0 comments on commit 3cd1f67

Please sign in to comment.