Socket
Socket
Sign inDemoInstall

@aws-sdk/types

Package Overview
Dependencies
1
Maintainers
5
Versions
142
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.254.0 to 3.257.0

6

dist-cjs/auth.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpAuthLocation = void 0;
var HttpAuthLocation;
(function (HttpAuthLocation) {
HttpAuthLocation["HEADER"] = "header";
HttpAuthLocation["QUERY"] = "query";
})(HttpAuthLocation = exports.HttpAuthLocation || (exports.HttpAuthLocation = {}));

6

dist-es/auth.js

@@ -1,1 +0,5 @@

export {};
export var HttpAuthLocation;
(function (HttpAuthLocation) {
HttpAuthLocation["HEADER"] = "header";
HttpAuthLocation["QUERY"] = "query";
})(HttpAuthLocation || (HttpAuthLocation = {}));

@@ -28,1 +28,21 @@ /**

}
export interface HttpAuthDefinition {
/**
* Defines the location of where the Auth is serialized.
*/
in: HttpAuthLocation;
/**
* Defines the name of the HTTP header or query string parameter
* that contains the Auth.
*/
name: string;
/**
* Defines the security scheme to use on the `Authorization` header value.
* This can only be set if the "in" property is set to {@link HttpAuthLocation.HEADER}.
*/
scheme?: string;
}
export declare enum HttpAuthLocation {
HEADER = "header",
QUERY = "query"
}

@@ -1,2 +0,2 @@

import { AuthScheme } from "./auth";
import { AuthScheme, HttpAuthDefinition } from "./auth";
import { EndpointV2 } from "./endpoint";

@@ -347,2 +347,7 @@ import { Logger } from "./logger";

/**
* The current auth configuration that has been set by any auth middleware and
* that will prevent from being set more than once.
*/
currentAuthConfig?: HttpAuthDefinition;
/**
* Used by DynamoDbDocumentClient.

@@ -349,0 +354,0 @@ */

@@ -9,1 +9,10 @@ export interface AuthScheme {

}
export interface HttpAuthDefinition {
in: HttpAuthLocation;
name: string;
scheme?: string;
}
export declare enum HttpAuthLocation {
HEADER = "header",
QUERY = "query",
}

3

dist-types/ts3.4/middleware.d.ts

@@ -1,2 +0,2 @@

import { AuthScheme } from "./auth";
import { AuthScheme, HttpAuthDefinition } from "./auth";
import { EndpointV2 } from "./endpoint";

@@ -205,2 +205,3 @@ import { Logger } from "./logger";

authSchemes?: AuthScheme[];
currentAuthConfig?: HttpAuthDefinition;
dynamoDbDocumentClientOptions?: Partial<{

@@ -207,0 +208,0 @@ overrideInputFilterSensitiveLog(...args: any[]): string | void;

{
"name": "@aws-sdk/types",
"version": "3.254.0",
"version": "3.257.0",
"main": "./dist-cjs/index.js",

@@ -5,0 +5,0 @@ "module": "./dist-es/index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc