@movalib/movalib-commons 1.0.10 → 1.0.11

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/MovaLogin.js CHANGED
@@ -102,7 +102,7 @@ var MovaLogin = function (_a) {
102
102
  var validateForm = function () {
103
103
  var newForm = form;
104
104
  // Validator email
105
- if (!(0, Validator_1.validateEmail)(form.email.value.length)) {
105
+ if (!(0, Validator_1.validateEmail)(form.email.value)) {
106
106
  var errorMsg = 'Adresse email invalide';
107
107
  var newField = { value: form.email.value, error: errorMsg, isValid: false };
108
108
  newForm = __assign(__assign({}, newForm), { email: newField });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movalib/movalib-commons",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Bibliothèque d'objets communs à l'ensemble des projets React de Movalib",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",