@aws-sdk/types 3.40.0 → 3.46.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/shapes.d.ts +5 -0
- package/dist-types/ts3.4/shapes.d.ts +3 -0
- package/package.json +3 -6
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.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **middleware-signing:** correct clock skew from error response ([#3133](https://github.com/aws/aws-sdk-js-v3/issues/3133)) ([7a207a9](https://github.com/aws/aws-sdk-js-v3/commit/7a207a9d3173631f62f8b90ee1fbd7f68342133a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **packages:** end support for Node.js 10.x ([#3141](https://github.com/aws/aws-sdk-js-v3/issues/3141)) ([1a62865](https://github.com/aws/aws-sdk-js-v3/commit/1a6286513f7cdb556708845c512861c5f92eb883))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aws-sdk/types
|
package/dist-types/shapes.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HttpResponse } from "./http";
|
|
1
2
|
import { MetadataBearer } from "./response";
|
|
2
3
|
/**
|
|
3
4
|
* A document type represents an untyped JSON-like value.
|
|
@@ -41,5 +42,9 @@ export interface SmithyException {
|
|
|
41
42
|
* Indicates that an error MAY be retried by the client.
|
|
42
43
|
*/
|
|
43
44
|
readonly $retryable?: RetryableTrait;
|
|
45
|
+
/**
|
|
46
|
+
* Reference to low-level HTTP response object.
|
|
47
|
+
*/
|
|
48
|
+
readonly $response?: HttpResponse;
|
|
44
49
|
}
|
|
45
50
|
export declare type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HttpResponse } from "./http";
|
|
1
2
|
import { MetadataBearer } from "./response";
|
|
2
3
|
|
|
3
4
|
export declare type DocumentType = null | boolean | number | string | DocumentType[] | {
|
|
@@ -18,5 +19,7 @@ export interface SmithyException {
|
|
|
18
19
|
readonly $service?: string;
|
|
19
20
|
|
|
20
21
|
readonly $retryable?: RetryableTrait;
|
|
22
|
+
|
|
23
|
+
readonly $response?: HttpResponse;
|
|
21
24
|
}
|
|
22
25
|
export declare type SdkError = Error & Partial<SmithyException> & Partial<MetadataBearer>;
|
package/package.json
CHANGED
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.46.0",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"module": "./dist-es/index.js",
|
|
6
6
|
"types": "./dist-types/index.d.ts",
|
|
7
7
|
"description": "Types for the AWS SDK",
|
|
8
|
-
"devDependencies": {
|
|
9
|
-
"typescript": "~4.3.5"
|
|
10
|
-
},
|
|
11
8
|
"scripts": {
|
|
12
9
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
13
10
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
14
11
|
"build:es": "tsc -p tsconfig.es.json",
|
|
15
12
|
"build:types": "tsc -p tsconfig.types.json",
|
|
16
|
-
"downlevel
|
|
13
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
17
14
|
"test": "exit 0"
|
|
18
15
|
},
|
|
19
16
|
"author": {
|
|
@@ -22,7 +19,7 @@
|
|
|
22
19
|
},
|
|
23
20
|
"license": "Apache-2.0",
|
|
24
21
|
"engines": {
|
|
25
|
-
"node": ">=
|
|
22
|
+
"node": ">= 12.0.0"
|
|
26
23
|
},
|
|
27
24
|
"typesVersions": {
|
|
28
25
|
"<4.0": {
|