@cumulus/aws-client 10.0.0-beta.0 → 10.0.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.
Files changed (3) hide show
  1. package/README.md +2 -0
  2. package/S3.js +1 -3
  3. package/package.json +5 -5
package/README.md CHANGED
@@ -858,6 +858,7 @@ Copy an S3 object to another location in S3 using a multipart copy
858
858
  | [params.sourceObject] | <code>AWS.S3.HeadObjectOutput</code> | | Output from https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#headObject-property |
859
859
  | [params.ACL] | <code>string</code> | | an [S3 Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) |
860
860
  | [params.copyTags] | <code>boolean</code> | <code>false</code> | |
861
+ | [params.chunkSize] | <code>number</code> | | chunk size of the S3 multipart uploads |
861
862
 
862
863
  <a name="module_S3..moveObject"></a>
863
864
 
@@ -875,6 +876,7 @@ Move an S3 object to another location in S3
875
876
  | params.destinationKey | <code>string</code> | | |
876
877
  | [params.ACL] | <code>string</code> | | an [S3 Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) |
877
878
  | [params.copyTags] | <code>boolean</code> | <code>false</code> | |
879
+ | [params.chunkSize] | <code>number</code> | | chunk size of the S3 multipart uploads |
878
880
 
879
881
  <a name="module_SNS"></a>
880
882
 
package/S3.js CHANGED
@@ -320,9 +320,7 @@ exports.s3PutObjectTagging = (0, utils_1.improveStackTrace)((Bucket, Key, Taggin
320
320
  * @returns {Promise<AWS.S3.GetObjectOutput>} response from `AWS.S3.getObject()`
321
321
  * as a Promise
322
322
  */
323
- const getObject = (
324
- // eslint-disable-next-line no-shadow
325
- s3Client, params) => s3Client.getObject(params).promise();
323
+ const getObject = (s3Client, params) => s3Client.getObject(params).promise();
326
324
  exports.getObject = getObject;
327
325
  /**
328
326
  * Get an object from S3, waiting for it to exist and, if specified, have the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cumulus/aws-client",
3
- "version": "10.0.0-beta.0",
3
+ "version": "10.0.0",
4
4
  "description": "Utilities for working with AWS",
5
5
  "keywords": [
6
6
  "GIBS",
@@ -43,9 +43,9 @@
43
43
  "author": "Cumulus Authors",
44
44
  "license": "Apache-2.0",
45
45
  "dependencies": {
46
- "@cumulus/checksum": "10.0.0-beta.0",
47
- "@cumulus/errors": "10.0.0-beta.0",
48
- "@cumulus/logger": "10.0.0-beta.0",
46
+ "@cumulus/checksum": "10.0.0",
47
+ "@cumulus/errors": "10.0.0",
48
+ "@cumulus/logger": "10.0.0",
49
49
  "aws-sdk": "^2.814.0",
50
50
  "jsonpath-plus": "^1.1.0",
51
51
  "lodash": "~4.17.20",
@@ -54,5 +54,5 @@
54
54
  "p-wait-for": "^3.1.0",
55
55
  "pump": "^3.0.0"
56
56
  },
57
- "gitHead": "bc283986be627ba06a4084cabd4e01d1540d14c7"
57
+ "gitHead": "7c6d2d1cd79b57d6943bbc3d898d0cf975b543b1"
58
58
  }