Is there an existing issue for this?
RainbowKit Version
2.2.10
wagmi Version
3.2.0
Current Behavior
Rainbowkit's latest versions force me to install all third-party connectors used by Wagmi (@metamask/sdk, @coinbase/wallet-sdk, porto,@gemini-wallet/core, @safe-global/safe-apps-provider, @walletconnect/ethereum-provider) whenever I import any single wallet (other than injected) from @rainbow-me/rainbowkit/wallets.
Expected Behavior
These packages should be required only if the associated connector or wallet is effectively used in Rainbowkit's configuration (as it is the case for wagmi).
For example, I should have to import @metamask/sdk only if I am importing { metaMaskWallet } from @rainbow-me/rainbowkit/wallets.
Steps To Reproduce
pnpm add @rainbow-me/rainbowkit@latest @metamask/sdk
import { metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'`
-> Module not found: Can't resolve '@coinbase/wallet-sdk' (but also porto, @walletconnect/ethereum-provider, @gemini-wallet/core and @safe-global/safe-apps-provider)
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response
Is there an existing issue for this?
RainbowKit Version
2.2.10
wagmi Version
3.2.0
Current Behavior
Rainbowkit's latest versions force me to install all third-party connectors used by Wagmi (@metamask/sdk, @coinbase/wallet-sdk, porto,@gemini-wallet/core, @safe-global/safe-apps-provider, @walletconnect/ethereum-provider) whenever I import any single wallet (other than
injected) from@rainbow-me/rainbowkit/wallets.Expected Behavior
These packages should be required only if the associated connector or wallet is effectively used in Rainbowkit's configuration (as it is the case for wagmi).
For example, I should have to import @metamask/sdk only if I am importing
{ metaMaskWallet }from@rainbow-me/rainbowkit/wallets.Steps To Reproduce
pnpm add @rainbow-me/rainbowkit@latest @metamask/sdkimport{ metaMaskWallet } from '@rainbow-me/rainbowkit/wallets'`-> Module not found: Can't resolve '@coinbase/wallet-sdk' (but also porto, @walletconnect/ethereum-provider, @gemini-wallet/core and @safe-global/safe-apps-provider)
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response