Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Javascript SDK quickstart doesn't tell about peerDependencies #268

Open
tennox opened this issue Apr 5, 2021 · 1 comment
Open

Javascript SDK quickstart doesn't tell about peerDependencies #268

tennox opened this issue Apr 5, 2021 · 1 comment

Comments

@tennox
Copy link

tennox commented Apr 5, 2021

The JS SDK quickstart says only install, but:

warning " > @uniswap/sdk@3.0.3" has unmet peer dependency "@ethersproject/address@^5.0.0-beta".
warning " > @uniswap/sdk@3.0.3" has unmet peer dependency "@ethersproject/contracts@^5.0.0-beta".
warning " > @uniswap/sdk@3.0.3" has unmet peer dependency "@ethersproject/networks@^5.0.0-beta".
warning " > @uniswap/sdk@3.0.3" has unmet peer dependency "@ethersproject/providers@^5.0.0-beta".
warning " > @uniswap/sdk@3.0.3" has unmet peer dependency "@ethersproject/solidity@^5.0.0-beta".

The other docs page tells what this is about.

@moodysalem
Copy link
Contributor

The docs are slightly outdated, you should prefer @uniswap/v2-sdk which actually uses dependencies instead of peer dependencies

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants