fix: pin wagmi packages to 2.x line so the build compiles#1
Open
lightchainaidev wants to merge 1 commit into
Open
fix: pin wagmi packages to 2.x line so the build compiles#1lightchainaidev wants to merge 1 commit into
lightchainaidev wants to merge 1 commit into
Conversation
The Reown wagmi adapter resolved @wagmi/connectors@8.0.15, dragging in a broken @wagmi/core@3.5.0 whose experimental tempo module imports a missing "accounts" package. Pin @wagmi/connectors@6.2.0 and @wagmi/core@2.22.1 to match wagmi 2.19.5. Also import cookieStorage/createStorage from wagmi (the transitive @wagmi/core is not resolvable for types) and alias @metamask/sdk's optional React Native async-storage to false in the web build. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
pnpm buildfailed: the Reown wagmi adapter resolved@wagmi/connectors@8.0.15, which drags in a broken@wagmi/core@3.5.0whose experimentaltempomodule doesimport('accounts')(a package that doesn't exist).Fixes
@wagmi/connectors@6.2.0+@wagmi/core@2.22.1to matchwagmi@2.19.5— drops the broken 3.5.0.cookieStorage/createStoragefromwagmi(the transitive@wagmi/coreisn't resolvable for types).@metamask/sdk's optional React Nativeasync-storagetofalsefor the web build.pnpm install && pnpm buildnow passes.🤖 Generated with Claude Code