@json-eval-rs/webcore 0.0.56 → 0.0.57

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/dist/index.d.ts +2 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -55,8 +55,8 @@ export interface ValidationError {
55
55
  export interface ValidationResult {
56
56
  /** Whether any validation errors occurred */
57
57
  has_error: boolean;
58
- /** Array of validation errors */
59
- errors: ValidationError[];
58
+ /** Map of validation errors keyed by field path */
59
+ error: Record<string, ValidationError>;
60
60
  }
61
61
  /**
62
62
  * Dependent field change from evaluateDependents
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@json-eval-rs/webcore",
3
- "version": "0.0.56",
3
+ "version": "0.0.57",
4
4
  "description": "JSON Eval RS core JavaScript wrapper (internal package - not published)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",