Comparing version 0.3.0-beta.6 to 0.3.0-beta.7
@@ -471,3 +471,8 @@ // src/internal/path.ts | ||
const errors = combine({ | ||
validatorResult: validationError$, | ||
validatorResult: validationError$.pipe(distinctUntilChanged((a, b) => { | ||
if (Array.isArray(a) && Array.isArray(b)) { | ||
return a.length === b.length && a.every((v, i) => b[i] === v); | ||
} | ||
return a === b; | ||
})), | ||
manualResult: manualError$ | ||
@@ -474,0 +479,0 @@ }); |
@@ -529,3 +529,8 @@ var __create = Object.create; | ||
const errors = (0, import_derive_state2.combine)({ | ||
validatorResult: validationError$, | ||
validatorResult: validationError$.pipe((0, import_derive_state2.distinctUntilChanged)((a, b) => { | ||
if (Array.isArray(a) && Array.isArray(b)) { | ||
return a.length === b.length && a.every((v, i) => b[i] === v); | ||
} | ||
return a === b; | ||
})), | ||
manualResult: manualError$ | ||
@@ -532,0 +537,0 @@ }); |
{ | ||
"version": "0.3.0-beta.6", | ||
"version": "0.3.0-beta.7", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "main": "dist/index.js", |
90722
2019