@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 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
  }
@@ -5,7 +5,6 @@ export declare enum ChecksumAlgorithm {
5
5
  SHA1 = "SHA1",
6
6
  SHA256 = "SHA256",
7
7
  }
8
-
9
8
  export declare enum ChecksumLocation {
10
9
  HEADER = "header",
11
10
  TRAILER = "trailer",
@@ -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
  {
@@ -1,5 +1,4 @@
1
1
  import { ChecksumAlgorithm } from "./constants";
2
-
3
2
  export declare const getChecksumAlgorithmListForResponse: (
4
3
  responseAlgorithms?: string[]
5
4
  ) => ChecksumAlgorithm[];
@@ -1,5 +1,4 @@
1
1
  import { ChecksumAlgorithm } from "./constants";
2
-
3
2
  export declare const getChecksumLocationName: (
4
3
  algorithm: ChecksumAlgorithm
5
4
  ) => string;
@@ -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,3 +1,2 @@
1
1
  import { HeaderBag } from "@aws-sdk/types";
2
-
3
2
  export declare const hasHeader: (header: string, headers: HeaderBag) => boolean;
@@ -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
@@ -1,5 +1,4 @@
1
1
  import { HashConstructor } from "@aws-sdk/types";
2
-
3
2
  export declare const stringHasher: (
4
3
  checksumAlgorithmFn: HashConstructor,
5
4
  body: any
@@ -1,5 +1,3 @@
1
1
  import { ChecksumAlgorithm } from "./constants";
2
-
3
2
  export declare const CLIENT_SUPPORTED_ALGORITHMS: ChecksumAlgorithm[];
4
-
5
3
  export declare const PRIORITY_ORDER_ALGORITHMS: ChecksumAlgorithm[];
@@ -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.170.0",
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.170.0",
27
- "@aws-sdk/types": "3.170.0",
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": {