@supacloud/elysia 0.36.1 → 0.36.2
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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ The matrix is a
|
|
|
18
18
|
required target, not proof of an execution. See the dated, commit-specific
|
|
19
19
|
[framework acceptance record](../../docs/framework-acceptance.md) for actual
|
|
20
20
|
results. The contract-upgrade gate checks both TypeScript engines. These tests
|
|
21
|
-
do not establish a wider
|
|
21
|
+
do not establish a wider RC version matrix or Node.js runtime compatibility.
|
|
22
22
|
|
|
23
23
|
Keep the exact Elysia peer until additional versions have their own acceptance
|
|
24
24
|
evidence. A server using this adapter still installs Elysia; application metadata
|
|
@@ -642,7 +642,7 @@ Lightweight error class carrying HTTP `status`, machine-readable `code`, and
|
|
|
642
642
|
optional structured `details`.
|
|
643
643
|
|
|
644
644
|
The adapter registers `ApplicationError` and `SchemaContractError` in Elysia
|
|
645
|
-
2.0's native error dictionary (`app.
|
|
645
|
+
2.0's native error dictionary (`app.onError(ErrorClass, handler)`). Typed entries
|
|
646
646
|
keep these classes out of the generic catch-all, so route response inference
|
|
647
647
|
stays precise while Elysia (and Eden Treaty) knows the errors are handled. The
|
|
648
648
|
dictionary is exported as `applicationErrorDictionary`, and
|
package/package.json
CHANGED