@aws-sdk/hash-stream-node
Advanced tools
Comparing version 1.0.0-beta.2 to 1.0.0-beta.3
@@ -25,6 +25,3 @@ "use strict"; | ||
hashCalculator.on("finish", function () { | ||
hash | ||
.digest() | ||
.then(resolve) | ||
.catch(reject); | ||
hash.digest().then(resolve).catch(reject); | ||
}); | ||
@@ -36,2 +33,2 @@ }); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSx1REFBbUQ7QUFDbkQsMkJBQWtEO0FBR3JDLFFBQUEsZ0JBQWdCLEdBQTJCLFNBQVMsZ0JBQWdCLENBQy9FLFFBQXlCLEVBQ3pCLFVBQW9CO0lBRXBCLE9BQU8sSUFBSSxPQUFPLENBQUMsQ0FBQyxPQUFPLEVBQUUsTUFBTSxFQUFFLEVBQUU7UUFDckMsSUFBSSxDQUFDLFlBQVksQ0FBQyxVQUFVLENBQUMsRUFBRTtZQUM3QixNQUFNLENBQUMsSUFBSSxLQUFLLENBQUMsZ0RBQWdELENBQUMsQ0FBQyxDQUFDO1lBQ3BFLE9BQU87U0FDUjtRQUVELE1BQU0sYUFBYSxHQUFHLHFCQUFnQixDQUFDLFVBQVUsQ0FBQyxJQUFJLEVBQUU7WUFDdEQsS0FBSyxFQUFHLFVBQWtCLENBQUMsS0FBSztZQUNoQyxHQUFHLEVBQUcsVUFBa0IsQ0FBQyxHQUFHO1NBQzdCLENBQUMsQ0FBQztRQUVILE1BQU0sSUFBSSxHQUFHLElBQUksUUFBUSxFQUFFLENBQUM7UUFDNUIsTUFBTSxjQUFjLEdBQUcsSUFBSSxnQ0FBYyxDQUFDLElBQUksQ0FBQyxDQUFDO1FBRWhELGFBQWEsQ0FBQyxJQUFJLENBQUMsY0FBYyxDQUFDLENBQUM7UUFDbkMsYUF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O1xuICAgIH0pO1xuICAgIGhhc2hDYWxjdWxhdG9yLm9uKFwiZXJyb3JcIiwgcmVqZWN0KTtcbiAgICBoYXNoQ2FsY3VsYXRvci5vbihcImZpbmlzaFwiLCBmdW5jdGlvbiAodGhpczogSGFzaENhbGN1bGF0b3IpIHtcbiAgICAgIGhhc2guZGlnZXN0KCkudGhlbihyZXNvbHZlKS5jYXRjaChyZWplY3QpO1xuICAgIH0pO1xuICB9KTtcbn07XG5cbmZ1bmN0aW9uIGlzUmVhZFN0cmVhbShzdHJlYW06IFJlYWRhYmxlKTogc3RyZWFtIGlzIFJlYWRTdHJlYW0ge1xuICByZXR1cm4gdHlwZW9mIChzdHJlYW0gYXMgUmVhZFN0cmVhbSkucGF0aCA9PT0gXCJzdHJpbmdcIjtcbn1cbiJdfQ== |
@@ -6,2 +6,89 @@ # Change Log | ||
# [1.0.0-beta.3](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/hash-stream-node@0.1.0-preview.3...@aws-sdk/hash-stream-node@1.0.0-beta.3) (2020-04-25) | ||
# 1.0.0-beta.2 (2020-03-28) | ||
# 1.0.0-beta.1 (2020-03-25) | ||
### Features | ||
* bump packages to beta ([#1050](https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) | ||
# 1.0.0-alpha.28 (2020-03-20) | ||
# 1.0.0-alpha.24 (2020-02-19) | ||
# 1.0.0-alpha.21 (2020-02-11) | ||
# 1.0.0-alpha.14 (2020-01-28) | ||
### Features | ||
* rename calculateSha256 ([#790](https://github.com/aws/aws-sdk-js-v3/issues/790)) ([ba66532](https://github.com/aws/aws-sdk-js-v3/commit/ba66532d155445d1ca006b5585418b53e001c8f6)) | ||
# 1.0.0-alpha.13 (2020-01-24) | ||
# 1.0.0-alpha.12 (2020-01-22) | ||
# 1.0.0-alpha.8 (2020-01-16) | ||
# 0.9.0 (2020-01-09) | ||
# 0.6.0 (2019-10-30) | ||
# 0.4.0 (2019-09-19) | ||
# 0.3.0 (2019-09-09) | ||
### Features | ||
* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) | ||
# 0.2.0 (2019-07-12) | ||
### Features | ||
* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) | ||
* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) | ||
# 0.1.0 (2019-04-19) | ||
# [1.0.0-beta.2](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/hash-stream-node@0.1.0-preview.3...@aws-sdk/hash-stream-node@1.0.0-beta.2) (2020-03-28) | ||
@@ -8,0 +95,0 @@ |
{ | ||
"name": "@aws-sdk/hash-stream-node", | ||
"version": "1.0.0-beta.2", | ||
"version": "1.0.0-beta.3", | ||
"scripts": { | ||
@@ -17,3 +17,3 @@ "prepublishOnly": "tsc", | ||
"dependencies": { | ||
"@aws-sdk/types": "^1.0.0-beta.2", | ||
"@aws-sdk/types": "^1.0.0-beta.3", | ||
"tslib": "^1.8.0" | ||
@@ -20,0 +20,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37108
81
Updated@aws-sdk/types@^1.0.0-beta.3