@aws-sdk/client-rekognitionstreaming 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
@@ -437,7 +437,7 @@ var import_core2 = require("@aws-sdk/core");
437
437
 
438
438
  var se_StartFaceLivenessSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
439
439
  const b = (0, import_core.requestBuilder)(input, context);
440
- const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
440
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
441
441
  "content-type": "application/json",
442
442
  [_xarslsi]: input[_SI],
443
443
  [_xarslvw]: input[_VW],
@@ -847,7 +847,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
847
847
  extendedRequestId: output.headers["x-amz-id-2"],
848
848
  cfId: output.headers["x-amz-cf-id"]
849
849
  }), "deserializeMetadata");
850
- 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");
851
850
  var _CV = "ChallengeVersions";
852
851
  var _SI = "SessionId";
853
852
  var _VH = "VideoHeight";
@@ -1,6 +1,6 @@
1
1
  import { awsExpectUnion as __expectUnion, 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, expectInt32 as __expectInt32, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, map, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectString as __expectString, isSerializableHeaderValue, limitedParseFloat32 as __limitedParseFloat32, map, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { AccessDeniedException, ClientChallenge, InternalServerException, LivenessRequestStream, ServiceQuotaExceededException, ServiceUnavailableException, SessionNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
5
5
  import { RekognitionStreamingServiceException as __BaseException } from "../models/RekognitionStreamingServiceException";
6
6
  export const se_StartFaceLivenessSessionCommand = async (input, context) => {
@@ -406,11 +406,6 @@ const deserializeMetadata = (output) => ({
406
406
  cfId: output.headers["x-amz-cf-id"],
407
407
  });
408
408
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
409
- const isSerializableHeaderValue = (value) => value !== undefined &&
410
- value !== null &&
411
- value !== "" &&
412
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
413
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
414
409
  const _CV = "ChallengeVersions";
415
410
  const _SI = "SessionId";
416
411
  const _VH = "VideoHeight";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rekognitionstreaming",
3
3
  "description": "AWS SDK for JavaScript Rekognitionstreaming 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-rekognitionstreaming",
@@ -20,46 +20,46 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.654.0",
24
- "@aws-sdk/client-sts": "3.654.0",
25
- "@aws-sdk/core": "3.654.0",
26
- "@aws-sdk/credential-provider-node": "3.654.0",
23
+ "@aws-sdk/client-sso-oidc": "3.658.1",
24
+ "@aws-sdk/client-sts": "3.658.1",
25
+ "@aws-sdk/core": "3.658.1",
26
+ "@aws-sdk/credential-provider-node": "3.658.1",
27
27
  "@aws-sdk/eventstream-handler-node": "3.654.0",
28
28
  "@aws-sdk/middleware-eventstream": "3.654.0",
29
29
  "@aws-sdk/middleware-host-header": "3.654.0",
30
30
  "@aws-sdk/middleware-logger": "3.654.0",
31
31
  "@aws-sdk/middleware-recursion-detection": "3.654.0",
32
32
  "@aws-sdk/middleware-user-agent": "3.654.0",
33
- "@aws-sdk/middleware-websocket": "3.654.0",
33
+ "@aws-sdk/middleware-websocket": "3.658.1",
34
34
  "@aws-sdk/region-config-resolver": "3.654.0",
35
35
  "@aws-sdk/types": "3.654.0",
36
36
  "@aws-sdk/util-endpoints": "3.654.0",
37
37
  "@aws-sdk/util-user-agent-browser": "3.654.0",
38
38
  "@aws-sdk/util-user-agent-node": "3.654.0",
39
39
  "@smithy/config-resolver": "^3.0.8",
40
- "@smithy/core": "^2.4.3",
40
+ "@smithy/core": "^2.4.6",
41
41
  "@smithy/eventstream-serde-browser": "^3.0.9",
42
42
  "@smithy/eventstream-serde-config-resolver": "^3.0.6",
43
43
  "@smithy/eventstream-serde-node": "^3.0.8",
44
- "@smithy/fetch-http-handler": "^3.2.7",
44
+ "@smithy/fetch-http-handler": "^3.2.8",
45
45
  "@smithy/hash-node": "^3.0.6",
46
46
  "@smithy/invalid-dependency": "^3.0.6",
47
47
  "@smithy/middleware-content-length": "^3.0.8",
48
48
  "@smithy/middleware-endpoint": "^3.1.3",
49
- "@smithy/middleware-retry": "^3.0.18",
49
+ "@smithy/middleware-retry": "^3.0.21",
50
50
  "@smithy/middleware-serde": "^3.0.6",
51
51
  "@smithy/middleware-stack": "^3.0.6",
52
52
  "@smithy/node-config-provider": "^3.1.7",
53
- "@smithy/node-http-handler": "^3.2.2",
53
+ "@smithy/node-http-handler": "^3.2.3",
54
54
  "@smithy/protocol-http": "^4.1.3",
55
- "@smithy/smithy-client": "^3.3.2",
55
+ "@smithy/smithy-client": "^3.3.5",
56
56
  "@smithy/types": "^3.4.2",
57
57
  "@smithy/url-parser": "^3.0.6",
58
58
  "@smithy/util-base64": "^3.0.0",
59
59
  "@smithy/util-body-length-browser": "^3.0.0",
60
60
  "@smithy/util-body-length-node": "^3.0.0",
61
- "@smithy/util-defaults-mode-browser": "^3.0.18",
62
- "@smithy/util-defaults-mode-node": "^3.0.18",
61
+ "@smithy/util-defaults-mode-browser": "^3.0.21",
62
+ "@smithy/util-defaults-mode-node": "^3.0.21",
63
63
  "@smithy/util-endpoints": "^2.1.2",
64
64
  "@smithy/util-middleware": "^3.0.6",
65
65
  "@smithy/util-retry": "^3.0.6",