react-action-validation
Advanced tools
Comparing version 0.0.3-alpha to 0.0.4-alpha
@@ -143,3 +143,3 @@ import Joi from '@hapi/joi'; | ||
_context.next = 2; | ||
return Joi.object(this.getRules()).validate(payload); | ||
return Joi.object(this.getRules()).validateAsync(payload); | ||
@@ -146,0 +146,0 @@ case 2: |
{ | ||
"name": "react-action-validation", | ||
"version": "0.0.3-alpha", | ||
"version": "0.0.4-alpha", | ||
"description": "validates the payload of the dispatched action", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
14896