@techspokes/typescript-wsdl-client 0.11.0 → 0.11.1
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.
|
@@ -467,7 +467,7 @@ export function classifyError(err: unknown): ClassifiedError {
|
|
|
467
467
|
httpStatus: 400,
|
|
468
468
|
code: "VALIDATION_ERROR",
|
|
469
469
|
message: "Request validation failed",
|
|
470
|
-
details: (err as Record<string, unknown>).validation,
|
|
470
|
+
details: { validationErrors: (err as Record<string, unknown>).validation },
|
|
471
471
|
};
|
|
472
472
|
}
|
|
473
473
|
|
|
@@ -494,7 +494,7 @@ export function classifyError(err: unknown): ClassifiedError {
|
|
|
494
494
|
httpStatus: 503,
|
|
495
495
|
code: "SERVICE_UNAVAILABLE",
|
|
496
496
|
message: "Unable to connect to SOAP service",
|
|
497
|
-
details: err.message,
|
|
497
|
+
details: { message: err.message },
|
|
498
498
|
};
|
|
499
499
|
}
|
|
500
500
|
if (err.message.includes("ETIMEDOUT") || err.message.includes("timeout")) {
|
|
@@ -502,7 +502,7 @@ export function classifyError(err: unknown): ClassifiedError {
|
|
|
502
502
|
httpStatus: 504,
|
|
503
503
|
code: "GATEWAY_TIMEOUT",
|
|
504
504
|
message: "SOAP service request timed out",
|
|
505
|
-
details: err.message,
|
|
505
|
+
details: { message: err.message },
|
|
506
506
|
};
|
|
507
507
|
}
|
|
508
508
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@techspokes/typescript-wsdl-client",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Generate type-safe TypeScript SOAP clients, OpenAPI 3.1 specs, and production-ready Fastify REST gateways from WSDL/XSD definitions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wsdl",
|