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: upnp-nat-v2.0.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: upnp-nat-v2.0.2
Choose a head ref
  • 8 commits
  • 105 files changed
  • 3 contributors

Commits on Sep 13, 2024

  1. fix: allow importing the self key (#2700)

    Because the keychain doesn't create keys, only accepts them, allow
    importing the "self" key.
    
    If the key already exists it will fail, and you still can't remove
    or rename it.
    achingbrain committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    34455b5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0c0681 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. feat: add isPubSub method to detect PubSub implementations (#2707)

    Adds a type guard function to signal to tsc that an object
    implements the PubSub interface.
    achingbrain committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    6ccbb06 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. feat: add capability detection to metrics-devtools (#2708)

    Adds the ability to find configured services that possess a given
    capability and interact with that service via rpc.
    
    Starts with a configured PubSub service.
    achingbrain committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    4fd7eb2 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2024

  1. fix: allow multiple ping messages (#2711)

    Read incoming ping messges in 32 byte chunks as per the spec and
    echo them back to the sending peer.
    
    If the remove fails to send us 32 bytes, reset the stream with a
    `TimeoutError`.
    achingbrain committed Sep 22, 2024
    Configuration menu
    Copy the full SHA
    c628c44 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. fix: update P-521 bit length in Web Crypto (#2710)

    ECDH over P-521 returns 66 bytes, i.e. 528 bits. Requesting 521 bits causes the last 7 bits of the derived value to be set to 0, which seems unintended (the Node.js version doesn't do this). So, request 66 * 8 bits instead.
    
    Also, remove the superfluous `namedCurve` property in the algorithm identifier passed to `deriveBits` (it's only necessary when importing or generating keys).
    twiss committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    67587a2 View commit details
    Browse the repository at this point in the history
  2. feat: add histogram and summary metric types (#2705)

    - Add `Histogram`, `HistogramGroup`, `Summary`, `SummaryGroup` metric types
    - Add `registerHistogram`, `registerHistogramGroup`, `registerSummary`, `registerSummaryGroup` methods to `Metrics` interface
    - Add corresponding implementations to prometheus and simple metrics packages
    wemeetagain committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    21fe841 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    859f535 View commit details
    Browse the repository at this point in the history
Loading