Skip to content

Commit

Permalink
Updated sdk-dapp to V3 (#255)
Browse files Browse the repository at this point in the history
* Updated sdk-dapp to V3

* Updated sdk-core
  • Loading branch information
razvantomegea authored Oct 29, 2024
1 parent b3b6d9e commit 96c2376
Show file tree
Hide file tree
Showing 4 changed files with 465 additions and 570 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
"@fortawesome/fontawesome-svg-core": "6.5.1",
"@fortawesome/free-solid-svg-icons": "6.5.1",
"@fortawesome/react-fontawesome": "0.2.0",
"@multiversx/sdk-core": "13.7.0",
"@multiversx/sdk-dapp": "2.40.10",
"@multiversx/sdk-network-providers": "2.8.0",
"@multiversx/sdk-core": "13.13.0",
"@multiversx/sdk-dapp": "3.0.3",
"axios": "1.7.4",
"classnames": "2.3.2",
"moment": "2.29.4",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { ProxyNetworkProvider } from '@multiversx/sdk-network-providers';
import { useGetAccount, useGetNetworkConfig } from 'hooks';
import { Address, AddressValue, ContractFunction, ResultsParser } from 'utils';
import {
Address,
AddressValue,
ContractFunction,
ResultsParser,
ProxyNetworkProvider
} from 'utils';
import { smartContract } from 'utils/smartContract';

const resultsParser = new ResultsParser();
Expand Down
2 changes: 1 addition & 1 deletion src/utils/sdkDappCore.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export { ContractFunction } from '@multiversx/sdk-core/out/smartcontracts/function';
export { ResultsParser } from '@multiversx/sdk-core/out/smartcontracts/resultsParser';
export { ProxyNetworkProvider } from '@multiversx/sdk-network-providers/out/proxyNetworkProvider';
export { Address } from '@multiversx/sdk-core/out/address';
export { SmartContract } from '@multiversx/sdk-core/out/smartcontracts/smartContract';
export { AbiRegistry } from '@multiversx/sdk-core/out/smartcontracts/typesystem/abiRegistry';
export { SignableMessage } from '@multiversx/sdk-core/out/signableMessage';
export { AddressValue } from '@multiversx/sdk-core/out/smartcontracts/typesystem/address';
export { TokenTransfer } from '@multiversx/sdk-core/out';
export { ProxyNetworkProvider } from '@multiversx/sdk-core/out';
Loading

0 comments on commit 96c2376

Please sign in to comment.