@resolveio/client-lib-core 1.1.31 → 1.1.33

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.
@@ -1802,6 +1802,14 @@ class ValidationService {
1802
1802
  return { 'minLengthArray': { valid: false } };
1803
1803
  };
1804
1804
  }
1805
+ maxLengthArray(max) {
1806
+ return (c) => {
1807
+ if (c.value && c.value.length <= max) {
1808
+ return null;
1809
+ }
1810
+ return { 'maxLengthArray': { valid: false } };
1811
+ };
1812
+ }
1805
1813
  validIPAddress(c) {
1806
1814
  let regEx = /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/;
1807
1815
  if (c.value === '' || c.value === null) {