explorer package updates

This commit is contained in:
fmtabbara
2024-03-20 15:48:17 +00:00
parent 6d2e761319
commit efe952fdf2
5 changed files with 46 additions and 39 deletions
+1 -3
View File
@@ -1,11 +1,9 @@
# When running the explorer API locally
#EXPLORER_API_URL=http://localhost:8000/v1
# EXPLORER_API_URL=https://sandbox-explorer.nymtech.net/api/v1
EXPLORER_API_URL=https://explorer.nymtech.net/api/v1
EXPLORER_API_URL=https://sandbox-explorer.nymtech.net/api/v1
NYM_API_URL=https://sandbox-nym-api1.nymtech.net
VALIDATOR_URL=https://rpc.sandbox.nymtech.net
BIG_DIPPER_URL=https://sandbox-blocks.nymtech.net
CURRENCY_DENOM=unym
CURRENCY_STAKING_DENOM=unyx
NYM_MIXNET_CONTRACT=n17srjznxl9dvzdkpwpw24gg668wc73val88a6m5ajg6ankwvz9wtst0cznr
+4 -1
View File
@@ -12,6 +12,7 @@ import {
PendingEvent,
useDelegationsContext,
} from '@src/context/delegations';
import { urls } from '@src/utils';
const mapToDelegationsRow = (delegation: DelegationWithRewards, index: number) => ({
identity: delegation.identityKey,
@@ -80,7 +81,9 @@ const DelegationsPage = () => {
setConfirmationModalProps({
status: 'success',
message: 'Undelegation successful',
transactions: [{ url: `${tx.transactionHash}`, hash: tx.transactionHash }],
transactions: [
{ url: `${urls('MAINNET').blockExplorer}/transaction/${tx.transactionHash}`, hash: tx.transactionHash },
],
});
}
} catch (error) {
+6
View File
@@ -414,6 +414,12 @@ export const PageMixnodes: FCWithChildren = () => {
navigate('/delegations');
}
}}
sx={{
width: {
xs: '90%',
sm: 600,
},
}}
/>
)}
</DelegationsProvider>
@@ -27,12 +27,12 @@
"tsc": "tsc --noEmit"
},
"devDependencies": {
"@cosmjs/cosmwasm-stargate": "0.29.5",
"@cosmjs/cosmwasm-stargate": "^0.29.5",
"@cosmjs/crypto": "^0.29.5",
"@cosmjs/math": "^0.29.5",
"@cosmjs/proto-signing": "^0.29.5",
"@cosmjs/stargate": "^0.29.5",
"@cosmjs/tendermint-rpc": "0.29.5",
"@cosmjs/tendermint-rpc": "^0.29.5",
"@favware/rollup-type-bundler": "^2.0.0",
"@nymproject/types": "^1.0.0",
"@rollup/plugin-commonjs": "^24.0.1",
+33 -33
View File
@@ -1402,23 +1402,6 @@
"@cosmjs/utils" "^0.25.6"
pako "^2.0.2"
"@cosmjs/cosmwasm-stargate@0.29.5":
version "0.29.5"
resolved "https://registry.yarnpkg.com/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.5.tgz#3f257da682658833e0f4eb9e8ff758e4d927663a"
integrity sha512-TNdSvm2tEE3XMCuxHxquzls56t40hC8qnLeYJWHsY2ECZmRK3KrnpRReEr7N7bLtODToK7X/riYrV0JaYxjrYA==
dependencies:
"@cosmjs/amino" "^0.29.5"
"@cosmjs/crypto" "^0.29.5"
"@cosmjs/encoding" "^0.29.5"
"@cosmjs/math" "^0.29.5"
"@cosmjs/proto-signing" "^0.29.5"
"@cosmjs/stargate" "^0.29.5"
"@cosmjs/tendermint-rpc" "^0.29.5"
"@cosmjs/utils" "^0.29.5"
cosmjs-types "^0.5.2"
long "^4.0.0"
pako "^2.0.2"
"@cosmjs/cosmwasm-stargate@^0.25.5":
version "0.25.6"
resolved "https://registry.yarnpkg.com/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.25.6.tgz#26a788213833aaffc4bc1a87df650741e0b8fd63"
@@ -1437,6 +1420,23 @@
pako "^2.0.2"
protobufjs "~6.10.2"
"@cosmjs/cosmwasm-stargate@^0.29.5":
version "0.29.5"
resolved "https://registry.yarnpkg.com/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.29.5.tgz#3f257da682658833e0f4eb9e8ff758e4d927663a"
integrity sha512-TNdSvm2tEE3XMCuxHxquzls56t40hC8qnLeYJWHsY2ECZmRK3KrnpRReEr7N7bLtODToK7X/riYrV0JaYxjrYA==
dependencies:
"@cosmjs/amino" "^0.29.5"
"@cosmjs/crypto" "^0.29.5"
"@cosmjs/encoding" "^0.29.5"
"@cosmjs/math" "^0.29.5"
"@cosmjs/proto-signing" "^0.29.5"
"@cosmjs/stargate" "^0.29.5"
"@cosmjs/tendermint-rpc" "^0.29.5"
"@cosmjs/utils" "^0.29.5"
cosmjs-types "^0.5.2"
long "^4.0.0"
pako "^2.0.2"
"@cosmjs/cosmwasm-stargate@^0.32.0":
version "0.32.1"
resolved "https://registry.yarnpkg.com/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.32.1.tgz#2210007320c3f68a73e8cf8b9344a9dc6d4729b7"
@@ -1820,22 +1820,6 @@
dependencies:
xstream "^11.14.0"
"@cosmjs/tendermint-rpc@0.29.5", "@cosmjs/tendermint-rpc@^0.29.5":
version "0.29.5"
resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.5.tgz#f205c10464212bdf843f91bb2e4a093b618cb5c2"
integrity sha512-ar80twieuAxsy0x2za/aO3kBr2DFPAXDmk2ikDbmkda+qqfXgl35l9CVAAjKRqd9d+cRvbQyb5M4wy6XQpEV6w==
dependencies:
"@cosmjs/crypto" "^0.29.5"
"@cosmjs/encoding" "^0.29.5"
"@cosmjs/json-rpc" "^0.29.5"
"@cosmjs/math" "^0.29.5"
"@cosmjs/socket" "^0.29.5"
"@cosmjs/stream" "^0.29.5"
"@cosmjs/utils" "^0.29.5"
axios "^0.21.2"
readonly-date "^1.0.0"
xstream "^11.14.0"
"@cosmjs/tendermint-rpc@^0.25.6":
version "0.25.6"
resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.25.6.tgz#8198a08b0d0e1d6580618f3f22db83366329c9c3"
@@ -1851,6 +1835,22 @@
readonly-date "^1.0.0"
xstream "^11.14.0"
"@cosmjs/tendermint-rpc@^0.29.5":
version "0.29.5"
resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.5.tgz#f205c10464212bdf843f91bb2e4a093b618cb5c2"
integrity sha512-ar80twieuAxsy0x2za/aO3kBr2DFPAXDmk2ikDbmkda+qqfXgl35l9CVAAjKRqd9d+cRvbQyb5M4wy6XQpEV6w==
dependencies:
"@cosmjs/crypto" "^0.29.5"
"@cosmjs/encoding" "^0.29.5"
"@cosmjs/json-rpc" "^0.29.5"
"@cosmjs/math" "^0.29.5"
"@cosmjs/socket" "^0.29.5"
"@cosmjs/stream" "^0.29.5"
"@cosmjs/utils" "^0.29.5"
axios "^0.21.2"
readonly-date "^1.0.0"
xstream "^11.14.0"
"@cosmjs/tendermint-rpc@^0.32.0", "@cosmjs/tendermint-rpc@^0.32.1":
version "0.32.1"
resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.32.1.tgz#f7f8929619648fb0520047c6d930dc65588345d2"