hypercore-fetch 9.0.1 → 9.0.2

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
@@ -271,7 +271,7 @@ export default async function makeHyperFetch ({
271
271
 
272
272
  const drive = await getDriveFromKey(key, true)
273
273
 
274
- return { body: drive.url }
274
+ return { body: drive.core.url }
275
275
  })
276
276
  router.post(`hyper://${SPECIAL_DOMAIN}/`, async function createKey (request) {
277
277
  // TODO: Allow importing secret keys here
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hypercore-fetch",
3
- "version": "9.0.1",
3
+ "version": "9.0.2",
4
4
  "description": "Implementation of Fetch that uses the Dat SDK for loading p2p content",
5
5
  "type": "module",
6
6
  "main": "index.js",