laravel-precognition-react
Advanced tools
Comparing version 0.5.7 to 0.5.8
@@ -57,3 +57,3 @@ import { resolveName, client, createValidator, toSimpleValidationErrors, resolveUrl, resolveMethod } from 'laravel-precognition'; | ||
if (validator.current === null) { | ||
validator.current = createValidator(client => client[resolveMethod(method)](resolveUrl(url), payload.current, config), input) | ||
validator.current = createValidator((client) => client[resolveMethod(method)](resolveUrl(url), payload.current, config), input) | ||
.on('validatingChanged', () => { | ||
@@ -161,3 +161,3 @@ setValidating(validator.current.validating()); | ||
else { | ||
names.forEach(name => (set(payload.current, name, get(original, name)))); | ||
names.forEach((name) => (set(payload.current, name, get(original, name)))); | ||
setData(payload.current); | ||
@@ -164,0 +164,0 @@ } |
{ | ||
"name": "laravel-precognition-react", | ||
"version": "0.5.7", | ||
"version": "0.5.8", | ||
"description": "Laravel Precognition (React).", | ||
@@ -36,3 +36,3 @@ "keywords": [ | ||
"dependencies": { | ||
"laravel-precognition": "0.5.7", | ||
"laravel-precognition": "0.5.8", | ||
"lodash-es": "^4.17.21" | ||
@@ -39,0 +39,0 @@ }, |
11124
+ Addedlaravel-precognition@0.5.8(transitive)
- Removedlaravel-precognition@0.5.7(transitive)
Updatedlaravel-precognition@0.5.8