@live-change/framework
Advanced tools
Comparing version 0.7.4 to 0.7.5
@@ -45,12 +45,12 @@ function getValidator(validation, context) { | ||
let errors = (await propPromises[propName]).filter(e=>!!e) | ||
console.log("EERRS",propName, errors) | ||
//console.log("EERRS",propName, errors) | ||
if(errors.length > 0) { | ||
console.log("ERRS", propName) | ||
//console.log("ERRS", propName) | ||
propErrors[propName] = errors[0] | ||
} | ||
} | ||
console.log("PROP ERRORS", propErrors) | ||
//console.log("PROP ERRORS", propErrors) | ||
if(Object.keys(propErrors).length > 0) throw { properties: propErrors } | ||
} | ||
module.exports = { getValidator, getValidators, validate } | ||
module.exports = { getValidator, getValidators, validate } |
{ | ||
"name": "@live-change/framework", | ||
"version": "0.7.4", | ||
"version": "0.7.5", | ||
"description": "Live Change Framework - ultimate solution for real time mobile/web apps", | ||
@@ -30,3 +30,3 @@ "main": "index.js", | ||
"@live-change/sockjs": "0.4.1", | ||
"@live-change/uid": "^0.7.4", | ||
"@live-change/uid": "^0.7.5", | ||
"cookie": "^0.4.1", | ||
@@ -39,3 +39,3 @@ "express": "^4.18.1", | ||
}, | ||
"gitHead": "b4634f8267f89859042f176e5430567fd796082e" | ||
"gitHead": "f6b4d3d58f24d4106743a58b9f87e03293a4a0eb" | ||
} |
167765
4559