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

@aws-sdk/client-textract

Package Overview
Dependencies
Maintainers
5
Versions
420
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-textract - npm Package Compare versions

Comparing version 3.621.0 to 3.622.0

30

dist-es/TextractClient.js

@@ -20,7 +20,7 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";

const _config_1 = resolveClientEndpointParameters(_config_0);
const _config_2 = resolveRegionConfig(_config_1);
const _config_3 = resolveEndpointConfig(_config_2);
const _config_4 = resolveHostHeaderConfig(_config_3);
const _config_5 = resolveUserAgentConfig(_config_4);
const _config_6 = resolveRetryConfig(_config_5);
const _config_2 = resolveUserAgentConfig(_config_1);
const _config_3 = resolveRetryConfig(_config_2);
const _config_4 = resolveRegionConfig(_config_3);
const _config_5 = resolveHostHeaderConfig(_config_4);
const _config_6 = resolveEndpointConfig(_config_5);
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);

@@ -30,11 +30,13 @@ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);

this.config = _config_8;
this.middlewareStack.use(getUserAgentPlugin(this.config));
this.middlewareStack.use(getRetryPlugin(this.config));
this.middlewareStack.use(getContentLengthPlugin(this.config));
this.middlewareStack.use(getHostHeaderPlugin(this.config));
this.middlewareStack.use(getLoggerPlugin(this.config));
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
this.middlewareStack.use(getUserAgentPlugin(this.config));
this.middlewareStack.use(getRetryPlugin(this.config));
this.middlewareStack.use(getContentLengthPlugin(this.config));
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
httpAuthSchemeParametersProvider: defaultTextractHttpAuthSchemeParametersProvider,
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
"aws.auth#sigv4": config.credentials,
}),
}));

@@ -46,10 +48,2 @@ this.middlewareStack.use(getHttpSigningPlugin(this.config));

}
getDefaultHttpAuthSchemeParametersProvider() {
return defaultTextractHttpAuthSchemeParametersProvider;
}
getIdentityProviderConfigProvider() {
return async (config) => new DefaultIdentityProviderConfig({
"aws.auth#sigv4": config.credentials,
});
}
}

8

dist-types/auth/httpAuthSchemeProvider.d.ts

@@ -33,3 +33,3 @@ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";

/**
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* @internal

@@ -39,3 +39,3 @@ */

/**
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
* @internal

@@ -50,3 +50,3 @@ */

/**
* experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
* @internal

@@ -56,3 +56,3 @@ */

/**
* experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
* @internal

@@ -59,0 +59,0 @@ */

@@ -30,2 +30,4 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";

extensions: import("./runtimeExtensions").RuntimeExtension[];
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;

@@ -36,4 +38,2 @@ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {

tls?: boolean | undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];

@@ -40,0 +40,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;

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

extensions: import("./runtimeExtensions").RuntimeExtension[];
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;

@@ -36,4 +38,2 @@ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {

tls?: boolean | undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];

@@ -40,0 +40,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;

@@ -29,2 +29,4 @@ import { TextractClientConfig } from "./TextractClient";

defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;

@@ -35,4 +37,2 @@ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {

tls?: boolean | undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];

@@ -39,0 +39,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;

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

*/
export type TextractClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
export type TextractClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
/**

@@ -171,3 +171,3 @@ * @public

*/
export type TextractClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
export type TextractClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
/**

@@ -198,4 +198,2 @@ * @public

destroy(): void;
private getDefaultHttpAuthSchemeParametersProvider;
private getIdentityProviderConfigProvider;
}

@@ -35,2 +35,7 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";

extensions: import("./runtimeExtensions").RuntimeExtension[];
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
retryStrategy?:
| import("@smithy/types").RetryStrategy
| import("@smithy/types").RetryStrategyV2
| undefined;
endpoint?:

@@ -60,7 +65,2 @@ | ((

tls?: boolean | undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
retryStrategy?:
| import("@smithy/types").RetryStrategy
| import("@smithy/types").RetryStrategyV2
| undefined;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];

@@ -67,0 +67,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;

@@ -39,2 +39,7 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";

extensions: import("./runtimeExtensions").RuntimeExtension[];
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
retryStrategy?:
| import("@smithy/types").RetryStrategy
| import("@smithy/types").RetryStrategyV2
| undefined;
endpoint?:

@@ -64,7 +69,2 @@ | ((

tls?: boolean | undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
retryStrategy?:
| import("@smithy/types").RetryStrategy
| import("@smithy/types").RetryStrategyV2
| undefined;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];

@@ -71,0 +71,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;

@@ -39,2 +39,7 @@ import { TextractClientConfig } from "./TextractClient";

>;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
retryStrategy?:
| import("@smithy/types").RetryStrategy
| import("@smithy/types").RetryStrategyV2
| undefined;
endpoint?:

@@ -54,7 +59,2 @@ | string

tls?: boolean | undefined;
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
retryStrategy?:
| import("@smithy/types").RetryStrategy
| import("@smithy/types").RetryStrategyV2
| undefined;
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];

@@ -61,0 +61,0 @@ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;

@@ -236,7 +236,7 @@ import {

ClientDefaults &
UserAgentInputConfig &
RetryInputConfig &
RegionInputConfig &
HostHeaderInputConfig &
EndpointInputConfig<EndpointParameters> &
HostHeaderInputConfig &
UserAgentInputConfig &
RetryInputConfig &
HttpAuthSchemeInputConfig &

@@ -249,7 +249,7 @@ ClientInputEndpointParameters;

RuntimeExtensionsConfig &
UserAgentResolvedConfig &
RetryResolvedConfig &
RegionResolvedConfig &
HostHeaderResolvedConfig &
EndpointResolvedConfig<EndpointParameters> &
HostHeaderResolvedConfig &
UserAgentResolvedConfig &
RetryResolvedConfig &
HttpAuthSchemeResolvedConfig &

@@ -270,4 +270,2 @@ ClientResolvedEndpointParameters;

destroy(): void;
private getDefaultHttpAuthSchemeParametersProvider;
private getIdentityProviderConfigProvider;
}
{
"name": "@aws-sdk/client-textract",
"description": "AWS SDK for JavaScript Textract Client for Node.js, Browser and React Native",
"version": "3.621.0",
"version": "3.622.0",
"scripts": {

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

"@aws-crypto/sha256-js": "5.2.0",
"@aws-sdk/client-sso-oidc": "3.621.0",
"@aws-sdk/client-sts": "3.621.0",
"@aws-sdk/core": "3.621.0",
"@aws-sdk/credential-provider-node": "3.621.0",
"@aws-sdk/client-sso-oidc": "3.622.0",
"@aws-sdk/client-sts": "3.622.0",
"@aws-sdk/core": "3.622.0",
"@aws-sdk/credential-provider-node": "3.622.0",
"@aws-sdk/middleware-host-header": "3.620.0",

@@ -38,3 +38,3 @@ "@aws-sdk/middleware-logger": "3.609.0",

"@smithy/config-resolver": "^3.0.5",
"@smithy/core": "^2.3.1",
"@smithy/core": "^2.3.2",
"@smithy/fetch-http-handler": "^3.2.4",

@@ -45,3 +45,3 @@ "@smithy/hash-node": "^3.0.3",

"@smithy/middleware-endpoint": "^3.1.0",
"@smithy/middleware-retry": "^3.0.13",
"@smithy/middleware-retry": "^3.0.14",
"@smithy/middleware-serde": "^3.0.3",

@@ -52,3 +52,3 @@ "@smithy/middleware-stack": "^3.0.3",

"@smithy/protocol-http": "^4.1.0",
"@smithy/smithy-client": "^3.1.11",
"@smithy/smithy-client": "^3.1.12",
"@smithy/types": "^3.3.0",

@@ -59,4 +59,4 @@ "@smithy/url-parser": "^3.0.3",

"@smithy/util-body-length-node": "^3.0.0",
"@smithy/util-defaults-mode-browser": "^3.0.13",
"@smithy/util-defaults-mode-node": "^3.0.13",
"@smithy/util-defaults-mode-browser": "^3.0.14",
"@smithy/util-defaults-mode-node": "^3.0.14",
"@smithy/util-endpoints": "^2.0.5",

@@ -63,0 +63,0 @@ "@smithy/util-middleware": "^3.0.3",

Sorry, the diff of this file is too big to display

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