monkey-front-core 0.0.417 → 0.0.419

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.
@@ -281,6 +281,9 @@ class MonkeyEcxUtils {
281
281
  const length = (country === 'cl') ? 7 : 8;
282
282
  return `${this.handleOnlyNumbers(zipCode)}`.length === length;
283
283
  }
284
+ static isValidEmail(email) {
285
+ return /^[\w-.]+@([\w-]+\.)+[\w-]{1,64}$/.test(email || '');
286
+ }
284
287
  static getRandomString(len, charSet) {
285
288
  charSet = charSet || 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
286
289
  const randomString = new Array(len)