Skip to content
This repository was archived by the owner on Mar 10, 2020. 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: ipfs-inactive/js-ipfs-http-client
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v22.1.0
Choose a base ref
...
head repository: ipfs-inactive/js-ipfs-http-client
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v22.1.1
Choose a head ref
  • 3 commits
  • 3 files changed
  • 2 contributors

Commits on Jun 25, 2018

  1. fix: get block with empty data (#789)

    * Fix for empty data in block.
    
    Found this very strange bug when creating DAGNode's with empty buffers for data.
    
    streamToValue returns an empty array when the data is empty, which down the line triggers an exception in ipfs-block because this sends an empty array instead of a buffer.
    
    * fix: get empty block for response without X-Stream-Output
    
    js-ipfs currently does not set the X-Stream-Output header on block.get responses so we also need a check for an empty array on our buffered res.
    
    License: MIT
    Signed-off-by: Alan Shaw <alan@tableflip.io>
    
    * chore: update to latest interface-ipfs-core
    
    License: MIT
    Signed-off-by: Alan Shaw <alan@tableflip.io>
    mikeal authored and alanshaw committed Jun 25, 2018
    Copy the full SHA
    88edd83 View commit details
  2. chore: update contributors

    alanshaw committed Jun 25, 2018
    Copy the full SHA
    972d238 View commit details
  3. Copy the full SHA
    32d133d View commit details
Loading