File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/middleware-flexible-checksums/src Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 9
9
StreamHasher ,
10
10
} from "@smithy/types" ;
11
11
12
+ import { RequestChecksumCalculation } from "./constants" ;
13
+
12
14
export interface PreviouslyResolved {
13
15
/**
14
16
* The function that will be used to convert binary data to a base64-encoded string.
@@ -35,7 +37,7 @@ export interface PreviouslyResolved {
35
37
/**
36
38
* Determines when a checksum will be calculated for request payloads
37
39
*/
38
- requestChecksumCalculation : Provider < string > ;
40
+ requestChecksumCalculation : Provider < RequestChecksumCalculation > ;
39
41
40
42
/**
41
43
* A constructor for a class implementing the {@link Hash} interface that computes SHA1 hashes.
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export interface GetChecksumAlgorithmForRequestOptions {
20
20
/**
21
21
* Determines when a checksum will be calculated for request payloads
22
22
*/
23
- requestChecksumCalculation : string ;
23
+ requestChecksumCalculation : RequestChecksumCalculation ;
24
24
}
25
25
26
26
/**
You can’t perform that action at this time.
0 commit comments