@gustavo-valsechi/client 1.4.22 → 1.4.23

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.
@@ -98,7 +98,7 @@ function Form(props) {
98
98
  type: component2 ? void 0 : data.type,
99
99
  error: (_a = errors[data.name]) == null ? void 0 : _a.message,
100
100
  register,
101
- setValue
101
+ setValue: data.type === "InputCustom" ? setValue : void 0
102
102
  }
103
103
  );
104
104
  };
@@ -64,7 +64,7 @@ function Form(props) {
64
64
  type: component2 ? void 0 : data.type,
65
65
  error: (_a = errors[data.name]) == null ? void 0 : _a.message,
66
66
  register,
67
- setValue
67
+ setValue: data.type === "InputCustom" ? setValue : void 0
68
68
  }
69
69
  );
70
70
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gustavo-valsechi/client",
3
- "version": "1.4.22",
3
+ "version": "1.4.23",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",