Skip to content

Commit f365812

Browse files
committed
formatting
1 parent f32ad4d commit f365812

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

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/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)