fix types

This commit is contained in:
TheJuze
2024-04-11 14:32:14 +03:00
parent 55d9c36b2f
commit f7e50051ba
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -273,7 +273,7 @@ class BlockchainService {
getReferralData = (walletAddress: string) => fetchWithValidation(
`${this.apiUrl}/api/referral-data/${walletAddress}`,
referralDataSchema,
z.number().nonnegative(),
{ headers: this.basicAuthHeaders }
);