akeyless-client-commons 1.1.119 → 1.1.120

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.
@@ -7077,7 +7077,7 @@ var ModularForm = function(param) {
7077
7077
  ].includes(element2.type);
7078
7078
  };
7079
7079
  if (hasMinLengthType(element) && element.minLength) {
7080
- var elementValue = getFormElementValue(form, element.name);
7080
+ var elementValue = getFormElementValue(form, element.name).trim();
7081
7081
  if (elementValue.length < element.minLength) {
7082
7082
  throw element.validationError || "".concat(element.labelContent || element.name, " must be at least ").concat(element.minLength, " characters");
7083
7083
  }
@@ -6849,7 +6849,7 @@ var ModularForm = function(param) {
6849
6849
  ].includes(element2.type);
6850
6850
  };
6851
6851
  if (hasMinLengthType(element) && element.minLength) {
6852
- var elementValue = getFormElementValue(form, element.name);
6852
+ var elementValue = getFormElementValue(form, element.name).trim();
6853
6853
  if (elementValue.length < element.minLength) {
6854
6854
  throw element.validationError || "".concat(element.labelContent || element.name, " must be at least ").concat(element.minLength, " characters");
6855
6855
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akeyless-client-commons",
3
- "version": "1.1.119",
3
+ "version": "1.1.120",
4
4
  "scripts": {
5
5
  "build": "tsup",
6
6
  "deploy": "npm run build && npm version patch --no-git-tag-version && npm publish",