@ultimat3/http 13.0.0 → 15.0.0

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 +5 -5
  2. package/src/error-map.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultimat3/http",
3
- "version": "13.0.0",
3
+ "version": "15.0.0",
4
4
  "description": "Owned request lifecycle over Bun.serve: router, ordered pipeline, problem+json errors",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -31,9 +31,9 @@
31
31
  "test": "bun test"
32
32
  },
33
33
  "dependencies": {
34
- "@ultimat3/core": "13.0.0",
35
- "@ultimat3/i18n": "13.0.0",
36
- "@ultimat3/schema": "13.0.0",
37
- "@ultimat3/time": "13.0.0"
34
+ "@ultimat3/core": "15.0.0",
35
+ "@ultimat3/i18n": "15.0.0",
36
+ "@ultimat3/schema": "15.0.0",
37
+ "@ultimat3/time": "15.0.0"
38
38
  }
39
39
  }
package/src/error-map.ts CHANGED
@@ -250,6 +250,10 @@ export const ERROR_STATUS = {
250
250
  X_NOTIFY_DELIVERY_FAILED: 502,
251
251
  // @ultimat3/policy
252
252
  X_POLICY_MISSING: 500,
253
+ // A declaration fault raised at module evaluation, the same shelf as the line above. The row is
254
+ // not a claim it reaches a request — an unmapped code already answers 500 — it is the answer
255
+ // being REVIEWED instead of accidental, which is why this table is closed.
256
+ X_POLICY_CLAUSE_EMPTY: 500,
253
257
  X_PERMISSION_UNKNOWN: 500,
254
258
  // 500, and the page IS the point — deliberately not a 4xx to keep this table quiet.
255
259
  // `enforce()` was handed a surface no adapter answers to, which reaches a request only through a