Comparing version 2.1.15 to 2.1.16
@@ -20,3 +20,3 @@ /** | ||
*/ | ||
VERSION: '2.1.15', | ||
VERSION: '2.1.16', | ||
@@ -23,0 +23,0 @@ /** |
@@ -729,8 +729,11 @@ /* eslint guard-for-in:0 */ | ||
var operation = req.operation; | ||
var payloadMember = req.service.api.operations[operation].output.payload; | ||
var payload = resp.data[payloadMember]; | ||
if (typeof payloadMember === 'string' && typeof payload === 'object') { | ||
AWS.util.each(payload, function(key, value) { | ||
AWS.util.property(resp.data, key, value, false); | ||
}); | ||
var output = req.service.api.operations[operation].output; | ||
if (output.payload) { | ||
var payloadMember = output.members[output.payload]; | ||
var responsePayload = resp.data[output.payload]; | ||
if (payloadMember.type === 'structure') { | ||
AWS.util.each(responsePayload, function(key, value) { | ||
AWS.util.property(resp.data, key, value, false); | ||
}); | ||
} | ||
} | ||
@@ -737,0 +740,0 @@ } |
{ | ||
"name": "aws-sdk", | ||
"description": "AWS SDK for JavaScript", | ||
"version": "2.1.15", | ||
"version": "2.1.16", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name":"Amazon Web Services", |
@@ -27,3 +27,3 @@ # AWS SDK for JavaScript | ||
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1.15.min.js"></script> | ||
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1.16.min.js"></script> | ||
@@ -30,0 +30,0 @@ The AWS SDK is also compatible with [browserify](http://browserify.org). |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
1683567
66028
0