🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@aws-sdk/client-sso

Package Overview
Dependencies
Maintainers
2
Versions
591
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version
3.1076.0
to
3.1077.0
+4
-3
dist-cjs/index.js

@@ -12,5 +12,6 @@ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");

const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
const { Sha256 } = require("@smithy/core/checksum");

@@ -95,3 +96,3 @@ const defaultSSOHttpAuthSchemeParametersProvider = async (config, context, input) => {

var version = "3.1075.0";
var version = "3.1076.0";
var packageInfo = {

@@ -403,2 +404,3 @@ version: version};

serviceId: config?.serviceId ?? "SSO",
sha256: config?.sha256 ?? Sha256,
urlParser: config?.urlParser ?? parseUrl,

@@ -436,3 +438,2 @@ utf8Decoder: config?.utf8Decoder ?? fromUtf8,

}, config),
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
streamCollector: config?.streamCollector ?? streamCollector,

@@ -439,0 +440,0 @@ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),

import packageInfo from "../package.json";
import { Sha256 } from "@aws-crypto/sha256-browser";
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";

@@ -25,3 +24,2 @@ import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";

retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
sha256: config?.sha256 ?? Sha256,
streamCollector: config?.streamCollector ?? streamCollector,

@@ -28,0 +26,0 @@ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),

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

import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
import { calculateBodyLength, Hash } from "@smithy/core/serde";
import { calculateBodyLength } from "@smithy/core/serde";
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";

@@ -37,3 +37,2 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";

}, config),
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
streamCollector: config?.streamCollector ?? streamCollector,

@@ -40,0 +39,0 @@ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),

@@ -1,2 +0,1 @@

import { Sha256 } from "@aws-crypto/sha256-js";
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";

@@ -9,4 +8,3 @@ export const getRuntimeConfig = (config) => {

runtime: "react-native",
sha256: config?.sha256 ?? Sha256,
};
};
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
import { NoAuthSigner } from "@smithy/core";
import { Sha256 } from "@smithy/core/checksum";
import { NoOpLogger } from "@smithy/core/client";

@@ -40,2 +41,3 @@ import { parseUrl } from "@smithy/core/protocols";

serviceId: config?.serviceId ?? "SSO",
sha256: config?.sha256 ?? Sha256,
urlParser: config?.urlParser ?? parseUrl,

@@ -42,0 +44,0 @@ utf8Decoder: config?.utf8Decoder ?? fromUtf8,

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

retryMode: string | import("@smithy/types").Provider<string>;
sha256: import("@smithy/types").HashConstructor;
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;

@@ -27,2 +26,3 @@ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);

apiVersion: string;
sha256: import("@smithy/types").HashConstructor;
urlParser: import("@smithy/types").UrlParser;

@@ -29,0 +29,0 @@ base64Decoder: import("@smithy/types").Decoder;

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

retryMode: string | import("@smithy/types").Provider<string>;
sha256: import("@smithy/types").HashConstructor;
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;

@@ -29,2 +28,3 @@ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;

apiVersion: string;
sha256: import("@smithy/types").HashConstructor;
urlParser: import("@smithy/types").UrlParser;

@@ -31,0 +31,0 @@ base64Decoder: import("@smithy/types").Decoder;

@@ -7,3 +7,2 @@ import type { SSOClientConfig } from "./SSOClient";

runtime: string;
sha256: import("@smithy/types").HashConstructor;
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;

@@ -17,2 +16,3 @@ cacheMiddleware?: boolean;

apiVersion: string;
sha256: import("@smithy/types").HashConstructor;
urlParser: import("@smithy/types").UrlParser;

@@ -19,0 +19,0 @@ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;

@@ -35,2 +35,3 @@ import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";

serviceId: string;
sha256: import("@smithy/types").HashConstructor;
urlParser: import("@smithy/types").UrlParser;

@@ -37,0 +38,0 @@ utf8Decoder: import("@smithy/types").Decoder;

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

retryMode: string | import("@smithy/types").Provider<string>;
sha256: import("@smithy/types").HashConstructor;
streamCollector: (

@@ -41,2 +40,3 @@ stream:

apiVersion: string;
sha256: import("@smithy/types").HashConstructor;
urlParser: import("@smithy/types").UrlParser;

@@ -43,0 +43,0 @@ base64Decoder: import("@smithy/types").Decoder;

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

retryMode: string | import("@smithy/types").Provider<string>;
sha256: import("@smithy/types").HashConstructor;
streamCollector: (

@@ -41,2 +40,3 @@ stream:

apiVersion: string;
sha256: import("@smithy/types").HashConstructor;
urlParser: import("@smithy/types").UrlParser;

@@ -43,0 +43,0 @@ base64Decoder: import("@smithy/types").Decoder;

import { SSOClientConfig } from "./SSOClient";
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
runtime: string;
sha256: import("@smithy/types").HashConstructor;
requestHandler:

@@ -21,2 +20,3 @@ | import("@smithy/types").NodeHttpHandlerOptions

apiVersion: string;
sha256: import("@smithy/types").HashConstructor;
urlParser: import("@smithy/types").UrlParser;

@@ -23,0 +23,0 @@ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;

@@ -55,2 +55,3 @@ import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";

serviceId: string;
sha256: import("@smithy/types").HashConstructor;
urlParser: import("@smithy/types").UrlParser;

@@ -57,0 +58,0 @@ utf8Decoder: import("@smithy/types").Decoder;

{
"name": "@aws-sdk/client-sso",
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
"version": "3.1076.0",
"version": "3.1077.0",
"scripts": {

@@ -26,9 +26,7 @@ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",

"dependencies": {
"@aws-crypto/sha256-browser": "5.2.0",
"@aws-crypto/sha256-js": "5.2.0",
"@aws-sdk/core": "^3.974.24",
"@aws-sdk/core": "^3.974.25",
"@aws-sdk/types": "^3.973.14",
"@smithy/core": "^3.27.0",
"@smithy/fetch-http-handler": "^5.6.0",
"@smithy/node-http-handler": "^4.9.0",
"@smithy/core": "^3.28.0",
"@smithy/fetch-http-handler": "^5.6.1",
"@smithy/node-http-handler": "^4.9.1",
"@smithy/types": "^4.15.0",

@@ -38,3 +36,3 @@ "tslib": "^2.6.2"

"devDependencies": {
"@smithy/snapshot-testing": "^2.2.3",
"@smithy/snapshot-testing": "^2.2.4",
"@tsconfig/node20": "20.1.8",

@@ -41,0 +39,0 @@ "@types/node": "^20.14.8",