@aws-sdk/credential-provider-env 3.972.33 → 3.972.35

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/dist-cjs/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var client = require('@aws-sdk/core/client');
4
- var propertyProvider = require('@smithy/property-provider');
4
+ var config = require('@smithy/core/config');
5
5
 
6
6
  const ENV_KEY = "AWS_ACCESS_KEY_ID";
7
7
  const ENV_SECRET = "AWS_SECRET_ACCESS_KEY";
@@ -29,7 +29,7 @@ const fromEnv = (init) => async () => {
29
29
  client.setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS", "g");
30
30
  return credentials;
31
31
  }
32
- throw new propertyProvider.CredentialsProviderError("Unable to find environment variable credentials.", { logger: init?.logger });
32
+ throw new config.CredentialsProviderError("Unable to find environment variable credentials.", { logger: init?.logger });
33
33
  };
34
34
 
35
35
  exports.ENV_ACCOUNT_ID = ENV_ACCOUNT_ID;
@@ -1,5 +1,5 @@
1
1
  import { setCredentialFeature } from "@aws-sdk/core/client";
2
- import { CredentialsProviderError } from "@smithy/property-provider";
2
+ import { CredentialsProviderError } from "@smithy/core/config";
3
3
  export const ENV_KEY = "AWS_ACCESS_KEY_ID";
4
4
  export const ENV_SECRET = "AWS_SECRET_ACCESS_KEY";
5
5
  export const ENV_SESSION = "AWS_SESSION_TOKEN";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.972.33",
3
+ "version": "3.972.35",
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",
@@ -26,9 +26,9 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "^3.974.7",
29
+ "@aws-sdk/core": "^3.974.9",
30
30
  "@aws-sdk/types": "^3.973.8",
31
- "@smithy/property-provider": "^4.2.14",
31
+ "@smithy/core": "^3.24.1",
32
32
  "@smithy/types": "^4.14.1",
33
33
  "tslib": "^2.6.2"
34
34
  },