diff --git a/package-lock.json b/package-lock.json index 6df759ad4..742bd9fea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@aws-sdk/lib-storage": "^3.438.0", "@elastic/elasticsearch": "7.12.0", "@golevelup/nestjs-rabbitmq": "4.0.0", - "@multiversx/sdk-core": "13.4.2", + "@multiversx/sdk-core": "13.7.0", "@multiversx/sdk-native-auth-server": "1.0.19", "@multiversx/sdk-nestjs-cache": "3.7.2", "@multiversx/sdk-nestjs-common": "3.7.2", @@ -22,7 +22,6 @@ "@multiversx/sdk-nestjs-http": "3.7.2", "@multiversx/sdk-nestjs-monitoring": "3.7.2", "@multiversx/sdk-nestjs-redis": "3.7.2", - "@multiversx/sdk-network-providers": "2.7.0", "@nestjs/apollo": "12.0.7", "@nestjs/common": "10.2.4", "@nestjs/config": "3.0.1", @@ -6139,9 +6138,9 @@ } }, "node_modules/@multiversx/sdk-core": { - "version": "13.4.2", - "resolved": "https://registry.npmjs.org/@multiversx/sdk-core/-/sdk-core-13.4.2.tgz", - "integrity": "sha512-+XdBSaX+iUMm9BRv86Tmzy16H3XS7TQ2/+HN12hCgP9TF003K8KABTCJnlyIrQ1oM5iI3ffbY+fEQpAwo+wQEQ==", + "version": "13.7.0", + "resolved": "https://registry.npmjs.org/@multiversx/sdk-core/-/sdk-core-13.7.0.tgz", + "integrity": "sha512-79hy6fP1FpSKZ0kmcvLUQ3nbgzWYDt6uVRQS8NejLAw/J8Cgi3QQIOlFx5JvxS7t5cLUzPS7ovftFz1PTJdLuA==", "dependencies": { "@multiversx/sdk-transaction-decoder": "1.0.2", "bech32": "1.1.4", @@ -6151,6 +6150,7 @@ "keccak": "3.0.2" }, "peerDependencies": { + "axios": "^1.7.4", "bignumber.js": "^9.0.1", "protobufjs": "^7.2.6" } diff --git a/package.json b/package.json index 1adc2d945..95b701d43 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@aws-sdk/lib-storage": "^3.438.0", "@elastic/elasticsearch": "7.12.0", "@golevelup/nestjs-rabbitmq": "4.0.0", - "@multiversx/sdk-core": "13.4.2", + "@multiversx/sdk-core": "13.7.0", "@multiversx/sdk-native-auth-server": "1.0.19", "@multiversx/sdk-nestjs-cache": "3.7.2", "@multiversx/sdk-nestjs-common": "3.7.2", @@ -47,7 +47,6 @@ "@multiversx/sdk-nestjs-http": "3.7.2", "@multiversx/sdk-nestjs-monitoring": "3.7.2", "@multiversx/sdk-nestjs-redis": "3.7.2", - "@multiversx/sdk-network-providers": "2.7.0", "@nestjs/apollo": "12.0.7", "@nestjs/common": "10.2.4", "@nestjs/config": "3.0.1", diff --git a/src/common/services/mx-communication/mx-api.service.ts b/src/common/services/mx-communication/mx-api.service.ts index 37968e179..1bf8b21ed 100644 --- a/src/common/services/mx-communication/mx-api.service.ts +++ b/src/common/services/mx-communication/mx-api.service.ts @@ -6,10 +6,9 @@ import * as Agent from 'agentkeepalive'; import { constants, mxConfig } from 'src/config'; import { CollectionApi } from './models/collection.dto'; import { OwnerApi } from './models/owner.api'; -import { ApiNetworkProvider, TransactionOnNetwork } from '@multiversx/sdk-network-providers'; import { AssetsQuery } from 'src/modules/assets/assets-query'; import { Token } from '../../../modules/usdPrice/Token.model'; -import { Address } from '@multiversx/sdk-core'; +import { Address, ApiNetworkProvider, TransactionOnNetwork } from '@multiversx/sdk-core'; import { SmartContractApi } from './models/smart-contract.api'; import { XOXNO_MINTING_MANAGER } from 'src/utils/constants'; import { CustomRank } from 'src/modules/nft-rarity/models/custom-rank.model'; diff --git a/src/common/services/mx-communication/mx-private-api.service.ts b/src/common/services/mx-communication/mx-private-api.service.ts index a00461584..20ea3e242 100644 --- a/src/common/services/mx-communication/mx-private-api.service.ts +++ b/src/common/services/mx-communication/mx-private-api.service.ts @@ -3,7 +3,7 @@ import { PerformanceProfiler } from 'src/modules/metrics/performance.profiler'; import { MetricsCollector } from 'src/modules/metrics/metrics.collector'; import * as Agent from 'agentkeepalive'; import { mxConfig } from 'src/config'; -import { ApiNetworkProvider } from '@multiversx/sdk-network-providers'; +import { ApiNetworkProvider } from '@multiversx/sdk-core'; @Injectable() export class MxPrivateApiService { diff --git a/src/common/services/mx-communication/mx-proxy.service.ts b/src/common/services/mx-communication/mx-proxy.service.ts index 60fac7d2d..116922417 100644 --- a/src/common/services/mx-communication/mx-proxy.service.ts +++ b/src/common/services/mx-communication/mx-proxy.service.ts @@ -1,7 +1,7 @@ -import { ProxyNetworkProvider } from '@multiversx/sdk-network-providers'; import { mxConfig } from '../../../config'; import * as Agent from 'agentkeepalive'; import { Injectable } from '@nestjs/common'; +import { ProxyNetworkProvider } from '@multiversx/sdk-core/out/networkProviders'; @Injectable() export class MxProxyService {