@aws-sdk/types 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 +11 -0
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/stream.js +2 -0
- package/dist-es/index.js +1 -0
- package/dist-es/stream.js +1 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/stream.d.ts +16 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/stream.d.ts +13 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **util-stream:** add getAwsChunkedEncodingStream ([#3339](https://github.com/aws/aws-sdk-js-v3/issues/3339)) ([42d433b](https://github.com/aws/aws-sdk-js-v3/commit/42d433b274eeeb38db268af4d6d48c972fc10486))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/types
|
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,7 @@ tslib_1.__exportStar(require("./response"), exports);
|
|
|
15
15
|
tslib_1.__exportStar(require("./serde"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./shapes"), exports);
|
|
17
17
|
tslib_1.__exportStar(require("./signature"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./stream"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./transfer"), exports);
|
|
19
20
|
tslib_1.__exportStar(require("./util"), exports);
|
|
20
21
|
tslib_1.__exportStar(require("./waiter"), exports);
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HashConstructor, StreamHasher } from "./crypto";
|
|
2
|
+
import { Encoder } from "./util";
|
|
3
|
+
export interface GetAwsChunkedEncodingStreamOptions {
|
|
4
|
+
base64Encoder?: Encoder;
|
|
5
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
6
|
+
checksumAlgorithmFn?: HashConstructor;
|
|
7
|
+
checksumLocationName?: string;
|
|
8
|
+
streamHasher?: StreamHasher;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A function that returns Readable Stream which follows aws-chunked encoding stream.
|
|
12
|
+
* It optionally adds checksum if options are provided.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetAwsChunkedEncodingStream<StreamType = any> {
|
|
15
|
+
(readableStream: StreamType, options: GetAwsChunkedEncodingStreamOptions): StreamType;
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HashConstructor, StreamHasher } from "./crypto";
|
|
2
|
+
import { Encoder } from "./util";
|
|
3
|
+
export interface GetAwsChunkedEncodingStreamOptions {
|
|
4
|
+
base64Encoder?: Encoder;
|
|
5
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
6
|
+
checksumAlgorithmFn?: HashConstructor;
|
|
7
|
+
checksumLocationName?: string;
|
|
8
|
+
streamHasher?: StreamHasher;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface GetAwsChunkedEncodingStream<StreamType = any> {
|
|
12
|
+
(readableStream: StreamType, options: GetAwsChunkedEncodingStreamOptions): StreamType;
|
|
13
|
+
}
|