This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Description
Ref: ceramicnetwork/js-ceramic#1194 (comment)
|
import type { Libp2pConfig as Libp2pOptions } from 'libp2p' |
Sooo .. it looks like what's going on here is that ipfs-core is pulling in Libp2pConfig when it should be pulling in Libp2pOptions because Libp2pConfig is used for the config property inside Libp2pOptions. So in ceramicnetwork/js-ceramic#1194 I was having to pull up the elements in the libp2p.config object into libp2p to satisfy this condition. I think this should just be:
import type { Libp2pOptions } from 'libp2p'