@aws-sdk/types 3.198.0 → 3.201.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 +22 -0
- package/dist-types/serde.d.ts +3 -3
- package/dist-types/ts3.4/serde.d.ts +1 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
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.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* end support for Node.js 12.x ([#4123](https://github.com/aws/aws-sdk-js-v3/issues/4123)) ([83f913e](https://github.com/aws/aws-sdk-js-v3/commit/83f913ec2ac3878d8726c6964f585550dc5caf3e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **types:** extends check of generic in WithSdkStreamMixin ([#4119](https://github.com/aws/aws-sdk-js-v3/issues/4119)) ([299d245](https://github.com/aws/aws-sdk-js-v3/commit/299d245f63a69324bb973e28be79c055359c4d69))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
# [3.198.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.197.0...v3.198.0) (2022-10-27)
|
|
7
29
|
|
|
8
30
|
|
package/dist-types/serde.d.ts
CHANGED
|
@@ -76,12 +76,12 @@ export interface SdkStreamMixin {
|
|
|
76
76
|
*/
|
|
77
77
|
export declare type SdkStream<BaseStream> = BaseStream & SdkStreamMixin;
|
|
78
78
|
/**
|
|
79
|
-
* Indicates that
|
|
80
|
-
*
|
|
79
|
+
* Indicates that the member of type T with
|
|
80
|
+
* key StreamKey have been extended
|
|
81
81
|
* with the SdkStreamMixin helper methods.
|
|
82
82
|
*/
|
|
83
83
|
export declare type WithSdkStreamMixin<T, StreamKey extends keyof T> = {
|
|
84
|
-
[key in keyof T]:
|
|
84
|
+
[key in keyof T]: key extends StreamKey ? SdkStream<T[StreamKey]> : T[key];
|
|
85
85
|
};
|
|
86
86
|
/**
|
|
87
87
|
* Interface for internal function to inject stream utility functions
|
|
@@ -39,9 +39,7 @@ export interface SdkStreamMixin {
|
|
|
39
39
|
}
|
|
40
40
|
export declare type SdkStream<BaseStream> = BaseStream & SdkStreamMixin;
|
|
41
41
|
export declare type WithSdkStreamMixin<T, StreamKey extends keyof T> = {
|
|
42
|
-
[key in keyof T]:
|
|
43
|
-
? SdkStream<T[StreamKey]>
|
|
44
|
-
: T[key];
|
|
42
|
+
[key in keyof T]: key extends StreamKey ? SdkStream<T[StreamKey]> : T[key];
|
|
45
43
|
};
|
|
46
44
|
export interface SdkStreamMixinInjector {
|
|
47
45
|
(stream: unknown): SdkStreamMixin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.201.0",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"module": "./dist-es/index.js",
|
|
6
6
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"engines": {
|
|
24
|
-
"node": ">=
|
|
24
|
+
"node": ">=14.0.0"
|
|
25
25
|
},
|
|
26
26
|
"typesVersions": {
|
|
27
27
|
"<4.0": {
|