muxrpc-validation
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -15,3 +15,3 @@ var zerr = require('zerr') | ||
for (var k in name) | ||
api.set(k, name[k]) | ||
api.set(k, name[k].bind(api)) | ||
else | ||
@@ -131,3 +131,3 @@ validators[name] = fn | ||
throw new Error('Validator not found: ' + type.name) | ||
err = validator.call(api, args[i], ''+i) | ||
err = validator(args[i], ''+i) | ||
@@ -134,0 +134,0 @@ // did the validator pass? break out of this type |
{ | ||
"name": "muxrpc-validation", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Validation library for muxrpc apis", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package