From dfc2990e043ad1e0866514a3ce63be2d7bb75393 Mon Sep 17 00:00:00 2001 From: Andrei Date: Thu, 5 Dec 2024 15:57:27 +0200 Subject: [PATCH 1/7] change bech32() function call --- .../SignWithDeviceModal/components/SignStepBody.tsx | 2 +- src/hooks/transactions/helpers/checkNeedsGuardianSigning.ts | 2 +- src/utils/account/addressIsValid.ts | 2 +- src/utils/transactions/getTokenFromData.ts | 4 ++-- .../parseMultiEsdtTransferDataForMultipleTransactions.ts | 2 +- src/wrappers/AppInitializer.tsx | 1 + 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.tsx b/src/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.tsx index 8edc54c1e..061fb9c42 100644 --- a/src/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.tsx +++ b/src/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.tsx @@ -52,7 +52,7 @@ const SignStepBodyComponent = ({ currentTransaction.transactionTokenInfo; const transactionReceiver = multiTxData - ? new Address(receiver).bech32() + ? new Address(receiver).toBech32() : currentTransaction.transaction.getReceiver().toString(); const scamReport = currentTransaction.receiverScamInfo; diff --git a/src/hooks/transactions/helpers/checkNeedsGuardianSigning.ts b/src/hooks/transactions/helpers/checkNeedsGuardianSigning.ts index 212a31114..b31ccece6 100644 --- a/src/hooks/transactions/helpers/checkNeedsGuardianSigning.ts +++ b/src/hooks/transactions/helpers/checkNeedsGuardianSigning.ts @@ -34,7 +34,7 @@ export const checkNeedsGuardianSigning = ({ }); const chainId = transactions[0].getChainID().valueOf(); - const sender = transactions[0].getSender().bech32().toString(); + const sender = transactions[0].sender; const environment = getEnvironmentForChainId(chainId); const walletProviderAddress = walletAddress ?? fallbackNetworkConfigurations[environment].walletAddress; diff --git a/src/utils/account/addressIsValid.ts b/src/utils/account/addressIsValid.ts index 3e72e5e75..15ca227de 100644 --- a/src/utils/account/addressIsValid.ts +++ b/src/utils/account/addressIsValid.ts @@ -3,7 +3,7 @@ import { Address } from '@multiversx/sdk-core'; function canTransformToPublicKey(address: string) { try { const checkAddress = new Address(address); - return Boolean(checkAddress.bech32()); + return Boolean(checkAddress.toBech32()); } catch { return false; } diff --git a/src/utils/transactions/getTokenFromData.ts b/src/utils/transactions/getTokenFromData.ts index 9d0b48e4e..89d8140b7 100644 --- a/src/utils/transactions/getTokenFromData.ts +++ b/src/utils/transactions/getTokenFromData.ts @@ -64,14 +64,14 @@ export function getTokenFromData(data?: string): { decodeData(data); if ( [collection, nonce, quantity, receiver].every((el) => Boolean(el)) && - addressIsValid(new Address(receiver).bech32()) + addressIsValid(new Address(receiver).toBech32()) ) { return { tokenId: `${collection}-${nonce}`, amount: new BigNumber(quantity, 16).toString(10), collection, nonce, - receiver: new Address(receiver).bech32() + receiver: new Address(receiver).toBech32() }; } } catch (err) {} diff --git a/src/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.ts b/src/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.ts index 7d221d1d1..425590325 100644 --- a/src/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.ts +++ b/src/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.ts @@ -77,7 +77,7 @@ export function parseMultiEsdtTransferDataForMultipleTransactions({ txInfo: { tokenId, amount, - receiver: transaction.getReceiver().bech32() + receiver: transaction.receiver } }); } diff --git a/src/wrappers/AppInitializer.tsx b/src/wrappers/AppInitializer.tsx index d77aabb80..079fcfdb8 100644 --- a/src/wrappers/AppInitializer.tsx +++ b/src/wrappers/AppInitializer.tsx @@ -36,6 +36,7 @@ export const useAppInitializer = ({ environment, dappConfig }: UseAppInitializerPropsType) => { + console.log('herere123444'); const [initialized, setInitialized] = useState(false); const account = useGetAccountInfo(); const isLoginSessionInvalid = useSelector(isLoginSessionInvalidSelector); From f9eddfb1ee9403153f1ce909dfab05d94a7b9b4d Mon Sep 17 00:00:00 2001 From: Andrei Date: Thu, 5 Dec 2024 15:58:02 +0200 Subject: [PATCH 2/7] alpha version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a88681b4a..e8e36afe5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@multiversx/sdk-dapp", - "version": "3.0.23", + "version": "3.0.24-alpha.0", "description": "A library to hold the main logic for a dapp on the MultiversX blockchain", "author": "MultiversX", "license": "GPL-3.0-or-later", From 7c1f14f08a65155dceb5c4cb5fa466106086bd0b Mon Sep 17 00:00:00 2001 From: Andrei Date: Thu, 5 Dec 2024 16:39:07 +0200 Subject: [PATCH 3/7] alpha version --- package.json | 2 +- .../SignWithDeviceModal/components/SignStepBody.tsx | 2 +- src/hooks/login/useLoginService.ts | 2 +- src/hooks/signMessage/getVerifier.ts | 2 +- src/hooks/signMessage/useSignMessage.ts | 2 +- src/hooks/signMessage/verifyMessage.ts | 2 +- src/models/newTransaction.ts | 8 +++++--- src/reduxStore/slices/accountInfoSlice.ts | 4 ++-- src/services/transactions/isCrossShardTransaction.ts | 4 ++-- src/services/transactions/transformAndSignTransactions.ts | 4 ++-- src/utils/account/addressIsValid.ts | 2 +- src/utils/account/signMessage.ts | 2 +- src/utils/operations/calculateFeeLimit.ts | 4 ++-- src/utils/smartContracts.ts | 7 +++---- src/utils/transactions/getTokenFromData.ts | 4 ++-- src/wrappers/AppInitializer.tsx | 2 +- 16 files changed, 27 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index e8e36afe5..aa8c696c6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@multiversx/sdk-dapp", - "version": "3.0.24-alpha.0", + "version": "3.0.24-alpha.1", "description": "A library to hold the main logic for a dapp on the MultiversX blockchain", "author": "MultiversX", "license": "GPL-3.0-or-later", diff --git a/src/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.tsx b/src/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.tsx index 061fb9c42..7a8d6a4f8 100644 --- a/src/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.tsx +++ b/src/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.tsx @@ -52,7 +52,7 @@ const SignStepBodyComponent = ({ currentTransaction.transactionTokenInfo; const transactionReceiver = multiTxData - ? new Address(receiver).toBech32() + ? Address.newFromBech32(receiver).toBech32() : currentTransaction.transaction.getReceiver().toString(); const scamReport = currentTransaction.receiverScamInfo; diff --git a/src/hooks/login/useLoginService.ts b/src/hooks/login/useLoginService.ts index 3d29504d8..544c34a87 100644 --- a/src/hooks/login/useLoginService.ts +++ b/src/hooks/login/useLoginService.ts @@ -126,7 +126,7 @@ export const useLoginService = (config?: OnProviderLoginType['nativeAuth']) => { } const messageToSign = new Message({ - address: new Address(address), + address: Address.newFromBech32(address), data: Buffer.from(`${address}${loginToken}`) }); diff --git a/src/hooks/signMessage/getVerifier.ts b/src/hooks/signMessage/getVerifier.ts index 0351f263c..178d3e998 100644 --- a/src/hooks/signMessage/getVerifier.ts +++ b/src/hooks/signMessage/getVerifier.ts @@ -1,7 +1,7 @@ import { Address, UserPublicKey, UserVerifier } from '@multiversx/sdk-core'; export const getVerifier = (address: string) => { - const publicKey = new UserPublicKey(new Address(address).pubkey()); + const publicKey = new UserPublicKey(Address.newFromBech32(address).pubkey()); return new UserVerifier(publicKey); }; diff --git a/src/hooks/signMessage/useSignMessage.ts b/src/hooks/signMessage/useSignMessage.ts index ec1c1303a..2074da596 100644 --- a/src/hooks/signMessage/useSignMessage.ts +++ b/src/hooks/signMessage/useSignMessage.ts @@ -144,7 +144,7 @@ export const useSignMessage = (options?: { hasConsentPopup?: boolean }) => { const callbackUrl = encodeURIComponent(String(callbackRoute)); const signableMessage = new Message({ - address: new Address(address), + address: Address.newFromBech32(address), data: Buffer.from(message) }); diff --git a/src/hooks/signMessage/verifyMessage.ts b/src/hooks/signMessage/verifyMessage.ts index 082046fba..e473d3ddf 100644 --- a/src/hooks/signMessage/verifyMessage.ts +++ b/src/hooks/signMessage/verifyMessage.ts @@ -13,7 +13,7 @@ export const verifyMessage = (signedMessage: string) => { const messageComputer = new MessageComputer(); const msg = new Message({ - address: new Address(address), + address: Address.newFromBech32(address), data: decodedMessage }); diff --git a/src/models/newTransaction.ts b/src/models/newTransaction.ts index 6d4405846..f13360a9f 100644 --- a/src/models/newTransaction.ts +++ b/src/models/newTransaction.ts @@ -22,11 +22,11 @@ export function newTransaction(rawTransaction: RawTransactionType) { value: rawTx.value.valueOf(), data: getDataPayloadForTransaction(rawTx.data), nonce: rawTx.nonce.valueOf(), - receiver: new Address(rawTx.receiver), + receiver: Address.newFromBech32(rawTx.receiver), ...(rawTx.receiverUsername ? { receiverUsername: rawTx.receiverUsername } : {}), - sender: new Address(rawTx.sender), + sender: Address.newFromBech32(rawTx.sender), ...(rawTx.senderUsername ? { senderUsername: rawTx.senderUsername } : {}), gasLimit: rawTx.gasLimit.valueOf() ?? GAS_LIMIT, gasPrice: rawTx.gasPrice.valueOf() ?? GAS_PRICE, @@ -35,7 +35,9 @@ export function newTransaction(rawTransaction: RawTransactionType) { ...(rawTx.options ? { options: new TransactionOptions(rawTx.options) } : {}), - ...(rawTx.guardian ? { guardian: new Address(rawTx.guardian) } : {}) + ...(rawTx.guardian + ? { guardian: Address.newFromBech32(rawTx.guardian) } + : {}) }); if (rawTx.guardianSignature) { diff --git a/src/reduxStore/slices/accountInfoSlice.ts b/src/reduxStore/slices/accountInfoSlice.ts index 41dad1af1..dd7bcc245 100644 --- a/src/reduxStore/slices/accountInfoSlice.ts +++ b/src/reduxStore/slices/accountInfoSlice.ts @@ -76,7 +76,7 @@ export const accountInfoSlice = createSlice({ ) => { const address = action.payload; state.address = address; - state.publicKey = address ? new Address(address).hex() : ''; + state.publicKey = address ? Address.newFromBech32(address).hex() : ''; }, setAccount: ( state: AccountInfoSliceType, @@ -173,7 +173,7 @@ export const accountInfoSlice = createSlice({ ) => { const { address } = action.payload; state.address = address; - state.publicKey = new Address(address).hex(); + state.publicKey = Address.newFromBech32(address).hex(); } ); builder.addCase(REHYDRATE, (state, action: any) => { diff --git a/src/services/transactions/isCrossShardTransaction.ts b/src/services/transactions/isCrossShardTransaction.ts index bcbd111aa..cef393efe 100644 --- a/src/services/transactions/isCrossShardTransaction.ts +++ b/src/services/transactions/isCrossShardTransaction.ts @@ -13,10 +13,10 @@ export function isCrossShardTransaction({ senderAddress }: IsCrossShardTransactionPropsType) { try { - const receiver = new Address(receiverAddress); + const receiver = Address.newFromBech32(receiverAddress); const receiverShard = getShardOfAddress(receiver.pubkey()); if (senderShard == null && senderAddress != null) { - const sender = new Address(senderAddress); + const sender = Address.newFromBech32(senderAddress); return getShardOfAddress(sender) === receiverShard; } return receiverShard === senderShard; diff --git a/src/services/transactions/transformAndSignTransactions.ts b/src/services/transactions/transformAndSignTransactions.ts index 45fdb1f8b..479d63a96 100644 --- a/src/services/transactions/transformAndSignTransactions.ts +++ b/src/services/transactions/transformAndSignTransactions.ts @@ -67,7 +67,7 @@ export async function transformAndSignTransactions({ let validatedReceiver = receiver; try { - const addr = new Address(receiver); + const addr = Address.newFromBech32(receiver); validatedReceiver = addr.hex(); } catch (err) { throw ErrorCodesEnum.invalidReceiver; @@ -87,7 +87,7 @@ export async function transformAndSignTransactions({ gasPrice, gasLimit: Number(gasLimit), nonce: Number(computedNonce.valueOf().toString()), - sender: new Address(address).hex(), + sender: Address.newFromBech32(address).hex(), chainID: transactionsChainId, version, options, diff --git a/src/utils/account/addressIsValid.ts b/src/utils/account/addressIsValid.ts index 15ca227de..f841c0980 100644 --- a/src/utils/account/addressIsValid.ts +++ b/src/utils/account/addressIsValid.ts @@ -2,7 +2,7 @@ import { Address } from '@multiversx/sdk-core'; function canTransformToPublicKey(address: string) { try { - const checkAddress = new Address(address); + const checkAddress = Address.newFromBech32(address); return Boolean(checkAddress.toBech32()); } catch { return false; diff --git a/src/utils/account/signMessage.ts b/src/utils/account/signMessage.ts index 342a5e6ff..2eb3f3f4c 100644 --- a/src/utils/account/signMessage.ts +++ b/src/utils/account/signMessage.ts @@ -25,7 +25,7 @@ export const signMessage = async ({ const callbackUrl = addOriginToLocationPath(callbackRoute); const signableMessage = new Message({ - address: new Address(address), + address: Address.newFromBech32(address), data: Buffer.from(message) }); diff --git a/src/utils/operations/calculateFeeLimit.ts b/src/utils/operations/calculateFeeLimit.ts index ad1ee86f7..64362bd64 100755 --- a/src/utils/operations/calculateFeeLimit.ts +++ b/src/utils/operations/calculateFeeLimit.ts @@ -52,8 +52,8 @@ export function calculateFeeLimit({ const transaction = new Transaction({ nonce: 0, value: TokenPayment.egldFromAmount('0'), - receiver: new Address(placeholderData.to), - sender: new Address(placeholderData.to), + receiver: Address.newFromBech32(placeholderData.to), + sender: Address.newFromBech32(placeholderData.to), gasPrice: parseInt(validGasPrice), gasLimit: usedGasLimit, data: new TransactionPayload(data.trim()), diff --git a/src/utils/smartContracts.ts b/src/utils/smartContracts.ts index f612a37dd..094016db0 100644 --- a/src/utils/smartContracts.ts +++ b/src/utils/smartContracts.ts @@ -28,7 +28,7 @@ export function isContract( return false; } - const isContract = new Address(receiver).isContractAddress(); + const isContract = Address.newFromBech32(receiver).isContractAddress(); if (isContract) { return true; @@ -40,9 +40,8 @@ export function isContract( return false; } - const isExtractedAddressContractCall = new Address( - extractedAddress - ).isContractAddress(); + const isExtractedAddressContractCall = + Address.newFromBech32(extractedAddress).isContractAddress(); return ( isExtractedAddressContractCall || isSelfESDTContract(receiver, sender, data) diff --git a/src/utils/transactions/getTokenFromData.ts b/src/utils/transactions/getTokenFromData.ts index 89d8140b7..a5764e40f 100644 --- a/src/utils/transactions/getTokenFromData.ts +++ b/src/utils/transactions/getTokenFromData.ts @@ -64,14 +64,14 @@ export function getTokenFromData(data?: string): { decodeData(data); if ( [collection, nonce, quantity, receiver].every((el) => Boolean(el)) && - addressIsValid(new Address(receiver).toBech32()) + addressIsValid(Address.newFromBech32(receiver).toBech32()) ) { return { tokenId: `${collection}-${nonce}`, amount: new BigNumber(quantity, 16).toString(10), collection, nonce, - receiver: new Address(receiver).toBech32() + receiver: Address.newFromBech32(receiver).toBech32() }; } } catch (err) {} diff --git a/src/wrappers/AppInitializer.tsx b/src/wrappers/AppInitializer.tsx index 079fcfdb8..be26fe756 100644 --- a/src/wrappers/AppInitializer.tsx +++ b/src/wrappers/AppInitializer.tsx @@ -114,7 +114,7 @@ export const useAppInitializer = ({ useEffect(() => { if (address) { - const pubKey = new Address(address).hex(); + const pubKey = Address.newFromBech32(address).hex(); if (pubKey !== publicKey) { logout(logoutRoute); } From 72337e2b3ef2988254a7ac2f0f97b3358c701d0b Mon Sep 17 00:00:00 2001 From: Andrei Date: Thu, 5 Dec 2024 16:57:52 +0200 Subject: [PATCH 4/7] fix iscontractAddress --- src/utils/smartContracts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/smartContracts.ts b/src/utils/smartContracts.ts index 094016db0..27dc9f088 100644 --- a/src/utils/smartContracts.ts +++ b/src/utils/smartContracts.ts @@ -41,7 +41,7 @@ export function isContract( } const isExtractedAddressContractCall = - Address.newFromBech32(extractedAddress).isContractAddress(); + Address.newFromHex(extractedAddress).isContractAddress(); return ( isExtractedAddressContractCall || isSelfESDTContract(receiver, sender, data) From 62b5ba3c40a2111e5977229e55db8a8c85d8dae6 Mon Sep 17 00:00:00 2001 From: Andrei Date: Thu, 5 Dec 2024 17:20:59 +0200 Subject: [PATCH 5/7] fixes --- .../SignWithDeviceModal/components/SignStepBody.tsx | 2 +- src/utils/account/addressIsValid.ts | 1 + src/utils/smartContracts.ts | 7 ++++--- src/utils/transactions/getTokenFromData.ts | 5 +++-- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.tsx b/src/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.tsx index 7a8d6a4f8..1d163e873 100644 --- a/src/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.tsx +++ b/src/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.tsx @@ -52,7 +52,7 @@ const SignStepBodyComponent = ({ currentTransaction.transactionTokenInfo; const transactionReceiver = multiTxData - ? Address.newFromBech32(receiver).toBech32() + ? Address.newFromHex(receiver).toBech32() : currentTransaction.transaction.getReceiver().toString(); const scamReport = currentTransaction.receiverScamInfo; diff --git a/src/utils/account/addressIsValid.ts b/src/utils/account/addressIsValid.ts index f841c0980..c29895e1d 100644 --- a/src/utils/account/addressIsValid.ts +++ b/src/utils/account/addressIsValid.ts @@ -1,6 +1,7 @@ import { Address } from '@multiversx/sdk-core'; function canTransformToPublicKey(address: string) { + console.log(address); try { const checkAddress = Address.newFromBech32(address); return Boolean(checkAddress.toBech32()); diff --git a/src/utils/smartContracts.ts b/src/utils/smartContracts.ts index 27dc9f088..f612a37dd 100644 --- a/src/utils/smartContracts.ts +++ b/src/utils/smartContracts.ts @@ -28,7 +28,7 @@ export function isContract( return false; } - const isContract = Address.newFromBech32(receiver).isContractAddress(); + const isContract = new Address(receiver).isContractAddress(); if (isContract) { return true; @@ -40,8 +40,9 @@ export function isContract( return false; } - const isExtractedAddressContractCall = - Address.newFromHex(extractedAddress).isContractAddress(); + const isExtractedAddressContractCall = new Address( + extractedAddress + ).isContractAddress(); return ( isExtractedAddressContractCall || isSelfESDTContract(receiver, sender, data) diff --git a/src/utils/transactions/getTokenFromData.ts b/src/utils/transactions/getTokenFromData.ts index a5764e40f..d070be1b5 100644 --- a/src/utils/transactions/getTokenFromData.ts +++ b/src/utils/transactions/getTokenFromData.ts @@ -62,16 +62,17 @@ export function getTokenFromData(data?: string): { try { const [, /*ESDTNFTTransfer*/ collection, nonce, quantity, receiver] = decodeData(data); + console.log('zzzzz', receiver); if ( [collection, nonce, quantity, receiver].every((el) => Boolean(el)) && - addressIsValid(Address.newFromBech32(receiver).toBech32()) + addressIsValid(Address.newFromHex(receiver).toBech32()) ) { return { tokenId: `${collection}-${nonce}`, amount: new BigNumber(quantity, 16).toString(10), collection, nonce, - receiver: Address.newFromBech32(receiver).toBech32() + receiver: Address.newFromHex(receiver).toBech32() }; } } catch (err) {} From ea8f49d184537638e1c75c5ff90812b549e240a3 Mon Sep 17 00:00:00 2001 From: Andrei Date: Fri, 6 Dec 2024 11:13:04 +0200 Subject: [PATCH 6/7] rem logs --- src/utils/account/addressIsValid.ts | 1 - src/utils/transactions/getTokenFromData.ts | 1 - src/wrappers/AppInitializer.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/src/utils/account/addressIsValid.ts b/src/utils/account/addressIsValid.ts index c29895e1d..f841c0980 100644 --- a/src/utils/account/addressIsValid.ts +++ b/src/utils/account/addressIsValid.ts @@ -1,7 +1,6 @@ import { Address } from '@multiversx/sdk-core'; function canTransformToPublicKey(address: string) { - console.log(address); try { const checkAddress = Address.newFromBech32(address); return Boolean(checkAddress.toBech32()); diff --git a/src/utils/transactions/getTokenFromData.ts b/src/utils/transactions/getTokenFromData.ts index d070be1b5..1b27ba0ec 100644 --- a/src/utils/transactions/getTokenFromData.ts +++ b/src/utils/transactions/getTokenFromData.ts @@ -62,7 +62,6 @@ export function getTokenFromData(data?: string): { try { const [, /*ESDTNFTTransfer*/ collection, nonce, quantity, receiver] = decodeData(data); - console.log('zzzzz', receiver); if ( [collection, nonce, quantity, receiver].every((el) => Boolean(el)) && addressIsValid(Address.newFromHex(receiver).toBech32()) diff --git a/src/wrappers/AppInitializer.tsx b/src/wrappers/AppInitializer.tsx index be26fe756..222fde845 100644 --- a/src/wrappers/AppInitializer.tsx +++ b/src/wrappers/AppInitializer.tsx @@ -36,7 +36,6 @@ export const useAppInitializer = ({ environment, dappConfig }: UseAppInitializerPropsType) => { - console.log('herere123444'); const [initialized, setInitialized] = useState(false); const account = useGetAccountInfo(); const isLoginSessionInvalid = useSelector(isLoginSessionInvalidSelector); From 3f0efe6879acd0cb1e7271096b97a37479f9881f Mon Sep 17 00:00:00 2001 From: "razvan.tomegea" Date: Fri, 6 Dec 2024 11:25:20 +0200 Subject: [PATCH 7/7] 3.0.24 --- CHANGELOG.md | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7ecf65b3..e3a48ddb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [[v3.0.24](https://github.com/multiversx/mx-sdk-dapp/pull/1339)] - 2024-12-06 +- [Allow custom HRP](https://github.com/multiversx/mx-sdk-dapp/pull/1338) + ## [[v3.0.23](https://github.com/multiversx/mx-sdk-dapp/pull/1337)] - 2024-11-29 - [Fix deps array which can cause minification errors](https://github.com/multiversx/mx-sdk-dapp/pull/1336) diff --git a/package.json b/package.json index aa8c696c6..561ab380e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@multiversx/sdk-dapp", - "version": "3.0.24-alpha.1", + "version": "3.0.24", "description": "A library to hold the main logic for a dapp on the MultiversX blockchain", "author": "MultiversX", "license": "GPL-3.0-or-later",