@aws-sdk/client-sso 3.654.0 → 3.658.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 CHANGED
@@ -307,7 +307,7 @@ var import_core2 = require("@aws-sdk/core");
307
307
 
308
308
  var se_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => {
309
309
  const b = (0, import_core.requestBuilder)(input, context);
310
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
310
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
311
311
  [_xasbt]: input[_aT]
312
312
  });
313
313
  b.bp("/federation/credentials");
@@ -321,7 +321,7 @@ var se_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (input, context)
321
321
  }, "se_GetRoleCredentialsCommand");
322
322
  var se_ListAccountRolesCommand = /* @__PURE__ */ __name(async (input, context) => {
323
323
  const b = (0, import_core.requestBuilder)(input, context);
324
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
324
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
325
325
  [_xasbt]: input[_aT]
326
326
  });
327
327
  b.bp("/assignment/roles");
@@ -336,7 +336,7 @@ var se_ListAccountRolesCommand = /* @__PURE__ */ __name(async (input, context) =
336
336
  }, "se_ListAccountRolesCommand");
337
337
  var se_ListAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {
338
338
  const b = (0, import_core.requestBuilder)(input, context);
339
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
339
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
340
340
  [_xasbt]: input[_aT]
341
341
  });
342
342
  b.bp("/assignment/accounts");
@@ -350,7 +350,7 @@ var se_ListAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {
350
350
  }, "se_ListAccountsCommand");
351
351
  var se_LogoutCommand = /* @__PURE__ */ __name(async (input, context) => {
352
352
  const b = (0, import_core.requestBuilder)(input, context);
353
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
353
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
354
354
  [_xasbt]: input[_aT]
355
355
  });
356
356
  b.bp("/logout");
@@ -499,7 +499,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
499
499
  extendedRequestId: output.headers["x-amz-id-2"],
500
500
  cfId: output.headers["x-amz-cf-id"]
501
501
  }), "deserializeMetadata");
502
- var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
503
502
  var _aI = "accountId";
504
503
  var _aT = "accessToken";
505
504
  var _ai = "account_id";
@@ -1,6 +1,6 @@
1
1
  import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
2
2
  import { requestBuilder as rb } from "@smithy/core";
3
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, map, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { InvalidRequestException, ResourceNotFoundException, TooManyRequestsException, UnauthorizedException, } from "../models/models_0";
5
5
  import { SSOServiceException as __BaseException } from "../models/SSOServiceException";
6
6
  export const se_GetRoleCredentialsCommand = async (input, context) => {
@@ -198,11 +198,6 @@ const deserializeMetadata = (output) => ({
198
198
  cfId: output.headers["x-amz-cf-id"],
199
199
  });
200
200
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
201
- const isSerializableHeaderValue = (value) => value !== undefined &&
202
- value !== null &&
203
- value !== "" &&
204
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
205
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
206
201
  const _aI = "accountId";
207
202
  const _aT = "accessToken";
208
203
  const _ai = "account_id";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.654.0",
4
+ "version": "3.658.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",
@@ -20,7 +20,7 @@
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.654.0",
23
+ "@aws-sdk/core": "3.658.1",
24
24
  "@aws-sdk/middleware-host-header": "3.654.0",
25
25
  "@aws-sdk/middleware-logger": "3.654.0",
26
26
  "@aws-sdk/middleware-recursion-detection": "3.654.0",
@@ -31,26 +31,26 @@
31
31
  "@aws-sdk/util-user-agent-browser": "3.654.0",
32
32
  "@aws-sdk/util-user-agent-node": "3.654.0",
33
33
  "@smithy/config-resolver": "^3.0.8",
34
- "@smithy/core": "^2.4.3",
35
- "@smithy/fetch-http-handler": "^3.2.7",
34
+ "@smithy/core": "^2.4.6",
35
+ "@smithy/fetch-http-handler": "^3.2.8",
36
36
  "@smithy/hash-node": "^3.0.6",
37
37
  "@smithy/invalid-dependency": "^3.0.6",
38
38
  "@smithy/middleware-content-length": "^3.0.8",
39
39
  "@smithy/middleware-endpoint": "^3.1.3",
40
- "@smithy/middleware-retry": "^3.0.18",
40
+ "@smithy/middleware-retry": "^3.0.21",
41
41
  "@smithy/middleware-serde": "^3.0.6",
42
42
  "@smithy/middleware-stack": "^3.0.6",
43
43
  "@smithy/node-config-provider": "^3.1.7",
44
- "@smithy/node-http-handler": "^3.2.2",
44
+ "@smithy/node-http-handler": "^3.2.3",
45
45
  "@smithy/protocol-http": "^4.1.3",
46
- "@smithy/smithy-client": "^3.3.2",
46
+ "@smithy/smithy-client": "^3.3.5",
47
47
  "@smithy/types": "^3.4.2",
48
48
  "@smithy/url-parser": "^3.0.6",
49
49
  "@smithy/util-base64": "^3.0.0",
50
50
  "@smithy/util-body-length-browser": "^3.0.0",
51
51
  "@smithy/util-body-length-node": "^3.0.0",
52
- "@smithy/util-defaults-mode-browser": "^3.0.18",
53
- "@smithy/util-defaults-mode-node": "^3.0.18",
52
+ "@smithy/util-defaults-mode-browser": "^3.0.21",
53
+ "@smithy/util-defaults-mode-node": "^3.0.21",
54
54
  "@smithy/util-endpoints": "^2.1.2",
55
55
  "@smithy/util-middleware": "^3.0.6",
56
56
  "@smithy/util-retry": "^3.0.6",