Skip to content
Closed
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 packages/miniapp-manifest-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"react": "19.1.0",
"react-dom": "19.1.0",
"viem": "^2.31.6",
"wagmi": "^2.16.3"
"wagmi": "^3.0.0"

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

This major version upgrade of wagmi from v2 to v3 will break the application. The PR metadata itself flags this as a breaking change (isBreakingChange:true). There are two critical issues:

  1. Peer Dependency Conflict: The @coinbase/onchainkit package, which this package depends on, has a peer dependency on wagmi@^2.x. Upgrading wagmi to ^3.0.0 creates a dependency conflict. This is almost certainly why pnpm-lock.yaml failed to update, as mentioned in the PR description.

  2. Breaking API Changes: A major version upgrade implies breaking changes. Code using wagmi APIs, such as the useSignMessage hook in src/hooks/useSignManifest.ts, would need to be refactored to work with wagmi v3. This PR does not include these necessary code updates.

Because of these issues, this change will break the application. I recommend reverting this upgrade. A proper fix would involve finding a version of @coinbase/onchainkit that supports wagmi v3, upgrading both, and refactoring the code that uses them.

Suggested change
"wagmi": "^3.0.0"
"wagmi": "^2.16.3"

},
"devDependencies": {
"@eslint/js": "^9.21.0",
Expand Down
Loading