@cumulus/aws-client 13.3.2 → 13.3.3-alpha.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 (4) hide show
  1. package/S3.d.ts +2 -2
  2. package/S3.js +1 -1
  3. package/SQS.js +1 -1
  4. package/package.json +5 -5
package/S3.d.ts CHANGED
@@ -135,7 +135,7 @@ export declare const promiseS3Upload: (params: Omit<UploadOptions, 'client'>) =>
135
135
  * @param {Object} uploadParams
136
136
  * @returns {Promise}
137
137
  */
138
- export declare const streamS3Upload: (uploadStream: Readable, uploadParams: UploadOptions) => Promise<import("@aws-sdk/client-s3").CompleteMultipartUploadCommandOutput | import("@aws-sdk/client-s3").AbortMultipartUploadCommandOutput>;
138
+ export declare const streamS3Upload: (uploadStream: Readable, uploadParams: UploadOptions) => Promise<import("@aws-sdk/client-s3").AbortMultipartUploadCommandOutput | import("@aws-sdk/client-s3").CompleteMultipartUploadCommandOutput>;
139
139
  /**
140
140
  * Get a readable stream for an S3 object
141
141
  *
@@ -418,7 +418,7 @@ export declare const multipartCopyObject: (params: {
418
418
  destinationBucket: string;
419
419
  destinationKey: string;
420
420
  sourceObject?: HeadObjectOutput;
421
- ACL?: ObjectCannedACL;
421
+ ACL?: ObjectCannedACL | string;
422
422
  copyTags?: boolean;
423
423
  chunkSize?: number;
424
424
  }) => Promise<{
package/S3.js CHANGED
@@ -813,7 +813,7 @@ const multipartCopyObject = async (params) => {
813
813
  sourceKey,
814
814
  destinationBucket,
815
815
  destinationKey,
816
- ACL,
816
+ ACL: ACL,
817
817
  copyTags,
818
818
  contentType: sourceObject.ContentType,
819
819
  });
package/SQS.js CHANGED
@@ -158,7 +158,7 @@ const receiveSQSMessages = async (queueUrl, options) => {
158
158
  return ((_a = messages.Messages) !== null && _a !== void 0 ? _a : []);
159
159
  };
160
160
  exports.receiveSQSMessages = receiveSQSMessages;
161
- const parseSQSMessageBody = (message) => JSON.parse((0, get_1.default)(message, 'Body', (0, get_1.default)(message, 'body', '{}')));
161
+ const parseSQSMessageBody = (message) => { var _a; return JSON.parse((_a = (0, get_1.default)(message, 'Body', (0, get_1.default)(message, 'body'))) !== null && _a !== void 0 ? _a : '{}'); };
162
162
  exports.parseSQSMessageBody = parseSQSMessageBody;
163
163
  /**
164
164
  * Delete a given SQS message from a given queue.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cumulus/aws-client",
3
- "version": "13.3.2",
3
+ "version": "13.3.3-alpha.0",
4
4
  "description": "Utilities for working with AWS",
5
5
  "keywords": [
6
6
  "GIBS",
@@ -52,9 +52,9 @@
52
52
  "@aws-sdk/s3-request-presigner": "^3.58.0",
53
53
  "@aws-sdk/signature-v4-crt": "^3.58.0",
54
54
  "@aws-sdk/types": "^3.58.0",
55
- "@cumulus/checksum": "13.3.2",
56
- "@cumulus/errors": "13.3.2",
57
- "@cumulus/logger": "13.3.2",
55
+ "@cumulus/checksum": "13.3.3-alpha.0",
56
+ "@cumulus/errors": "13.3.3-alpha.0",
57
+ "@cumulus/logger": "13.3.3-alpha.0",
58
58
  "aws-sdk": "^2.585.0",
59
59
  "jsonpath-plus": "^1.1.0",
60
60
  "lodash": "~4.17.21",
@@ -69,5 +69,5 @@
69
69
  "devDependencies": {
70
70
  "@types/uuid": "^8.0.0"
71
71
  },
72
- "gitHead": "92e11b2cb9933847560d1714f4e0364c6a1be6d8"
72
+ "gitHead": "ff4b3cf70398a2e93e65a861451954973e4cf29c"
73
73
  }