vovk-ajv 0.0.0-draft.56 → 0.0.0-draft.58

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.d.ts +1 -1
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -5,7 +5,7 @@ type Lang = keyof typeof ajvLocalize;
5
5
  export type VovkAjvConfig = {
6
6
  options?: Options;
7
7
  localize?: Lang;
8
- target: 'draft-2020-12' | 'draft-07';
8
+ target?: 'draft-2020-12' | 'draft-07';
9
9
  };
10
10
  declare const validateOnClientAjv: VovkValidateOnClient;
11
11
  declare const configure: ({ options: givenOptions, localize: givenLocalize, target: givenTarget }: VovkAjvConfig) => VovkValidateOnClient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk-ajv",
3
- "version": "0.0.0-draft.56",
3
+ "version": "0.0.0-draft.58",
4
4
  "description": "Local validation for JSON schemas for vovk-zod and other validation libraries for Vovk.ts",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -33,6 +33,6 @@
33
33
  "ajv-i18n": "^4.2.0"
34
34
  },
35
35
  "peerDependencies": {
36
- "vovk": "^3.0.0-draft.140"
36
+ "vovk": "^3.0.0-draft.142"
37
37
  }
38
38
  }