@ultimat3/http 26.0.0 → 26.1.1

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": "@ultimat3/http",
3
- "version": "26.0.0",
3
+ "version": "26.1.1",
4
4
  "description": "Owned request lifecycle over Bun.serve: router, ordered pipeline, problem+json errors",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -35,9 +35,9 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@ultimat3/core": "26.0.0",
39
- "@ultimat3/i18n": "26.0.0",
40
- "@ultimat3/schema": "26.0.0",
41
- "@ultimat3/time": "26.0.0"
38
+ "@ultimat3/core": "26.1.1",
39
+ "@ultimat3/i18n": "26.1.1",
40
+ "@ultimat3/schema": "26.1.1",
41
+ "@ultimat3/time": "26.1.1"
42
42
  }
43
43
  }
@@ -113,4 +113,20 @@ export const TIER_4_ERROR_STATUS = {
113
113
  X_MCP_CONFIRMATION_ARGUMENTS_MISMATCH: 409,
114
114
  // @ultimat3/ai — a model call named no model
115
115
  X_AI_MODEL_UNRESOLVED: 500,
116
+ // @ultimat3/pwa — push is not configured in this process. A declaration fault (the fix is an
117
+ // `app.config.ts` edit) registered `terminal`, the class `X_MAIL_CREDENTIAL_MISSING` is: 500,
118
+ // never a 503 that tells every client and proxy a retry could install a runtime.
119
+ X_PWA_PUSH_UNCONFIGURED: 500,
120
+ // @ultimat3/pwa — the push subscription is not one a browser produced
121
+ X_PWA_PUSH_SUBSCRIPTION_INVALID: 422,
122
+ // @ultimat3/pwa — the three send-time faults. Raised by `pushToActor`, normally inside the job
123
+ // a notifier runs; but `webPush()` is an app's to call, and a handler that sends inline puts them
124
+ // on a request. The push service is this server's upstream: unreachable or 429/5xx is a
125
+ // transient upstream fault (503, retryable — the code is), a refusal is a bad gateway answer
126
+ // that no retry changes (502), and a message over the record is the app's own payload (500).
127
+ X_PWA_PUSH_FAILED: 503,
128
+ X_PWA_PUSH_REJECTED: 502,
129
+ X_PWA_PUSH_PAYLOAD_TOO_LARGE: 500,
130
+ // @ultimat3/pwa — the push endpoint is not on a push service this app sends to
131
+ X_PWA_PUSH_HOST_UNLISTED: 422,
116
132
  } satisfies Readonly<Record<string, number>>;