bxo 0.0.5-dev.36 → 0.0.5-dev.38
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/index.ts +1 -1
- package/package.json +2 -2
package/index.ts
CHANGED
|
@@ -654,7 +654,7 @@ export default class BXO {
|
|
|
654
654
|
const fallbackStatuses = [200, 201, 400, 500];
|
|
655
655
|
for (const fallbackStatus of fallbackStatuses) {
|
|
656
656
|
if (responseConfig[fallbackStatus]) {
|
|
657
|
-
return responseConfig[fallbackStatus]
|
|
657
|
+
return responseConfig[fallbackStatus]?.parse(data);
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bxo",
|
|
3
3
|
"module": "index.ts",
|
|
4
|
-
"version": "0.0.5-dev.
|
|
4
|
+
"version": "0.0.5-dev.38",
|
|
5
5
|
"description": "A simple and lightweight web framework for Bun",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"devDependencies": {
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"typescript": "^5"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"zod": "^
|
|
18
|
+
"zod": "^3.25.76"
|
|
19
19
|
}
|
|
20
20
|
}
|