@dstanesc/az-block-store
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -25,2 +25,4 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
bytes = yield toBuffer(blobResponse.readableStreamBody); | ||
if (cache) | ||
cache[cid.toString()] = bytes; | ||
} | ||
@@ -27,0 +29,0 @@ return bytes; |
{ | ||
"name": "@dstanesc/az-block-store", | ||
"description": "Simple content-addressable storage (CAS) based on Azure Blob Storage", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"homepage": "https://github.com/dstanesc/az-block-store", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/dstanesc/az-block-store", |
@@ -20,2 +20,4 @@ import { BlockBlobClient, ContainerClient } from "@azure/storage-blob" | ||
bytes = await toBuffer(blobResponse.readableStreamBody) | ||
if (cache) | ||
cache[cid.toString()] = bytes | ||
} | ||
@@ -22,0 +24,0 @@ return bytes |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
26316
385