data-validation-proximity 1.3.13 → 1.3.15

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 +3 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -301,12 +301,15 @@ const updateSchema = joi.object({
301
301
  password_confirmation: joi.string().min(6),
302
302
  username: joi.string().min(5),
303
303
  phone: joi.string().min(10),
304
+ companyName: joi.string().optional(),
304
305
  profileImage: joi.string().min(3).max(200),
305
306
  adresse: addressSchema,
306
307
  policy: policySchema,
307
308
  discountCode: joi.string().min(3),
308
309
  companyName: joi.string().min(3),
309
310
  shippingAdress: joi.object({
311
+ latitude: joi.number(),
312
+ longitude: joi.number(),
310
313
  countryCode: joi.string().min(2),
311
314
  country: joi.string().min(3),
312
315
  city: joi.string().min(3),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "data-validation-proximity",
3
- "version": "1.3.13",
3
+ "version": "1.3.15",
4
4
  "description": "A library of Joi-based validation middlewares for Express.js",
5
5
  "main": "index.js",
6
6
  "license": "MIT",