diff --git a/package.json b/package.json index fde34b7..c69d954 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ics", - "version": "2.39.0", + "version": "2.40.0", "description": "iCal (ics) file generator", "exports": { "require": "./index.js", diff --git a/src/schema/index.js b/src/schema/index.js index 19a4f65..4c5e35c 100644 --- a/src/schema/index.js +++ b/src/schema/index.js @@ -39,7 +39,8 @@ const contactSchema = yup.object().shape({ const organizerSchema = yup.object().shape({ name: yup.string(), - email: yup.string().email() + email: yup.string().email(), + dir: yup.string() }).noUnknown() const alarmSchema = yup.object().shape({