@smithy/protocol-http
Advanced tools
Comparing version 2.0.5 to 3.0.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./extensions"), exports); | ||
tslib_1.__exportStar(require("./Field"), exports); | ||
@@ -5,0 +6,0 @@ tslib_1.__exportStar(require("./Fields"), exports); |
@@ -0,1 +1,2 @@ | ||
export * from "./extensions"; | ||
export * from "./Field"; | ||
@@ -2,0 +3,0 @@ export * from "./Fields"; |
import { HttpHandlerOptions, RequestHandler } from "@smithy/types"; | ||
import { HttpRequest } from "./httpRequest"; | ||
import { HttpResponse } from "./httpResponse"; | ||
export type HttpHandler = RequestHandler<HttpRequest, HttpResponse, HttpHandlerOptions>; | ||
/** | ||
* @internal | ||
*/ | ||
export type HttpHandler<HttpHandlerConfig> = RequestHandler<HttpRequest, HttpResponse, HttpHandlerOptions> & { | ||
/** | ||
* @internal | ||
* @param key | ||
* @param value | ||
*/ | ||
updateHttpClientConfig(key: keyof HttpHandlerConfig, value: HttpHandlerConfig[typeof key]): void; | ||
/** | ||
* @internal | ||
*/ | ||
httpHandlerConfigs(): HttpHandlerConfig; | ||
}; |
@@ -0,1 +1,2 @@ | ||
export * from "./extensions"; | ||
export * from "./Field"; | ||
@@ -2,0 +3,0 @@ export * from "./Fields"; |
import { HttpHandlerOptions, RequestHandler } from "@smithy/types"; | ||
import { HttpRequest } from "./httpRequest"; | ||
import { HttpResponse } from "./httpResponse"; | ||
export type HttpHandler = RequestHandler<HttpRequest, HttpResponse, HttpHandlerOptions>; | ||
/** | ||
* @internal | ||
*/ | ||
export type HttpHandler<HttpHandlerConfig> = RequestHandler<HttpRequest, HttpResponse, HttpHandlerOptions> & { | ||
/** | ||
* @internal | ||
* @param key | ||
* @param value | ||
*/ | ||
updateHttpClientConfig(key: keyof HttpHandlerConfig, value: HttpHandlerConfig[typeof key]): void; | ||
/** | ||
* @internal | ||
*/ | ||
httpHandlerConfigs(): HttpHandlerConfig; | ||
}; |
@@ -0,1 +1,2 @@ | ||
export * from "./extensions"; | ||
export * from "./Field"; | ||
@@ -2,0 +3,0 @@ export * from "./Fields"; |
{ | ||
"name": "@smithy/protocol-http", | ||
"version": "2.0.5", | ||
"version": "3.0.0", | ||
"scripts": { | ||
@@ -26,3 +26,3 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", | ||
"dependencies": { | ||
"@smithy/types": "^2.2.2", | ||
"@smithy/types": "^2.3.0", | ||
"tslib": "^2.5.0" | ||
@@ -29,0 +29,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37830
43
751
Updated@smithy/types@^2.3.0