@cumulus/aws-client 13.4.0 → 14.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.
- package/S3.d.ts +1 -1
- package/SQS.js +1 -1
- 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").
|
|
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": "
|
|
3
|
+
"version": "14.0.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": "
|
|
56
|
-
"@cumulus/errors": "
|
|
57
|
-
"@cumulus/logger": "
|
|
55
|
+
"@cumulus/checksum": "14.0.0",
|
|
56
|
+
"@cumulus/errors": "14.0.0",
|
|
57
|
+
"@cumulus/logger": "14.0.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": "
|
|
72
|
+
"gitHead": "bc0cd0857e007b64e4e8809f7de16a4aeb1e6840"
|
|
73
73
|
}
|