@mavogel/awscdk-rootmail 0.0.236 → 0.0.238
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 +8 -8
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +14 -14
- package/node_modules/@aws-sdk/client-route-53/package.json +15 -15
- package/node_modules/@aws-sdk/client-s3/package.json +22 -22
- package/node_modules/@aws-sdk/client-ses/package.json +14 -14
- package/node_modules/@aws-sdk/client-ssm/package.json +14 -14
- package/node_modules/@aws-sdk/client-sso/package.json +11 -11
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +13 -13
- package/node_modules/@aws-sdk/client-sts/package.json +13 -13
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +11 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +10 -9
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +25 -13
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +10 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +13 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +4 -7
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +12 -10
- package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +9 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js +9 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromWebToken.d.ts +3 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/ts3.4/fromWebToken.d.ts +5 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-ssec/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +12 -3
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +12 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +5 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +0 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +36 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +11 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/package.json +10 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.713.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
25
|
+
"@aws-sdk/types": "3.713.0",
|
|
26
26
|
"@smithy/node-config-provider": "^3.1.12",
|
|
27
27
|
"@smithy/types": "^3.7.2",
|
|
28
28
|
"@smithy/util-config-provider": "^3.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.713.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline signature-v4-multi-region",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/middleware-sdk-s3": "3.713.0",
|
|
25
|
+
"@aws-sdk/types": "3.713.0",
|
|
26
26
|
"@smithy/protocol-http": "^4.1.8",
|
|
27
27
|
"@smithy/signature-v4": "^4.2.4",
|
|
28
28
|
"@smithy/types": "^3.7.2",
|
|
@@ -103,9 +103,18 @@ var writeSSOTokenToFile = /* @__PURE__ */ __name((id, ssoToken) => {
|
|
|
103
103
|
|
|
104
104
|
// src/fromSso.ts
|
|
105
105
|
var lastRefreshAttemptTime = /* @__PURE__ */ new Date(0);
|
|
106
|
-
var fromSso = /* @__PURE__ */ __name((
|
|
107
|
-
var _a;
|
|
108
|
-
|
|
106
|
+
var fromSso = /* @__PURE__ */ __name((_init = {}) => async (awsIdentityProperties) => {
|
|
107
|
+
var _a, _b, _c;
|
|
108
|
+
const init = {
|
|
109
|
+
..._init,
|
|
110
|
+
...((_a = awsIdentityProperties == null ? void 0 : awsIdentityProperties.callerClientConfig) == null ? void 0 : _a.region) ? {
|
|
111
|
+
parentClientConfig: {
|
|
112
|
+
region: (_b = awsIdentityProperties == null ? void 0 : awsIdentityProperties.callerClientConfig) == null ? void 0 : _b.region,
|
|
113
|
+
..._init.parentClientConfig
|
|
114
|
+
}
|
|
115
|
+
} : {}
|
|
116
|
+
};
|
|
117
|
+
(_c = init.logger) == null ? void 0 : _c.debug("@aws-sdk/token-providers - fromSso");
|
|
109
118
|
const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init);
|
|
110
119
|
const profileName = (0, import_shared_ini_file_loader.getProfileName)(init);
|
|
111
120
|
const profile = profiles[profileName];
|
|
@@ -6,7 +6,18 @@ import { validateTokenExpiry } from "./validateTokenExpiry";
|
|
|
6
6
|
import { validateTokenKey } from "./validateTokenKey";
|
|
7
7
|
import { writeSSOTokenToFile } from "./writeSSOTokenToFile";
|
|
8
8
|
const lastRefreshAttemptTime = new Date(0);
|
|
9
|
-
export const fromSso = (
|
|
9
|
+
export const fromSso = (_init = {}) => async (awsIdentityProperties) => {
|
|
10
|
+
const init = {
|
|
11
|
+
..._init,
|
|
12
|
+
...(awsIdentityProperties?.callerClientConfig?.region
|
|
13
|
+
? {
|
|
14
|
+
parentClientConfig: {
|
|
15
|
+
region: awsIdentityProperties?.callerClientConfig?.region,
|
|
16
|
+
..._init.parentClientConfig,
|
|
17
|
+
},
|
|
18
|
+
}
|
|
19
|
+
: {}),
|
|
20
|
+
};
|
|
10
21
|
init.logger?.debug("@aws-sdk/token-providers - fromSso");
|
|
11
22
|
const profiles = await parseKnownFiles(init);
|
|
12
23
|
const profileName = getProfileName(init);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CredentialProviderOptions,
|
|
1
|
+
import { CredentialProviderOptions, RuntimeConfigIdentityProvider, TokenIdentity } from "@aws-sdk/types";
|
|
2
2
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
3
3
|
export interface FromSsoInit extends SourceProfileInit, CredentialProviderOptions {
|
|
4
4
|
/**
|
|
@@ -9,4 +9,4 @@ export interface FromSsoInit extends SourceProfileInit, CredentialProviderOption
|
|
|
9
9
|
/**
|
|
10
10
|
* Creates a token provider that will read from SSO token cache or ssoOidc.createToken() call.
|
|
11
11
|
*/
|
|
12
|
-
export declare const fromSso: (
|
|
12
|
+
export declare const fromSso: (_init?: FromSsoInit) => RuntimeConfigIdentityProvider<TokenIdentity>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CredentialProviderOptions,
|
|
3
|
-
|
|
3
|
+
RuntimeConfigIdentityProvider,
|
|
4
|
+
TokenIdentity,
|
|
4
5
|
} from "@aws-sdk/types";
|
|
5
6
|
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
|
|
6
7
|
export interface FromSsoInit
|
|
@@ -8,4 +9,6 @@ export interface FromSsoInit
|
|
|
8
9
|
CredentialProviderOptions {
|
|
9
10
|
clientConfig?: any;
|
|
10
11
|
}
|
|
11
|
-
export declare const fromSso: (
|
|
12
|
+
export declare const fromSso: (
|
|
13
|
+
_init?: FromSsoInit
|
|
14
|
+
) => RuntimeConfigIdentityProvider<TokenIdentity>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.713.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
30
|
+
"@aws-sdk/types": "3.713.0",
|
|
31
31
|
"@smithy/property-provider": "^3.1.11",
|
|
32
32
|
"@smithy/shared-ini-file-loader": "^3.1.12",
|
|
33
33
|
"@smithy/types": "^3.7.2",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"typescript": "~4.9.5"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@aws-sdk/client-sso-oidc": "^3.
|
|
45
|
+
"@aws-sdk/client-sso-oidc": "^3.713.0"
|
|
46
46
|
},
|
|
47
47
|
"types": "./dist-types/index.d.ts",
|
|
48
48
|
"engines": {
|
|
@@ -100,7 +100,6 @@ __export(src_exports, {
|
|
|
100
100
|
HttpRequest: () => import_types.HttpRequest,
|
|
101
101
|
HttpResponse: () => import_types.HttpResponse,
|
|
102
102
|
Identity: () => import_types.Identity,
|
|
103
|
-
IdentityProvider: () => import_types.IdentityProvider,
|
|
104
103
|
IniSection: () => import_types.IniSection,
|
|
105
104
|
InitializeHandler: () => import_types.InitializeHandler,
|
|
106
105
|
InitializeHandlerArguments: () => import_types.InitializeHandlerArguments,
|
|
@@ -1,6 +1,41 @@
|
|
|
1
1
|
import type { AwsCredentialIdentity } from "@smithy/types";
|
|
2
2
|
import type { AwsSdkCredentialsFeatures } from "../feature-ids";
|
|
3
|
-
export { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
3
|
+
export { AwsCredentialIdentity, AwsCredentialIdentityProvider, IdentityProvider } from "@smithy/types";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface AwsIdentityProperties {
|
|
8
|
+
callerClientConfig?: {
|
|
9
|
+
region(): Promise<string>;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*
|
|
15
|
+
* Variation of {@link IdentityProvider} which accepts a contextual
|
|
16
|
+
* client configuration that includes an AWS region and potentially other
|
|
17
|
+
* configurable fields.
|
|
18
|
+
*
|
|
19
|
+
* Used to link a credential provider to a client if it is being called
|
|
20
|
+
* in the context of a client.
|
|
21
|
+
*/
|
|
22
|
+
export type RuntimeConfigIdentityProvider<T> = (awsIdentityProperties?: AwsIdentityProperties) => Promise<T>;
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*
|
|
26
|
+
* Variation of {@link AwsCredentialIdentityProvider} which accepts a contextual
|
|
27
|
+
* client configuration that includes an AWS region and potentially other
|
|
28
|
+
* configurable fields.
|
|
29
|
+
*
|
|
30
|
+
* Used to link a credential provider to a client if it is being called
|
|
31
|
+
* in the context of a client.
|
|
32
|
+
*/
|
|
33
|
+
export type RuntimeConfigAwsCredentialIdentityProvider = RuntimeConfigIdentityProvider<AwsCredentialIdentity>;
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*
|
|
37
|
+
* AwsCredentialIdentity with source attribution metadata.
|
|
38
|
+
*/
|
|
4
39
|
export type AttributedAwsCredentialIdentity = AwsCredentialIdentity & {
|
|
5
40
|
$source?: AwsSdkCredentialsFeatures;
|
|
6
41
|
};
|
|
@@ -3,7 +3,18 @@ import { AwsSdkCredentialsFeatures } from "../feature-ids";
|
|
|
3
3
|
export {
|
|
4
4
|
AwsCredentialIdentity,
|
|
5
5
|
AwsCredentialIdentityProvider,
|
|
6
|
+
IdentityProvider,
|
|
6
7
|
} from "@smithy/types";
|
|
8
|
+
export interface AwsIdentityProperties {
|
|
9
|
+
callerClientConfig?: {
|
|
10
|
+
region(): Promise<string>;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export type RuntimeConfigIdentityProvider<T> = (
|
|
14
|
+
awsIdentityProperties?: AwsIdentityProperties
|
|
15
|
+
) => Promise<T>;
|
|
16
|
+
export type RuntimeConfigAwsCredentialIdentityProvider =
|
|
17
|
+
RuntimeConfigIdentityProvider<AwsCredentialIdentity>;
|
|
7
18
|
export type AttributedAwsCredentialIdentity = AwsCredentialIdentity & {
|
|
8
19
|
$source?: AwsSdkCredentialsFeatures;
|
|
9
20
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.713.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/types": "3.713.0",
|
|
28
28
|
"@smithy/types": "^3.7.2",
|
|
29
29
|
"@smithy/util-endpoints": "^2.1.7",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.713.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"react-native": "dist-es/index.native.js",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
26
|
+
"@aws-sdk/types": "3.713.0",
|
|
27
27
|
"@smithy/types": "^3.7.2",
|
|
28
28
|
"bowser": "^2.11.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.713.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/middleware-user-agent": "3.713.0",
|
|
25
|
+
"@aws-sdk/types": "3.713.0",
|
|
26
26
|
"@smithy/node-config-provider": "^3.1.12",
|
|
27
27
|
"@smithy/types": "^3.7.2",
|
|
28
28
|
"tslib": "^2.6.2"
|
package/package.json
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@typescript-eslint/eslint-plugin": "^8",
|
|
57
57
|
"@typescript-eslint/parser": "^8",
|
|
58
58
|
"aws-cdk-lib": "2.90.0",
|
|
59
|
-
"cdk-assets": "^2.155.
|
|
59
|
+
"cdk-assets": "^2.155.64",
|
|
60
60
|
"commit-and-tag-version": "^12",
|
|
61
61
|
"constructs": "10.0.5",
|
|
62
62
|
"eslint": "^9",
|
|
@@ -66,12 +66,12 @@
|
|
|
66
66
|
"jest": "^29.7.0",
|
|
67
67
|
"jest-junit": "^15",
|
|
68
68
|
"jsii": "~5.5.0",
|
|
69
|
-
"jsii-diff": "^1.
|
|
69
|
+
"jsii-diff": "^1.106.0",
|
|
70
70
|
"jsii-docgen": "^10.5.0",
|
|
71
|
-
"jsii-pacmak": "^1.
|
|
71
|
+
"jsii-pacmak": "^1.106.0",
|
|
72
72
|
"jsii-rosetta": "~5.5.0",
|
|
73
73
|
"jsonfile": "^6.1.0",
|
|
74
|
-
"projen": "^0.91.
|
|
74
|
+
"projen": "^0.91.1",
|
|
75
75
|
"ts-jest": "^29.2.5",
|
|
76
76
|
"ts-node": "^10.9.2",
|
|
77
77
|
"typescript": "^5.7.2"
|
|
@@ -81,11 +81,11 @@
|
|
|
81
81
|
"constructs": "^10.0.5"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@aws-sdk/client-cloudwatch-logs": "^3.
|
|
85
|
-
"@aws-sdk/client-route-53": "^3.
|
|
86
|
-
"@aws-sdk/client-s3": "^3.
|
|
87
|
-
"@aws-sdk/client-ses": "^3.
|
|
88
|
-
"@aws-sdk/client-ssm": "^3.
|
|
84
|
+
"@aws-sdk/client-cloudwatch-logs": "^3.713.0",
|
|
85
|
+
"@aws-sdk/client-route-53": "^3.713.0",
|
|
86
|
+
"@aws-sdk/client-s3": "^3.713.0",
|
|
87
|
+
"@aws-sdk/client-ses": "^3.713.0",
|
|
88
|
+
"@aws-sdk/client-ssm": "^3.713.0",
|
|
89
89
|
"async-retry": "^1.3.3",
|
|
90
90
|
"axios": "^1.7.9",
|
|
91
91
|
"cdk-nag": "^2.34.23",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"publishConfig": {
|
|
117
117
|
"access": "public"
|
|
118
118
|
},
|
|
119
|
-
"version": "0.0.
|
|
119
|
+
"version": "0.0.238",
|
|
120
120
|
"jest": {
|
|
121
121
|
"coverageProvider": "v8",
|
|
122
122
|
"testMatch": [
|