@smithy/fetch-http-handler 5.1.0 → 5.2.0
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.
package/dist-cjs/index.js
CHANGED
|
@@ -18,13 +18,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
20
|
// src/index.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
23
|
FetchHttpHandler: () => FetchHttpHandler,
|
|
24
24
|
keepAliveSupport: () => keepAliveSupport,
|
|
25
25
|
streamCollector: () => streamCollector
|
|
26
26
|
});
|
|
27
|
-
module.exports = __toCommonJS(
|
|
27
|
+
module.exports = __toCommonJS(index_exports);
|
|
28
28
|
|
|
29
29
|
// src/fetch-http-handler.ts
|
|
30
30
|
var import_protocol_http = require("@smithy/protocol-http");
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { HttpHandler, HttpRequest
|
|
1
|
+
import type { HttpHandler, HttpRequest } from "@smithy/protocol-http";
|
|
2
|
+
import { HttpResponse } from "@smithy/protocol-http";
|
|
2
3
|
import type { FetchHttpHandlerOptions } from "@smithy/types";
|
|
3
|
-
import { HttpHandlerOptions, Provider } from "@smithy/types";
|
|
4
|
+
import type { HttpHandlerOptions, Provider } from "@smithy/types";
|
|
4
5
|
/**
|
|
5
6
|
* @public
|
|
6
7
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { StreamCollector } from "@smithy/types";
|
|
1
|
+
import type { StreamCollector } from "@smithy/types";
|
|
2
2
|
export declare const streamCollector: StreamCollector;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { HttpHandler, HttpRequest
|
|
1
|
+
import { HttpHandler, HttpRequest } from "@smithy/protocol-http";
|
|
2
|
+
import { HttpResponse } from "@smithy/protocol-http";
|
|
2
3
|
import { FetchHttpHandlerOptions } from "@smithy/types";
|
|
3
4
|
import { HttpHandlerOptions, Provider } from "@smithy/types";
|
|
4
5
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/fetch-http-handler",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
@@ -15,26 +15,27 @@
|
|
|
15
15
|
"extract:docs": "api-extractor run --local",
|
|
16
16
|
"test": "yarn g:vitest run && yarn test:browser",
|
|
17
17
|
"test:watch": "yarn g:vitest watch",
|
|
18
|
-
"test:browser": "yarn g:vitest run -c vitest.config.browser.
|
|
19
|
-
"test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.
|
|
18
|
+
"test:browser": "yarn g:vitest run -c vitest.config.browser.mts",
|
|
19
|
+
"test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.mts"
|
|
20
20
|
},
|
|
21
21
|
"author": {
|
|
22
22
|
"name": "AWS SDK for JavaScript Team",
|
|
23
23
|
"url": "https://aws.amazon.com/javascript/"
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
|
+
"sideEffects": false,
|
|
26
27
|
"main": "./dist-cjs/index.js",
|
|
27
28
|
"module": "./dist-es/index.js",
|
|
28
29
|
"types": "./dist-types/index.d.ts",
|
|
29
30
|
"dependencies": {
|
|
30
|
-
"@smithy/protocol-http": "^5.
|
|
31
|
-
"@smithy/querystring-builder": "^4.0
|
|
32
|
-
"@smithy/types": "^4.
|
|
33
|
-
"@smithy/util-base64": "^4.
|
|
31
|
+
"@smithy/protocol-http": "^5.2.0",
|
|
32
|
+
"@smithy/querystring-builder": "^4.1.0",
|
|
33
|
+
"@smithy/types": "^4.4.0",
|
|
34
|
+
"@smithy/util-base64": "^4.1.0",
|
|
34
35
|
"tslib": "^2.6.2"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
|
-
"@smithy/abort-controller": "^4.0
|
|
38
|
+
"@smithy/abort-controller": "^4.1.0",
|
|
38
39
|
"concurrently": "7.0.0",
|
|
39
40
|
"downlevel-dts": "0.10.1",
|
|
40
41
|
"rimraf": "3.0.2",
|