Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: libp2p/js-libp2p
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: interface-v1.4.1
Choose a base ref
...
head repository: libp2p/js-libp2p
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: interface-v1.5.0
Choose a head ref
  • 8 commits
  • 149 files changed
  • 1 contributor

Commits on Jun 11, 2024

  1. fix: split listeners and dialers in transport interface tests (#2584)

    To support asymmetric transports, call `.listen` and `.dial` on separate
    properties of the transport interface setup return value.
    
    For symmetric transports these can be the same transport instance.
    achingbrain committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    863b3de View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. fix: allow custom services to depend on each other (#2588)

    Derive the type of the components arg from a union of the internal
    components plus the service map type.
    achingbrain committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    0447913 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. feat: check service dependencies on startup (#2586)

    Allows services to optionally define the capabilities they provide to the
    rest of libp2p and also the capabilities they require from other services.
    
    This allows, for example, the `WebRTC` transport to require the `CircuitRelay`
    transport to be present, or `KAD-DHT` (or anything that uses a topology)
    to require the identify protocol.
    
    Fixes #2263
    Refs #2135
    achingbrain committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    d1f1c2b View commit details
    Browse the repository at this point in the history
  2. docs: add doc on configuring custom services (#2587)

    Writes up the perceived wisdom on service implementation.
    achingbrain committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    94cac11 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. chore: remove logging code (#2594)

    Remove code left in by accident.
    achingbrain committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    a970b53 View commit details
    Browse the repository at this point in the history
  2. fix: create RTCPeerConnection after dialing remote peer (#2593)

    Chrome limits how many RTCPeerConnections a given tab can instantiated
    during it's lifetime - https://issues.chromium.org/issues/41378764
    
    To delay hitting this limit, only create the dial-end RTCPeerConnection
    once a relayed connection has successfully been opened to the dial
    target, this prevents needlessly creating RTCPeerConnections when the
    dial fails before they are actually used.
    
    Fixes #2591
    achingbrain committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    8e4fdcd View commit details
    Browse the repository at this point in the history
  3. feat: allow passing a function for rtcConfiguration (#2590)

    In order to allow refreshing STUN/TURN credentials between dials,
    allow passing a function that returns rtc config.
    
    Fixes #2554
    achingbrain committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    9e02366 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Configuration menu
    Copy the full SHA
    703b390 View commit details
    Browse the repository at this point in the history
Loading