rps-jsonvalidator 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rps-jsonvalidator",
3
- "version": "1.0.01",
3
+ "version": "1.0.02",
4
4
  "main": "./src/index.js",
5
5
  "typings": "./src/index.d.ts",
6
6
  "dependencies": {},
@@ -4,7 +4,7 @@ export interface JSONObjectKeyAndTypeValidator {
4
4
  default?: any;
5
5
  trim?: boolean;
6
6
  custom_validator?: (value: any) => boolean;
7
- lengths: {
7
+ lengths?: {
8
8
  min_len?: number;
9
9
  max_len?: number;
10
10
  len?: number;