mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-15 22:52:36 +03:00
fix: version
This commit is contained in:
@@ -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 }
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user