data-validation-proximity 1.3.5 → 1.3.6

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.
Files changed (2) hide show
  1. package/index.js +1 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -344,6 +344,7 @@ exports.itemSchemaValidation = createValidationMiddleware(itemSchema);
344
344
 
345
345
  const createCategorySchema = joi.object({
346
346
  name: joi.string().required(),
347
+ confirmed: joi.bool(),
347
348
  });
348
349
 
349
350
  exports.createCategorySchemaValidation = createValidationMiddleware(createCategorySchema);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "data-validation-proximity",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "A library of Joi-based validation middlewares for Express.js",
5
5
  "main": "index.js",
6
6
  "license": "MIT",