@aws-sdk/client-sts 3.535.0 → 3.540.0
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.
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const util_endpoints_2 = require("@smithy/util-endpoints");
|
|
5
6
|
const ruleset_1 = require("./ruleset");
|
|
6
7
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
-
return (0,
|
|
8
|
+
return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
9
|
endpointParams: endpointParams,
|
|
9
10
|
logger: context.logger,
|
|
10
11
|
});
|
|
11
12
|
};
|
|
12
13
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
14
|
+
util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1301,7 +1301,6 @@ var STS = _STS;
|
|
|
1301
1301
|
// src/index.ts
|
|
1302
1302
|
var import_EndpointParameters9 = require("./endpoint/EndpointParameters");
|
|
1303
1303
|
var import_runtimeExtensions = require("././runtimeExtensions");
|
|
1304
|
-
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1305
1304
|
|
|
1306
1305
|
// src/defaultStsRoleAssumers.ts
|
|
1307
1306
|
var ASSUME_ROLE_DEFAULT_REGION = "us-east-1";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
|
|
2
3
|
import { ruleSet } from "./ruleset";
|
|
3
4
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
5
|
return resolveEndpoint(ruleSet, {
|
|
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
6
7
|
logger: context.logger,
|
|
7
8
|
});
|
|
8
9
|
};
|
|
10
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-es/index.js
CHANGED
package/dist-types/index.d.ts
CHANGED
|
@@ -13,6 +13,5 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
13
13
|
export { STSExtensionConfiguration } from "./extensionConfiguration";
|
|
14
14
|
export * from "./commands";
|
|
15
15
|
export * from "./models";
|
|
16
|
-
import "@aws-sdk/util-endpoints";
|
|
17
16
|
export * from "./defaultRoleAssumers";
|
|
18
17
|
export { STSServiceException } from "./models/STSServiceException";
|
|
@@ -5,6 +5,5 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { STSExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./models";
|
|
8
|
-
import "@aws-sdk/util-endpoints";
|
|
9
8
|
export * from "./defaultRoleAssumers";
|
|
10
9
|
export { STSServiceException } from "./models/STSServiceException";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.540.0",
|
|
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-sts",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.540.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
31
|
"@aws-sdk/types": "3.535.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.540.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
},
|
|
88
88
|
"license": "Apache-2.0",
|
|
89
89
|
"peerDependencies": {
|
|
90
|
-
"@aws-sdk/credential-provider-node": "^3.
|
|
90
|
+
"@aws-sdk/credential-provider-node": "^3.540.0"
|
|
91
91
|
},
|
|
92
92
|
"browser": {
|
|
93
93
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|