Comparing version 1.1.4 to 1.1.5
{ | ||
"name": "castor", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "An ES7 [CAS designed](https://en.wikipedia.org/wiki/Content-addressable_storage) file storage for nodejs with a simple API and robust implementation.", | ||
@@ -19,3 +19,3 @@ "main": "store.js", | ||
"mout": "^1.1.0", | ||
"nyks": "^5.8.0", | ||
"nyks": "^5.12.0", | ||
"send": "^0.16.2" | ||
@@ -22,0 +22,0 @@ }, |
@@ -17,2 +17,3 @@ 'use strict'; | ||
const guid = require('mout/random/randString'); | ||
const createWriteStream = require('nyks/fs/createWriteStream'); | ||
const pipe = require('nyks/stream/pipe'); | ||
@@ -146,3 +147,3 @@ const fetch = require('nyks/http/fetch'); | ||
var outstream = fs.createWriteStream(tmp_path); | ||
var outstream = await createWriteStream(tmp_path); | ||
var hash = crypto.createHash('md5'); | ||
@@ -149,0 +150,0 @@ hash.setEncoding('hex'); |
12572
212
Updatednyks@^5.12.0