@aikdna/kdna-core 0.13.1 → 0.13.2

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/package.json +4 -2
  2. package/src/v1/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aikdna/kdna-core",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "description": "KDNA Core library for validating, planning, and loading local .kdna judgment assets.",
5
5
  "type": "commonjs",
6
6
  "main": "src/index.js",
@@ -58,6 +58,8 @@
58
58
  },
59
59
  "dependencies": {
60
60
  "@noble/hashes": "^1.8.0",
61
- "cbor-x": "^1.6.4"
61
+ "cbor-x": "^1.6.4",
62
+ "ajv": "^8.20.0",
63
+ "ajv-formats": "^3.0.1"
62
64
  }
63
65
  }
package/src/v1/index.js CHANGED
@@ -670,7 +670,7 @@ function runValidate(v1) {
670
670
  if (!validators) {
671
671
  result.schema_valid = false;
672
672
  problems.push(
673
- 'schema: ajv not available (install ajv + ajv-formats in the consumer env to enable JSON-Schema validation)',
673
+ 'schema: ajv not available. KDNA Core v1 requires ajv and ajv-formats for JSON-Schema validation. Run: npm install ajv ajv-formats (or: npm install -g ajv ajv-formats for global CLI users)',
674
674
  );
675
675
  return finalizeValidate(result, problems);
676
676
  }