sst-http 1.3.0 → 1.3.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/dist/index.cjs CHANGED
@@ -276,6 +276,7 @@ function createHandler() {
276
276
  try {
277
277
  bodyValue = schema.parse(current);
278
278
  } catch (error) {
279
+ console.error("[ERROR] Body validation failed", error);
279
280
  throw new HttpError(400, "Body validation failed", { cause: error });
280
281
  }
281
282
  }
package/dist/index.js CHANGED
@@ -225,6 +225,7 @@ function createHandler() {
225
225
  try {
226
226
  bodyValue = schema.parse(current);
227
227
  } catch (error) {
228
+ console.error("[ERROR] Body validation failed", error);
228
229
  throw new HttpError(400, "Body validation failed", { cause: error });
229
230
  }
230
231
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sst-http",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Decorator-based routing for SST v3 with a single Lambda and Firebase JWT authorizer.",
5
5
  "license": "MIT",
6
6
  "author": "",