bank20baht-validator 0.3.4 → 0.3.5

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/README.md +1 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -46,8 +46,7 @@ POST /api/submissions {"id":"todo-form","data":{"title":"ab"}}
46
46
 
47
47
  ## Compatibility
48
48
 
49
- Peers on `bank20baht-ui` **0.2.x** (the `FieldType` union — including `password` since 0.2.2 —
50
- comes from there). In a workspace that also builds `bank20baht-ui`, keep the peer range in
49
+ Peers on `bank20baht-ui` **>=0.5 <0.9** (the engine and the `FieldType` union come from there). In a workspace that also builds `bank20baht-ui`, keep the peer range in
51
50
  step with the core version or the validator's `tsc` build resolves a stale copy from npm.
52
51
 
53
52
  ## What it enforces
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "bank20baht-validator",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "type": "module",
5
- "description": "Runtime validation for bahtui form/workflow JSON — the exact engine rules the client runs, on the server.",
5
+ "description": "Runtime validation for bahtui form/workflow JSON \u2014 the exact engine rules the client runs, on the server.",
6
6
  "license": "MIT",
7
7
  "author": "Nattapong Promthong",
8
8
  "repository": {
@@ -40,12 +40,12 @@
40
40
  "test:watch": "vitest"
41
41
  },
42
42
  "devDependencies": {
43
- "bank20baht-ui": "^0.6.0",
43
+ "bank20baht-ui": "^0.8.0",
44
44
  "typescript": "^5.8.3",
45
45
  "vitest": "^3.2.4"
46
46
  },
47
47
  "peerDependencies": {
48
- "bank20baht-ui": ">=0.5.0 <0.7.0"
48
+ "bank20baht-ui": ">=0.5.0 <0.9.0"
49
49
  },
50
50
  "main": "./dist/index.js",
51
51
  "types": "./dist/index.d.ts",