Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/xhr-http-handler

Package Overview
Dependencies
Maintainers
5
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/xhr-http-handler - npm Package Compare versions

Comparing version 3.460.0 to 3.465.0

6

dist-cjs/xhr-http-handler.js

@@ -23,2 +23,8 @@ "use strict";

class XhrHttpHandler extends events_1.EventEmitter {
static create(instanceOrOptions) {
if (typeof (instanceOrOptions === null || instanceOrOptions === void 0 ? void 0 : instanceOrOptions.handle) === "function") {
return instanceOrOptions;
}
return new XhrHttpHandler(instanceOrOptions);
}
constructor(options) {

@@ -25,0 +31,0 @@ super();

@@ -20,2 +20,8 @@ import { HttpResponse } from "@smithy/protocol-http";

export class XhrHttpHandler extends EventEmitter {
static create(instanceOrOptions) {
if (typeof instanceOrOptions?.handle === "function") {
return instanceOrOptions;
}
return new XhrHttpHandler(instanceOrOptions);
}
constructor(options) {

@@ -22,0 +28,0 @@ super();

3

dist-types/ts3.4/xhr-http-handler.d.ts

@@ -21,2 +21,5 @@ import { HttpHandler, HttpRequest, HttpResponse } from "@smithy/protocol-http";

private configProvider;
static create(
instanceOrOptions?: HttpHandler<any> | XhrHttpHandlerOptions
): XhrHttpHandler | HttpHandler<any>;
constructor(

@@ -23,0 +26,0 @@ options?: XhrHttpHandlerOptions | Provider<XhrHttpHandlerOptions>

@@ -51,2 +51,7 @@ /// <reference types="node" />

private configProvider;
/**
* @returns the input if it is an HttpHandler of any class,
* or instantiates a new instance of this handler.
*/
static create(instanceOrOptions?: HttpHandler<any> | XhrHttpHandlerOptions): XhrHttpHandler | HttpHandler<any>;
constructor(options?: XhrHttpHandlerOptions | Provider<XhrHttpHandlerOptions>);

@@ -53,0 +58,0 @@ updateHttpClientConfig(key: keyof XhrHttpHandlerOptions, value: XhrHttpHandlerOptions[typeof key]): void;

8

package.json
{
"name": "@aws-sdk/xhr-http-handler",
"version": "3.460.0",
"version": "3.465.0",
"description": "Provides a way to make requests using XMLHttpRequest",

@@ -22,3 +22,3 @@ "scripts": {

"dependencies": {
"@aws-sdk/types": "3.460.0",
"@aws-sdk/types": "3.465.0",
"@smithy/protocol-http": "^3.0.9",

@@ -36,3 +36,2 @@ "@smithy/querystring-builder": "^2.0.13",

"rimraf": "3.0.2",
"typedoc": "0.23.23",
"typescript": "~4.9.5"

@@ -58,6 +57,3 @@ },

"url": "https://github.com/aws/aws-sdk-js-v3/issues"
},
"typedoc": {
"entryPoint": "src/index.ts"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc