dao-xyz / peerbit

P2P database framework with encryption, sharding and search

Home Page:https://peerbit.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

identify not exported from libp2p

benjaminpreiss opened this issue · comments

I am getting an error saying that identify is not exported from libp2p.

When I install peerbit with pnpm I get the following versions:

peerbit 2.0.15
libp2p 0.42.2

I think that peerbit might be relying on an old libp2p version, which does indeed not export ./identify:

import { identifyService } from "libp2p/identify";

I couldn't find libp2p in the dependencies as well, so I wonder where the libp2p version comes from:

This is not an issue within peerbit but seems to be a dependency conflict with ipfs-core