hyperdrive
Advanced tools
Comparing version 11.5.0 to 11.5.1
@@ -10,2 +10,3 @@ const Hyperbee = require('hyperbee') | ||
const safetyCatch = require('safety-catch') | ||
const { BLOCK_NOT_AVAILABLE } = require('hypercore/errors') | ||
@@ -199,3 +200,6 @@ const keyEncoding = new SubEncoder('files', 'utf-8') | ||
await this.getBlobs() | ||
return this.blobs.get(node.value.blob, opts) | ||
const res = await this.blobs.get(node.value.blob, opts) | ||
if (res === null) throw BLOCK_NOT_AVAILABLE() | ||
return res | ||
} | ||
@@ -202,0 +206,0 @@ |
{ | ||
"name": "hyperdrive", | ||
"version": "11.5.0", | ||
"version": "11.5.1", | ||
"description": "Hyperdrive is a secure, real-time distributed file system", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36375
443