Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
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-peer-id
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @libp2p/peer-id-v1.1.16
Choose a base ref
...
head repository: libp2p/js-libp2p-peer-id
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @libp2p/peer-id-v1.1.17
Choose a head ref
  • 6 commits
  • 8 files changed
  • 4 contributors

Commits on Oct 12, 2022

  1. chore(release): 1.0.19 [skip ci]

    ## [@libp2p/peer-id-factory-v1.0.19](https://github.com/libp2p/js-libp2p-peer-id/compare/@libp2p/peer-id-factory-v1.0.18...@libp2p/peer-id-factory-v1.0.19) (2022-10-12)
    
    ### Dependencies
    
    * bump uint8arrays, protons and multiformats ([#28](#28)) ([e270265](e270265))
    semantic-release-bot committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    81345d0 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

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

Commits on Nov 14, 2022

  1. Configuration menu
    Copy the full SHA
    4701d1d View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2022

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

Commits on Dec 8, 2022

  1. fix: human readable peer ids in console.log (#36)

    Add [inspect](https://nodejs.org/api/util.html#utilinspectcustom) method
    so when printing PeerIds in the console they are readble.
    
    Old:
    
    ```
    {
      peer: RSAPeerIdImpl [PeerId(QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN)] {
        type: 'RSA',
        multihash: Digest {
          code: 18,
          size: 32,
          digest: [Uint8Array],
          bytes: [Uint8Array]
        },
        privateKey: undefined,
        publicKey: <Buffer 08 00 12 a6 02 30 82 01 22 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01 05 00 03 82 01 0f 00 30 82 01 0a 02 82 01 01 00 d7 ab 01 ee 41 35 d7 ce cd 99 63 5b ... 249 more
    bytes>
      },
      name: 'DIALING_PEER',
      type: 7
    }
    {
      to: RSAPeerIdImpl [PeerId(QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN)] {
        type: 'RSA',
        multihash: Digest {
          code: 18,
          size: 32,
          digest: [Uint8Array],
          bytes: [Uint8Array]
        },
        privateKey: undefined,
        publicKey: <Buffer 08 00 12 a6 02 30 82 01 22 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01 05 00 03 82 01 0f 00 30 82 01 0a 02 82 01 01 00 d7 ab 01 ee 41 35 d7 ce cd 99 63 5b ... 249 more
    bytes>
      },
      type: 0,
      name: 'SENDING_QUERY',
      messageName: 'ADD_PROVIDER',
      messageType: 2
    }
    {
      from: RSAPeerIdImpl [PeerId(QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN)] {
        type: 'RSA',
        multihash: Digest {
          code: 18,
          size: 32,
          digest: [Uint8Array],
          bytes: [Uint8Array]
        },
        privateKey: undefined,
        publicKey: <Buffer 08 00 12 a6 02 30 82 01 22 30 0d 06 09 2a 86 48 86 f7 0d 01 01 01 05 00 03 82 01 0f 00 30 82 01 0a 02 82 01 01 00 d7 ab 01 ee 41 35 d7 ce cd 99 63 5b ... 249 more
    bytes>
      },
      messageType: 'ADD_PROVIDER',
      name: 'PEER_RESPONSE',
      type: 1,
      messageName: 'ADD_PROVIDER',
      closer: [],
      providers: []
    }
    ```
    
    New:
    
    ```
    {
      peer: PeerId(QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt),
      name: 'DIALING_PEER',
      type: 7
    }
    {
      to: PeerId(QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt),
      type: 0,
      name: 'SENDING_QUERY',
      messageName: 'ADD_PROVIDER',
      messageType: 2
    }
    {
      from: PeerId(QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt),
      messageType: 'ADD_PROVIDER',
      name: 'PEER_RESPONSE',
      type: 1,
      messageName: 'ADD_PROVIDER',
      closer: [],
      providers: []
    }
    ```
    achingbrain committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    f80d1ea View commit details
    Browse the repository at this point in the history
  2. chore(release): 1.1.17 [skip ci]

    ## [@libp2p/peer-id-v1.1.17](https://github.com/libp2p/js-libp2p-peer-id/compare/@libp2p/peer-id-v1.1.16...@libp2p/peer-id-v1.1.17) (2022-12-08)
    
    ### Bug Fixes
    
    * human readable peer ids in console.log ([#36](#36)) ([f80d1ea](f80d1ea))
    
    ### Trivial Changes
    
    * fix peer-d typo in readmes ([#31](#31)) ([2276076](2276076))
    semantic-release-bot committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    0182a0a View commit details
    Browse the repository at this point in the history
Loading