🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@aws-sdk/client-bedrock-agent-runtime

Package Overview
Dependencies
Maintainers
2
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/client-bedrock-agent-runtime - npm Package Compare versions

Comparing version

to
3.806.0

12

dist-cjs/runtimeConfig.js

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

(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
const profileConfig = { profile: config?.profile };
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
return {

@@ -34,3 +34,3 @@ ...clientSharedValues,

defaultsMode,
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,

@@ -43,3 +43,3 @@ credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,

region: config?.region ??
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),

@@ -53,7 +53,7 @@ retryMode: config?.retryMode ??

streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
};
};
exports.getRuntimeConfig = getRuntimeConfig;

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

awsCheckVersion(process.version);
const profileConfig = { profile: config?.profile };
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
return {

@@ -30,3 +30,3 @@ ...clientSharedValues,

defaultsMode,
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,

@@ -39,3 +39,3 @@ credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,

region: config?.region ??
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),

@@ -49,6 +49,6 @@ retryMode: config?.retryMode ??

streamCollector: config?.streamCollector ?? streamCollector,
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
};
};
{
"name": "@aws-sdk/client-bedrock-agent-runtime",
"description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
"version": "3.804.0",
"version": "3.806.0",
"scripts": {

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

"@aws-crypto/sha256-js": "5.2.0",
"@aws-sdk/core": "3.804.0",
"@aws-sdk/credential-provider-node": "3.804.0",
"@aws-sdk/core": "3.806.0",
"@aws-sdk/credential-provider-node": "3.806.0",
"@aws-sdk/middleware-host-header": "3.804.0",
"@aws-sdk/middleware-logger": "3.804.0",
"@aws-sdk/middleware-recursion-detection": "3.804.0",
"@aws-sdk/middleware-user-agent": "3.804.0",
"@aws-sdk/region-config-resolver": "3.804.0",
"@aws-sdk/middleware-user-agent": "3.806.0",
"@aws-sdk/region-config-resolver": "3.806.0",
"@aws-sdk/types": "3.804.0",
"@aws-sdk/util-endpoints": "3.804.0",
"@aws-sdk/util-endpoints": "3.806.0",
"@aws-sdk/util-user-agent-browser": "3.804.0",
"@aws-sdk/util-user-agent-node": "3.804.0",
"@smithy/config-resolver": "^4.1.0",
"@aws-sdk/util-user-agent-node": "3.806.0",
"@smithy/config-resolver": "^4.1.1",
"@smithy/core": "^3.3.1",

@@ -44,10 +44,10 @@ "@smithy/eventstream-serde-browser": "^4.0.2",

"@smithy/middleware-content-length": "^4.0.2",
"@smithy/middleware-endpoint": "^4.1.2",
"@smithy/middleware-retry": "^4.1.3",
"@smithy/middleware-endpoint": "^4.1.3",
"@smithy/middleware-retry": "^4.1.4",
"@smithy/middleware-serde": "^4.0.3",
"@smithy/middleware-stack": "^4.0.2",
"@smithy/node-config-provider": "^4.0.2",
"@smithy/node-config-provider": "^4.1.0",
"@smithy/node-http-handler": "^4.0.4",
"@smithy/protocol-http": "^5.1.0",
"@smithy/smithy-client": "^4.2.2",
"@smithy/smithy-client": "^4.2.3",
"@smithy/types": "^4.2.0",

@@ -58,5 +58,5 @@ "@smithy/url-parser": "^4.0.2",

"@smithy/util-body-length-node": "^4.0.0",
"@smithy/util-defaults-mode-browser": "^4.0.10",
"@smithy/util-defaults-mode-node": "^4.0.10",
"@smithy/util-endpoints": "^3.0.2",
"@smithy/util-defaults-mode-browser": "^4.0.11",
"@smithy/util-defaults-mode-node": "^4.0.11",
"@smithy/util-endpoints": "^3.0.3",
"@smithy/util-middleware": "^4.0.2",

@@ -63,0 +63,0 @@ "@smithy/util-retry": "^4.0.3",