@juantroconisf/lib 3.2.4 → 3.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -199,7 +199,6 @@ function useFormChange({
199
199
  isInvalid: false,
200
200
  errorMessage: ""
201
201
  };
202
- if (requirements === void 0) return props;
203
202
  const [ui] = [
204
203
  {
205
204
  ref: errors2,
@@ -223,6 +222,7 @@ function useFormChange({
223
222
  });
224
223
  return req;
225
224
  });
225
+ if (requirements === void 0) return props;
226
226
  return {
227
227
  ...props,
228
228
  isInvalid: !ui.isValid,
package/dist/index.mjs CHANGED
@@ -180,7 +180,6 @@ function useFormChange({
180
180
  isInvalid: false,
181
181
  errorMessage: ""
182
182
  };
183
- if (requirements === void 0) return props;
184
183
  const [ui] = [
185
184
  {
186
185
  ref: errors2,
@@ -204,6 +203,7 @@ function useFormChange({
204
203
  });
205
204
  return req;
206
205
  });
206
+ if (requirements === void 0) return props;
207
207
  return {
208
208
  ...props,
209
209
  isInvalid: !ui.isValid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juantroconisf/lib",
3
- "version": "3.2.4",
3
+ "version": "3.2.5",
4
4
  "description": "A state and validation library for HeroUI.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",