You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`@libp2p/components` is a choke-point for our dependency graph as it depends on every interface, meaning when one interface revs a major `@libp2p/components` major has to change too which means every module depending
on it also needs a major.
Switch instead to constructor injection of simple objects that let modules declare their dependencies on interfaces directly instead of indirectly via `@libp2p/components`
Refs libp2p/js-libp2p-components#6
BREAKING CHANGE: modules no longer implement `Initializable` instead switching to constructor injection
// @ts-expect-error libp2p options is still referencing the old stream muxer interface https://github.com/libp2p/js-libp2p/pull/1402
80
81
streamMuxers: [newMplex()],
81
82
// @ts-expect-error libp2p options is still referencing the old connection encrypter interface https://github.com/libp2p/js-libp2p/pull/1402
0 commit comments