@aws-sdk/credential-provider-web-identity 3.716.0 → 3.730.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.
@@ -29,7 +29,7 @@ const fromWebToken = (init) => async (awsIdentityProperties) => {
29
29
  const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
30
30
  let { roleAssumerWithWebIdentity } = init;
31
31
  if (!roleAssumerWithWebIdentity) {
32
- const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => __importStar(require("@aws-sdk/client-sts")));
32
+ const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => __importStar(require("@aws-sdk/nested-clients/sts")));
33
33
  roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
34
34
  ...init.clientConfig,
35
35
  credentialProviderLogger: init.logger,
@@ -3,7 +3,7 @@ export const fromWebToken = (init) => async (awsIdentityProperties) => {
3
3
  const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
4
4
  let { roleAssumerWithWebIdentity } = init;
5
5
  if (!roleAssumerWithWebIdentity) {
6
- const { getDefaultRoleAssumerWithWebIdentity } = await import("@aws-sdk/client-sts");
6
+ const { getDefaultRoleAssumerWithWebIdentity } = await import("@aws-sdk/nested-clients/sts");
7
7
  roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
8
8
  ...init.clientConfig,
9
9
  credentialProviderLogger: init.logger,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.716.0",
3
+ "version": "3.730.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,26 +33,24 @@
33
33
  },
34
34
  "license": "Apache-2.0",
35
35
  "dependencies": {
36
- "@aws-sdk/core": "3.716.0",
37
- "@aws-sdk/types": "3.714.0",
38
- "@smithy/property-provider": "^3.1.11",
39
- "@smithy/types": "^3.7.2",
36
+ "@aws-sdk/core": "3.730.0",
37
+ "@aws-sdk/nested-clients": "3.730.0",
38
+ "@aws-sdk/types": "3.723.0",
39
+ "@smithy/property-provider": "^4.0.0",
40
+ "@smithy/types": "^4.0.0",
40
41
  "tslib": "^2.6.2"
41
42
  },
42
43
  "devDependencies": {
43
44
  "@tsconfig/recommended": "1.0.1",
44
- "@types/node": "^16.18.96",
45
+ "@types/node": "^18.19.69",
45
46
  "concurrently": "7.0.0",
46
47
  "downlevel-dts": "0.10.1",
47
48
  "rimraf": "3.0.2",
48
- "typescript": "~4.9.5"
49
- },
50
- "peerDependencies": {
51
- "@aws-sdk/client-sts": "^3.716.0"
49
+ "typescript": "~5.2.2"
52
50
  },
53
51
  "types": "./dist-types/index.d.ts",
54
52
  "engines": {
55
- "node": ">=16.0.0"
53
+ "node": ">=18.0.0"
56
54
  },
57
55
  "typesVersions": {
58
56
  "<4.0": {