@aws-sdk/credential-provider-ini 3.972.61 → 3.973.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/dist-cjs/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  const { CredentialsProviderError, chain, getProfileName, parseKnownFiles } = require("@smithy/core/config");
2
2
  const { setCredentialFeature } = require("@aws-sdk/core/client");
3
- const { fromLoginCredentials } = require("@aws-sdk/credential-provider-login");
4
3
 
5
4
  const resolveCredentialSource = (credentialSource, profileName, logger) => {
6
5
  const sourceProvidersMap = {
@@ -112,6 +111,7 @@ const isLoginProfile = (data) => {
112
111
  return Boolean(data && data.login_session);
113
112
  };
114
113
  const resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
114
+ const { fromLoginCredentials } = require('@aws-sdk/credential-provider-login');
115
115
  const credentials = await fromLoginCredentials({
116
116
  ...options,
117
117
  profile: profileName,
package/dist-es/index.js CHANGED
@@ -1 +1 @@
1
- export * from "./fromIni";
1
+ export { fromIni } from "./fromIni";
@@ -1,9 +1,9 @@
1
1
  import { setCredentialFeature } from "@aws-sdk/core/client";
2
- import { fromLoginCredentials } from "@aws-sdk/credential-provider-login";
3
2
  export const isLoginProfile = (data) => {
4
3
  return Boolean(data && data.login_session);
5
4
  };
6
5
  export const resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
6
+ const { fromLoginCredentials } = await import("@aws-sdk/credential-provider-login");
7
7
  const credentials = await fromLoginCredentials({
8
8
  ...options,
9
9
  profile: profileName,
@@ -1,4 +1,2 @@
1
- /**
2
- * @internal
3
- */
4
- export * from "./fromIni";
1
+ export { fromIni } from "./fromIni";
2
+ export type { FromIniInit } from "./fromIni";
@@ -1 +1,2 @@
1
- export * from "./fromIni";
1
+ export { fromIni } from "./fromIni";
2
+ export { FromIniInit } from "./fromIni";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.972.61",
3
+ "version": "3.973.0",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -28,18 +28,18 @@
28
28
  },
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
- "@aws-sdk/core": "^3.974.28",
32
- "@aws-sdk/credential-provider-env": "^3.972.54",
33
- "@aws-sdk/credential-provider-http": "^3.972.56",
34
- "@aws-sdk/credential-provider-login": "^3.972.60",
35
- "@aws-sdk/credential-provider-process": "^3.972.54",
36
- "@aws-sdk/credential-provider-sso": "^3.972.60",
37
- "@aws-sdk/credential-provider-web-identity": "^3.972.60",
38
- "@aws-sdk/nested-clients": "^3.997.28",
39
- "@aws-sdk/types": "^3.973.15",
40
- "@smithy/core": "^3.29.0",
41
- "@smithy/credential-provider-imds": "^4.4.5",
42
- "@smithy/types": "^4.15.1",
31
+ "@aws-sdk/core": "^3.975.0",
32
+ "@aws-sdk/credential-provider-env": "^3.972.56",
33
+ "@aws-sdk/credential-provider-http": "^3.972.58",
34
+ "@aws-sdk/credential-provider-login": "^3.972.62",
35
+ "@aws-sdk/credential-provider-process": "^3.972.56",
36
+ "@aws-sdk/credential-provider-sso": "^3.973.0",
37
+ "@aws-sdk/credential-provider-web-identity": "^3.972.62",
38
+ "@aws-sdk/nested-clients": "^3.997.30",
39
+ "@aws-sdk/types": "^3.974.0",
40
+ "@smithy/core": "^3.29.2",
41
+ "@smithy/credential-provider-imds": "^4.4.7",
42
+ "@smithy/types": "^4.16.0",
43
43
  "tslib": "^2.6.2"
44
44
  },
45
45
  "devDependencies": {