@aws-sdk/smithy-client
Advanced tools
Comparing version 3.272.0 to 3.279.0
@@ -9,3 +9,3 @@ "use strict"; | ||
const response = new exceptionCtor({ | ||
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknownError", | ||
name: (parsedBody === null || parsedBody === void 0 ? void 0 : parsedBody.code) || (parsedBody === null || parsedBody === void 0 ? void 0 : parsedBody.Code) || errorCode || statusCode || "UnknownError", | ||
$fault: "client", | ||
@@ -12,0 +12,0 @@ $metadata, |
@@ -6,3 +6,3 @@ import { decorateServiceException } from "./exceptions"; | ||
const response = new exceptionCtor({ | ||
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknownError", | ||
name: parsedBody?.code || parsedBody?.Code || errorCode || statusCode || "UnknownError", | ||
$fault: "client", | ||
@@ -9,0 +9,0 @@ $metadata, |
{ | ||
"name": "@aws-sdk/smithy-client", | ||
"version": "3.272.0", | ||
"version": "3.279.0", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
107860