@ethersphere/bee-js
Advanced tools
Comparing version 8.0.0 to 8.0.1
@@ -9,3 +9,3 @@ "use strict"; | ||
} | ||
return data.every(entry => typeof entry === 'object' && entry.path && entry.size); | ||
return data.every(entry => typeof entry === 'object' && entry.path && entry.size !== undefined); | ||
} | ||
@@ -12,0 +12,0 @@ exports.isCollection = isCollection; |
@@ -6,3 +6,3 @@ import { BeeArgumentError } from "./error.js"; | ||
} | ||
return data.every(entry => typeof entry === 'object' && entry.path && entry.size); | ||
return data.every(entry => typeof entry === 'object' && entry.path && entry.size !== undefined); | ||
} | ||
@@ -9,0 +9,0 @@ export function assertCollection(data) { |
{ | ||
"name": "@ethersphere/bee-js", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "Javascript client for Bee", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1915109