hypercore-fetch 8.4.0 → 8.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -405,7 +405,7 @@ module.exports = function makeHyperFetch (opts = {}) {
405
405
  return {
406
406
  statusCode: 200,
407
407
  headers: responseHeaders,
408
- data: intoAsyncIterable('')
408
+ data: intoAsyncIterable(canonical)
409
409
  }
410
410
  } else if (method === 'DELETE') {
411
411
  if (headers.get('x-clear') === 'cache') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore-fetch",
3
- "version": "8.4.0",
3
+ "version": "8.5.0",
4
4
  "description": "Implementation of Fetch that uses the Dat SDK for loading p2p content",
5
5
  "bin": {
6
6
  "hypercore-fetch": "bin.js"