@aws-sdk/middleware-user-agent
Advanced tools
Comparing version 3.357.0 to 3.363.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getUserAgentPlugin = exports.getUserAgentMiddlewareOptions = exports.userAgentMiddleware = void 0; | ||
const protocol_http_1 = require("@aws-sdk/protocol-http"); | ||
const util_endpoints_1 = require("@aws-sdk/util-endpoints"); | ||
const protocol_http_1 = require("@smithy/protocol-http"); | ||
const constants_1 = require("./constants"); | ||
@@ -7,0 +7,0 @@ const userAgentMiddleware = (options) => (next, context) => async (args) => { |
@@ -1,3 +0,3 @@ | ||
import { HttpRequest } from "@aws-sdk/protocol-http"; | ||
import { getUserAgentPrefix } from "@aws-sdk/util-endpoints"; | ||
import { HttpRequest } from "@smithy/protocol-http"; | ||
import { SPACE, UA_ESCAPE_CHAR, UA_NAME_ESCAPE_REGEX, UA_NAME_SEPARATOR, UA_VALUE_ESCAPE_REGEX, USER_AGENT, X_AMZ_USER_AGENT, } from "./constants"; | ||
@@ -4,0 +4,0 @@ export const userAgentMiddleware = (options) => (next, context) => async (args) => { |
@@ -1,2 +0,2 @@ | ||
import { Provider, UserAgent } from "@aws-sdk/types"; | ||
import { Provider, UserAgent } from "@smithy/types"; | ||
export interface UserAgentInputConfig { | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { Provider, UserAgent } from "@aws-sdk/types"; | ||
import { Provider, UserAgent } from "@smithy/types"; | ||
export interface UserAgentInputConfig { | ||
@@ -3,0 +3,0 @@ customUserAgent?: string | UserAgent; |
@@ -8,3 +8,3 @@ import { | ||
Pluggable, | ||
} from "@aws-sdk/types"; | ||
} from "@smithy/types"; | ||
import { UserAgentResolvedConfig } from "./configurations"; | ||
@@ -11,0 +11,0 @@ export declare const userAgentMiddleware: ( |
@@ -1,2 +0,2 @@ | ||
import { AbsoluteLocation, BuildHandler, BuildHandlerOptions, HandlerExecutionContext, MetadataBearer, Pluggable } from "@aws-sdk/types"; | ||
import { AbsoluteLocation, BuildHandler, BuildHandlerOptions, HandlerExecutionContext, MetadataBearer, Pluggable } from "@smithy/types"; | ||
import { UserAgentResolvedConfig } from "./configurations"; | ||
@@ -3,0 +3,0 @@ /** |
{ | ||
"name": "@aws-sdk/middleware-user-agent", | ||
"version": "3.357.0", | ||
"version": "3.363.0", | ||
"scripts": { | ||
@@ -24,5 +24,6 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"dependencies": { | ||
"@aws-sdk/protocol-http": "3.357.0", | ||
"@aws-sdk/types": "3.357.0", | ||
"@aws-sdk/util-endpoints": "3.357.0", | ||
"@smithy/protocol-http": "^1.1.0", | ||
"@smithy/types": "^1.1.0", | ||
"tslib": "^2.5.0" | ||
@@ -29,0 +30,0 @@ }, |
25555
5
+ Added@smithy/protocol-http@^1.1.0
+ Added@smithy/types@^1.1.0
+ Added@smithy/protocol-http@1.2.0(transitive)
+ Added@smithy/types@1.2.0(transitive)
- Removed@aws-sdk/protocol-http@3.357.0
- Removed@aws-sdk/protocol-http@3.357.0(transitive)