@ahmadmubarak98/namozaj 1.8.12 → 1.8.13
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/namozaj.js +2 -2
- package/package.json +1 -1
package/dist/namozaj.js
CHANGED
|
@@ -6138,7 +6138,7 @@ const createYupSchema = (e) => {
|
|
|
6138
6138
|
t.errorMessage ? t.errorMessage : `Minimum value is ${t.value}`
|
|
6139
6139
|
);
|
|
6140
6140
|
if (e.type === "string")
|
|
6141
|
-
return e.
|
|
6141
|
+
return e.min(
|
|
6142
6142
|
t.value,
|
|
6143
6143
|
t.errorMessage ? t.errorMessage : `Minimum length is ${t.value}`
|
|
6144
6144
|
);
|
|
@@ -6150,7 +6150,7 @@ const createYupSchema = (e) => {
|
|
|
6150
6150
|
t.errorMessage ? t.errorMessage : `Maximum value is ${t.value}`
|
|
6151
6151
|
);
|
|
6152
6152
|
if (e.type === "string")
|
|
6153
|
-
return e.
|
|
6153
|
+
return e.max(
|
|
6154
6154
|
t.value,
|
|
6155
6155
|
t.errorMessage ? t.errorMessage : `Maximum length is ${t.value}`
|
|
6156
6156
|
);
|