data-validation-proximity 1.4.0 → 1.4.1

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
@@ -355,6 +355,7 @@ const updateSchema = joi.object({
355
355
  proximityRange: joi.number().min(0).max(1000),
356
356
  preferredLanguage: joi.string().valid('en', 'fr', 'ar').optional(),
357
357
  currency: joi.string().optional(),
358
+ mobilePaymentManager: joi.boolean(),
358
359
  });
359
360
 
360
361
  exports.updateSchemaValidation = createValidationMiddleware(updateSchema, (req) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "data-validation-proximity",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "A library of Joi-based validation middlewares for Express.js",
5
5
  "main": "index.js",
6
6
  "license": "MIT",