@onereach/state-machine-json-schema-ajv 1.0.0-framework.12 → 1.0.0-framework.14
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.
- package/README.md +6 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -11,6 +11,12 @@ Update imports to `@onereach/state-machine-json-schema-ajv`. Public compiler and
|
|
|
11
11
|
validator class names, safety checks, and persisted template formats are unchanged;
|
|
12
12
|
the Standard Schema vendor identifier follows the new package name.
|
|
13
13
|
|
|
14
|
+
When invoked by a framework template preparer, `schema.compile` traces the call
|
|
15
|
+
to this compiler, not proof of fresh AJV code generation. AJV's internal caches
|
|
16
|
+
and this compiler's schema-graph checks remain unchanged. Direct compiler calls
|
|
17
|
+
emit no framework preparation spans. See the
|
|
18
|
+
[preparation tracing guide](../state-machine-validation/README.md#preparation-tracing).
|
|
19
|
+
|
|
14
20
|
Compiled validators implement Standard Schema v1 directly. Call
|
|
15
21
|
`validator['~standard'].validate(value)` or pass the validator to a Standard Schema
|
|
16
22
|
consumer; no interoperability wrapper is required.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/state-machine-json-schema-ajv",
|
|
3
|
-
"version": "1.0.0-framework.
|
|
3
|
+
"version": "1.0.0-framework.14",
|
|
4
4
|
"description": "AJV JSON Schema compilation for non-transforming Standard Schema data validation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"onereach",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"typescript": "^6.0.3"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@onereach/state-machine-contracts": "1.0.0-framework.
|
|
30
|
-
"@onereach/state-machine-validation": "1.0.0-framework.
|
|
29
|
+
"@onereach/state-machine-contracts": "1.0.0-framework.13",
|
|
30
|
+
"@onereach/state-machine-validation": "1.0.0-framework.4",
|
|
31
31
|
"ajv": "^8.20.0"
|
|
32
32
|
},
|
|
33
33
|
"exports": {
|