Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This major version upgrade of
wagmifrom v2 to v3 will break the application. The PR metadata itself flags this as a breaking change (isBreakingChange:true). There are two critical issues:Peer Dependency Conflict: The
@coinbase/onchainkitpackage, which this package depends on, has a peer dependency onwagmi@^2.x. Upgradingwagmito^3.0.0creates a dependency conflict. This is almost certainly whypnpm-lock.yamlfailed to update, as mentioned in the PR description.Breaking API Changes: A major version upgrade implies breaking changes. Code using
wagmiAPIs, such as theuseSignMessagehook insrc/hooks/useSignManifest.ts, would need to be refactored to work withwagmiv3. 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/onchainkitthat supportswagmiv3, upgrading both, and refactoring the code that uses them.