monkey-front-core 0.0.578 → 0.0.579

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.
@@ -157,8 +157,6 @@ class MonkeyEcxUtils {
157
157
  return 'RUT';
158
158
  if (country === 'mx')
159
159
  return 'RFC';
160
- if (country === 'us')
161
- return 'EIN';
162
160
  return doc.length <= 11 ? 'CPF' : 'CNPJ';
163
161
  }
164
162
  static getDocumentMask(type, country = '') {
@@ -204,9 +202,6 @@ class MonkeyEcxUtils {
204
202
  formated = doc.replace(/^(\d{1,2})(\d{3})(\d{3})(\w{1})$/, '$1.$2.$3-$4');
205
203
  return `${formated}`;
206
204
  }
207
- if (country === 'us') {
208
- return doc;
209
- }
210
205
  if (doc.length === 14) {
211
206
  formated = doc
212
207
  .replace(/^(\d{2})(\d)/, '$1.$2')