data-validation-proximity 1.2.5 → 1.2.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 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -139,7 +139,7 @@ const policySchema = joi
139
139
  notification: joi
140
140
  .object({
141
141
  realtime: joi.boolean().allow(null).required(),
142
- time: joi.string().allow(null).required(),
142
+ time: joi.number().allow(null).required(),
143
143
  perOrdersNbr: joi.number().allow(null).required(),
144
144
  sendMode: joi
145
145
  .object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "data-validation-proximity",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "A library of Joi-based validation middlewares for Express.js",
5
5
  "main": "index.js",
6
6
  "license": "MIT",