@aws-sdk/core
Advanced tools
Comparing version 3.664.0 to 3.665.0
@@ -47,8 +47,8 @@ "use strict"; | ||
var resolveAccountIdEndpointModeConfig = /* @__PURE__ */ __name((input) => { | ||
const accountIdEndpointModeProvider = (0, import_util_middleware.normalizeProvider)( | ||
input.accountIdEndpointMode ?? DEFAULT_ACCOUNT_ID_ENDPOINT_MODE | ||
); | ||
return { | ||
...input, | ||
accountIdEndpointMode: async () => { | ||
const accountIdEndpointModeProvider = (0, import_util_middleware.normalizeProvider)( | ||
input.accountIdEndpointMode ?? DEFAULT_ACCOUNT_ID_ENDPOINT_MODE | ||
); | ||
const accIdMode = await accountIdEndpointModeProvider(); | ||
@@ -55,0 +55,0 @@ if (!validateAccountIdEndpointMode(accIdMode)) { |
import { normalizeProvider } from "@smithy/util-middleware"; | ||
import { DEFAULT_ACCOUNT_ID_ENDPOINT_MODE, validateAccountIdEndpointMode, } from "./AccountIdEndpointModeConstants"; | ||
export const resolveAccountIdEndpointModeConfig = (input) => { | ||
const accountIdEndpointModeProvider = normalizeProvider(input.accountIdEndpointMode ?? DEFAULT_ACCOUNT_ID_ENDPOINT_MODE); | ||
return { | ||
...input, | ||
accountIdEndpointMode: async () => { | ||
const accountIdEndpointModeProvider = normalizeProvider(input.accountIdEndpointMode ?? DEFAULT_ACCOUNT_ID_ENDPOINT_MODE); | ||
const accIdMode = await accountIdEndpointModeProvider(); | ||
@@ -9,0 +9,0 @@ if (!validateAccountIdEndpointMode(accIdMode)) { |
{ | ||
"name": "@aws-sdk/core", | ||
"version": "3.664.0", | ||
"version": "3.665.0", | ||
"description": "Core functions & classes shared by multiple AWS SDK clients.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76027