@ultimat3/http 27.0.0 → 27.2.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-1.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/http",
|
|
3
|
-
"version": "27.
|
|
3
|
+
"version": "27.2.0",
|
|
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": "27.
|
|
39
|
-
"@ultimat3/i18n": "27.
|
|
40
|
-
"@ultimat3/schema": "27.
|
|
41
|
-
"@ultimat3/time": "27.
|
|
38
|
+
"@ultimat3/core": "27.2.0",
|
|
39
|
+
"@ultimat3/i18n": "27.2.0",
|
|
40
|
+
"@ultimat3/schema": "27.2.0",
|
|
41
|
+
"@ultimat3/time": "27.2.0"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/src/error-map-tier-1.ts
CHANGED
|
@@ -76,4 +76,8 @@ export const TIER_1_ERROR_STATUS = {
|
|
|
76
76
|
X_CACHE_VALUE_UNENCODABLE: 500,
|
|
77
77
|
// @ultimat3/storage — object key is outside every tenant and every shared prefix
|
|
78
78
|
X_STORAGE_KEY_UNSHARED: 404,
|
|
79
|
+
// @ultimat3/storage — the upload was already promoted onto its row
|
|
80
|
+
// 409 with the rest of promotion's refusals: an earlier call moved these bytes (a doubled or
|
|
81
|
+
// retried confirm), a state the caller answers by reading the row that holds `meta.attachedKey`.
|
|
82
|
+
X_STORAGE_ALREADY_PROMOTED: 409,
|
|
79
83
|
} satisfies Readonly<Record<string, number>>;
|