@aws-sdk/middleware-endpoint-discovery 3.972.5 → 3.972.7

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.
@@ -1,4 +1,4 @@
1
- import { LoadedConfigSelectors } from "@smithy/node-config-provider";
1
+ import type { LoadedConfigSelectors } from "@smithy/node-config-provider";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { BuildHandler, HandlerExecutionContext, MetadataBearer } from "@smithy/types";
2
- import { EndpointDiscoveryMiddlewareConfig } from "./getEndpointDiscoveryPlugin";
3
- import { EndpointDiscoveryResolvedConfig, PreviouslyResolved } from "./resolveEndpointDiscoveryConfig";
1
+ import type { BuildHandler, HandlerExecutionContext, MetadataBearer } from "@smithy/types";
2
+ import type { EndpointDiscoveryMiddlewareConfig } from "./getEndpointDiscoveryPlugin";
3
+ import type { EndpointDiscoveryResolvedConfig, PreviouslyResolved } from "./resolveEndpointDiscoveryConfig";
4
4
  export declare const endpointDiscoveryMiddleware: (config: EndpointDiscoveryResolvedConfig & PreviouslyResolved, middlewareConfig: EndpointDiscoveryMiddlewareConfig) => <Output extends MetadataBearer = MetadataBearer>(next: BuildHandler<any, Output>, context: HandlerExecutionContext) => BuildHandler<any, Output>;
@@ -1,4 +1,4 @@
1
- import { AwsCredentialIdentity, Provider } from "@smithy/types";
1
+ import type { AwsCredentialIdentity, Provider } from "@smithy/types";
2
2
  /**
3
3
  * Generate key to index the endpoints in the cache
4
4
  */
@@ -1,5 +1,5 @@
1
- import { BuildHandlerOptions, HttpHandlerOptions, MiddlewareStack, Pluggable } from "@smithy/types";
2
- import { EndpointDiscoveryResolvedConfig, PreviouslyResolved } from "./resolveEndpointDiscoveryConfig";
1
+ import type { BuildHandlerOptions, HttpHandlerOptions, MiddlewareStack, Pluggable } from "@smithy/types";
2
+ import type { EndpointDiscoveryResolvedConfig, PreviouslyResolved } from "./resolveEndpointDiscoveryConfig";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { EndpointCache } from "@aws-sdk/endpoint-cache";
2
- import { AwsCredentialIdentity, MemoizedProvider, Provider } from "@smithy/types";
2
+ import type { AwsCredentialIdentity, MemoizedProvider, Provider } from "@smithy/types";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,5 +1,5 @@
1
- import { EndpointDiscoveryMiddlewareConfig } from "./getEndpointDiscoveryPlugin";
2
- import { EndpointDiscoveryResolvedConfig, PreviouslyResolved } from "./resolveEndpointDiscoveryConfig";
1
+ import type { EndpointDiscoveryMiddlewareConfig } from "./getEndpointDiscoveryPlugin";
2
+ import type { EndpointDiscoveryResolvedConfig, PreviouslyResolved } from "./resolveEndpointDiscoveryConfig";
3
3
  export interface UpdateDiscoveredEndpointInCacheOptions extends EndpointDiscoveryMiddlewareConfig {
4
4
  cacheKey: string;
5
5
  commandName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-endpoint-discovery",
3
- "version": "3.972.5",
3
+ "version": "3.972.7",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-endpoint-discovery",
@@ -32,10 +32,10 @@
32
32
  "typescript": "~5.8.3"
33
33
  },
34
34
  "dependencies": {
35
- "@aws-sdk/endpoint-cache": "^3.972.2",
36
- "@aws-sdk/types": "^3.973.3",
37
- "@smithy/node-config-provider": "^4.3.10",
38
- "@smithy/protocol-http": "^5.3.10",
35
+ "@aws-sdk/endpoint-cache": "^3.972.4",
36
+ "@aws-sdk/types": "^3.973.5",
37
+ "@smithy/node-config-provider": "^4.3.11",
38
+ "@smithy/protocol-http": "^5.3.11",
39
39
  "@smithy/types": "^4.13.0",
40
40
  "tslib": "^2.6.2"
41
41
  },
@@ -43,7 +43,7 @@
43
43
  "node": ">=20.0.0"
44
44
  },
45
45
  "typesVersions": {
46
- "<4.0": {
46
+ "<4.5": {
47
47
  "dist-types/*": [
48
48
  "dist-types/ts3.4/*"
49
49
  ]