@aws-sdk/client-rekognitionstreaming 3.1044.0 → 3.1046.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/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +20 -21
- package/dist-cjs/models/RekognitionStreamingServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +14 -16
- package/dist-cjs/runtimeConfig.js +20 -24
- package/dist-cjs/runtimeConfig.native.js +2 -2
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-es/RekognitionStreaming.js +1 -1
- package/dist-es/RekognitionStreamingClient.js +6 -6
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/StartFaceLivenessSessionCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/RekognitionStreamingServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +5 -7
- package/dist-es/runtimeConfig.js +5 -9
- package/dist-es/runtimeConfig.native.js +1 -1
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-types/RekognitionStreamingClient.d.ts +6 -6
- package/dist-types/commands/StartFaceLivenessSessionCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/RekognitionStreamingServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/RekognitionStreamingClient.d.ts +12 -18
- package/dist-types/ts3.4/commands/StartFaceLivenessSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/RekognitionStreamingServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/package.json +16 -40
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultRekognitionStreamingHttpAuthSchemeProvider = exports.defaultRekognitionStreamingHttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const defaultRekognitionStreamingHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
|
-
operation: (0,
|
|
9
|
-
region: await (0,
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
10
10
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
11
|
})(),
|
|
12
12
|
};
|
|
@@ -40,7 +40,7 @@ exports.defaultRekognitionStreamingHttpAuthSchemeProvider = defaultRekognitionSt
|
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
41
|
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference: (0,
|
|
43
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bdd = void 0;
|
|
4
|
-
const
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
5
|
const k = "ref";
|
|
6
6
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
7
7
|
const _data = {
|
|
@@ -46,4 +46,4 @@ const nodes = new Int32Array([
|
|
|
46
46
|
3, r + 1, 13,
|
|
47
47
|
4, r + 2, r + 3,
|
|
48
48
|
]);
|
|
49
|
-
exports.bdd =
|
|
49
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
-
const
|
|
5
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new
|
|
7
|
+
const cache = new endpoints_1.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0,
|
|
12
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -6,18 +6,17 @@ var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
|
6
6
|
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
7
7
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
8
8
|
var middlewareWebsocket = require('@aws-sdk/middleware-websocket');
|
|
9
|
-
var configResolver = require('@smithy/config-resolver');
|
|
10
9
|
var core = require('@smithy/core');
|
|
10
|
+
var client = require('@smithy/core/client');
|
|
11
|
+
var config = require('@smithy/core/config');
|
|
12
|
+
var endpoints = require('@smithy/core/endpoints');
|
|
13
|
+
var eventStreams = require('@smithy/core/event-streams');
|
|
14
|
+
var protocols = require('@smithy/core/protocols');
|
|
15
|
+
var retry = require('@smithy/core/retry');
|
|
11
16
|
var schema = require('@smithy/core/schema');
|
|
12
|
-
var eventstreamSerdeConfigResolver = require('@smithy/eventstream-serde-config-resolver');
|
|
13
|
-
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
14
|
-
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
15
|
-
var middlewareRetry = require('@smithy/middleware-retry');
|
|
16
|
-
var smithyClient = require('@smithy/smithy-client');
|
|
17
17
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
18
18
|
var runtimeConfig = require('./runtimeConfig');
|
|
19
19
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
20
|
-
var protocolHttp = require('@smithy/protocol-http');
|
|
21
20
|
var schemas_0 = require('./schemas/schemas_0');
|
|
22
21
|
var errors = require('./models/errors');
|
|
23
22
|
var RekognitionStreamingServiceException = require('./models/RekognitionStreamingServiceException');
|
|
@@ -76,12 +75,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
76
75
|
};
|
|
77
76
|
|
|
78
77
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
79
|
-
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig),
|
|
78
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
80
79
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
81
|
-
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
80
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
82
81
|
};
|
|
83
82
|
|
|
84
|
-
class RekognitionStreamingClient extends
|
|
83
|
+
class RekognitionStreamingClient extends client.Client {
|
|
85
84
|
config;
|
|
86
85
|
constructor(...[configuration]) {
|
|
87
86
|
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
@@ -89,11 +88,11 @@ class RekognitionStreamingClient extends smithyClient.Client {
|
|
|
89
88
|
this.initConfig = _config_0;
|
|
90
89
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
91
90
|
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
92
|
-
const _config_3 =
|
|
93
|
-
const _config_4 =
|
|
91
|
+
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
92
|
+
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
94
93
|
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
95
|
-
const _config_6 =
|
|
96
|
-
const _config_7 =
|
|
94
|
+
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
95
|
+
const _config_7 = eventStreams.resolveEventStreamSerdeConfig(_config_6);
|
|
97
96
|
const _config_8 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_7);
|
|
98
97
|
const _config_9 = middlewareEventstream.resolveEventStreamConfig(_config_8);
|
|
99
98
|
const _config_10 = middlewareWebsocket.resolveWebSocketConfig(_config_9);
|
|
@@ -101,8 +100,8 @@ class RekognitionStreamingClient extends smithyClient.Client {
|
|
|
101
100
|
this.config = _config_11;
|
|
102
101
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
103
102
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
104
|
-
this.middlewareStack.use(
|
|
105
|
-
this.middlewareStack.use(
|
|
103
|
+
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
104
|
+
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
106
105
|
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
107
106
|
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
108
107
|
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
@@ -119,12 +118,12 @@ class RekognitionStreamingClient extends smithyClient.Client {
|
|
|
119
118
|
}
|
|
120
119
|
}
|
|
121
120
|
|
|
122
|
-
class StartFaceLivenessSessionCommand extends
|
|
121
|
+
class StartFaceLivenessSessionCommand extends client.Command
|
|
123
122
|
.classBuilder()
|
|
124
123
|
.ep(commonParams)
|
|
125
124
|
.m(function (Command, cs, config, o) {
|
|
126
125
|
return [
|
|
127
|
-
|
|
126
|
+
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
128
127
|
middlewareEventstream.getEventStreamPlugin(config),
|
|
129
128
|
middlewareWebsocket.getWebSocketPlugin(config, {
|
|
130
129
|
headerPrefix: 'x-amz-rekognition-streaming-liveness-',
|
|
@@ -147,7 +146,7 @@ const commands = {
|
|
|
147
146
|
};
|
|
148
147
|
class RekognitionStreaming extends RekognitionStreamingClient {
|
|
149
148
|
}
|
|
150
|
-
|
|
149
|
+
client.createAggregatedClient(commands, RekognitionStreaming);
|
|
151
150
|
|
|
152
151
|
const ChallengeType = {
|
|
153
152
|
FACE_MOVEMENT_AND_LIGHT_CHALLENGE: "FaceMovementAndLightChallenge",
|
|
@@ -157,8 +156,8 @@ const LightChallengeType = {
|
|
|
157
156
|
SEQUENTIAL: "SEQUENTIAL",
|
|
158
157
|
};
|
|
159
158
|
|
|
160
|
-
exports.$Command =
|
|
161
|
-
exports.__Client =
|
|
159
|
+
exports.$Command = client.Command;
|
|
160
|
+
exports.__Client = client.Client;
|
|
162
161
|
exports.RekognitionStreamingServiceException = RekognitionStreamingServiceException.RekognitionStreamingServiceException;
|
|
163
162
|
exports.ChallengeType = ChallengeType;
|
|
164
163
|
exports.LightChallengeType = LightChallengeType;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RekognitionStreamingServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return
|
|
6
|
-
class RekognitionStreamingServiceException extends
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
+
class RekognitionStreamingServiceException extends client_1.ServiceException {
|
|
7
7
|
constructor(options) {
|
|
8
8
|
super(options);
|
|
9
9
|
Object.setPrototypeOf(this, RekognitionStreamingServiceException.prototype);
|
|
@@ -6,38 +6,36 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
7
|
const middleware_websocket_1 = require("@aws-sdk/middleware-websocket");
|
|
8
8
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
9
|
-
const
|
|
10
|
-
const
|
|
9
|
+
const client_1 = require("@smithy/core/client");
|
|
10
|
+
const config_1 = require("@smithy/core/config");
|
|
11
|
+
const event_streams_1 = require("@smithy/core/event-streams");
|
|
12
|
+
const retry_1 = require("@smithy/core/retry");
|
|
13
|
+
const serde_1 = require("@smithy/core/serde");
|
|
11
14
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
12
|
-
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
13
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
|
-
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
17
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
16
|
const getRuntimeConfig = (config) => {
|
|
19
|
-
const defaultsMode = (0,
|
|
20
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
17
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
18
|
+
const defaultConfigProvider = () => defaultsMode().then(client_1.loadConfigsForDefaultMode);
|
|
21
19
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
22
20
|
return {
|
|
23
21
|
...clientSharedValues,
|
|
24
22
|
...config,
|
|
25
23
|
runtime: "browser",
|
|
26
24
|
defaultsMode,
|
|
27
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
25
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
28
26
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
29
27
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
30
28
|
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? middleware_websocket_1.eventStreamPayloadHandlerProvider,
|
|
31
|
-
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ??
|
|
32
|
-
maxAttempts: config?.maxAttempts ??
|
|
33
|
-
region: config?.region ?? (0,
|
|
29
|
+
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
|
|
30
|
+
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
31
|
+
region: config?.region ?? (0, client_1.invalidProvider)("Region is missing"),
|
|
34
32
|
requestHandler: middleware_websocket_1.WebSocketFetchHandler.create(config?.requestHandler
|
|
35
33
|
?? defaultConfigProvider, fetch_http_handler_1.FetchHttpHandler.create(defaultConfigProvider)),
|
|
36
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
34
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
37
35
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
38
36
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
39
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(
|
|
40
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(
|
|
37
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
38
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
41
39
|
};
|
|
42
40
|
};
|
|
43
41
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -8,21 +8,17 @@ const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
9
|
const eventstream_handler_node_1 = require("@aws-sdk/eventstream-handler-node");
|
|
10
10
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
11
|
+
const client_2 = require("@smithy/core/client");
|
|
12
|
+
const config_1 = require("@smithy/core/config");
|
|
13
|
+
const event_streams_1 = require("@smithy/core/event-streams");
|
|
14
|
+
const retry_1 = require("@smithy/core/retry");
|
|
15
|
+
const serde_1 = require("@smithy/core/serde");
|
|
16
16
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
19
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
20
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
21
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
22
18
|
const getRuntimeConfig = (config) => {
|
|
23
|
-
(0,
|
|
24
|
-
const defaultsMode = (0,
|
|
25
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
19
|
+
(0, client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
20
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
|
|
26
22
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
27
23
|
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
28
24
|
const loaderConfig = {
|
|
@@ -34,25 +30,25 @@ const getRuntimeConfig = (config) => {
|
|
|
34
30
|
...config,
|
|
35
31
|
runtime: "node",
|
|
36
32
|
defaultsMode,
|
|
37
|
-
authSchemePreference: config?.authSchemePreference ?? (0,
|
|
38
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
33
|
+
authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
34
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
39
35
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
40
36
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
41
37
|
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? eventstream_handler_node_1.eventStreamPayloadHandlerProvider,
|
|
42
|
-
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ??
|
|
43
|
-
maxAttempts: config?.maxAttempts ?? (0,
|
|
44
|
-
region: config?.region ?? (0,
|
|
38
|
+
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
|
|
39
|
+
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
40
|
+
region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
45
41
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
46
42
|
retryMode: config?.retryMode ??
|
|
47
|
-
(0,
|
|
48
|
-
...
|
|
49
|
-
default: async () => (await defaultConfigProvider()).retryMode ||
|
|
43
|
+
(0, config_1.loadConfig)({
|
|
44
|
+
...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
45
|
+
default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE,
|
|
50
46
|
}, config),
|
|
51
|
-
sha256: config?.sha256 ??
|
|
47
|
+
sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"),
|
|
52
48
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
53
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0,
|
|
54
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0,
|
|
55
|
-
userAgentAppId: config?.userAgentAppId ?? (0,
|
|
49
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
50
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
51
|
+
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
56
52
|
};
|
|
57
53
|
};
|
|
58
54
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
7
7
|
const getRuntimeConfig = (config) => {
|
|
8
8
|
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
@@ -11,7 +11,7 @@ const getRuntimeConfig = (config) => {
|
|
|
11
11
|
...config,
|
|
12
12
|
runtime: "react-native",
|
|
13
13
|
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? (() => ({
|
|
14
|
-
handle: (0,
|
|
14
|
+
handle: (0, client_1.invalidFunction)("event stream request is not supported in ReactNative."),
|
|
15
15
|
})),
|
|
16
16
|
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
17
17
|
};
|
|
@@ -3,18 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const util_utf8_1 = require("@smithy/util-utf8");
|
|
6
|
+
const client_1 = require("@smithy/core/client");
|
|
7
|
+
const protocols_2 = require("@smithy/core/protocols");
|
|
8
|
+
const serde_1 = require("@smithy/core/serde");
|
|
10
9
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
10
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
11
|
const schemas_0_1 = require("./schemas/schemas_0");
|
|
13
12
|
const getRuntimeConfig = (config) => {
|
|
14
13
|
return {
|
|
15
14
|
apiVersion: "2022-05-30",
|
|
16
|
-
base64Decoder: config?.base64Decoder ??
|
|
17
|
-
base64Encoder: config?.base64Encoder ??
|
|
15
|
+
base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
|
|
16
|
+
base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
|
|
18
17
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
19
18
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
20
19
|
extensions: config?.extensions ?? [],
|
|
@@ -26,7 +25,7 @@ const getRuntimeConfig = (config) => {
|
|
|
26
25
|
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
27
26
|
},
|
|
28
27
|
],
|
|
29
|
-
logger: config?.logger ?? new
|
|
28
|
+
logger: config?.logger ?? new client_1.NoOpLogger(),
|
|
30
29
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
31
30
|
protocolSettings: config?.protocolSettings ?? {
|
|
32
31
|
defaultNamespace: "com.amazonaws.rekognitionstreaming",
|
|
@@ -35,9 +34,9 @@ const getRuntimeConfig = (config) => {
|
|
|
35
34
|
serviceTarget: "RekognitionStreamingService",
|
|
36
35
|
},
|
|
37
36
|
serviceId: config?.serviceId ?? "RekognitionStreaming",
|
|
38
|
-
urlParser: config?.urlParser ??
|
|
39
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
40
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
37
|
+
urlParser: config?.urlParser ?? protocols_2.parseUrl,
|
|
38
|
+
utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
|
|
39
|
+
utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8,
|
|
41
40
|
};
|
|
42
41
|
};
|
|
43
42
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createAggregatedClient } from "@smithy/
|
|
1
|
+
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { StartFaceLivenessSessionCommand, } from "./commands/StartFaceLivenessSessionCommand";
|
|
3
3
|
import { RekognitionStreamingClient } from "./RekognitionStreamingClient";
|
|
4
4
|
const commands = {
|
|
@@ -4,14 +4,14 @@ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
|
4
4
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
5
5
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { resolveWebSocketConfig, } from "@aws-sdk/middleware-websocket";
|
|
7
|
-
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
8
7
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
8
|
+
import { Client as __Client, } from "@smithy/core/client";
|
|
9
|
+
import { resolveRegionConfig } from "@smithy/core/config";
|
|
10
|
+
import { resolveEndpointConfig } from "@smithy/core/endpoints";
|
|
11
|
+
import { resolveEventStreamSerdeConfig, } from "@smithy/core/event-streams";
|
|
12
|
+
import { getContentLengthPlugin } from "@smithy/core/protocols";
|
|
13
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
|
|
9
14
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
10
|
-
import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver";
|
|
11
|
-
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
12
|
-
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
13
|
-
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
14
|
-
import { Client as __Client, } from "@smithy/smithy-client";
|
|
15
15
|
import { defaultRekognitionStreamingHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
16
16
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
17
17
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
|
-
import { getSmithyContext, normalizeProvider } from "@smithy/
|
|
2
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
3
3
|
export const defaultRekognitionStreamingHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
|
|
2
2
|
import { getWebSocketPlugin } from "@aws-sdk/middleware-websocket";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { StartFaceLivenessSession$ } from "../schemas/schemas_0";
|
|
7
7
|
export { $Command };
|
package/dist-es/endpoint/bdd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
const k = "ref";
|
|
3
3
|
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
4
4
|
const _data = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/
|
|
2
|
+
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
3
|
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServiceException as __ServiceException, } from "@smithy/
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class RekognitionStreamingServiceException extends __ServiceException {
|
|
4
4
|
constructor(options) {
|
|
@@ -2,14 +2,12 @@ import packageInfo from "../package.json";
|
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
3
|
import { eventStreamPayloadHandlerProvider, WebSocketFetchHandler as WebSocketRequestHandler, } from "@aws-sdk/middleware-websocket";
|
|
4
4
|
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
|
+
import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
|
|
8
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
|
9
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
7
10
|
import { FetchHttpHandler as HttpRequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
8
|
-
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
9
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
|
-
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
13
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
12
|
export const getRuntimeConfig = (config) => {
|
|
15
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -4,16 +4,12 @@ import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchem
|
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { eventStreamPayloadHandlerProvider } from "@aws-sdk/eventstream-handler-node";
|
|
6
6
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/
|
|
11
|
-
import {
|
|
7
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
8
|
+
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
9
|
+
import { eventStreamSerdeProvider } from "@smithy/core/event-streams";
|
|
10
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
11
|
+
import { calculateBodyLength, Hash } from "@smithy/core/serde";
|
|
12
12
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
13
|
-
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
-
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
15
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
16
|
-
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
17
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
18
14
|
export const getRuntimeConfig = (config) => {
|
|
19
15
|
emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
|
-
import { invalidFunction } from "@smithy/
|
|
2
|
+
import { invalidFunction } from "@smithy/core/client";
|
|
3
3
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
4
|
export const getRuntimeConfig = (config) => {
|
|
5
5
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
3
|
-
import { NoOpLogger } from "@smithy/
|
|
4
|
-
import { parseUrl } from "@smithy/
|
|
5
|
-
import { fromBase64, toBase64 } from "@smithy/
|
|
6
|
-
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
3
|
+
import { NoOpLogger } from "@smithy/core/client";
|
|
4
|
+
import { parseUrl } from "@smithy/core/protocols";
|
|
5
|
+
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
7
6
|
import { defaultRekognitionStreamingHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
7
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
8
|
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
3
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
6
6
|
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
@@ -3,12 +3,12 @@ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-
|
|
|
3
3
|
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
4
4
|
import { type WebSocketInputConfig, type WebSocketResolvedConfig } from "@aws-sdk/middleware-websocket";
|
|
5
5
|
import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
|
|
6
|
-
import { type
|
|
7
|
-
import { type
|
|
8
|
-
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/
|
|
9
|
-
import { type
|
|
10
|
-
import type
|
|
11
|
-
import { type
|
|
6
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
7
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
8
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
9
|
+
import { type EventStreamSerdeInputConfig, type EventStreamSerdeResolvedConfig } from "@smithy/core/event-streams";
|
|
10
|
+
import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
11
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
12
12
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
13
13
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
14
14
|
import type { StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput } from "./commands/StartFaceLivenessSessionCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import type { StartFaceLivenessSessionRequest, StartFaceLivenessSessionResponse } from "../models/models_0";
|
|
4
4
|
import type { RekognitionStreamingClientResolvedConfig } from "../RekognitionStreamingClient";
|
|
@@ -22,9 +22,11 @@ export interface StartFaceLivenessSessionCommandInput extends StartFaceLivenessS
|
|
|
22
22
|
export interface StartFaceLivenessSessionCommandOutput extends StartFaceLivenessSessionResponse, __MetadataBearer {
|
|
23
23
|
}
|
|
24
24
|
declare const StartFaceLivenessSessionCommand_base: {
|
|
25
|
-
new (input: StartFaceLivenessSessionCommandInput): import("@smithy/
|
|
26
|
-
new (input: StartFaceLivenessSessionCommandInput): import("@smithy/
|
|
27
|
-
getEndpointParameterInstructions():
|
|
25
|
+
new (input: StartFaceLivenessSessionCommandInput): import("@smithy/core/client").CommandImpl<StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput, RekognitionStreamingClientResolvedConfig, StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput>;
|
|
26
|
+
new (input: StartFaceLivenessSessionCommandInput): import("@smithy/core/client").CommandImpl<StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput, RekognitionStreamingClientResolvedConfig, StartFaceLivenessSessionCommandInput, StartFaceLivenessSessionCommandOutput>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* <p>Starts a Face Liveness video stream and liveness detection process for a given
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
export declare const bdd: BinaryDecisionDiagram;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import type { HttpHandlerExtensionConfiguration } from "@smithy/
|
|
2
|
+
import type { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
3
|
import type { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
|
|
2
2
|
export type { __ServiceExceptionOptions };
|
|
3
3
|
export { __ServiceException };
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { RekognitionStreamingServiceException as __BaseException } from "./RekognitionStreamingServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>Occurs when the client isn't authorized to perform the action.</p>
|
|
@@ -5,7 +5,7 @@ import type { RekognitionStreamingClientConfig } from "./RekognitionStreamingCli
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
@@ -5,7 +5,7 @@ import type { RekognitionStreamingClientConfig } from "./RekognitionStreamingCli
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
-
defaultsMode: import("@smithy/types").Provider<import("@smithy/
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
14
14
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
15
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
16
|
region: string | import("@smithy/types").Provider<string>;
|
|
17
|
-
requestHandler: RequestHandler | import("@smithy/
|
|
17
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
18
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
19
|
sha256: import("@smithy/types").HashConstructor;
|
|
20
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
6
6
|
runtime: string;
|
|
7
7
|
eventStreamPayloadHandlerProvider: import("@smithy/types").EventStreamPayloadHandlerProvider;
|
|
8
8
|
sha256: import("@smithy/types").HashConstructor;
|
|
9
|
-
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/
|
|
9
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/core/protocols").HttpRequest, import("@smithy/core/protocols").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
10
10
|
updateHttpClientConfig(key: never, value: never): void;
|
|
11
11
|
httpHandlerConfigs(): {};
|
|
12
12
|
}) | import("@aws-sdk/middleware-websocket").WebSocketFetchHandler;
|
|
@@ -37,7 +37,7 @@ export declare const getRuntimeConfig: (config: RekognitionStreamingClientConfig
|
|
|
37
37
|
logger: import("@smithy/types").Logger;
|
|
38
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
39
39
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
40
|
-
defaultsMode: import("@smithy/
|
|
40
|
+
defaultsMode: import("@smithy/core/client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
41
41
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
42
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
43
43
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -15,29 +15,23 @@ import {
|
|
|
15
15
|
WebSocketResolvedConfig,
|
|
16
16
|
} from "@aws-sdk/middleware-websocket";
|
|
17
17
|
import { EventStreamPayloadHandlerProvider as __EventStreamPayloadHandlerProvider } from "@aws-sdk/types";
|
|
18
|
-
import {
|
|
19
|
-
RegionInputConfig,
|
|
20
|
-
RegionResolvedConfig,
|
|
21
|
-
} from "@smithy/config-resolver";
|
|
22
|
-
import {
|
|
23
|
-
EventStreamSerdeInputConfig,
|
|
24
|
-
EventStreamSerdeResolvedConfig,
|
|
25
|
-
} from "@smithy/eventstream-serde-config-resolver";
|
|
26
|
-
import {
|
|
27
|
-
EndpointInputConfig,
|
|
28
|
-
EndpointResolvedConfig,
|
|
29
|
-
} from "@smithy/middleware-endpoint";
|
|
30
|
-
import {
|
|
31
|
-
RetryInputConfig,
|
|
32
|
-
RetryResolvedConfig,
|
|
33
|
-
} from "@smithy/middleware-retry";
|
|
34
|
-
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
35
18
|
import {
|
|
36
19
|
DefaultsMode as __DefaultsMode,
|
|
37
20
|
SmithyConfiguration as __SmithyConfiguration,
|
|
38
21
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
39
22
|
Client as __Client,
|
|
40
|
-
} from "@smithy/
|
|
23
|
+
} from "@smithy/core/client";
|
|
24
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
25
|
+
import {
|
|
26
|
+
EndpointInputConfig,
|
|
27
|
+
EndpointResolvedConfig,
|
|
28
|
+
} from "@smithy/core/endpoints";
|
|
29
|
+
import {
|
|
30
|
+
EventStreamSerdeInputConfig,
|
|
31
|
+
EventStreamSerdeResolvedConfig,
|
|
32
|
+
} from "@smithy/core/event-streams";
|
|
33
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
34
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
41
35
|
import {
|
|
42
36
|
AwsCredentialIdentityProvider,
|
|
43
37
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
StartFaceLivenessSessionRequest,
|
|
@@ -15,7 +15,7 @@ export interface StartFaceLivenessSessionCommandOutput
|
|
|
15
15
|
declare const StartFaceLivenessSessionCommand_base: {
|
|
16
16
|
new (
|
|
17
17
|
input: StartFaceLivenessSessionCommandInput
|
|
18
|
-
): import("@smithy/
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
19
|
StartFaceLivenessSessionCommandInput,
|
|
20
20
|
StartFaceLivenessSessionCommandOutput,
|
|
21
21
|
RekognitionStreamingClientResolvedConfig,
|
|
@@ -24,14 +24,16 @@ declare const StartFaceLivenessSessionCommand_base: {
|
|
|
24
24
|
>;
|
|
25
25
|
new (
|
|
26
26
|
input: StartFaceLivenessSessionCommandInput
|
|
27
|
-
): import("@smithy/
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
28
|
StartFaceLivenessSessionCommandInput,
|
|
29
29
|
StartFaceLivenessSessionCommandOutput,
|
|
30
30
|
RekognitionStreamingClientResolvedConfig,
|
|
31
31
|
StartFaceLivenessSessionCommandInput,
|
|
32
32
|
StartFaceLivenessSessionCommandOutput
|
|
33
33
|
>;
|
|
34
|
-
getEndpointParameterInstructions():
|
|
34
|
+
getEndpointParameterInstructions(): {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
35
37
|
};
|
|
36
38
|
export declare class StartFaceLivenessSessionCommand extends StartFaceLivenessSessionCommand_base {
|
|
37
39
|
protected static __types: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BinaryDecisionDiagram } from "@smithy/
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/core/endpoints";
|
|
2
2
|
export declare const bdd: BinaryDecisionDiagram;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
-
import { HttpHandlerExtensionConfiguration } from "@smithy/
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface RekognitionStreamingExtensionConfiguration
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
3
3
|
ServiceException as __ServiceException,
|
|
4
|
-
} from "@smithy/
|
|
4
|
+
} from "@smithy/core/client";
|
|
5
5
|
export { __ServiceExceptionOptions };
|
|
6
6
|
export { __ServiceException };
|
|
7
7
|
export declare class RekognitionStreamingServiceException extends __ServiceException {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { RekognitionStreamingServiceException as __BaseException } from "./RekognitionStreamingServiceException";
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
4
|
readonly name: "AccessDeniedException";
|
|
@@ -5,7 +5,7 @@ export declare const getRuntimeConfig: (
|
|
|
5
5
|
) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
|
-
import("@smithy/
|
|
8
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider:
|
|
@@ -5,7 +5,7 @@ export declare const getRuntimeConfig: (
|
|
|
5
5
|
) => {
|
|
6
6
|
runtime: string;
|
|
7
7
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
|
-
import("@smithy/
|
|
8
|
+
import("@smithy/core/client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
11
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
@@ -23,7 +23,7 @@ export declare const getRuntimeConfig: (
|
|
|
23
23
|
region: string | import("@smithy/types").Provider<string>;
|
|
24
24
|
requestHandler:
|
|
25
25
|
| RequestHandler
|
|
26
|
-
| import("@smithy/
|
|
26
|
+
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
sha256: import("@smithy/types").HashConstructor;
|
|
29
29
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -15,8 +15,8 @@ export declare const getRuntimeConfig: (
|
|
|
15
15
|
import("@smithy/types").HttpHandlerOptions
|
|
16
16
|
> &
|
|
17
17
|
import("@smithy/types").RequestHandler<
|
|
18
|
-
import("@smithy/
|
|
19
|
-
import("@smithy/
|
|
18
|
+
import("@smithy/core/protocols").HttpRequest,
|
|
19
|
+
import("@smithy/core/protocols").HttpResponse,
|
|
20
20
|
import("@smithy/types").HttpHandlerOptions
|
|
21
21
|
> & {
|
|
22
22
|
updateHttpClientConfig(key: never, value: never): void;
|
|
@@ -62,9 +62,9 @@ export declare const getRuntimeConfig: (
|
|
|
62
62
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
63
63
|
eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider;
|
|
64
64
|
defaultsMode:
|
|
65
|
-
| import("@smithy/
|
|
65
|
+
| import("@smithy/core/client").DefaultsMode
|
|
66
66
|
| import("@smithy/types").Provider<
|
|
67
|
-
import("@smithy/
|
|
67
|
+
import("@smithy/core/client").DefaultsMode
|
|
68
68
|
>;
|
|
69
69
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
70
70
|
userAgentAppId?:
|
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.1046.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rekognitionstreaming",
|
|
@@ -21,48 +21,24 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/eventstream-handler-node": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-eventstream": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.9",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.40",
|
|
26
|
+
"@aws-sdk/eventstream-handler-node": "^3.972.15",
|
|
27
|
+
"@aws-sdk/middleware-eventstream": "^3.972.11",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "^3.972.11",
|
|
29
29
|
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
32
|
-
"@aws-sdk/middleware-websocket": "^3.972.
|
|
33
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.12",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.39",
|
|
32
|
+
"@aws-sdk/middleware-websocket": "^3.972.17",
|
|
33
|
+
"@aws-sdk/region-config-resolver": "^3.972.14",
|
|
34
34
|
"@aws-sdk/types": "^3.973.8",
|
|
35
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
36
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
37
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
38
|
-
"@smithy/
|
|
39
|
-
"@smithy/
|
|
40
|
-
"@smithy/
|
|
41
|
-
"@smithy/eventstream-serde-config-resolver": "^4.3.14",
|
|
42
|
-
"@smithy/eventstream-serde-node": "^4.2.14",
|
|
43
|
-
"@smithy/fetch-http-handler": "^5.3.17",
|
|
44
|
-
"@smithy/hash-node": "^4.2.14",
|
|
45
|
-
"@smithy/invalid-dependency": "^4.2.14",
|
|
46
|
-
"@smithy/middleware-content-length": "^4.2.14",
|
|
47
|
-
"@smithy/middleware-endpoint": "^4.4.32",
|
|
48
|
-
"@smithy/middleware-retry": "^4.5.7",
|
|
49
|
-
"@smithy/middleware-serde": "^4.2.20",
|
|
50
|
-
"@smithy/middleware-stack": "^4.2.14",
|
|
51
|
-
"@smithy/node-config-provider": "^4.3.14",
|
|
52
|
-
"@smithy/node-http-handler": "^4.6.1",
|
|
53
|
-
"@smithy/protocol-http": "^5.3.14",
|
|
54
|
-
"@smithy/smithy-client": "^4.12.13",
|
|
35
|
+
"@aws-sdk/util-endpoints": "^3.996.9",
|
|
36
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.11",
|
|
37
|
+
"@aws-sdk/util-user-agent-node": "^3.973.25",
|
|
38
|
+
"@smithy/core": "^3.24.1",
|
|
39
|
+
"@smithy/fetch-http-handler": "^5.4.1",
|
|
40
|
+
"@smithy/node-http-handler": "^4.7.1",
|
|
55
41
|
"@smithy/types": "^4.14.1",
|
|
56
|
-
"@smithy/url-parser": "^4.2.14",
|
|
57
|
-
"@smithy/util-base64": "^4.3.2",
|
|
58
|
-
"@smithy/util-body-length-browser": "^4.2.2",
|
|
59
|
-
"@smithy/util-body-length-node": "^4.2.3",
|
|
60
|
-
"@smithy/util-defaults-mode-browser": "^4.3.49",
|
|
61
|
-
"@smithy/util-defaults-mode-node": "^4.2.54",
|
|
62
|
-
"@smithy/util-endpoints": "^3.4.2",
|
|
63
|
-
"@smithy/util-middleware": "^4.2.14",
|
|
64
|
-
"@smithy/util-retry": "^4.3.6",
|
|
65
|
-
"@smithy/util-utf8": "^4.2.2",
|
|
66
42
|
"tslib": "^2.6.2"
|
|
67
43
|
},
|
|
68
44
|
"devDependencies": {
|