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

Outdated libp2p-interface #119

Closed
ajaleksa opened this issue May 14, 2023 · 2 comments
Closed

Outdated libp2p-interface #119

ajaleksa opened this issue May 14, 2023 · 2 comments

Comments

@ajaleksa
Copy link

Currently, helia uses "@libp2p/interface-libp2p": "^1.1.0", but the actual version in this repo is "version": "3.1.0". I am using typescript and I'm getting a lot of errors. One example, to be more specific is with using pubsub. On version 3.1.0, libp2p uses pubsub on services property (i.e. libp2p.services.pubsub), where older version uses pubsub in root of an object (i.e. libp2p.pubsub). This produces linting errors, but maybe it could be fixed easily, not sure..? There are probably a lot more incompatibilities, but the one I also noticed is while passing libp2p in options of createHelia function.

Cheers

@achingbrain
Copy link
Member

This will be fixed by upgrading to libp2p@0.45.x, likely later this week - it'll be done as part of this PR: #118

Please stick with libp2p@0.44.x for now - of note gossipsub won't work with 0.45.x until ChainSafe/js-libp2p-gossipsub#428 is merged.

@achingbrain
Copy link
Member

Fixed in helia@1.1.0 - please update when you are ready.

@github-project-automation github-project-automation bot moved this from 🛑 Blocked to 🎉 Done in Helia Working Group (inactive) May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants