fix: invite code link schema

This commit is contained in:
Kirill Litvinov
2024-01-30 12:13:44 +03:00
parent fab7417e02
commit 85963892cb
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@orionprotocol/sdk",
"version": "0.20.50",
"version": "0.20.51",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@orionprotocol/sdk",
"version": "0.20.50",
"version": "0.20.51",
"hasInstallScript": true,
"license": "ISC",
"dependencies": {

View File

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

View File

@@ -3,8 +3,8 @@ import { z } from 'zod';
const inviteCodeLinkSchema = z.object({
link: z
.object({
status: z.string(),
referer: z.string(),
ref_link: z.string(),
})
.nullable(),
invite: z