Skip to content

Commit b253732

Browse files
committed
formatting
1 parent f32ad4d commit b253732

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

.changeset/sixty-fireants-pay.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
"@smithy/fetch-http-handler": minor
33
"@smithy/node-http-handler": minor
4-
"@smithy/protocol-http": minor
54
"@smithy/types": minor
65
---
76

packages/fetch-http-handler/src/fetch-http-handler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { HttpHandler, HttpRequest, HttpResponse } from "@smithy/protocol-http";
22
import { buildQueryString } from "@smithy/querystring-builder";
3+
import type { FetchHttpHandlerOptions } from "@smithy/types";
34
import { HeaderBag, HttpHandlerOptions, Provider } from "@smithy/types";
45

56
import { requestTimeout } from "./request-timeout";
67

78
declare let AbortController: any;
89

9-
import type { FetchHttpHandlerOptions } from '@smithy/types';
10-
export { FetchHttpHandlerOptions }
10+
export { FetchHttpHandlerOptions };
1111

1212
type FetchHttpHandlerConfig = FetchHttpHandlerOptions;
1313

packages/node-http-handler/src/node-http-handler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { HttpHandler, HttpRequest, HttpResponse } from "@smithy/protocol-http";
22
import { buildQueryString } from "@smithy/querystring-builder";
3-
import type { NodeHttpHandlerOptions } from '@smithy/types';
3+
import type { NodeHttpHandlerOptions } from "@smithy/types";
44
import { HttpHandlerOptions, Provider } from "@smithy/types";
55
import { Agent as hAgent, request as hRequest } from "http";
6-
import { Agent as hsAgent, request as hsRequest,RequestOptions } from "https";
6+
import { Agent as hsAgent, request as hsRequest, RequestOptions } from "https";
77

88
import { NODEJS_TIMEOUT_ERROR_CODES } from "./constants";
99
import { getTransformedHeaders } from "./get-transformed-headers";

packages/protocol-http/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ export * from "./extensions";
22
export * from "./Field";
33
export * from "./Fields";
44
export * from "./httpHandler";
5-
export * from "./httpHandlerInitialization";
65
export * from "./httpRequest";
76
export * from "./httpResponse";
87
export * from "./isValidHostname";

packages/types/src/http/httpHandlerInitialization.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export type RequestHandlerParams = NodeHttpHandlerOptions | FetchHttpHandlerOpti
1717

1818
/**
1919
* Represents the http options that can be passed to a node http client.
20+
* @public
2021
*/
2122
export interface NodeHttpHandlerOptions {
2223
/**
@@ -47,6 +48,7 @@ export interface NodeHttpHandlerOptions {
4748

4849
/**
4950
* Represents the http options that can be passed to a browser http client.
51+
* @public
5052
*/
5153
export interface FetchHttpHandlerOptions {
5254
/**

packages/types/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export * from "./endpoints";
1212
export * from "./eventStream";
1313
export * from "./extensions";
1414
export * from "./http";
15+
export * from "./http/httpHandlerInitialization";
1516
export * from "./identity";
1617
export * from "./logger";
1718
export * from "./middleware";

0 commit comments

Comments
 (0)