Skip to content

Commit

Permalink
bump up packages to v6
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalaji committed Nov 6, 2024
1 parent 04985d5 commit 2b8c54e
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 56 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"author": "J M Rossy",
"dependencies": {
"@headlessui/react": "^2.1.8",
"@hyperlane-xyz/registry": "4.10.0",
"@hyperlane-xyz/sdk": "5.6.0",
"@hyperlane-xyz/utils": "5.6.0",
"@hyperlane-xyz/widgets": "5.6.0",
"@hyperlane-xyz/registry": "5.1.0",
"@hyperlane-xyz/sdk": "6.0.0",
"@hyperlane-xyz/utils": "6.0.0",
"@hyperlane-xyz/widgets": "6.0.0",
"@tanstack/react-query": "^5.35.5",
"bignumber.js": "^9.1.2",
"buffer": "^6.0.3",
Expand Down
8 changes: 4 additions & 4 deletions src/components/nav/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Image from 'next/image';
import Link from 'next/link';
import { PropsWithChildren } from 'react';

import { DropdownMenu, WideChevron } from '@hyperlane-xyz/widgets';
import { DropdownMenu, WideChevronIcon } from '@hyperlane-xyz/widgets';

import { docLinks, links } from '../../consts/links';
import Explorer from '../../images/logos/hyperlane-explorer.svg';
Expand Down Expand Up @@ -105,21 +105,21 @@ export function Header({ pathName }: { pathName: string }) {
function DropdownButton() {
return (
<div className="flex flex-col items-center rounded-lg border border-white bg-pink-500 px-4 py-1">
<WideChevron
<WideChevronIcon
width={10}
height={14}
direction="s"
color={Color.white}
className="transition-all"
/>
<WideChevron
<WideChevronIcon
width={10}
height={14}
direction="s"
color={Color.white}
className="-mt-1 transition-all"
/>
<WideChevron
<WideChevronIcon
width={10}
height={14}
direction="s"
Expand Down
4 changes: 2 additions & 2 deletions src/features/chains/queries/useScrapedChains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export function useScrapedChains(multiProvider: MultiProvider) {
const scrapedChains = objFilter(
chainMetadata,
(_, chainMetadata): chainMetadata is ChainMetadata =>
!isPiChain(multiProvider, scrapedDomains, chainMetadata.domainId!) &&
!isUnscrapedDbChain(multiProvider, chainMetadata.domainId!),
!isPiChain(multiProvider, scrapedDomains, chainMetadata.domainId) &&
!isUnscrapedDbChain(multiProvider, chainMetadata.domainId),
);
return { chains: scrapedChains };
}, [multiProvider, chainMetadata, scrapedDomains]);
Expand Down
8 changes: 4 additions & 4 deletions src/features/messages/pi-queries/fetchPiChainMessages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ async function fetchLogsForAddress(
// [processTopic0, null, null, dispatchTopic],
],
mailbox,
domainId!,
domainId,
query,
multiProvider,
);
Expand All @@ -140,7 +140,7 @@ async function fetchLogsForTxHash(
): Promise<ExtendedLog[]> {
const txHash = query.input;
logger.debug(`Fetching logs for txHash ${txHash} on chain ${name} (${domainId})`);
const provider = multiProvider.getProvider(domainId!);
const provider = multiProvider.getProvider(domainId);
const txReceipt = await provider.getTransactionReceipt(txHash);
if (txReceipt) {
logger.debug(`Tx receipt found from provider for chain ${name} (${domainId})`);
Expand Down Expand Up @@ -175,7 +175,7 @@ async function fetchLogsForMsgId(
// [processIdTopic0, topic1],
],
mailbox,
domainId!,
domainId,
query,
multiProvider,
);
Expand Down Expand Up @@ -324,7 +324,7 @@ async function tryFetchIgpGasPayments(

const igp = IInterchainGasPaymaster__factory.connect(
interchainGasPaymaster,
multiProvider.getProvider(domainId!),
multiProvider.getProvider(domainId),
);
const filter = igp.filters.GasPayment(message.msgId);
const matchedEvents = (await igp.queryFilter(filter)) || [];
Expand Down
85 changes: 43 additions & 42 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2120,13 +2120,13 @@ __metadata:
languageName: node
linkType: hard

"@hyperlane-xyz/core@npm:5.5.0":
version: 5.5.0
resolution: "@hyperlane-xyz/core@npm:5.5.0"
"@hyperlane-xyz/core@npm:5.7.1":
version: 5.7.1
resolution: "@hyperlane-xyz/core@npm:5.7.1"
dependencies:
"@arbitrum/nitro-contracts": "npm:^1.2.1"
"@eth-optimism/contracts": "npm:^0.6.0"
"@hyperlane-xyz/utils": "npm:5.6.0"
"@hyperlane-xyz/utils": "npm:6.0.0"
"@layerzerolabs/lz-evm-oapp-v2": "npm:2.0.2"
"@openzeppelin/contracts": "npm:^4.9.3"
"@openzeppelin/contracts-upgradeable": "npm:^v4.9.3"
Expand All @@ -2135,7 +2135,7 @@ __metadata:
"@ethersproject/abi": "*"
"@ethersproject/providers": "*"
"@types/sinon-chai": "*"
checksum: 10/55c458e2dc9f58145256f47319936c483cb1415cfed3b25d6cee348d4b2d3b3dfe8658577b98ea896d2ff4a9f4af8e30709395c46c2d562794436b18a4f24b2f
checksum: 10/53fa047cb0d417b8453cbe422a385e804d9c84758dba10f3e1408a76b88ac57024be3aa0f942f404702e6e680da1e41aaf540155b5ce9cfca2896d244e2ef6d1
languageName: node
linkType: hard

Expand All @@ -2144,10 +2144,10 @@ __metadata:
resolution: "@hyperlane-xyz/explorer@workspace:."
dependencies:
"@headlessui/react": "npm:^2.1.8"
"@hyperlane-xyz/registry": "npm:4.10.0"
"@hyperlane-xyz/sdk": "npm:5.6.0"
"@hyperlane-xyz/utils": "npm:5.6.0"
"@hyperlane-xyz/widgets": "npm:5.6.0"
"@hyperlane-xyz/registry": "npm:5.1.0"
"@hyperlane-xyz/sdk": "npm:6.0.0"
"@hyperlane-xyz/utils": "npm:6.0.0"
"@hyperlane-xyz/widgets": "npm:6.0.0"
"@tanstack/eslint-plugin-query": "npm:^5.28.6"
"@tanstack/react-query": "npm:^5.35.5"
"@types/jest": "npm:^29.5.3"
Expand Down Expand Up @@ -2187,35 +2187,34 @@ __metadata:
languageName: unknown
linkType: soft

"@hyperlane-xyz/registry@npm:4.10.0":
version: 4.10.0
resolution: "@hyperlane-xyz/registry@npm:4.10.0"
"@hyperlane-xyz/registry@npm:5.1.0":
version: 5.1.0
resolution: "@hyperlane-xyz/registry@npm:5.1.0"
dependencies:
yaml: "npm:2.4.5"
zod: "npm:^3.21.2"
checksum: 10/22bb18f426cbada8b97db0894fe5d0980dfc08ecbd5174c978b7aeb6d8df9706f93d7e9cf0630644d2455ad05feee714dc2a38ec515a717b0b257184637902fb
checksum: 10/a0b62a03d9fed6b9a0a29c0dbc8086dd63aca822a2a345ca3af70cce8f5e6c20cdd02c06df6afd8abc2554fc5a1597167303fee0ca076f45ba1cd163e443afc7
languageName: node
linkType: hard

"@hyperlane-xyz/sdk@npm:5.6.0":
version: 5.6.0
resolution: "@hyperlane-xyz/sdk@npm:5.6.0"
"@hyperlane-xyz/sdk@npm:6.0.0":
version: 6.0.0
resolution: "@hyperlane-xyz/sdk@npm:6.0.0"
dependencies:
"@arbitrum/sdk": "npm:^4.0.0"
"@aws-sdk/client-s3": "npm:^3.74.0"
"@cosmjs/cosmwasm-stargate": "npm:^0.32.4"
"@cosmjs/stargate": "npm:^0.32.4"
"@hyperlane-xyz/core": "npm:5.5.0"
"@hyperlane-xyz/utils": "npm:5.6.0"
"@hyperlane-xyz/core": "npm:5.7.1"
"@hyperlane-xyz/utils": "npm:6.0.0"
"@safe-global/api-kit": "npm:1.3.0"
"@safe-global/protocol-kit": "npm:1.3.0"
"@safe-global/safe-deployments": "npm:1.37.8"
"@solana/spl-token": "npm:^0.3.8"
"@solana/web3.js": "npm:^1.78.0"
"@types/coingecko-api": "npm:^1.0.10"
"@wagmi/chains": "npm:^1.8.0"
bignumber.js: "npm:^9.1.1"
coingecko-api: "npm:^1.0.10"
coingecko-api-v3: "npm:^0.0.29"
cosmjs-types: "npm:^0.9.0"
cross-fetch: "npm:^3.1.5"
ethers: "npm:^5.7.2"
Expand All @@ -2225,13 +2224,13 @@ __metadata:
peerDependencies:
"@ethersproject/abi": "*"
"@ethersproject/providers": "*"
checksum: 10/f57aa01e9c111ffab778873547da79e54d944c9cdf9d9f896420270333717b635933db99fd69e83679ac538c1a29ed6b6614057f11dbdd211d16d548d0450f21
checksum: 10/5d8ca83c7c52cd6ada1a3b4684ff5770ec9568e281c9b8d306b46ab61d188d88a1d22ec04e4024ef32fb92df158951201b3e900bb29955d416417415f53c035c
languageName: node
linkType: hard

"@hyperlane-xyz/utils@npm:5.6.0":
version: 5.6.0
resolution: "@hyperlane-xyz/utils@npm:5.6.0"
"@hyperlane-xyz/utils@npm:6.0.0":
version: 6.0.0
resolution: "@hyperlane-xyz/utils@npm:6.0.0"
dependencies:
"@cosmjs/encoding": "npm:^0.32.4"
"@solana/web3.js": "npm:^1.78.0"
Expand All @@ -2240,23 +2239,23 @@ __metadata:
lodash-es: "npm:^4.17.21"
pino: "npm:^8.19.0"
yaml: "npm:2.4.5"
checksum: 10/2c24556b1447eda2a838651af6c06114fbb280f073e230ba7971b562669c1895bcec164cf85bf55e9af0ff2d28c6814e22e7ac8a729fbaac38adbbf4969fd83e
checksum: 10/bc75da2dfdec1ee26d7fb29db211d457b3ec07226059c9d2ea91602297547fecb0e369d0301fa0545bb2b89c77ca63d11434e8fb6b498fa1906082c4fcd8b3ba
languageName: node
linkType: hard

"@hyperlane-xyz/widgets@npm:5.6.0":
version: 5.6.0
resolution: "@hyperlane-xyz/widgets@npm:5.6.0"
"@hyperlane-xyz/widgets@npm:6.0.0":
version: 6.0.0
resolution: "@hyperlane-xyz/widgets@npm:6.0.0"
dependencies:
"@headlessui/react": "npm:^2.1.8"
"@hyperlane-xyz/sdk": "npm:5.6.0"
"@hyperlane-xyz/utils": "npm:5.6.0"
"@hyperlane-xyz/sdk": "npm:6.0.0"
"@hyperlane-xyz/utils": "npm:6.0.0"
clsx: "npm:^2.1.1"
react-tooltip: "npm:^5.28.0"
peerDependencies:
react: ^18
react-dom: ^18
checksum: 10/a90390322de8c26af96f632790ebbcf0ef491e0e8de1f90129e5f2e961a1d1d94b71b8d9616db5abcf29eed2ee12d1695febec1d4df0c40f61d238f145faba61
checksum: 10/52f2170820f3ffbaa3c64fa44b84a1bfbef53101ed8877a04561711e2b1eb8bfd9685fb59a31fce51d7dba12181681e33e85d360205e0f1725b1e1ff86b72316
languageName: node
linkType: hard

Expand Down Expand Up @@ -4110,13 +4109,6 @@ __metadata:
languageName: node
linkType: hard

"@types/coingecko-api@npm:^1.0.10":
version: 1.0.10
resolution: "@types/coingecko-api@npm:1.0.10"
checksum: 10/2523f946e6d293c2ee94a0abee624f53c34b4643f8df685d0164509aba66e8234276e5d8c202c514551024757f0987f7062daa7428ccaf6673bad9a5c55779a2
languageName: node
linkType: hard

"@types/connect@npm:^3.4.33":
version: 3.4.35
resolution: "@types/connect@npm:3.4.35"
Expand Down Expand Up @@ -5738,10 +5730,12 @@ __metadata:
languageName: node
linkType: hard

"coingecko-api@npm:^1.0.10":
version: 1.0.10
resolution: "coingecko-api@npm:1.0.10"
checksum: 10/e0000df5aebbeee508f25824485fe8e4be57cd07825b3cfbf2dc3c51b646200eefd336c833e81747d4a209bf10c32019baef1070fb2bfbcdbae099420954d1fa
"coingecko-api-v3@npm:^0.0.29":
version: 0.0.29
resolution: "coingecko-api-v3@npm:0.0.29"
dependencies:
https: "npm:^1.0.0"
checksum: 10/e60a0996472419232a144ec77028c060bd9c289f799dd40d46dbb7229cff3d868a3e35bf88724059dc25767b8136d794789e4dd31711592fa73a7be1ca2fcbc7
languageName: node
linkType: hard

Expand Down Expand Up @@ -8139,6 +8133,13 @@ __metadata:
languageName: node
linkType: hard

"https@npm:^1.0.0":
version: 1.0.0
resolution: "https@npm:1.0.0"
checksum: 10/ccea8a8363a018d4b241db7748cff3a85c9f5b71bf80639e9c37dc6823f590f35dda098b80b726930e9f945387c8bfd6b1461df25cab5bf65a31903d81875b5d
languageName: node
linkType: hard

"human-signals@npm:^2.1.0":
version: 2.1.0
resolution: "human-signals@npm:2.1.0"
Expand Down

0 comments on commit 2b8c54e

Please sign in to comment.