Socket
Socket
Sign inDemoInstall

@aws-sdk/client-swf

Package Overview
Dependencies
138
Maintainers
5
Versions
367
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.515.0 to 3.521.0

2

dist-cjs/runtimeConfig.browser.js

@@ -31,3 +31,3 @@ "use strict";

region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),

@@ -34,0 +34,0 @@ sha256: config?.sha256 ?? sha256_browser_1.Sha256,

@@ -37,3 +37,3 @@ "use strict";

region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
retryMode: config?.retryMode ??

@@ -40,0 +40,0 @@ (0, node_config_provider_1.loadConfig)({

@@ -27,3 +27,3 @@ import packageInfo from "../package.json";

region: config?.region ?? invalidProvider("Region is missing"),
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),

@@ -30,0 +30,0 @@ sha256: config?.sha256 ?? Sha256,

@@ -33,3 +33,3 @@ import packageInfo from "../package.json";

region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
retryMode: config?.retryMode ??

@@ -36,0 +36,0 @@ loadNodeConfig({

@@ -14,6 +14,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";

region: string | import("@smithy/types").Provider<any>;
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
updateHttpClientConfig(key: never, value: never): void;
httpHandlerConfigs(): {};
}) | RequestHandler;
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
retryMode: string | import("@smithy/types").Provider<string>;

@@ -20,0 +17,0 @@ sha256: import("@smithy/types").HashConstructor;

@@ -14,6 +14,3 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";

region: string | import("@smithy/types").Provider<string>;
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
updateHttpClientConfig(key: never, value: never): void;
httpHandlerConfigs(): {};
}) | RequestHandler;
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
retryMode: string | import("@smithy/types").Provider<string>;

@@ -20,0 +17,0 @@ sha256: import("@smithy/types").HashConstructor;

@@ -8,6 +8,3 @@ import { SWFClientConfig } from "./SWFClient";

sha256: import("@smithy/types").HashConstructor;
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
updateHttpClientConfig(key: never, value: never): void;
httpHandlerConfigs(): {};
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
apiVersion: string;

@@ -14,0 +11,0 @@ urlParser: import("@smithy/types").UrlParser;

@@ -6,3 +6,3 @@ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";

import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";

@@ -62,7 +62,7 @@ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";

*/
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
/**
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
*/
requestHandler?: __HttpHandler;
requestHandler?: __HttpHandlerUserInput;
/**

@@ -69,0 +69,0 @@ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface

@@ -18,15 +18,3 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";

requestHandler:
| (import("@smithy/types").RequestHandler<
any,
any,
import("@smithy/types").HttpHandlerOptions
> &
import("@smithy/types").RequestHandler<
import("@smithy/protocol-http").HttpRequest,
import("@smithy/protocol-http").HttpResponse,
import("@smithy/types").HttpHandlerOptions
> & {
updateHttpClientConfig(key: never, value: never): void;
httpHandlerConfigs(): {};
})
| import("@smithy/protocol-http").HttpHandler<any>
| RequestHandler;

@@ -33,0 +21,0 @@ retryMode: string | import("@smithy/types").Provider<string>;

@@ -22,16 +22,4 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";

requestHandler:
| (import("@smithy/types").RequestHandler<
any,
any,
import("@smithy/types").HttpHandlerOptions
> &
import("@smithy/types").RequestHandler<
import("@smithy/protocol-http").HttpRequest,
import("@smithy/protocol-http").HttpResponse,
import("@smithy/types").HttpHandlerOptions
> & {
updateHttpClientConfig(key: never, value: never): void;
httpHandlerConfigs(): {};
})
| RequestHandler;
| RequestHandler
| import("@smithy/protocol-http").HttpHandler<any>;
retryMode: string | import("@smithy/types").Provider<string>;

@@ -38,0 +26,0 @@ sha256: import("@smithy/types").HashConstructor;

@@ -6,15 +6,6 @@ import { SWFClientConfig } from "./SWFClient";

requestHandler:
| (import("@smithy/types").RequestHandler<
any,
any,
import("@smithy/types").HttpHandlerOptions
> &
import("@smithy/types").RequestHandler<
import("@smithy/protocol-http").HttpRequest,
import("@smithy/protocol-http").HttpResponse,
import("@smithy/types").HttpHandlerOptions
> & {
updateHttpClientConfig(key: never, value: never): void;
httpHandlerConfigs(): {};
})
| import("@smithy/types").NodeHttpHandlerOptions
| import("@smithy/types").FetchHttpHandlerOptions
| Record<string, unknown>
| import("@smithy/protocol-http").HttpHandler<any>
| import("@smithy/fetch-http-handler").FetchHttpHandler;

@@ -21,0 +12,0 @@ apiVersion: string;

@@ -21,3 +21,3 @@ import {

} from "@smithy/middleware-retry";
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
import {

@@ -281,4 +281,4 @@ Client as __Client,

export interface ClientDefaults
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
requestHandler?: __HttpHandler;
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
requestHandler?: __HttpHandlerUserInput;
sha256?: __ChecksumConstructor | __HashConstructor;

@@ -285,0 +285,0 @@ urlParser?: __UrlParser;

{
"name": "@aws-sdk/client-swf",
"description": "AWS SDK for JavaScript Swf Client for Node.js, Browser and React Native",
"version": "3.515.0",
"version": "3.521.0",
"scripts": {

@@ -23,38 +23,38 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-crypto/sha256-js": "3.0.0",
"@aws-sdk/client-sts": "3.515.0",
"@aws-sdk/core": "3.513.0",
"@aws-sdk/credential-provider-node": "3.515.0",
"@aws-sdk/middleware-host-header": "3.515.0",
"@aws-sdk/middleware-logger": "3.515.0",
"@aws-sdk/middleware-recursion-detection": "3.515.0",
"@aws-sdk/middleware-user-agent": "3.515.0",
"@aws-sdk/region-config-resolver": "3.515.0",
"@aws-sdk/types": "3.515.0",
"@aws-sdk/util-endpoints": "3.515.0",
"@aws-sdk/util-user-agent-browser": "3.515.0",
"@aws-sdk/util-user-agent-node": "3.515.0",
"@smithy/config-resolver": "^2.1.1",
"@smithy/core": "^1.3.2",
"@smithy/fetch-http-handler": "^2.4.1",
"@smithy/hash-node": "^2.1.1",
"@smithy/invalid-dependency": "^2.1.1",
"@smithy/middleware-content-length": "^2.1.1",
"@smithy/middleware-endpoint": "^2.4.1",
"@smithy/middleware-retry": "^2.1.1",
"@smithy/middleware-serde": "^2.1.1",
"@smithy/middleware-stack": "^2.1.1",
"@smithy/node-config-provider": "^2.2.1",
"@smithy/node-http-handler": "^2.3.1",
"@smithy/protocol-http": "^3.1.1",
"@smithy/smithy-client": "^2.3.1",
"@smithy/types": "^2.9.1",
"@smithy/url-parser": "^2.1.1",
"@aws-sdk/client-sts": "3.521.0",
"@aws-sdk/core": "3.521.0",
"@aws-sdk/credential-provider-node": "3.521.0",
"@aws-sdk/middleware-host-header": "3.521.0",
"@aws-sdk/middleware-logger": "3.521.0",
"@aws-sdk/middleware-recursion-detection": "3.521.0",
"@aws-sdk/middleware-user-agent": "3.521.0",
"@aws-sdk/region-config-resolver": "3.521.0",
"@aws-sdk/types": "3.521.0",
"@aws-sdk/util-endpoints": "3.521.0",
"@aws-sdk/util-user-agent-browser": "3.521.0",
"@aws-sdk/util-user-agent-node": "3.521.0",
"@smithy/config-resolver": "^2.1.2",
"@smithy/core": "^1.3.3",
"@smithy/fetch-http-handler": "^2.4.2",
"@smithy/hash-node": "^2.1.2",
"@smithy/invalid-dependency": "^2.1.2",
"@smithy/middleware-content-length": "^2.1.2",
"@smithy/middleware-endpoint": "^2.4.2",
"@smithy/middleware-retry": "^2.1.2",
"@smithy/middleware-serde": "^2.1.2",
"@smithy/middleware-stack": "^2.1.2",
"@smithy/node-config-provider": "^2.2.2",
"@smithy/node-http-handler": "^2.4.0",
"@smithy/protocol-http": "^3.2.0",
"@smithy/smithy-client": "^2.4.0",
"@smithy/types": "^2.10.0",
"@smithy/url-parser": "^2.1.2",
"@smithy/util-base64": "^2.1.1",
"@smithy/util-body-length-browser": "^2.1.1",
"@smithy/util-body-length-node": "^2.2.1",
"@smithy/util-defaults-mode-browser": "^2.1.1",
"@smithy/util-defaults-mode-node": "^2.2.0",
"@smithy/util-endpoints": "^1.1.1",
"@smithy/util-middleware": "^2.1.1",
"@smithy/util-retry": "^2.1.1",
"@smithy/util-defaults-mode-browser": "^2.1.2",
"@smithy/util-defaults-mode-node": "^2.2.1",
"@smithy/util-endpoints": "^1.1.2",
"@smithy/util-middleware": "^2.1.2",
"@smithy/util-retry": "^2.1.2",
"@smithy/util-utf8": "^2.1.1",

@@ -61,0 +61,0 @@ "tslib": "^2.5.0"

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc