@ultimat3/http 30.1.0 → 30.3.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.
- package/package.json +5 -5
- package/src/error-map-tier-2.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/http",
|
|
3
|
-
"version": "30.
|
|
3
|
+
"version": "30.3.0",
|
|
4
4
|
"description": "Owned request lifecycle over Bun.serve: router, ordered pipeline, problem+json errors",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ultimate",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"test": "bun test"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@ultimat3/core": "30.
|
|
49
|
-
"@ultimat3/i18n": "30.
|
|
50
|
-
"@ultimat3/schema": "30.
|
|
51
|
-
"@ultimat3/time": "30.
|
|
48
|
+
"@ultimat3/core": "30.3.0",
|
|
49
|
+
"@ultimat3/i18n": "30.3.0",
|
|
50
|
+
"@ultimat3/schema": "30.3.0",
|
|
51
|
+
"@ultimat3/time": "30.3.0"
|
|
52
52
|
}
|
|
53
53
|
}
|
package/src/error-map-tier-2.ts
CHANGED
|
@@ -135,4 +135,6 @@ export const TIER_2_ERROR_STATUS = {
|
|
|
135
135
|
X_PASSKEY_CHALLENGE_EXPIRED: 401,
|
|
136
136
|
// @ultimat3/auth — a sensitive action ran without a fresh user-verified passkey proof for its digest
|
|
137
137
|
X_PASSKEY_STEP_UP_REQUIRED: 401,
|
|
138
|
+
// @ultimat3/entity — a read-only entity was asked to write a row
|
|
139
|
+
X_ENTITY_READ_ONLY: 500,
|
|
138
140
|
} satisfies Readonly<Record<string, number>>;
|