replicas-engine 0.1.280 → 0.1.282
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/src/bowser-UXBOYYAJ.js +2821 -0
- package/dist/src/chunk-3YYBZ6D5.js +576 -0
- package/dist/src/chunk-ATF5CAZW.js +2094 -0
- package/dist/src/chunk-B5KEKENG.js +436 -0
- package/dist/src/chunk-C6IOMGXW.js +1052 -0
- package/dist/src/chunk-MHJJJ2VP.js +2865 -0
- package/dist/src/chunk-YY2DS5UJ.js +1490 -0
- package/dist/src/{dist-es-GGHPJZ3K.js → dist-es-37YNNMWK.js} +47 -51
- package/dist/src/{dist-es-F6RG3S4O.js → dist-es-7IBRAXHQ.js} +25 -23
- package/dist/src/{dist-es-JIV2SPEM.js → dist-es-AYVDCHRQ.js} +9 -10
- package/dist/src/{dist-es-BUG4C6LP.js → dist-es-JSZE2H6Y.js} +21 -31
- package/dist/src/{dist-es-Q3YZVSCP.js → dist-es-M4ZCYBRD.js} +10 -11
- package/dist/src/{dist-es-YKS4LXBO.js → dist-es-MNGVDEEO.js} +4 -3
- package/dist/src/{dist-es-GZBSW2H3.js → dist-es-YA3RZ3J2.js} +27 -32
- package/dist/src/event-streams-7ZLUNSFX.js +1376 -0
- package/dist/src/index.js +53 -2
- package/dist/src/{loadSso-3WFGTQV7.js → loadSso-2A75N7C3.js} +84 -61
- package/dist/src/{signin-RSKKVVIS.js → signin-FXO7O6JB.js} +94 -82
- package/dist/src/{sso-oidc-LBVW2ORP.js → sso-oidc-4IFMUO6A.js} +102 -63
- package/dist/src/{sts-DKGAU6YE.js → sts-IAUEUXEW.js} +4964 -5055
- package/package.json +2 -2
- package/dist/src/chunk-2Y7PD56W.js +0 -164
- package/dist/src/chunk-5VUQ55WW.js +0 -242
- package/dist/src/chunk-AAVVX4U5.js +0 -175
- package/dist/src/chunk-BUG7ZAQW.js +0 -1033
- package/dist/src/chunk-ERL3EC7G.js +0 -44
- package/dist/src/chunk-SGITM26Q.js +0 -877
- package/dist/src/chunk-ST5JVROM.js +0 -39
- package/dist/src/chunk-SWX24AGM.js +0 -62
- package/dist/src/chunk-TU2SAX7Z.js +0 -5706
- package/dist/src/chunk-WPAL27HA.js +0 -29
- package/dist/src/chunk-ZDZBYCXV.js +0 -52
- package/dist/src/chunk-ZNARSMJG.js +0 -14
- package/dist/src/event-streams-XS4D2DFO.js +0 -252
|
@@ -1,39 +1,34 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
HttpRequest
|
|
7
|
-
} from "./chunk-SWX24AGM.js";
|
|
3
|
+
setCredentialFeature
|
|
4
|
+
} from "./chunk-MHJJJ2VP.js";
|
|
8
5
|
import {
|
|
6
|
+
CredentialsProviderError,
|
|
7
|
+
HttpRequest,
|
|
8
|
+
chain,
|
|
9
9
|
getProfileName,
|
|
10
10
|
parseKnownFiles,
|
|
11
11
|
readFile
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import
|
|
14
|
-
setCredentialFeature
|
|
15
|
-
} from "./chunk-ZNARSMJG.js";
|
|
16
|
-
import {
|
|
17
|
-
CredentialsProviderError
|
|
18
|
-
} from "./chunk-ST5JVROM.js";
|
|
12
|
+
} from "./chunk-ATF5CAZW.js";
|
|
13
|
+
import "./chunk-C6IOMGXW.js";
|
|
19
14
|
|
|
20
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
15
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js
|
|
21
16
|
var resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
22
17
|
const sourceProvidersMap = {
|
|
23
18
|
EcsContainer: async (options) => {
|
|
24
|
-
const { fromHttp } = await import("./dist-es-
|
|
25
|
-
const { fromContainerMetadata } = await import("./dist-es-
|
|
19
|
+
const { fromHttp } = await import("./dist-es-7IBRAXHQ.js");
|
|
20
|
+
const { fromContainerMetadata } = await import("./dist-es-37YNNMWK.js");
|
|
26
21
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer");
|
|
27
22
|
return async () => chain(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider);
|
|
28
23
|
},
|
|
29
24
|
Ec2InstanceMetadata: async (options) => {
|
|
30
25
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata");
|
|
31
|
-
const { fromInstanceMetadata } = await import("./dist-es-
|
|
26
|
+
const { fromInstanceMetadata } = await import("./dist-es-37YNNMWK.js");
|
|
32
27
|
return async () => fromInstanceMetadata(options)().then(setNamedProvider);
|
|
33
28
|
},
|
|
34
29
|
Environment: async (options) => {
|
|
35
30
|
logger?.debug("@aws-sdk/credential-provider-ini - credential_source is Environment");
|
|
36
|
-
const { fromEnv } = await import("./dist-es-
|
|
31
|
+
const { fromEnv } = await import("./dist-es-MNGVDEEO.js");
|
|
37
32
|
return async () => fromEnv(options)().then(setNamedProvider);
|
|
38
33
|
}
|
|
39
34
|
};
|
|
@@ -45,7 +40,7 @@ var resolveCredentialSource = (credentialSource, profileName, logger) => {
|
|
|
45
40
|
};
|
|
46
41
|
var setNamedProvider = (creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_NAMED_PROVIDER", "p");
|
|
47
42
|
|
|
48
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
43
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js
|
|
49
44
|
var isAssumeRoleProfile = (arg, { profile = "default", logger } = {}) => {
|
|
50
45
|
return Boolean(arg) && typeof arg === "object" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger }));
|
|
51
46
|
};
|
|
@@ -68,7 +63,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, caller
|
|
|
68
63
|
const profileData = profiles[profileName];
|
|
69
64
|
const { source_profile, region } = profileData;
|
|
70
65
|
if (!options.roleAssumer) {
|
|
71
|
-
const { getDefaultRoleAssumer } = await import("./sts-
|
|
66
|
+
const { getDefaultRoleAssumer } = await import("./sts-IAUEUXEW.js");
|
|
72
67
|
options.roleAssumer = getDefaultRoleAssumer({
|
|
73
68
|
...options.clientConfig,
|
|
74
69
|
credentialProviderLogger: options.logger,
|
|
@@ -112,7 +107,7 @@ var isCredentialSourceWithoutRoleArn = (section) => {
|
|
|
112
107
|
return !section.role_arn && !!section.credential_source;
|
|
113
108
|
};
|
|
114
109
|
|
|
115
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.
|
|
110
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.49/node_modules/@aws-sdk/credential-provider-login/dist-es/LoginCredentialsFetcher.js
|
|
116
111
|
import { createHash, createPrivateKey, createPublicKey, sign } from "crypto";
|
|
117
112
|
import { promises as fs } from "fs";
|
|
118
113
|
import { homedir } from "os";
|
|
@@ -154,7 +149,7 @@ var LoginCredentialsFetcher = class _LoginCredentialsFetcher {
|
|
|
154
149
|
return this.profileData.login_session;
|
|
155
150
|
}
|
|
156
151
|
async refresh(token) {
|
|
157
|
-
const { SigninClient, CreateOAuth2TokenCommand } = await import("./signin-
|
|
152
|
+
const { SigninClient, CreateOAuth2TokenCommand } = await import("./signin-FXO7O6JB.js");
|
|
158
153
|
const { logger, userAgentAppId } = this.callerClientConfig ?? {};
|
|
159
154
|
const isH2 = (requestHandler2) => {
|
|
160
155
|
return requestHandler2?.metadata?.handlerProtocol === "h2";
|
|
@@ -364,7 +359,7 @@ var LoginCredentialsFetcher = class _LoginCredentialsFetcher {
|
|
|
364
359
|
}
|
|
365
360
|
};
|
|
366
361
|
|
|
367
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.
|
|
362
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-login@3.972.49/node_modules/@aws-sdk/credential-provider-login/dist-es/fromLoginCredentials.js
|
|
368
363
|
var fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
|
|
369
364
|
init?.logger?.debug?.("@aws-sdk/credential-providers - fromLoginCredentials");
|
|
370
365
|
const profiles = await parseKnownFiles(init || {});
|
|
@@ -383,7 +378,7 @@ var fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
|
|
|
383
378
|
return setCredentialFeature(credentials, "CREDENTIALS_LOGIN", "AD");
|
|
384
379
|
};
|
|
385
380
|
|
|
386
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
381
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js
|
|
387
382
|
var isLoginProfile = (data) => {
|
|
388
383
|
return Boolean(data && data.login_session);
|
|
389
384
|
};
|
|
@@ -395,16 +390,16 @@ var resolveLoginCredentials = async (profileName, options, callerClientConfig) =
|
|
|
395
390
|
return setCredentialFeature(credentials, "CREDENTIALS_PROFILE_LOGIN", "AC");
|
|
396
391
|
};
|
|
397
392
|
|
|
398
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
393
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js
|
|
399
394
|
var isProcessProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string";
|
|
400
|
-
var resolveProcessCredentials = async (options, profile) => import("./dist-es-
|
|
395
|
+
var resolveProcessCredentials = async (options, profile) => import("./dist-es-M4ZCYBRD.js").then(({ fromProcess }) => fromProcess({
|
|
401
396
|
...options,
|
|
402
397
|
profile
|
|
403
398
|
})().then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_PROCESS", "v")));
|
|
404
399
|
|
|
405
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
400
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
|
|
406
401
|
var resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
407
|
-
const { fromSSO } = await import("./dist-es-
|
|
402
|
+
const { fromSSO } = await import("./dist-es-JSZE2H6Y.js");
|
|
408
403
|
return fromSSO({
|
|
409
404
|
profile,
|
|
410
405
|
logger: options.logger,
|
|
@@ -422,7 +417,7 @@ var resolveSsoCredentials = async (profile, profileData, options = {}, callerCli
|
|
|
422
417
|
};
|
|
423
418
|
var isSsoProfile = (arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string");
|
|
424
419
|
|
|
425
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
420
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js
|
|
426
421
|
var isStaticCredsProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.aws_access_key_id === "string" && typeof arg.aws_secret_access_key === "string" && ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1 && ["undefined", "string"].indexOf(typeof arg.aws_account_id) > -1;
|
|
427
422
|
var resolveStaticCredentials = async (profile, options) => {
|
|
428
423
|
options?.logger?.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials");
|
|
@@ -436,9 +431,9 @@ var resolveStaticCredentials = async (profile, options) => {
|
|
|
436
431
|
return setCredentialFeature(credentials, "CREDENTIALS_PROFILE", "n");
|
|
437
432
|
};
|
|
438
433
|
|
|
439
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
434
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
|
|
440
435
|
var isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
441
|
-
var resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import("./dist-es-
|
|
436
|
+
var resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => import("./dist-es-AYVDCHRQ.js").then(({ fromTokenFile }) => fromTokenFile({
|
|
442
437
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
443
438
|
roleArn: profile.role_arn,
|
|
444
439
|
roleSessionName: profile.role_session_name,
|
|
@@ -449,7 +444,7 @@ var resolveWebIdentityCredentials = async (profile, options, callerClientConfig)
|
|
|
449
444
|
callerClientConfig
|
|
450
445
|
}).then((creds) => setCredentialFeature(creds, "CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN", "q")));
|
|
451
446
|
|
|
452
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
447
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js
|
|
453
448
|
var resolveProfileData = async (profileName, profiles, options, callerClientConfig, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => {
|
|
454
449
|
const data = profiles[profileName];
|
|
455
450
|
if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) {
|
|
@@ -476,7 +471,7 @@ var resolveProfileData = async (profileName, profiles, options, callerClientConf
|
|
|
476
471
|
throw new CredentialsProviderError(`Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, { logger: options.logger });
|
|
477
472
|
};
|
|
478
473
|
|
|
479
|
-
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.
|
|
474
|
+
// ../node_modules/.bun/@aws-sdk+credential-provider-ini@3.972.50/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js
|
|
480
475
|
var fromIni = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
481
476
|
init.logger?.debug("@aws-sdk/credential-provider-ini - fromIni");
|
|
482
477
|
const profiles = await parseKnownFiles(init);
|