@jskit-ai/crud-core 0.1.244 → 0.1.246

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/crud-core",
3
- "version": "0.1.244",
3
+ "version": "0.1.246",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=24.0.0"
@@ -26,9 +26,9 @@
26
26
  "./server/routeContracts": "./src/server/routeContracts.js"
27
27
  },
28
28
  "dependencies": {
29
- "@jskit-ai/database-runtime": "0.1.233",
30
- "@jskit-ai/json-rest-api-core": "0.1.177",
31
- "@jskit-ai/resource-crud-core": "0.1.175",
29
+ "@jskit-ai/database-runtime": "0.1.235",
30
+ "@jskit-ai/json-rest-api-core": "0.1.179",
31
+ "@jskit-ai/resource-crud-core": "0.1.177",
32
32
  "json-rest-schema": "^1.0.17",
33
33
  "json-rest-api": "2.0.0"
34
34
  },
@@ -49,7 +49,7 @@
49
49
  }
50
50
  },
51
51
  "peerDependencies": {
52
- "@jskit-ai/http-runtime": "0.1.231",
53
- "@jskit-ai/kernel": "0.1.233"
52
+ "@jskit-ai/http-runtime": "0.1.233",
53
+ "@jskit-ai/kernel": "0.1.235"
54
54
  }
55
55
  }
@@ -145,6 +145,11 @@ const BookingsFeature = defineCrudJsonApiFeature({
145
145
  when both drivers are supported by the application.
146
146
  - Validate representative accepted and rejected resource values.
147
147
  - Exercise every enabled route and JSON API document shape.
148
+ - Direct HTTP tests send `Content-Type` and `Accept` as
149
+ `application/vnd.api+json`, with `data.type` and `data.attributes`; raw
150
+ response fields remain in `data.attributes`. Use the configured API route,
151
+ transport type and existing identity/CSRF fixture. The generic CRUD guide's
152
+ **Direct API tests use JSON:API documents** section has a complete example.
148
153
  - Prove positive owner access and negative cross-owner access.
149
154
  - Verify public routes require neither identity nor CSRF only when explicitly
150
155
  declared public.
@@ -8,8 +8,8 @@
8
8
  "./shared": "./src/shared/index.js"
9
9
  },
10
10
  "dependencies": {
11
- "@jskit-ai/crud-core": "0.1.244",
12
- "@jskit-ai/resource-crud-core": "0.1.175"
11
+ "@jskit-ai/crud-core": "0.1.246",
12
+ "@jskit-ai/resource-crud-core": "0.1.177"
13
13
  },
14
14
  "jskit": {
15
15
  "kind": "runtime",