bxo 0.0.5-dev.37 → 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.
Files changed (2) hide show
  1. package/index.ts +1 -1
  2. package/package.json +1 -1
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].parse(data);
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.37",
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": {