@aws-sdk/middleware-endpoint-discovery 3.415.0 → 3.417.0

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.
@@ -13,7 +13,8 @@ const endpointDiscoveryMiddleware = (config, middlewareConfig) => (next, context
13
13
  }
14
14
  const { endpointDiscoveryCommandCtor } = config;
15
15
  const { isDiscoveredEndpointRequired, identifiers } = middlewareConfig;
16
- const { clientName, commandName } = context;
16
+ const clientName = context.clientName;
17
+ const commandName = context.commandName;
17
18
  const isEndpointDiscoveryEnabled = await config.endpointDiscoveryEnabled();
18
19
  const cacheKey = await (0, getCacheKey_1.getCacheKey)(commandName, config, { identifiers });
19
20
  if (isDiscoveredEndpointRequired) {
@@ -10,7 +10,8 @@ export const endpointDiscoveryMiddleware = (config, middlewareConfig) => (next,
10
10
  }
11
11
  const { endpointDiscoveryCommandCtor } = config;
12
12
  const { isDiscoveredEndpointRequired, identifiers } = middlewareConfig;
13
- const { clientName, commandName } = context;
13
+ const clientName = context.clientName;
14
+ const commandName = context.commandName;
14
15
  const isEndpointDiscoveryEnabled = await config.endpointDiscoveryEnabled();
15
16
  const cacheKey = await getCacheKey(commandName, config, { identifiers });
16
17
  if (isDiscoveredEndpointRequired) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-endpoint-discovery",
3
- "version": "3.415.0",
3
+ "version": "3.417.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",