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

@aws-sdk/client-sts

Package Overview
Dependencies
Maintainers
5
Versions
402
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 3.631.0 to 3.632.0

10

dist-cjs/index.js

@@ -1338,2 +1338,3 @@ "use strict";

);
const isCompatibleRequestHandler = !isH2(requestHandler);
stsClient = new stsClientCtor({

@@ -1343,3 +1344,3 @@ // A hack to make sts client uses the credential in current closure.

region: resolvedRegion,
requestHandler,
requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,
logger

@@ -1380,5 +1381,6 @@ });

);
const isCompatibleRequestHandler = !isH2(requestHandler);
stsClient = new stsClientCtor({
region: resolvedRegion,
requestHandler,
requestHandler: isCompatibleRequestHandler ? requestHandler : void 0,
logger

@@ -1403,2 +1405,6 @@ });

}, "getDefaultRoleAssumerWithWebIdentity");
var isH2 = /* @__PURE__ */ __name((requestHandler) => {
var _a2;
return ((_a2 = requestHandler == null ? void 0 : requestHandler.metadata) == null ? void 0 : _a2.handlerProtocol) === "h2";
}, "isH2");

@@ -1405,0 +1411,0 @@ // src/defaultRoleAssumers.ts

9

dist-es/defaultStsRoleAssumers.js

@@ -27,6 +27,7 @@ import { AssumeRoleCommand } from "./commands/AssumeRoleCommand";

const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger);
const isCompatibleRequestHandler = !isH2(requestHandler);
stsClient = new stsClientCtor({
credentialDefaultProvider: () => async () => closureSourceCreds,
region: resolvedRegion,
requestHandler: requestHandler,
requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
logger: logger,

@@ -56,5 +57,6 @@ });

const resolvedRegion = await resolveRegion(region, stsOptions?.parentClientConfig?.region, credentialProviderLogger);
const isCompatibleRequestHandler = !isH2(requestHandler);
stsClient = new stsClientCtor({
region: resolvedRegion,
requestHandler: requestHandler,
requestHandler: isCompatibleRequestHandler ? requestHandler : undefined,
logger: logger,

@@ -83,1 +85,4 @@ });

});
const isH2 = (requestHandler) => {
return requestHandler?.metadata?.handlerProtocol === "h2";
};
{
"name": "@aws-sdk/client-sts",
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
"version": "3.631.0",
"version": "3.632.0",
"scripts": {

@@ -25,12 +25,12 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"@aws-crypto/sha256-js": "5.2.0",
"@aws-sdk/client-sso-oidc": "3.631.0",
"@aws-sdk/client-sso-oidc": "3.632.0",
"@aws-sdk/core": "3.629.0",
"@aws-sdk/credential-provider-node": "3.631.0",
"@aws-sdk/credential-provider-node": "3.632.0",
"@aws-sdk/middleware-host-header": "3.620.0",
"@aws-sdk/middleware-logger": "3.609.0",
"@aws-sdk/middleware-recursion-detection": "3.620.0",
"@aws-sdk/middleware-user-agent": "3.631.0",
"@aws-sdk/middleware-user-agent": "3.632.0",
"@aws-sdk/region-config-resolver": "3.614.0",
"@aws-sdk/types": "3.609.0",
"@aws-sdk/util-endpoints": "3.631.0",
"@aws-sdk/util-endpoints": "3.632.0",
"@aws-sdk/util-user-agent-browser": "3.609.0",

@@ -37,0 +37,0 @@ "@aws-sdk/util-user-agent-node": "3.614.0",

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