@aws-sdk/credential-provider-env 3.19.0 → 3.25.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,47 @@
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.25.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.24.0...v3.25.0) (2021-08-05)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/credential-provider-env
9
+
10
+
11
+
12
+
13
+
14
+ # [3.23.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.22.0...v3.23.0) (2021-07-23)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * bump up tslib to 2.3.0 ([#2601](https://github.com/aws/aws-sdk-js-v3/issues/2601)) ([7040faa](https://github.com/aws/aws-sdk-js-v3/commit/7040faac07976c1dcfd5240675b82a2f275b2a55))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.22.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.21.0...v3.22.0) (2021-07-16)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **clients:** prefix `dist/` for typesVersions TS<4 ([#2580](https://github.com/aws/aws-sdk-js-v3/issues/2580)) ([dff5cd4](https://github.com/aws/aws-sdk-js-v3/commit/dff5cd4b6fa00453e938ce8f238c1542ee7ba3d6))
31
+
32
+
33
+
34
+
35
+
36
+ # [3.20.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.19.0...v3.20.0) (2021-07-02)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * replace prepublishOnly script with downlevel-dts ([#2537](https://github.com/aws/aws-sdk-js-v3/issues/2537)) ([63818a1](https://github.com/aws/aws-sdk-js-v3/commit/63818a1e47b08af56f092031a01bbbff0a9af590))
42
+
43
+
44
+
45
+
46
+
6
47
  # [3.19.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.18.0...v3.19.0) (2021-06-24)
7
48
 
8
49
 
@@ -0,0 +1,11 @@
1
+ import { CredentialProvider } from "@aws-sdk/types";
2
+ export declare const ENV_KEY = "AWS_ACCESS_KEY_ID";
3
+ export declare const ENV_SECRET = "AWS_SECRET_ACCESS_KEY";
4
+ export declare const ENV_SESSION = "AWS_SESSION_TOKEN";
5
+ export declare const ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION";
6
+ /**
7
+ * Source AWS credentials from known environment variables. If either the
8
+ * `AWS_ACCESS_KEY_ID` or `AWS_SECRET_ACCESS_KEY` environment variable is not
9
+ * set in this process, the provider will return a rejected promise.
10
+ */
11
+ export declare function fromEnv(): CredentialProvider;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.19.0",
3
+ "version": "3.25.0",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/es/index.js",
7
7
  "scripts": {
8
- "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
9
8
  "build:cjs": "tsc -p tsconfig.cjs.json",
10
9
  "build:es": "tsc -p tsconfig.es.json",
11
10
  "build": "yarn build:es && yarn build:cjs",
11
+ "downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
12
12
  "test": "jest"
13
13
  },
14
14
  "keywords": [
@@ -21,9 +21,9 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/property-provider": "3.19.0",
25
- "@aws-sdk/types": "3.18.0",
26
- "tslib": "^2.0.0"
24
+ "@aws-sdk/property-provider": "3.25.0",
25
+ "@aws-sdk/types": "3.25.0",
26
+ "tslib": "^2.3.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/jest": "^26.0.4",
@@ -37,8 +37,8 @@
37
37
  },
38
38
  "typesVersions": {
39
39
  "<4.0": {
40
- "types/*": [
41
- "types/ts3.4/*"
40
+ "dist/types/*": [
41
+ "dist/types/ts3.4/*"
42
42
  ]
43
43
  }
44
44
  },