@aws-sdk/client-sso-oidc 3.649.0 → 3.651.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +4 -12
- package/dist-es/commands/CreateTokenCommand.js +1 -3
- package/dist-es/commands/CreateTokenWithIAMCommand.js +1 -3
- package/dist-es/commands/RegisterClientCommand.js +1 -3
- package/dist-es/commands/StartDeviceAuthorizationCommand.js +1 -3
- package/dist-es/endpoint/endpointResolver.js +7 -3
- package/package.json +4 -4
- package/dist-types/tsdoc-metadata.json +0 -11
package/dist-cjs/index.js
CHANGED
|
@@ -952,9 +952,7 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
952
952
|
var _ai = "aws_iam";
|
|
953
953
|
|
|
954
954
|
// src/commands/CreateTokenCommand.ts
|
|
955
|
-
var _CreateTokenCommand = class _CreateTokenCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
956
|
-
...commonParams
|
|
957
|
-
}).m(function(Command, cs, config, o) {
|
|
955
|
+
var _CreateTokenCommand = class _CreateTokenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
958
956
|
return [
|
|
959
957
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
960
958
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -968,9 +966,7 @@ var CreateTokenCommand = _CreateTokenCommand;
|
|
|
968
966
|
|
|
969
967
|
|
|
970
968
|
|
|
971
|
-
var _CreateTokenWithIAMCommand = class _CreateTokenWithIAMCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
972
|
-
...commonParams
|
|
973
|
-
}).m(function(Command, cs, config, o) {
|
|
969
|
+
var _CreateTokenWithIAMCommand = class _CreateTokenWithIAMCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
974
970
|
return [
|
|
975
971
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
976
972
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -984,9 +980,7 @@ var CreateTokenWithIAMCommand = _CreateTokenWithIAMCommand;
|
|
|
984
980
|
|
|
985
981
|
|
|
986
982
|
|
|
987
|
-
var _RegisterClientCommand = class _RegisterClientCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
988
|
-
...commonParams
|
|
989
|
-
}).m(function(Command, cs, config, o) {
|
|
983
|
+
var _RegisterClientCommand = class _RegisterClientCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
990
984
|
return [
|
|
991
985
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
992
986
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -1000,9 +994,7 @@ var RegisterClientCommand = _RegisterClientCommand;
|
|
|
1000
994
|
|
|
1001
995
|
|
|
1002
996
|
|
|
1003
|
-
var _StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1004
|
-
...commonParams
|
|
1005
|
-
}).m(function(Command, cs, config, o) {
|
|
997
|
+
var _StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1006
998
|
return [
|
|
1007
999
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1008
1000
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
@@ -7,9 +7,7 @@ import { de_CreateTokenCommand, se_CreateTokenCommand } from "../protocols/Aws_r
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class CreateTokenCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_CreateTokenWithIAMCommand, se_CreateTokenWithIAMCommand } from "../p
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class CreateTokenWithIAMCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_RegisterClientCommand, se_RegisterClientCommand } from "../protocols
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class RegisterClientCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -7,9 +7,7 @@ import { de_StartDeviceAuthorizationCommand, se_StartDeviceAuthorizationCommand
|
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class StartDeviceAuthorizationCommand extends $Command
|
|
9
9
|
.classBuilder()
|
|
10
|
-
.ep(
|
|
11
|
-
...commonParams,
|
|
12
|
-
})
|
|
10
|
+
.ep(commonParams)
|
|
13
11
|
.m(function (Command, cs, config, o) {
|
|
14
12
|
return [
|
|
15
13
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
3
|
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
+
});
|
|
4
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5
|
-
return resolveEndpoint(ruleSet, {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
6
10
|
endpointParams: endpointParams,
|
|
7
11
|
logger: context.logger,
|
|
8
|
-
});
|
|
12
|
+
}));
|
|
9
13
|
};
|
|
10
14
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sso-oidc",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.651.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso-oidc",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.651.1",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.651.1",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.649.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.649.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.649.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
},
|
|
86
86
|
"license": "Apache-2.0",
|
|
87
87
|
"peerDependencies": {
|
|
88
|
-
"@aws-sdk/client-sts": "^3.
|
|
88
|
+
"@aws-sdk/client-sts": "^3.651.1"
|
|
89
89
|
},
|
|
90
90
|
"browser": {
|
|
91
91
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
-
{
|
|
4
|
-
"tsdocVersion": "0.12",
|
|
5
|
-
"toolPackages": [
|
|
6
|
-
{
|
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
|
8
|
-
"packageVersion": "7.34.4"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|