@aws-sdk/xhr-http-handler 3.357.0 → 3.363.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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.XhrHttpHandler = void 0;
|
|
4
|
-
const protocol_http_1 = require("@
|
|
5
|
-
const querystring_builder_1 = require("@
|
|
4
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
5
|
+
const querystring_builder_1 = require("@smithy/querystring-builder");
|
|
6
6
|
const events_1 = require("events");
|
|
7
7
|
const request_timeout_1 = require("./request-timeout");
|
|
8
8
|
const EVENTS = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpResponse } from "@
|
|
2
|
-
import { buildQueryString } from "@
|
|
1
|
+
import { HttpResponse } from "@smithy/protocol-http";
|
|
2
|
+
import { buildQueryString } from "@smithy/querystring-builder";
|
|
3
3
|
import { EventEmitter } from "events";
|
|
4
4
|
import { requestTimeout } from "./request-timeout";
|
|
5
5
|
const EVENTS = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HttpHandler, HttpRequest, HttpResponse } from "@
|
|
2
|
-
import { HttpHandlerOptions, Provider } from "@
|
|
1
|
+
import { HttpHandler, HttpRequest, HttpResponse } from "@smithy/protocol-http";
|
|
2
|
+
import { HttpHandlerOptions, Provider } from "@smithy/types";
|
|
3
3
|
import { EventEmitter } from "events";
|
|
4
4
|
export interface XhrHttpHandlerOptions {
|
|
5
5
|
requestTimeout?: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { HttpHandler, HttpRequest, HttpResponse } from "@
|
|
3
|
-
import { HttpHandlerOptions, Provider } from "@
|
|
2
|
+
import { HttpHandler, HttpRequest, HttpResponse } from "@smithy/protocol-http";
|
|
3
|
+
import { HttpHandlerOptions, Provider } from "@smithy/types";
|
|
4
4
|
import { EventEmitter } from "events";
|
|
5
5
|
/**
|
|
6
6
|
* Represents the http options that can be passed to the xhr http client.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/xhr-http-handler",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.363.0",
|
|
4
4
|
"description": "Provides a way to make requests using XMLHttpRequest",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -19,14 +19,15 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"types": "./dist-types/index.d.ts",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/protocol-http": "3.357.0",
|
|
23
|
-
"@aws-sdk/querystring-builder": "3.357.0",
|
|
24
22
|
"@aws-sdk/types": "3.357.0",
|
|
23
|
+
"@smithy/protocol-http": "^1.1.0",
|
|
24
|
+
"@smithy/querystring-builder": "^1.0.1",
|
|
25
|
+
"@smithy/types": "^1.1.0",
|
|
25
26
|
"events": "3.3.0",
|
|
26
27
|
"tslib": "^2.5.0"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
29
|
-
"@
|
|
30
|
+
"@smithy/abort-controller": "^1.0.1",
|
|
30
31
|
"@tsconfig/recommended": "1.0.1",
|
|
31
32
|
"concurrently": "7.0.0",
|
|
32
33
|
"downlevel-dts": "0.10.1",
|