aws-sdk 2.804.0 → 2.805.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/lib/core.js CHANGED
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.804.0',
23
+ VERSION: '2.805.0',
24
24
 
25
25
  /**
26
26
  * @api private
@@ -1079,9 +1079,13 @@ AWS.util.update(AWS.S3.prototype, {
1079
1079
  config.getCredentials(function (err) {
1080
1080
  if (err) {
1081
1081
  callback(err);
1082
+ } else {
1083
+ try {
1084
+ callback(null, finalizePost());
1085
+ } catch (err) {
1086
+ callback(err);
1087
+ }
1082
1088
  }
1083
-
1084
- callback(null, finalizePost());
1085
1089
  });
1086
1090
  } else {
1087
1091
  return finalizePost();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aws-sdk",
3
3
  "description": "AWS SDK for JavaScript",
4
- "version": "2.804.0",
4
+ "version": "2.805.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",