data-validation-proximity 1.2.3 → 1.2.4

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 +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -588,11 +588,11 @@ const schemaUpdateStore = joi.object({
588
588
  isActive: joi.bool(),
589
589
  address: joi.object({
590
590
  city: joi.string().min(3),
591
- streetName: joi.string().min(3).max(40),
591
+ streetName: joi.string().min(3).max(120),
592
592
  postalCode: joi.string().min(3),
593
593
  country: joi.string().min(3),
594
594
  countryCode: joi.string().min(2),
595
- fullAdress: joi.string().min(3).max(40),
595
+ fullAdress: joi.string().min(3).max(120),
596
596
  region: joi.string().min(3),
597
597
  }),
598
598
  policy: policySchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "data-validation-proximity",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "A library of Joi-based validation middlewares for Express.js",
5
5
  "main": "index.js",
6
6
  "license": "MIT",