@aws-sdk/credential-provider-web-identity 3.713.0 → 3.714.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.
@@ -33,14 +33,10 @@ const fromWebToken = (init) => async (awsIdentityProperties) => {
33
33
  roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
34
34
  ...init.clientConfig,
35
35
  credentialProviderLogger: init.logger,
36
- ...(awsIdentityProperties?.callerClientConfig?.region || init.parentClientConfig
37
- ? {
38
- parentClientConfig: {
39
- region: awsIdentityProperties?.callerClientConfig?.region,
40
- ...init.parentClientConfig,
41
- },
42
- }
43
- : {}),
36
+ parentClientConfig: {
37
+ ...awsIdentityProperties?.callerClientConfig,
38
+ ...init.parentClientConfig,
39
+ },
44
40
  }, init.clientPlugins);
45
41
  }
46
42
  return roleAssumerWithWebIdentity({
@@ -7,14 +7,10 @@ export const fromWebToken = (init) => async (awsIdentityProperties) => {
7
7
  roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
8
8
  ...init.clientConfig,
9
9
  credentialProviderLogger: init.logger,
10
- ...(awsIdentityProperties?.callerClientConfig?.region || init.parentClientConfig
11
- ? {
12
- parentClientConfig: {
13
- region: awsIdentityProperties?.callerClientConfig?.region,
14
- ...init.parentClientConfig,
15
- },
16
- }
17
- : {}),
10
+ parentClientConfig: {
11
+ ...awsIdentityProperties?.callerClientConfig,
12
+ ...init.parentClientConfig,
13
+ },
18
14
  }, init.clientPlugins);
19
15
  }
20
16
  return roleAssumerWithWebIdentity({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.713.0",
3
+ "version": "3.714.0",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "license": "Apache-2.0",
35
35
  "dependencies": {
36
- "@aws-sdk/core": "3.713.0",
37
- "@aws-sdk/types": "3.713.0",
36
+ "@aws-sdk/core": "3.714.0",
37
+ "@aws-sdk/types": "3.714.0",
38
38
  "@smithy/property-provider": "^3.1.11",
39
39
  "@smithy/types": "^3.7.2",
40
40
  "tslib": "^2.6.2"
@@ -48,7 +48,7 @@
48
48
  "typescript": "~4.9.5"
49
49
  },
50
50
  "peerDependencies": {
51
- "@aws-sdk/client-sts": "^3.713.0"
51
+ "@aws-sdk/client-sts": "^3.714.0"
52
52
  },
53
53
  "types": "./dist-types/index.d.ts",
54
54
  "engines": {