Comparing version 1.0.2 to 1.0.3
@@ -68,7 +68,2 @@ "use strict"; | ||
} | ||
if (data[field] !== void 0 && data[field] !== null) { | ||
if (typeof data[field] !== type) { | ||
throw new Error(`${field} is not of type ${type}`); | ||
} | ||
} | ||
} | ||
@@ -75,0 +70,0 @@ } |
{ | ||
"name": "ferrydb", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
19219
7
365