I noticed @celo/wallet-walletconnect@5.0.2 pulled by @celo/react-celo@5.0.2 depends on celo SDK ^2.2.0 leading to duplicate packages in the final bundle if celo SDK v3 is already present.
Side note: I wonder if celo SDK dependencies should be switched to peerDependencies to make it easier for final applications to select the version they want.
I noticed
@celo/wallet-walletconnect@5.0.2
pulled by@celo/react-celo@5.0.2
depends on celo SDK^2.2.0
leading to duplicate packages in the final bundle if celo SDK v3 is already present.This applies a similar change to what was done for
@celo/react-celo
in https://github.com/celo-org/react-celo/pull/339Let me know what you think.
Side note: I wonder if celo SDK dependencies should be switched to
peerDependencies
to make it easier for final applications to select the version they want.