@aws-sdk/middleware-flexible-checksums 3.170.0 → 3.178.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 +16 -0
- package/dist-types/ts3.4/configuration.d.ts +0 -6
- package/dist-types/ts3.4/constants.d.ts +0 -1
- package/dist-types/ts3.4/getChecksumAlgorithmForRequest.d.ts +0 -2
- package/dist-types/ts3.4/getChecksumAlgorithmListForResponse.d.ts +0 -1
- package/dist-types/ts3.4/getChecksumLocationName.d.ts +0 -1
- package/dist-types/ts3.4/getFlexibleChecksumsPlugin.d.ts +0 -4
- package/dist-types/ts3.4/hasHeader.d.ts +0 -1
- package/dist-types/ts3.4/selectChecksumAlgorithmFunction.d.ts +0 -1
- package/dist-types/ts3.4/stringHasher.d.ts +0 -1
- package/dist-types/ts3.4/types.d.ts +0 -2
- package/dist-types/ts3.4/validateChecksumFromResponse.d.ts +0 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.178.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.177.0...v3.178.0) (2022-09-23)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/middleware-flexible-checksums
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/middleware-flexible-checksums
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aws-sdk/middleware-flexible-checksums
|
|
@@ -7,16 +7,10 @@ import {
|
|
|
7
7
|
} from "@aws-sdk/types";
|
|
8
8
|
export interface PreviouslyResolved {
|
|
9
9
|
base64Encoder: Encoder;
|
|
10
|
-
|
|
11
10
|
bodyLengthChecker: BodyLengthCalculator;
|
|
12
|
-
|
|
13
11
|
getAwsChunkedEncodingStream: GetAwsChunkedEncodingStream;
|
|
14
|
-
|
|
15
12
|
md5: HashConstructor;
|
|
16
|
-
|
|
17
13
|
sha1: HashConstructor;
|
|
18
|
-
|
|
19
14
|
sha256: HashConstructor;
|
|
20
|
-
|
|
21
15
|
streamHasher: StreamHasher<any>;
|
|
22
16
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { ChecksumAlgorithm } from "./constants";
|
|
2
2
|
export interface GetChecksumAlgorithmForRequestOptions {
|
|
3
3
|
requestChecksumRequired: boolean;
|
|
4
|
-
|
|
5
4
|
requestAlgorithmMember?: string;
|
|
6
5
|
}
|
|
7
|
-
|
|
8
6
|
export declare const getChecksumAlgorithmForRequest: (
|
|
9
7
|
input: any,
|
|
10
8
|
{
|
|
@@ -3,13 +3,9 @@ import { PreviouslyResolved } from "./configuration";
|
|
|
3
3
|
export declare const flexibleChecksumsMiddlewareOptions: BuildHandlerOptions;
|
|
4
4
|
export interface FlexibleChecksumsMiddlewareConfig {
|
|
5
5
|
input: Object;
|
|
6
|
-
|
|
7
6
|
requestChecksumRequired: boolean;
|
|
8
|
-
|
|
9
7
|
requestAlgorithmMember?: string;
|
|
10
|
-
|
|
11
8
|
requestValidationModeMember?: string;
|
|
12
|
-
|
|
13
9
|
responseAlgorithms?: string[];
|
|
14
10
|
}
|
|
15
11
|
export declare const getFlexibleChecksumsPlugin: (
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { HashConstructor } from "@aws-sdk/types";
|
|
2
2
|
import { PreviouslyResolved } from "./configuration";
|
|
3
3
|
import { ChecksumAlgorithm } from "./constants";
|
|
4
|
-
|
|
5
4
|
export declare const selectChecksumAlgorithmFunction: (
|
|
6
5
|
checksumAlgorithm: ChecksumAlgorithm,
|
|
7
6
|
config: PreviouslyResolved
|
|
@@ -2,7 +2,6 @@ import { HttpResponse } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { PreviouslyResolved } from "./configuration";
|
|
3
3
|
export interface ValidateChecksumFromResponseOptions {
|
|
4
4
|
config: PreviouslyResolved;
|
|
5
|
-
|
|
6
5
|
responseAlgorithms?: string[];
|
|
7
6
|
}
|
|
8
7
|
export declare const validateChecksumFromResponse: (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-flexible-checksums",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.178.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"@aws-crypto/crc32": "2.0.0",
|
|
24
24
|
"@aws-crypto/crc32c": "2.0.0",
|
|
25
25
|
"@aws-sdk/is-array-buffer": "3.170.0",
|
|
26
|
-
"@aws-sdk/protocol-http": "3.
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
26
|
+
"@aws-sdk/protocol-http": "3.178.0",
|
|
27
|
+
"@aws-sdk/types": "3.178.0",
|
|
28
28
|
"tslib": "^2.3.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|