From 096441d77eb9a722affcd968fa11c932ce7f5572 Mon Sep 17 00:00:00 2001 From: Pedro Ferreira Date: Thu, 3 Oct 2024 13:51:46 -0300 Subject: [PATCH 1/3] fix: show error message when decode tx fails (#332) --- src/screens/DecodeTx.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/screens/DecodeTx.js b/src/screens/DecodeTx.js index b25f9870..e1d89b0a 100644 --- a/src/screens/DecodeTx.js +++ b/src/screens/DecodeTx.js @@ -45,14 +45,15 @@ function DecodeTx() { const buttonClicked = async () => { try { const data = await txApi.decodeTx(dataToDecode); - setSuccess(data.success); if (!data.success) { setTransaction(null); setConfirmationData(null); setMeta(null); setSpentOutputs(null); + setSuccess(false); return; } + setSuccess(true); setTransaction(data.tx); setMeta(data.meta); setSpentOutputs(data.spent_outputs); From 453da5a3551a2965ecb477a39c39ce25819b9c52 Mon Sep 17 00:00:00 2001 From: Luis Helder Date: Mon, 14 Oct 2024 11:27:23 -0300 Subject: [PATCH 2/3] fix: missing GTM id (#333) --- scripts/deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index c2acb2a7..62b83d83 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -71,6 +71,7 @@ case $site in FULLNODE_HOST=node.explorer.hathor.network REACT_APP_BASE_URL=https://$FULLNODE_HOST/v1a/ REACT_APP_WS_URL=wss://$FULLNODE_HOST/v1a/ws/ + REACT_APP_GTM_ID=GTM-MJVX6BG REACT_APP_EXPLORER_SERVICE_BASE_URL=https://explorer-service.mainnet.hathor.network/ REACT_APP_TIMESERIES_DASHBOARD_ID=674ebc10-e8c4-11ec-a7f2-0fee9be0d8ee REACT_APP_NETWORK=mainnet From 84d247f9dafddb466cf1bdfc28068ef3c31ac872 Mon Sep 17 00:00:00 2001 From: Luis Helder Date: Thu, 17 Oct 2024 11:43:34 -0300 Subject: [PATCH 3/3] bump: v0.20.5 (#335) --- package-lock.json | 4 ++-- package.json | 2 +- src/constants.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 624a2b59..f136489d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hathor-admin", - "version": "0.20.4", + "version": "0.20.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "hathor-admin", - "version": "0.20.4", + "version": "0.20.5", "dependencies": { "@hathor/wallet-lib": "1.10.0", "@unleash/proxy-client-react": "1.0.4", diff --git a/package.json b/package.json index 5c53d228..a13a622c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hathor-admin", - "version": "0.20.4", + "version": "0.20.5", "engines": { "node": ">=20.0.0", "npm": ">=10.0.0" diff --git a/src/constants.js b/src/constants.js index b42e0404..160b2834 100644 --- a/src/constants.js +++ b/src/constants.js @@ -57,7 +57,7 @@ export const TESTNET_GENESIS_TX = [ '00975897028ceb037307327c953f5e7ad4d3f42402d71bd3d11ecb63ac39f01a', ]; -export const VERSION = '0.20.4'; +export const VERSION = '0.20.5'; export const MIN_API_VERSION = '0.33.0';