@myxtra/microservice 1.31.0 → 1.32.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/dist/index.mjs +6 -0
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -10214,6 +10214,12 @@ var zod = (app, options, done) => {
|
|
|
10214
10214
|
problemJson.formErrors.push(message);
|
|
10215
10215
|
}
|
|
10216
10216
|
});
|
|
10217
|
+
console.log("Zod validation error:", {
|
|
10218
|
+
url: request.url,
|
|
10219
|
+
method: request.method,
|
|
10220
|
+
validation: error.validation,
|
|
10221
|
+
problemJson
|
|
10222
|
+
});
|
|
10217
10223
|
return reply.status(400).send({
|
|
10218
10224
|
url: request.url,
|
|
10219
10225
|
name: "BAD_REQUEST",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myxtra/microservice",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.0",
|
|
4
4
|
"main": "./dist/index.mjs",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"typecheck": "tsc --noEmit"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@myxtra/api": "1.
|
|
23
|
+
"@myxtra/api": "1.31.0",
|
|
24
24
|
"@sentry/node": "^9.24.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|