@cumulus/aws-client 13.4.0 → 14.1.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/S3.d.ts +1 -1
  2. package/SQS.js +1 -1
  3. 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").AbortMultipartUploadCommandOutput | import("@aws-sdk/client-s3").CompleteMultipartUploadCommandOutput>;
138
+ export declare const streamS3Upload: (uploadStream: Readable, uploadParams: UploadOptions) => Promise<import("@aws-sdk/client-s3").CompleteMultipartUploadCommandOutput | import("@aws-sdk/client-s3").AbortMultipartUploadCommandOutput>;
139
139
  /**
140
140
  * Get a readable stream for an S3 object
141
141
  *
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.4.0",
3
+ "version": "14.1.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.4.0",
56
- "@cumulus/errors": "13.4.0",
57
- "@cumulus/logger": "13.4.0",
55
+ "@cumulus/checksum": "14.1.0",
56
+ "@cumulus/errors": "14.1.0",
57
+ "@cumulus/logger": "14.1.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": "cd4377ccf97a1daba19775fb95f9f7fa0f2a29f3"
72
+ "gitHead": "d97b5b37913944c0f0ecf958f2a567ec3714816c"
73
73
  }