Closed Florian-S-A-W closed 1 year ago
@cbachmeier
Hello @Florian-S-A-W , we've deliberately deprecated SupportedChainId
in favor of the more general ChainId
. If you need only chains specifically supported by the Uniswap protocol you can use the subset array SUPPORTED_CHAINS
and the type based off it, SupportedChainsType
. If you need any help refactoring feel free to use this PR where we upgrade this dependency in the Uniswap interface as a reference.
@cbachmeier There are about 10 libraries that depend on the core SDK, including the (basically) deprecated Uniswap V2 SDK that a lot of people are still using. Why not release it as a major version bump that at least people can continue using the libraries that depend on the core-sdk?
Hi @cbachmeier , I can understand why these changes where made, but this is still a breaking API change and should therefore require a major version bump as @koraykoska mentions.
@Florian-S-A-W @koraykoska Thank you for the feedback, accordingly we have deprecated 3.2.4 - 3.2.6 and have released a major version 4.0.1.
Version 3.2.4 renamed
SupportedChainId
toChainId
causing projects that importSupportedChainId
to break. I'd suggest addingSupportedChainId
as a type alias.