@jjrawlins/cdk-iam-policy-builder-helper 0.0.66 → 0.0.67

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/.jsii CHANGED
@@ -7,7 +7,7 @@
7
7
  ]
8
8
  },
9
9
  "bundled": {
10
- "@aws-sdk/client-iam": "^3.916.0",
10
+ "@aws-sdk/client-iam": "^3.917.0",
11
11
  "axios": "^1.8.2",
12
12
  "jsonc-parser": "^3.3.1"
13
13
  },
@@ -3526,6 +3526,6 @@
3526
3526
  }
3527
3527
  },
3528
3528
  "types": {},
3529
- "version": "0.0.66",
3530
- "fingerprint": "K/EB/7JvheI0uoQ9svnEpT6jdRzV/y0N2CI3p59hD20="
3529
+ "version": "0.0.67",
3530
+ "fingerprint": "bCoFb77dr9cl+bDYW1qfI8xLWXZH84KOCTaF/CHf0sc="
3531
3531
  }
@@ -13,7 +13,7 @@ import (
13
13
  constructs "github.com/aws/constructs-go/constructs/v10/jsii"
14
14
  )
15
15
 
16
- //go:embed jjrawlins-cdk-iam-policy-builder-helper-0.0.65.tgz
16
+ //go:embed jjrawlins-cdk-iam-policy-builder-helper-0.0.66.tgz
17
17
  var tarball []byte
18
18
 
19
19
  // Initialize loads the necessary packages in the @jsii/kernel to support the enclosing module.
@@ -24,5 +24,5 @@ func Initialize() {
24
24
  constructs.Initialize()
25
25
 
26
26
  // Load this library into the kernel
27
- _jsii_.Load("@jjrawlins/cdk-iam-policy-builder-helper", "0.0.65", tarball)
27
+ _jsii_.Load("@jjrawlins/cdk-iam-policy-builder-helper", "0.0.66", tarball)
28
28
  }
@@ -1 +1 @@
1
- 0.0.65
1
+ 0.0.66
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iam",
3
3
  "description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
4
- "version": "3.916.0",
4
+ "version": "3.917.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iam",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.916.0",
24
- "@aws-sdk/credential-provider-node": "3.916.0",
24
+ "@aws-sdk/credential-provider-node": "3.917.0",
25
25
  "@aws-sdk/middleware-host-header": "3.914.0",
26
26
  "@aws-sdk/middleware-logger": "3.914.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.914.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.916.0",
3
+ "version": "3.917.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",
@@ -33,7 +33,7 @@
33
33
  "@aws-sdk/credential-provider-http": "3.916.0",
34
34
  "@aws-sdk/credential-provider-process": "3.916.0",
35
35
  "@aws-sdk/credential-provider-sso": "3.916.0",
36
- "@aws-sdk/credential-provider-web-identity": "3.916.0",
36
+ "@aws-sdk/credential-provider-web-identity": "3.917.0",
37
37
  "@aws-sdk/nested-clients": "3.916.0",
38
38
  "@aws-sdk/types": "3.914.0",
39
39
  "@smithy/credential-provider-imds": "^4.2.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.916.0",
3
+ "version": "3.917.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -33,10 +33,10 @@
33
33
  "dependencies": {
34
34
  "@aws-sdk/credential-provider-env": "3.916.0",
35
35
  "@aws-sdk/credential-provider-http": "3.916.0",
36
- "@aws-sdk/credential-provider-ini": "3.916.0",
36
+ "@aws-sdk/credential-provider-ini": "3.917.0",
37
37
  "@aws-sdk/credential-provider-process": "3.916.0",
38
38
  "@aws-sdk/credential-provider-sso": "3.916.0",
39
- "@aws-sdk/credential-provider-web-identity": "3.916.0",
39
+ "@aws-sdk/credential-provider-web-identity": "3.917.0",
40
40
  "@aws-sdk/types": "3.914.0",
41
41
  "@smithy/credential-provider-imds": "^4.2.3",
42
42
  "@smithy/property-provider": "^4.2.3",
@@ -9,7 +9,7 @@ const fromWebToken_1 = require("./fromWebToken");
9
9
  const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
10
10
  const ENV_ROLE_ARN = "AWS_ROLE_ARN";
11
11
  const ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME";
12
- const fromTokenFile = (init = {}) => async () => {
12
+ const fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
13
13
  init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
14
14
  const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];
15
15
  const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];
@@ -25,7 +25,7 @@ const fromTokenFile = (init = {}) => async () => {
25
25
  (0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: "ascii" }),
26
26
  roleArn,
27
27
  roleSessionName,
28
- })();
28
+ })(awsIdentityProperties);
29
29
  if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {
30
30
  (0, client_1.setCredentialFeature)(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h");
31
31
  }
@@ -6,7 +6,7 @@ import { fromWebToken } from "./fromWebToken";
6
6
  const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE";
7
7
  const ENV_ROLE_ARN = "AWS_ROLE_ARN";
8
8
  const ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME";
9
- export const fromTokenFile = (init = {}) => async () => {
9
+ export const fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
10
10
  init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
11
11
  const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];
12
12
  const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];
@@ -22,7 +22,7 @@ export const fromTokenFile = (init = {}) => async () => {
22
22
  readFileSync(webIdentityTokenFile, { encoding: "ascii" }),
23
23
  roleArn,
24
24
  roleSessionName,
25
- })();
25
+ })(awsIdentityProperties);
26
26
  if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {
27
27
  setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h");
28
28
  }
@@ -1,5 +1,5 @@
1
- import { CredentialProviderOptions } from "@aws-sdk/types";
2
- import type { AwsCredentialIdentityProvider } from "@smithy/types";
1
+ import type { CredentialProviderOptions } from "@aws-sdk/types";
2
+ import { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types/src";
3
3
  import { FromWebTokenInit } from "./fromWebToken";
4
4
  /**
5
5
  * @public
@@ -15,4 +15,4 @@ export interface FromTokenFileInit extends Partial<Omit<FromWebTokenInit, "webId
15
15
  *
16
16
  * Represents OIDC credentials from a file on disk.
17
17
  */
18
- export declare const fromTokenFile: (init?: FromTokenFileInit) => AwsCredentialIdentityProvider;
18
+ export declare const fromTokenFile: (init?: FromTokenFileInit) => RuntimeConfigAwsCredentialIdentityProvider;
@@ -1,5 +1,5 @@
1
1
  import { CredentialProviderOptions } from "@aws-sdk/types";
2
- import { AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import { RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types/src";
3
3
  import { FromWebTokenInit } from "./fromWebToken";
4
4
  export interface FromTokenFileInit
5
5
  extends Partial<
@@ -13,4 +13,4 @@ export interface FromTokenFileInit
13
13
  }
14
14
  export declare const fromTokenFile: (
15
15
  init?: FromTokenFileInit
16
- ) => AwsCredentialIdentityProvider;
16
+ ) => RuntimeConfigAwsCredentialIdentityProvider;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.916.0",
3
+ "version": "3.917.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",
package/package.json CHANGED
@@ -69,7 +69,7 @@
69
69
  "constructs": "^10.0.5"
70
70
  },
71
71
  "dependencies": {
72
- "@aws-sdk/client-iam": "^3.916.0",
72
+ "@aws-sdk/client-iam": "^3.917.0",
73
73
  "axios": "^1.8.2",
74
74
  "constructs": "^10.4.2",
75
75
  "jsonc-parser": "^3.3.1"
@@ -101,7 +101,7 @@
101
101
  "publishConfig": {
102
102
  "access": "public"
103
103
  },
104
- "version": "0.0.66",
104
+ "version": "0.0.67",
105
105
  "jest": {
106
106
  "coverageProvider": "v8",
107
107
  "testMatch": [