Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

fix!: remove @libp2p/components #192

Merged
merged 2 commits into from
Oct 12, 2022
Merged

Commits on Oct 12, 2022

  1. fix!: remove @libp2p/components

    `@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
    achingbrain committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    8ed1d72 View commit details
    Browse the repository at this point in the history
  2. docs: update readme

    achingbrain committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    6df15cd View commit details
    Browse the repository at this point in the history