diff --git a/package-lock.json b/package-lock.json index fa15ecc..051932c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@orionprotocol/sdk", - "version": "0.20.83-rc0", + "version": "0.20.83-rc1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@orionprotocol/sdk", - "version": "0.20.83-rc0", + "version": "0.20.83-rc1", "hasInstallScript": true, "license": "ISC", "dependencies": { diff --git a/package.json b/package.json index 31e6b95..b55004c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orionprotocol/sdk", - "version": "0.20.83-rc0", + "version": "0.20.83-rc1", "description": "Orion Protocol SDK", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/src/services/BlockchainService/index.ts b/src/services/BlockchainService/index.ts index 0a040f8..778b9d1 100644 --- a/src/services/BlockchainService/index.ts +++ b/src/services/BlockchainService/index.ts @@ -12,7 +12,8 @@ import { pairStatusSchema, pricesWithQuoteAssetSchema, referralDataSchema, - pmmSchema + pmmSchema, + dueLiabilityEstimateSchema } from './schemas/index.js'; import type redeemOrderSchema from '../Aggregator/schemas/redeemOrderSchema.js'; import { sourceAtomicHistorySchema, targetAtomicHistorySchema } from './schemas/atomicHistorySchema.js'; @@ -20,7 +21,6 @@ import { makePartial } from '../../utils'; import type { networkCodes } from '../../constants/index.js'; import { fetchWithValidation } from 'simple-typed-fetch'; import type { BasicAuthCredentials } from '../../types.js'; -import { dueLiabilityEstimateSchema } from './schemas/dueLiabilityEstimateSchema'; type IAdminAuthHeaders = { auth: string @@ -278,7 +278,7 @@ class BlockchainService { ); getDueLiabilityEstimate = ({ asset, amount }: DueLiabilityEstimateProps) => fetchWithValidation( - `${this.apiUrl}/api/due-liability-esstimate/${asset}/${amount}`, + `${this.apiUrl}/api/due-liability-estimate/${asset}/${amount}`, dueLiabilityEstimateSchema, { headers: this.basicAuthHeaders } );