fix: version

This commit is contained in:
Kirill Litvinov
2023-12-13 14:40:38 +03:00
parent fa33024ea5
commit 70ab3f1ffe
2 changed files with 3 additions and 5 deletions

View File

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

View File

@@ -11,6 +11,7 @@ import {
type PairStatusEnum,
pairStatusSchema,
pricesWithQuoteAssetSchema,
referralDataSchema,
} from './schemas/index.js';
import type redeemOrderSchema from '../Aggregator/schemas/redeemOrderSchema.js';
import { sourceAtomicHistorySchema, targetAtomicHistorySchema } from './schemas/atomicHistorySchema.js';
@@ -260,10 +261,7 @@ class BlockchainService {
getReferralData = (walletAddress: string) => fetchWithValidation(
`${this.apiUrl}/api/referral-data/${walletAddress}`,
z.object({
referer: z.string(),
isReferral: z.boolean(),
}),
referralDataSchema,
{ headers: this.basicAuthHeaders }
);