@aws-sdk/client-sso
Advanced tools
@@ -1,10 +0,7 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.resolveHttpAuthSchemeConfig = exports.defaultSSOHttpAuthSchemeProvider = exports.defaultSSOHttpAuthSchemeParametersProvider = void 0; | ||
| const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); | ||
| const client_1 = require("@smithy/core/client"); | ||
| const defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => { | ||
| const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes"); | ||
| const { getSmithyContext, normalizeProvider } = require("@smithy/core/client"); | ||
| exports.defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => { | ||
| return { | ||
| operation: (0, client_1.getSmithyContext)(context).operation, | ||
| region: await (0, client_1.normalizeProvider)(config.region)() || (() => { | ||
| operation: getSmithyContext(context).operation, | ||
| region: await normalizeProvider(config.region)() || (() => { | ||
| throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); | ||
@@ -14,3 +11,2 @@ })(), | ||
| }; | ||
| exports.defaultSSOHttpAuthSchemeParametersProvider = defaultSSOHttpAuthSchemeParametersProvider; | ||
| function createAwsAuthSigv4HttpAuthOption(authParameters) { | ||
@@ -36,3 +32,3 @@ return { | ||
| } | ||
| const defaultSSOHttpAuthSchemeProvider = (authParameters) => { | ||
| exports.defaultSSOHttpAuthSchemeProvider = (authParameters) => { | ||
| const options = []; | ||
@@ -70,9 +66,7 @@ switch (authParameters.operation) { | ||
| }; | ||
| exports.defaultSSOHttpAuthSchemeProvider = defaultSSOHttpAuthSchemeProvider; | ||
| const resolveHttpAuthSchemeConfig = (config) => { | ||
| const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config); | ||
| exports.resolveHttpAuthSchemeConfig = (config) => { | ||
| const config_0 = resolveAwsSdkSigV4Config(config); | ||
| return Object.assign(config_0, { | ||
| authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []), | ||
| authSchemePreference: normalizeProvider(config.authSchemePreference ?? []), | ||
| }); | ||
| }; | ||
| exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; |
@@ -1,5 +0,2 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.bdd = void 0; | ||
| const endpoints_1 = require("@smithy/core/endpoints"); | ||
| const { BinaryDecisionDiagram } = require("@smithy/core/endpoints"); | ||
| const k = "ref"; | ||
@@ -52,2 +49,2 @@ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }]; | ||
| ]); | ||
| exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); | ||
| exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results); |
@@ -1,13 +0,10 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.defaultEndpointResolver = void 0; | ||
| const client_1 = require("@aws-sdk/core/client"); | ||
| const endpoints_1 = require("@smithy/core/endpoints"); | ||
| const bdd_1 = require("./bdd"); | ||
| const cache = new endpoints_1.EndpointCache({ | ||
| const { awsEndpointFunctions } = require("@aws-sdk/core/client"); | ||
| const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints"); | ||
| const { bdd } = require("./bdd"); | ||
| const cache = new EndpointCache({ | ||
| size: 50, | ||
| params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], | ||
| }); | ||
| const defaultEndpointResolver = (endpointParams, context = {}) => { | ||
| return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, { | ||
| exports.defaultEndpointResolver = (endpointParams, context = {}) => { | ||
| return cache.get(endpointParams, () => decideEndpoint(bdd, { | ||
| endpointParams: endpointParams, | ||
@@ -17,3 +14,2 @@ logger: context.logger, | ||
| }; | ||
| exports.defaultEndpointResolver = defaultEndpointResolver; | ||
| endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions; | ||
| customEndpointFunctions.aws = awsEndpointFunctions; |
+54
-74
@@ -1,17 +0,20 @@ | ||
| 'use strict'; | ||
| var __exportStar = (m, e) => { Object.assign(e, m); }; | ||
| const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client"); | ||
| const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core"); | ||
| const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client"); | ||
| exports.$Command = Command; | ||
| exports.__Client = Client; | ||
| const { resolveRegionConfig } = require("@smithy/core/config"); | ||
| const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints"); | ||
| const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols"); | ||
| const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry"); | ||
| const { getSchemaSerdePlugin } = require("@smithy/core/schema"); | ||
| const { resolveHttpAuthSchemeConfig, defaultSSOHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider"); | ||
| const { getRuntimeConfig } = require("./runtimeConfig"); | ||
| const { GetRoleCredentials$, ListAccountRoles$, ListAccounts$, Logout$ } = require("./schemas/schemas_0"); | ||
| __exportStar(require("./schemas/schemas_0"), exports); | ||
| __exportStar(require("./models/errors"), exports); | ||
| const { SSOServiceException } = require("./models/SSOServiceException"); | ||
| exports.SSOServiceException = SSOServiceException; | ||
| var client$1 = require('@aws-sdk/core/client'); | ||
| var core = require('@smithy/core'); | ||
| var client = require('@smithy/core/client'); | ||
| var config = require('@smithy/core/config'); | ||
| var endpoints = require('@smithy/core/endpoints'); | ||
| var protocols = require('@smithy/core/protocols'); | ||
| var retry = require('@smithy/core/retry'); | ||
| var schema = require('@smithy/core/schema'); | ||
| var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider'); | ||
| var runtimeConfig = require('./runtimeConfig'); | ||
| var schemas_0 = require('./schemas/schemas_0'); | ||
| var errors = require('./models/errors'); | ||
| var SSOServiceException = require('./models/SSOServiceException'); | ||
| const resolveClientEndpointParameters = (options) => { | ||
@@ -71,36 +74,36 @@ return Object.assign(options, { | ||
| const resolveRuntimeExtensions = (runtimeConfig, extensions) => { | ||
| const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); | ||
| const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); | ||
| extensions.forEach((extension) => extension.configure(extensionConfiguration)); | ||
| return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); | ||
| return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration)); | ||
| }; | ||
| class SSOClient extends client.Client { | ||
| class SSOClient extends Client { | ||
| config; | ||
| constructor(...[configuration]) { | ||
| const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); | ||
| const _config_0 = getRuntimeConfig(configuration || {}); | ||
| super(_config_0); | ||
| this.initConfig = _config_0; | ||
| const _config_1 = resolveClientEndpointParameters(_config_0); | ||
| const _config_2 = client$1.resolveUserAgentConfig(_config_1); | ||
| const _config_3 = retry.resolveRetryConfig(_config_2); | ||
| const _config_4 = config.resolveRegionConfig(_config_3); | ||
| const _config_5 = client$1.resolveHostHeaderConfig(_config_4); | ||
| const _config_6 = endpoints.resolveEndpointConfig(_config_5); | ||
| const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); | ||
| const _config_2 = resolveUserAgentConfig(_config_1); | ||
| const _config_3 = resolveRetryConfig(_config_2); | ||
| const _config_4 = resolveRegionConfig(_config_3); | ||
| const _config_5 = resolveHostHeaderConfig(_config_4); | ||
| const _config_6 = resolveEndpointConfig(_config_5); | ||
| const _config_7 = resolveHttpAuthSchemeConfig(_config_6); | ||
| const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); | ||
| this.config = _config_8; | ||
| this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); | ||
| this.middlewareStack.use(client$1.getUserAgentPlugin(this.config)); | ||
| this.middlewareStack.use(retry.getRetryPlugin(this.config)); | ||
| this.middlewareStack.use(protocols.getContentLengthPlugin(this.config)); | ||
| this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config)); | ||
| this.middlewareStack.use(client$1.getLoggerPlugin(this.config)); | ||
| this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config)); | ||
| this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { | ||
| httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider, | ||
| identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ | ||
| this.middlewareStack.use(getSchemaSerdePlugin(this.config)); | ||
| this.middlewareStack.use(getUserAgentPlugin(this.config)); | ||
| this.middlewareStack.use(getRetryPlugin(this.config)); | ||
| this.middlewareStack.use(getContentLengthPlugin(this.config)); | ||
| this.middlewareStack.use(getHostHeaderPlugin(this.config)); | ||
| this.middlewareStack.use(getLoggerPlugin(this.config)); | ||
| this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); | ||
| this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { | ||
| httpAuthSchemeParametersProvider: defaultSSOHttpAuthSchemeParametersProvider, | ||
| identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({ | ||
| "aws.auth#sigv4": config.credentials, | ||
| }), | ||
| })); | ||
| this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); | ||
| this.middlewareStack.use(getHttpSigningPlugin(this.config)); | ||
| } | ||
@@ -112,53 +115,53 @@ destroy() { | ||
| class GetRoleCredentialsCommand extends client.Command | ||
| class GetRoleCredentialsCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("SWBPortalService", "GetRoleCredentials", {}) | ||
| .n("SSOClient", "GetRoleCredentialsCommand") | ||
| .sc(schemas_0.GetRoleCredentials$) | ||
| .sc(GetRoleCredentials$) | ||
| .build() { | ||
| } | ||
| class ListAccountRolesCommand extends client.Command | ||
| class ListAccountRolesCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("SWBPortalService", "ListAccountRoles", {}) | ||
| .n("SSOClient", "ListAccountRolesCommand") | ||
| .sc(schemas_0.ListAccountRoles$) | ||
| .sc(ListAccountRoles$) | ||
| .build() { | ||
| } | ||
| class ListAccountsCommand extends client.Command | ||
| class ListAccountsCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("SWBPortalService", "ListAccounts", {}) | ||
| .n("SSOClient", "ListAccountsCommand") | ||
| .sc(schemas_0.ListAccounts$) | ||
| .sc(ListAccounts$) | ||
| .build() { | ||
| } | ||
| class LogoutCommand extends client.Command | ||
| class LogoutCommand extends Command | ||
| .classBuilder() | ||
| .ep(commonParams) | ||
| .m(function (Command, cs, config, o) { | ||
| return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())]; | ||
| }) | ||
| .s("SWBPortalService", "Logout", {}) | ||
| .n("SSOClient", "LogoutCommand") | ||
| .sc(schemas_0.Logout$) | ||
| .sc(Logout$) | ||
| .build() { | ||
| } | ||
| const paginateListAccountRoles = core.createPaginator(SSOClient, ListAccountRolesCommand, "nextToken", "nextToken", "maxResults"); | ||
| const paginateListAccountRoles = createPaginator(SSOClient, ListAccountRolesCommand, "nextToken", "nextToken", "maxResults"); | ||
| const paginateListAccounts = core.createPaginator(SSOClient, ListAccountsCommand, "nextToken", "nextToken", "maxResults"); | ||
| const paginateListAccounts = createPaginator(SSOClient, ListAccountsCommand, "nextToken", "nextToken", "maxResults"); | ||
@@ -177,7 +180,4 @@ const commands = { | ||
| } | ||
| client.createAggregatedClient(commands, SSO, { paginators }); | ||
| createAggregatedClient(commands, SSO, { paginators }); | ||
| exports.$Command = client.Command; | ||
| exports.__Client = client.Client; | ||
| exports.SSOServiceException = SSOServiceException.SSOServiceException; | ||
| exports.GetRoleCredentialsCommand = GetRoleCredentialsCommand; | ||
@@ -191,21 +191,1 @@ exports.ListAccountRolesCommand = ListAccountRolesCommand; | ||
| exports.paginateListAccounts = paginateListAccounts; | ||
| Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && | ||
| !Object.prototype.hasOwnProperty.call(exports, '__proto__') && | ||
| Object.defineProperty(exports, '__proto__', { | ||
| enumerable: true, | ||
| value: schemas_0['__proto__'] | ||
| }); | ||
| Object.keys(schemas_0).forEach(function (k) { | ||
| if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k]; | ||
| }); | ||
| Object.prototype.hasOwnProperty.call(errors, '__proto__') && | ||
| !Object.prototype.hasOwnProperty.call(exports, '__proto__') && | ||
| Object.defineProperty(exports, '__proto__', { | ||
| enumerable: true, | ||
| value: errors['__proto__'] | ||
| }); | ||
| Object.keys(errors).forEach(function (k) { | ||
| if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k]; | ||
| }); |
@@ -1,6 +0,3 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.UnauthorizedException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.InvalidRequestException = void 0; | ||
| const SSOServiceException_1 = require("./SSOServiceException"); | ||
| class InvalidRequestException extends SSOServiceException_1.SSOServiceException { | ||
| const { SSOServiceException: __BaseException } = require("./SSOServiceException"); | ||
| exports.InvalidRequestException = class InvalidRequestException extends __BaseException { | ||
| name = "InvalidRequestException"; | ||
@@ -16,5 +13,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.InvalidRequestException = InvalidRequestException; | ||
| class ResourceNotFoundException extends SSOServiceException_1.SSOServiceException { | ||
| }; | ||
| exports.ResourceNotFoundException = class ResourceNotFoundException extends __BaseException { | ||
| name = "ResourceNotFoundException"; | ||
@@ -30,5 +26,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.ResourceNotFoundException = ResourceNotFoundException; | ||
| class TooManyRequestsException extends SSOServiceException_1.SSOServiceException { | ||
| }; | ||
| exports.TooManyRequestsException = class TooManyRequestsException extends __BaseException { | ||
| name = "TooManyRequestsException"; | ||
@@ -44,5 +39,4 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.TooManyRequestsException = TooManyRequestsException; | ||
| class UnauthorizedException extends SSOServiceException_1.SSOServiceException { | ||
| }; | ||
| exports.UnauthorizedException = class UnauthorizedException extends __BaseException { | ||
| name = "UnauthorizedException"; | ||
@@ -58,3 +52,2 @@ $fault = "client"; | ||
| } | ||
| } | ||
| exports.UnauthorizedException = UnauthorizedException; | ||
| }; |
@@ -1,7 +0,4 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.SSOServiceException = exports.__ServiceException = void 0; | ||
| const client_1 = require("@smithy/core/client"); | ||
| Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } }); | ||
| class SSOServiceException extends client_1.ServiceException { | ||
| const { ServiceException: __ServiceException } = require("@smithy/core/client"); | ||
| exports.__ServiceException = __ServiceException; | ||
| exports.SSOServiceException = class SSOServiceException extends __ServiceException { | ||
| constructor(options) { | ||
@@ -11,3 +8,2 @@ super(options); | ||
| } | ||
| } | ||
| exports.SSOServiceException = SSOServiceException; | ||
| }; |
@@ -1,18 +0,14 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.getRuntimeConfig = void 0; | ||
| const tslib_1 = require("tslib"); | ||
| const package_json_1 = tslib_1.__importDefault(require("../package.json")); | ||
| const sha256_browser_1 = require("@aws-crypto/sha256-browser"); | ||
| const client_1 = require("@aws-sdk/core/client"); | ||
| const client_2 = require("@smithy/core/client"); | ||
| const config_1 = require("@smithy/core/config"); | ||
| const retry_1 = require("@smithy/core/retry"); | ||
| const serde_1 = require("@smithy/core/serde"); | ||
| const fetch_http_handler_1 = require("@smithy/fetch-http-handler"); | ||
| const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); | ||
| const packageInfo = require("../package.json"); | ||
| const { Sha256 } = require("@aws-crypto/sha256-browser"); | ||
| const { createDefaultUserAgentProvider } = require("@aws-sdk/core/client"); | ||
| const { invalidProvider, loadConfigsForDefaultMode } = require("@smithy/core/client"); | ||
| const { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig } = require("@smithy/core/config"); | ||
| const { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } = require("@smithy/core/retry"); | ||
| const { calculateBodyLength } = require("@smithy/core/serde"); | ||
| const { FetchHttpHandler: RequestHandler, streamCollector } = require("@smithy/fetch-http-handler"); | ||
| const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared"); | ||
| const getRuntimeConfig = (config) => { | ||
| const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config); | ||
| const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode); | ||
| const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); | ||
| const defaultsMode = resolveDefaultsModeConfig(config); | ||
| const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); | ||
| const clientSharedValues = getSharedRuntimeConfig(config); | ||
| return { | ||
@@ -23,14 +19,14 @@ ...clientSharedValues, | ||
| defaultsMode, | ||
| bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength, | ||
| defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), | ||
| maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS, | ||
| region: config?.region ?? (0, client_2.invalidProvider)("Region is missing"), | ||
| requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), | ||
| retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE), | ||
| sha256: config?.sha256 ?? sha256_browser_1.Sha256, | ||
| streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector, | ||
| useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)), | ||
| useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)), | ||
| bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, | ||
| defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), | ||
| maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, | ||
| region: config?.region ?? invalidProvider("Region is missing"), | ||
| requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), | ||
| retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), | ||
| sha256: config?.sha256 ?? Sha256, | ||
| streamCollector: config?.streamCollector ?? streamCollector, | ||
| useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)), | ||
| useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)), | ||
| }; | ||
| }; | ||
| exports.getRuntimeConfig = getRuntimeConfig; |
@@ -1,20 +0,16 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.getRuntimeConfig = void 0; | ||
| const tslib_1 = require("tslib"); | ||
| const package_json_1 = tslib_1.__importDefault(require("../package.json")); | ||
| const client_1 = require("@aws-sdk/core/client"); | ||
| const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); | ||
| const client_2 = require("@smithy/core/client"); | ||
| const config_1 = require("@smithy/core/config"); | ||
| const retry_1 = require("@smithy/core/retry"); | ||
| const serde_1 = require("@smithy/core/serde"); | ||
| const node_http_handler_1 = require("@smithy/node-http-handler"); | ||
| const runtimeConfig_shared_1 = require("./runtimeConfig.shared"); | ||
| const packageInfo = require("../package.json"); | ||
| const { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion: awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS } = require("@aws-sdk/core/client"); | ||
| const { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes"); | ||
| const { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } = require("@smithy/core/client"); | ||
| const { loadConfig: loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig } = require("@smithy/core/config"); | ||
| const { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } = require("@smithy/core/retry"); | ||
| const { calculateBodyLength, Hash } = require("@smithy/core/serde"); | ||
| const { NodeHttpHandler: RequestHandler, streamCollector } = require("@smithy/node-http-handler"); | ||
| const { getRuntimeConfig: getSharedRuntimeConfig } = require("./runtimeConfig.shared"); | ||
| const getRuntimeConfig = (config) => { | ||
| (0, client_2.emitWarningIfUnsupportedVersion)(process.version); | ||
| const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config); | ||
| const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode); | ||
| const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); | ||
| (0, client_1.emitWarningIfUnsupportedVersion)(process.version); | ||
| emitWarningIfUnsupportedVersion(process.version); | ||
| const defaultsMode = resolveDefaultsModeConfig(config); | ||
| const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); | ||
| const clientSharedValues = getSharedRuntimeConfig(config); | ||
| awsCheckVersion(process.version); | ||
| const loaderConfig = { | ||
@@ -29,20 +25,20 @@ profile: config?.profile, | ||
| defaultsMode, | ||
| authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), | ||
| bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength, | ||
| defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), | ||
| maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), | ||
| region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), | ||
| requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), | ||
| authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig), | ||
| bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, | ||
| defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), | ||
| maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config), | ||
| region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }), | ||
| requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), | ||
| retryMode: config?.retryMode ?? | ||
| (0, config_1.loadConfig)({ | ||
| ...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, | ||
| default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE, | ||
| loadNodeConfig({ | ||
| ...NODE_RETRY_MODE_CONFIG_OPTIONS, | ||
| default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, | ||
| }, config), | ||
| sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"), | ||
| streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, | ||
| useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), | ||
| useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), | ||
| userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), | ||
| sha256: config?.sha256 ?? Hash.bind(null, "sha256"), | ||
| streamCollector: config?.streamCollector ?? streamCollector, | ||
| useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig), | ||
| useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig), | ||
| userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig), | ||
| }; | ||
| }; | ||
| exports.getRuntimeConfig = getRuntimeConfig; |
@@ -1,8 +0,5 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.getRuntimeConfig = void 0; | ||
| const sha256_js_1 = require("@aws-crypto/sha256-js"); | ||
| const runtimeConfig_browser_1 = require("./runtimeConfig.browser"); | ||
| const { Sha256 } = require("@aws-crypto/sha256-js"); | ||
| const { getRuntimeConfig: getBrowserRuntimeConfig } = require("./runtimeConfig.browser"); | ||
| const getRuntimeConfig = (config) => { | ||
| const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config); | ||
| const browserDefaults = getBrowserRuntimeConfig(config); | ||
| return { | ||
@@ -12,5 +9,5 @@ ...browserDefaults, | ||
| runtime: "react-native", | ||
| sha256: config?.sha256 ?? sha256_js_1.Sha256, | ||
| sha256: config?.sha256 ?? Sha256, | ||
| }; | ||
| }; | ||
| exports.getRuntimeConfig = getRuntimeConfig; |
@@ -1,22 +0,19 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.getRuntimeConfig = void 0; | ||
| const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes"); | ||
| const protocols_1 = require("@aws-sdk/core/protocols"); | ||
| const core_1 = require("@smithy/core"); | ||
| const client_1 = require("@smithy/core/client"); | ||
| const protocols_2 = require("@smithy/core/protocols"); | ||
| const serde_1 = require("@smithy/core/serde"); | ||
| const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider"); | ||
| const endpointResolver_1 = require("./endpoint/endpointResolver"); | ||
| const schemas_0_1 = require("./schemas/schemas_0"); | ||
| const getRuntimeConfig = (config) => { | ||
| const { AwsSdkSigV4Signer } = require("@aws-sdk/core/httpAuthSchemes"); | ||
| const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols"); | ||
| const { NoAuthSigner } = require("@smithy/core"); | ||
| const { NoOpLogger } = require("@smithy/core/client"); | ||
| const { parseUrl } = require("@smithy/core/protocols"); | ||
| const { fromBase64, fromUtf8, toBase64, toUtf8 } = require("@smithy/core/serde"); | ||
| const { defaultSSOHttpAuthSchemeProvider } = require("./auth/httpAuthSchemeProvider"); | ||
| const { defaultEndpointResolver } = require("./endpoint/endpointResolver"); | ||
| const { errorTypeRegistries } = require("./schemas/schemas_0"); | ||
| exports.getRuntimeConfig = (config) => { | ||
| return { | ||
| apiVersion: "2019-06-10", | ||
| base64Decoder: config?.base64Decoder ?? serde_1.fromBase64, | ||
| base64Encoder: config?.base64Encoder ?? serde_1.toBase64, | ||
| base64Decoder: config?.base64Decoder ?? fromBase64, | ||
| base64Encoder: config?.base64Encoder ?? toBase64, | ||
| disableHostPrefix: config?.disableHostPrefix ?? false, | ||
| endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, | ||
| endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, | ||
| extensions: config?.extensions ?? [], | ||
| httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOHttpAuthSchemeProvider, | ||
| httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSSOHttpAuthSchemeProvider, | ||
| httpAuthSchemes: config?.httpAuthSchemes ?? [ | ||
@@ -26,3 +23,3 @@ { | ||
| identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), | ||
| signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(), | ||
| signer: new AwsSdkSigV4Signer(), | ||
| }, | ||
@@ -32,10 +29,10 @@ { | ||
| identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), | ||
| signer: new core_1.NoAuthSigner(), | ||
| signer: new NoAuthSigner(), | ||
| }, | ||
| ], | ||
| logger: config?.logger ?? new client_1.NoOpLogger(), | ||
| protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol, | ||
| logger: config?.logger ?? new NoOpLogger(), | ||
| protocol: config?.protocol ?? AwsRestJsonProtocol, | ||
| protocolSettings: config?.protocolSettings ?? { | ||
| defaultNamespace: "com.amazonaws.sso", | ||
| errorTypeRegistries: schemas_0_1.errorTypeRegistries, | ||
| errorTypeRegistries, | ||
| version: "2019-06-10", | ||
@@ -45,7 +42,6 @@ serviceTarget: "SWBPortalService", | ||
| serviceId: config?.serviceId ?? "SSO", | ||
| urlParser: config?.urlParser ?? protocols_2.parseUrl, | ||
| utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8, | ||
| utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8, | ||
| urlParser: config?.urlParser ?? parseUrl, | ||
| utf8Decoder: config?.utf8Decoder ?? fromUtf8, | ||
| utf8Encoder: config?.utf8Encoder ?? toUtf8, | ||
| }; | ||
| }; | ||
| exports.getRuntimeConfig = getRuntimeConfig; |
@@ -1,4 +0,1 @@ | ||
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.Logout$ = exports.ListAccounts$ = exports.ListAccountRoles$ = exports.GetRoleCredentials$ = exports.RoleInfo$ = exports.RoleCredentials$ = exports.LogoutRequest$ = exports.ListAccountsResponse$ = exports.ListAccountsRequest$ = exports.ListAccountRolesResponse$ = exports.ListAccountRolesRequest$ = exports.GetRoleCredentialsResponse$ = exports.GetRoleCredentialsRequest$ = exports.AccountInfo$ = exports.errorTypeRegistries = exports.UnauthorizedException$ = exports.TooManyRequestsException$ = exports.ResourceNotFoundException$ = exports.InvalidRequestException$ = exports.SSOServiceException$ = void 0; | ||
| const _AI = "AccountInfo"; | ||
@@ -55,10 +52,11 @@ const _ALT = "AccountListType"; | ||
| const n0 = "com.amazonaws.sso"; | ||
| const schema_1 = require("@smithy/core/schema"); | ||
| const errors_1 = require("../models/errors"); | ||
| const SSOServiceException_1 = require("../models/SSOServiceException"); | ||
| const _s_registry = schema_1.TypeRegistry.for(_s); | ||
| exports.SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []]; | ||
| _s_registry.registerError(exports.SSOServiceException$, SSOServiceException_1.SSOServiceException); | ||
| const n0_registry = schema_1.TypeRegistry.for(n0); | ||
| exports.InvalidRequestException$ = [-3, n0, _IRE, | ||
| const { TypeRegistry } = require("@smithy/core/schema"); | ||
| const { InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, UnauthorizedException } = require("../models/errors"); | ||
| const { SSOServiceException } = require("../models/SSOServiceException"); | ||
| const _s_registry = TypeRegistry.for(_s); | ||
| const SSOServiceException$ = [-3, _s, "SSOServiceException", 0, [], []]; | ||
| exports.SSOServiceException$ = SSOServiceException$; | ||
| _s_registry.registerError(SSOServiceException$, SSOServiceException); | ||
| const n0_registry = TypeRegistry.for(n0); | ||
| const InvalidRequestException$ = [-3, n0, _IRE, | ||
| { [_e]: _c, [_hE]: 400 }, | ||
@@ -68,4 +66,5 @@ [_m], | ||
| ]; | ||
| n0_registry.registerError(exports.InvalidRequestException$, errors_1.InvalidRequestException); | ||
| exports.ResourceNotFoundException$ = [-3, n0, _RNFE, | ||
| exports.InvalidRequestException$ = InvalidRequestException$; | ||
| n0_registry.registerError(InvalidRequestException$, InvalidRequestException); | ||
| const ResourceNotFoundException$ = [-3, n0, _RNFE, | ||
| { [_e]: _c, [_hE]: 404 }, | ||
@@ -75,4 +74,5 @@ [_m], | ||
| ]; | ||
| n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException); | ||
| exports.TooManyRequestsException$ = [-3, n0, _TMRE, | ||
| exports.ResourceNotFoundException$ = ResourceNotFoundException$; | ||
| n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException); | ||
| const TooManyRequestsException$ = [-3, n0, _TMRE, | ||
| { [_e]: _c, [_hE]: 429 }, | ||
@@ -82,4 +82,5 @@ [_m], | ||
| ]; | ||
| n0_registry.registerError(exports.TooManyRequestsException$, errors_1.TooManyRequestsException); | ||
| exports.UnauthorizedException$ = [-3, n0, _UE, | ||
| exports.TooManyRequestsException$ = TooManyRequestsException$; | ||
| n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException); | ||
| const UnauthorizedException$ = [-3, n0, _UE, | ||
| { [_e]: _c, [_hE]: 401 }, | ||
@@ -89,3 +90,4 @@ [_m], | ||
| ]; | ||
| n0_registry.registerError(exports.UnauthorizedException$, errors_1.UnauthorizedException); | ||
| exports.UnauthorizedException$ = UnauthorizedException$; | ||
| n0_registry.registerError(UnauthorizedException$, UnauthorizedException); | ||
| exports.errorTypeRegistries = [ | ||
@@ -98,3 +100,3 @@ _s_registry, | ||
| var SessionTokenType = [0, n0, _STT, 8, 0]; | ||
| exports.AccountInfo$ = [3, n0, _AI, | ||
| const AccountInfo$ = [3, n0, _AI, | ||
| 0, | ||
@@ -104,3 +106,4 @@ [_aI, _aN, _eA], | ||
| ]; | ||
| exports.GetRoleCredentialsRequest$ = [3, n0, _GRCR, | ||
| exports.AccountInfo$ = AccountInfo$; | ||
| const GetRoleCredentialsRequest$ = [3, n0, _GRCR, | ||
| 0, | ||
@@ -110,8 +113,10 @@ [_rN, _aI, _aT], | ||
| ]; | ||
| exports.GetRoleCredentialsResponse$ = [3, n0, _GRCRe, | ||
| exports.GetRoleCredentialsRequest$ = GetRoleCredentialsRequest$; | ||
| const GetRoleCredentialsResponse$ = [3, n0, _GRCRe, | ||
| 0, | ||
| [_rC], | ||
| [[() => exports.RoleCredentials$, 0]] | ||
| [[() => RoleCredentials$, 0]] | ||
| ]; | ||
| exports.ListAccountRolesRequest$ = [3, n0, _LARR, | ||
| exports.GetRoleCredentialsResponse$ = GetRoleCredentialsResponse$; | ||
| const ListAccountRolesRequest$ = [3, n0, _LARR, | ||
| 0, | ||
@@ -121,3 +126,4 @@ [_aT, _aI, _nT, _mR], | ||
| ]; | ||
| exports.ListAccountRolesResponse$ = [3, n0, _LARRi, | ||
| exports.ListAccountRolesRequest$ = ListAccountRolesRequest$; | ||
| const ListAccountRolesResponse$ = [3, n0, _LARRi, | ||
| 0, | ||
@@ -127,3 +133,4 @@ [_nT, _rL], | ||
| ]; | ||
| exports.ListAccountsRequest$ = [3, n0, _LAR, | ||
| exports.ListAccountRolesResponse$ = ListAccountRolesResponse$; | ||
| const ListAccountsRequest$ = [3, n0, _LAR, | ||
| 0, | ||
@@ -133,3 +140,4 @@ [_aT, _nT, _mR], | ||
| ]; | ||
| exports.ListAccountsResponse$ = [3, n0, _LARi, | ||
| exports.ListAccountsRequest$ = ListAccountsRequest$; | ||
| const ListAccountsResponse$ = [3, n0, _LARi, | ||
| 0, | ||
@@ -139,3 +147,4 @@ [_nT, _aL], | ||
| ]; | ||
| exports.LogoutRequest$ = [3, n0, _LR, | ||
| exports.ListAccountsResponse$ = ListAccountsResponse$; | ||
| const LogoutRequest$ = [3, n0, _LR, | ||
| 0, | ||
@@ -145,3 +154,4 @@ [_aT], | ||
| ]; | ||
| exports.RoleCredentials$ = [3, n0, _RC, | ||
| exports.LogoutRequest$ = LogoutRequest$; | ||
| const RoleCredentials$ = [3, n0, _RC, | ||
| 0, | ||
@@ -151,3 +161,4 @@ [_aKI, _sAK, _sT, _ex], | ||
| ]; | ||
| exports.RoleInfo$ = [3, n0, _RI, | ||
| exports.RoleCredentials$ = RoleCredentials$; | ||
| const RoleInfo$ = [3, n0, _RI, | ||
| 0, | ||
@@ -157,20 +168,21 @@ [_rN, _aI], | ||
| ]; | ||
| exports.RoleInfo$ = RoleInfo$; | ||
| var __Unit = "unit"; | ||
| var AccountListType = [1, n0, _ALT, | ||
| 0, () => exports.AccountInfo$ | ||
| 0, () => AccountInfo$ | ||
| ]; | ||
| var RoleListType = [1, n0, _RLT, | ||
| 0, () => exports.RoleInfo$ | ||
| 0, () => RoleInfo$ | ||
| ]; | ||
| exports.GetRoleCredentials$ = [9, n0, _GRC, | ||
| { [_h]: ["GET", "/federation/credentials", 200] }, () => exports.GetRoleCredentialsRequest$, () => exports.GetRoleCredentialsResponse$ | ||
| { [_h]: ["GET", "/federation/credentials", 200] }, () => GetRoleCredentialsRequest$, () => GetRoleCredentialsResponse$ | ||
| ]; | ||
| exports.ListAccountRoles$ = [9, n0, _LARis, | ||
| { [_h]: ["GET", "/assignment/roles", 200] }, () => exports.ListAccountRolesRequest$, () => exports.ListAccountRolesResponse$ | ||
| { [_h]: ["GET", "/assignment/roles", 200] }, () => ListAccountRolesRequest$, () => ListAccountRolesResponse$ | ||
| ]; | ||
| exports.ListAccounts$ = [9, n0, _LA, | ||
| { [_h]: ["GET", "/assignment/accounts", 200] }, () => exports.ListAccountsRequest$, () => exports.ListAccountsResponse$ | ||
| { [_h]: ["GET", "/assignment/accounts", 200] }, () => ListAccountsRequest$, () => ListAccountsResponse$ | ||
| ]; | ||
| exports.Logout$ = [9, n0, _L, | ||
| { [_h]: ["POST", "/logout", 200] }, () => exports.LogoutRequest$, () => __Unit | ||
| { [_h]: ["POST", "/logout", 200] }, () => LogoutRequest$, () => __Unit | ||
| ]; |
+10
-10
| { | ||
| "name": "@aws-sdk/client-sso", | ||
| "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native", | ||
| "version": "3.1068.0", | ||
| "version": "3.1069.0", | ||
| "scripts": { | ||
| "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs", | ||
| "build:cjs": "node ../../scripts/compilation/inline", | ||
| "build:es": "tsc -p tsconfig.es.json", | ||
| "build:es": "premove dist-es && tsc -p tsconfig.es.json", | ||
| "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"", | ||
| "build:types": "tsc -p tsconfig.types.json", | ||
| "build:types": "premove dist-types && tsc -p tsconfig.types.json", | ||
| "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", | ||
| "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", | ||
| "clean": "premove dist-cjs dist-es dist-types", | ||
| "extract:docs": "api-extractor run --local", | ||
| "generate:client": "node ../../scripts/generate-clients/single-service --solo sso", | ||
| "generate:client": "node ../../scripts/generate-clients/single-service", | ||
| "test": "yarn g:vitest run --passWithNoTests", | ||
| "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs", | ||
| "test:watch": "yarn g:vitest watch --passWithNoTests", | ||
| "test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts", | ||
| "test:integration:watch": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts", | ||
| "test:watch": "yarn g:vitest watch --passWithNoTests" | ||
| "test:integration:watch": "yarn g:vitest watch --passWithNoTests -c vitest.config.integ.mts", | ||
| "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs" | ||
| }, | ||
@@ -28,4 +28,4 @@ "main": "./dist-cjs/index.js", | ||
| "@aws-crypto/sha256-js": "5.2.0", | ||
| "@aws-sdk/core": "^3.974.20", | ||
| "@aws-sdk/types": "^3.973.12", | ||
| "@aws-sdk/core": "^3.974.21", | ||
| "@aws-sdk/types": "^3.973.13", | ||
| "@smithy/core": "^3.24.6", | ||
@@ -32,0 +32,0 @@ "@smithy/fetch-http-handler": "^5.4.6", |
188104
-1.15%3937
-1.18%Updated
Updated