Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"rehype-raw": "^7.0.0",
"sharp": "^0.32.6",
"viem": "^2.13.1",
"wagmi": "^2.12.12",
"wagmi": "^2.18.2",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

While upgrading wagmi is crucial for security, it's equally important to upgrade its peer dependency viem to avoid runtime issues. wagmi and viem are tightly coupled, and a version mismatch can lead to subtle bugs and errors like instanceof checks failing.

Your package.json currently specifies viem: "^2.13.1", which is outdated for this version of wagmi. Other dependencies are already pulling in much newer versions of viem (up to 2.39.0 as seen in yarn.lock), creating multiple viem versions in your node_modules.

To ensure compatibility and a single version of viem, please upgrade it in your package.json alongside wagmi. I recommend aligning it with the latest versions being used. You should modify line 28 in package.json to:

"viem": "^2.39.0"

"yaqrcode": "^0.2.1"
},
"devDependencies": {
Expand Down
Loading