@dstanesc/ipfs-block-store
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -24,4 +24,2 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
bytes = yield ipfs.block.get(cid); | ||
if (!bytes) | ||
throw new Error(`Block not found for ${cid.toString()}`); | ||
return bytes; | ||
@@ -28,0 +26,0 @@ }); |
{ | ||
"name": "@dstanesc/ipfs-block-store", | ||
"description": "Simple content-addressable storage (CAS) based on IPFS", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"homepage": "https://github.com/dstanesc/ipfs-block-store", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/dstanesc/ipfs-block-store", |
@@ -18,4 +18,2 @@ | ||
bytes = await ipfs.block.get(cid) | ||
if (!bytes) | ||
throw new Error(`Block not found for ${cid.toString()}`) | ||
return bytes | ||
@@ -22,0 +20,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
21536
306