Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update near-api-js dependency #1104

Closed
bh2smith opened this issue May 27, 2024 · 2 comments
Closed

Update near-api-js dependency #1104

bh2smith opened this issue May 27, 2024 · 2 comments

Comments

@bh2smith
Copy link

bh2smith commented May 27, 2024

The current near-api-js version is 4, leaving this library 2 major versions behind:

"near-api-js": "^2.1.3",

Furthermore, the core library specifies fixed peer dependencies at v1 || v2:

"peerDependencies": {
"near-api-js": "^1.0.0 || ^2.0.0"
}

Is there any specific reason these are so far behind? It is causing conflicts with npm installation of any library using v3 or v4.

@bh2smith
Copy link
Author

Someone please deal with this:

warning "near-ca > @near-wallet-selector/[email protected]" has incorrect peer dependency "near-api-js@^1.0.0 || ^2.0.0".

@pivanov
Copy link
Collaborator

pivanov commented Jul 19, 2024

This should be fixed in #1135
@bh2smith can you confirm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Shipped 🚀
Development

Successfully merging a pull request may close this issue.

2 participants