@aws-sdk/client-rekognitionstreaming 3.658.0 → 3.662.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.
- package/dist-cjs/index.js +1 -2
- package/dist-es/protocols/Aws_restJson1.js +1 -6
- package/package.json +41 -41
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.
|
|
4
|
+
"version": "3.662.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-rekognitionstreaming",
|
|
@@ -20,49 +20,49 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/eventstream-handler-node": "3.
|
|
28
|
-
"@aws-sdk/middleware-eventstream": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
33
|
-
"@aws-sdk/middleware-websocket": "3.
|
|
34
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
35
|
-
"@aws-sdk/types": "3.
|
|
36
|
-
"@aws-sdk/util-endpoints": "3.
|
|
37
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
38
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
39
|
-
"@smithy/config-resolver": "^3.0.
|
|
40
|
-
"@smithy/core": "^2.4.
|
|
41
|
-
"@smithy/eventstream-serde-browser": "^3.0.
|
|
42
|
-
"@smithy/eventstream-serde-config-resolver": "^3.0.
|
|
43
|
-
"@smithy/eventstream-serde-node": "^3.0.
|
|
44
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
45
|
-
"@smithy/hash-node": "^3.0.
|
|
46
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
47
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
48
|
-
"@smithy/middleware-endpoint": "^3.1.
|
|
49
|
-
"@smithy/middleware-retry": "^3.0.
|
|
50
|
-
"@smithy/middleware-serde": "^3.0.
|
|
51
|
-
"@smithy/middleware-stack": "^3.0.
|
|
52
|
-
"@smithy/node-config-provider": "^3.1.
|
|
53
|
-
"@smithy/node-http-handler": "^3.2.
|
|
54
|
-
"@smithy/protocol-http": "^4.1.
|
|
55
|
-
"@smithy/smithy-client": "^3.3.
|
|
56
|
-
"@smithy/types": "^3.
|
|
57
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.662.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.662.0",
|
|
25
|
+
"@aws-sdk/core": "3.662.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.662.0",
|
|
27
|
+
"@aws-sdk/eventstream-handler-node": "3.662.0",
|
|
28
|
+
"@aws-sdk/middleware-eventstream": "3.662.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.662.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.662.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.662.0",
|
|
32
|
+
"@aws-sdk/middleware-user-agent": "3.662.0",
|
|
33
|
+
"@aws-sdk/middleware-websocket": "3.662.0",
|
|
34
|
+
"@aws-sdk/region-config-resolver": "3.662.0",
|
|
35
|
+
"@aws-sdk/types": "3.662.0",
|
|
36
|
+
"@aws-sdk/util-endpoints": "3.662.0",
|
|
37
|
+
"@aws-sdk/util-user-agent-browser": "3.662.0",
|
|
38
|
+
"@aws-sdk/util-user-agent-node": "3.662.0",
|
|
39
|
+
"@smithy/config-resolver": "^3.0.9",
|
|
40
|
+
"@smithy/core": "^2.4.7",
|
|
41
|
+
"@smithy/eventstream-serde-browser": "^3.0.10",
|
|
42
|
+
"@smithy/eventstream-serde-config-resolver": "^3.0.7",
|
|
43
|
+
"@smithy/eventstream-serde-node": "^3.0.9",
|
|
44
|
+
"@smithy/fetch-http-handler": "^3.2.9",
|
|
45
|
+
"@smithy/hash-node": "^3.0.7",
|
|
46
|
+
"@smithy/invalid-dependency": "^3.0.7",
|
|
47
|
+
"@smithy/middleware-content-length": "^3.0.9",
|
|
48
|
+
"@smithy/middleware-endpoint": "^3.1.4",
|
|
49
|
+
"@smithy/middleware-retry": "^3.0.22",
|
|
50
|
+
"@smithy/middleware-serde": "^3.0.7",
|
|
51
|
+
"@smithy/middleware-stack": "^3.0.7",
|
|
52
|
+
"@smithy/node-config-provider": "^3.1.8",
|
|
53
|
+
"@smithy/node-http-handler": "^3.2.4",
|
|
54
|
+
"@smithy/protocol-http": "^4.1.4",
|
|
55
|
+
"@smithy/smithy-client": "^3.3.6",
|
|
56
|
+
"@smithy/types": "^3.5.0",
|
|
57
|
+
"@smithy/url-parser": "^3.0.7",
|
|
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.
|
|
62
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
63
|
-
"@smithy/util-endpoints": "^2.1.
|
|
64
|
-
"@smithy/util-middleware": "^3.0.
|
|
65
|
-
"@smithy/util-retry": "^3.0.
|
|
61
|
+
"@smithy/util-defaults-mode-browser": "^3.0.22",
|
|
62
|
+
"@smithy/util-defaults-mode-node": "^3.0.22",
|
|
63
|
+
"@smithy/util-endpoints": "^2.1.3",
|
|
64
|
+
"@smithy/util-middleware": "^3.0.7",
|
|
65
|
+
"@smithy/util-retry": "^3.0.7",
|
|
66
66
|
"@smithy/util-utf8": "^3.0.0",
|
|
67
67
|
"tslib": "^2.6.2"
|
|
68
68
|
},
|