@aws-sdk/types 3.40.0 → 3.49.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,46 @@
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.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/types
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/types
17
+
18
+
19
+
20
+
21
+
22
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/types
25
+
26
+
27
+
28
+
29
+
30
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * **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))
36
+
37
+
38
+ ### Features
39
+
40
+ * **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))
41
+
42
+
43
+
44
+
45
+
6
46
  # [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
7
47
 
8
48
  **Note:** Version bump only for package @aws-sdk/types
@@ -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,17 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.40.0",
3
+ "version": "3.49.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
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
9
+ "build": "concurrently '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-dts": "downlevel-dts dist-types dist-types/ts3.4",
13
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
14
+ "clean": "rimraf ./dist-*",
17
15
  "test": "exit 0"
18
16
  },
19
17
  "author": {
@@ -22,7 +20,7 @@
22
20
  },
23
21
  "license": "Apache-2.0",
24
22
  "engines": {
25
- "node": ">= 10.0.0"
23
+ "node": ">= 12.0.0"
26
24
  },
27
25
  "typesVersions": {
28
26
  "<4.0": {
@@ -39,5 +37,13 @@
39
37
  "type": "git",
40
38
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
41
39
  "directory": "packages/types"
40
+ },
41
+ "devDependencies": {
42
+ "@tsconfig/recommended": "1.0.1",
43
+ "concurrently": "7.0.0",
44
+ "downlevel-dts": "0.7.0",
45
+ "rimraf": "3.0.2",
46
+ "typedoc": "0.19.2",
47
+ "typescript": "~4.3.5"
42
48
  }
43
49
  }