Skip to content

Commit 0559ead

Browse files
authored
chore(ec2-metadata-service): set @smithy/protocol-http dependency (#5922)
1 parent 75c4599 commit 0559ead

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/ec2-metadata-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"module": "./dist-es/index.js",
2222
"types": "./dist-types/index.d.ts",
2323
"dependencies": {
24-
"@aws-sdk/protocol-http": "*",
24+
"@smithy/protocol-http": "^3.3.0",
2525
"@aws-sdk/types": "*",
2626
"@smithy/node-config-provider": "^2.3.0",
2727
"@smithy/node-http-handler": "^2.5.0",

packages/ec2-metadata-service/src/MetadataService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { HttpRequest } from "@aws-sdk/protocol-http";
21
import { HttpHandlerOptions } from "@aws-sdk/types";
32
import { loadConfig } from "@smithy/node-config-provider";
43
import { NodeHttpHandler } from "@smithy/node-http-handler";
4+
import { HttpRequest } from "@smithy/protocol-http";
55
import { sdkStreamMixin } from "@smithy/util-stream";
66

77
import { ENDPOINT_SELECTORS, IMDSv1_DISABLED_SELECTORS } from "./ConfigLoaders";

0 commit comments

Comments
 (0)