@aws-sdk/lib-storage 3.52.0 → 3.53.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/lib-storage
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/lib-storage
@@ -91,6 +91,10 @@ class Upload extends events_1.EventEmitter {
91
91
  this.uploadedParts.push({
92
92
  PartNumber: dataPart.partNumber,
93
93
  ETag: partResult.ETag,
94
+ ...(partResult.ChecksumCRC32 && { ChecksumCRC32: partResult.ChecksumCRC32 }),
95
+ ...(partResult.ChecksumCRC32C && { ChecksumCRC32C: partResult.ChecksumCRC32C }),
96
+ ...(partResult.ChecksumSHA1 && { ChecksumSHA1: partResult.ChecksumSHA1 }),
97
+ ...(partResult.ChecksumSHA256 && { ChecksumSHA256: partResult.ChecksumSHA256 }),
94
98
  });
95
99
  this.bytesUploadedSoFar += bytelength_1.byteLength(dataPart.data);
96
100
  this.__notifyProgress({
package/dist-es/Upload.js CHANGED
@@ -137,10 +137,7 @@ var Upload = (function (_super) {
137
137
  if (this.abortController.signal.aborted) {
138
138
  return [2];
139
139
  }
140
- this.uploadedParts.push({
141
- PartNumber: dataPart.partNumber,
142
- ETag: partResult.ETag,
143
- });
140
+ this.uploadedParts.push(__assign(__assign(__assign(__assign({ PartNumber: dataPart.partNumber, ETag: partResult.ETag }, (partResult.ChecksumCRC32 && { ChecksumCRC32: partResult.ChecksumCRC32 })), (partResult.ChecksumCRC32C && { ChecksumCRC32C: partResult.ChecksumCRC32C })), (partResult.ChecksumSHA1 && { ChecksumSHA1: partResult.ChecksumSHA1 })), (partResult.ChecksumSHA256 && { ChecksumSHA256: partResult.ChecksumSHA256 })));
144
141
  this.bytesUploadedSoFar += byteLength(dataPart.data);
145
142
  this.__notifyProgress({
146
143
  loaded: this.bytesUploadedSoFar,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/lib-storage",
3
- "version": "3.52.0",
3
+ "version": "3.53.0",
4
4
  "description": "Storage higher order operation",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -33,8 +33,8 @@
33
33
  "@aws-sdk/client-s3": "^3.0.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@aws-sdk/abort-controller": "3.52.0",
37
- "@aws-sdk/client-s3": "3.52.0",
36
+ "@aws-sdk/abort-controller": "3.53.0",
37
+ "@aws-sdk/client-s3": "3.53.0",
38
38
  "@tsconfig/recommended": "1.0.1",
39
39
  "@types/node": "^14.11.2",
40
40
  "concurrently": "7.0.0",