@aws-sdk/client-textract
Advanced tools
Comparing version 3.669.0 to 3.670.0
@@ -28,3 +28,3 @@ "use strict"; | ||
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? | ||
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), | ||
(0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), | ||
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS, | ||
@@ -31,0 +31,0 @@ region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"), |
@@ -34,3 +34,3 @@ "use strict"; | ||
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? | ||
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), | ||
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), | ||
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), | ||
@@ -37,0 +37,0 @@ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), |
import packageInfo from "../package.json"; | ||
import { Sha256 } from "@aws-crypto/sha256-browser"; | ||
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; | ||
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser"; | ||
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver"; | ||
@@ -24,3 +24,3 @@ import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler"; | ||
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? | ||
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), | ||
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), | ||
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, | ||
@@ -27,0 +27,0 @@ region: config?.region ?? invalidProvider("Region is missing"), |
import packageInfo from "../package.json"; | ||
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; | ||
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; | ||
import { NODE_APP_ID_CONFIG_OPTIONS, defaultUserAgent } from "@aws-sdk/util-user-agent-node"; | ||
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node"; | ||
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver"; | ||
@@ -30,3 +30,3 @@ import { Hash } from "@smithy/hash-node"; | ||
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? | ||
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), | ||
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), | ||
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), | ||
@@ -33,0 +33,0 @@ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), |
{ | ||
"name": "@aws-sdk/client-textract", | ||
"description": "AWS SDK for JavaScript Textract Client for Node.js, Browser and React Native", | ||
"version": "3.669.0", | ||
"version": "3.670.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.669.0", | ||
"@aws-sdk/client-sts": "3.669.0", | ||
"@aws-sdk/client-sso-oidc": "3.670.0", | ||
"@aws-sdk/client-sts": "3.670.0", | ||
"@aws-sdk/core": "3.667.0", | ||
"@aws-sdk/credential-provider-node": "3.669.0", | ||
"@aws-sdk/credential-provider-node": "3.670.0", | ||
"@aws-sdk/middleware-host-header": "3.667.0", | ||
@@ -35,3 +35,3 @@ "@aws-sdk/middleware-logger": "3.667.0", | ||
"@aws-sdk/util-endpoints": "3.667.0", | ||
"@aws-sdk/util-user-agent-browser": "3.667.0", | ||
"@aws-sdk/util-user-agent-browser": "3.670.0", | ||
"@aws-sdk/util-user-agent-node": "3.669.0", | ||
@@ -38,0 +38,0 @@ "@smithy/config-resolver": "^3.0.9", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
737720
6
101
+ Added@aws-sdk/client-sso@3.670.0(transitive)
+ Added@aws-sdk/client-sso-oidc@3.670.0(transitive)
+ Added@aws-sdk/client-sts@3.670.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.670.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.670.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.670.0(transitive)
+ Added@aws-sdk/util-user-agent-browser@3.670.0(transitive)
- Removed@aws-sdk/client-sso@3.669.0(transitive)
- Removed@aws-sdk/client-sso-oidc@3.669.0(transitive)
- Removed@aws-sdk/client-sts@3.669.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.669.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.669.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.669.0(transitive)
- Removed@aws-sdk/util-user-agent-browser@3.667.0(transitive)
Updated@aws-sdk/client-sts@3.670.0