@aws-sdk/client-rekognition 3.41.0 → 3.46.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/CHANGELOG.md +45 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +2 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1 -0
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/Rekognition.d.ts +3 -3
- package/dist-types/commands/CompareFacesCommand.d.ts +1 -1
- package/dist-types/commands/DetectTextCommand.d.ts +1 -1
- package/dist-types/commands/IndexFacesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +19 -10
- package/dist-types/ts3.4/models/models_0.d.ts +5 -1
- package/package.json +37 -44
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,51 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
17
|
+
* **clients:** update clients as of 2021/01/07 ([#3163](https://github.com/aws/aws-sdk-js-v3/issues/3163)) ([6648b07](https://github.com/aws/aws-sdk-js-v3/commit/6648b07ea97691d2fed55eab49831646543b648b))
|
|
18
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
36
|
+
|
|
37
|
+
**Note:** Version bump only for package @aws-sdk/client-rekognition
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
44
|
+
|
|
45
|
+
**Note:** Version bump only for package @aws-sdk/client-rekognition
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
6
51
|
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
7
52
|
|
|
8
53
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -169,6 +169,8 @@ var KnownGenderType;
|
|
|
169
169
|
(function (KnownGenderType) {
|
|
170
170
|
KnownGenderType["Female"] = "Female";
|
|
171
171
|
KnownGenderType["Male"] = "Male";
|
|
172
|
+
KnownGenderType["Nonbinary"] = "Nonbinary";
|
|
173
|
+
KnownGenderType["Unlisted"] = "Unlisted";
|
|
172
174
|
})(KnownGenderType = exports.KnownGenderType || (exports.KnownGenderType = {}));
|
|
173
175
|
var KnownGender;
|
|
174
176
|
(function (KnownGender) {
|
|
@@ -8017,6 +8017,7 @@ const deserializeAws_json1_1Face = (output, context) => {
|
|
|
8017
8017
|
ExternalImageId: smithy_client_1.expectString(output.ExternalImageId),
|
|
8018
8018
|
FaceId: smithy_client_1.expectString(output.FaceId),
|
|
8019
8019
|
ImageId: smithy_client_1.expectString(output.ImageId),
|
|
8020
|
+
IndexFacesModelVersion: smithy_client_1.expectString(output.IndexFacesModelVersion),
|
|
8020
8021
|
};
|
|
8021
8022
|
};
|
|
8022
8023
|
const deserializeAws_json1_1FaceDetail = (output, context) => {
|
|
@@ -15,10 +15,8 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
18
|
const getRuntimeConfig = (config) => {
|
|
20
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
|
-
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
20
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
21
|
return {
|
|
24
22
|
...clientSharedValues,
|
package/dist-es/endpoints.js
CHANGED
|
@@ -126,6 +126,8 @@ export var KnownGenderType;
|
|
|
126
126
|
(function (KnownGenderType) {
|
|
127
127
|
KnownGenderType["Female"] = "Female";
|
|
128
128
|
KnownGenderType["Male"] = "Male";
|
|
129
|
+
KnownGenderType["Nonbinary"] = "Nonbinary";
|
|
130
|
+
KnownGenderType["Unlisted"] = "Unlisted";
|
|
129
131
|
})(KnownGenderType || (KnownGenderType = {}));
|
|
130
132
|
export var KnownGender;
|
|
131
133
|
(function (KnownGender) {
|
|
@@ -8245,6 +8245,7 @@ var deserializeAws_json1_1Face = function (output, context) {
|
|
|
8245
8245
|
ExternalImageId: __expectString(output.ExternalImageId),
|
|
8246
8246
|
FaceId: __expectString(output.FaceId),
|
|
8247
8247
|
ImageId: __expectString(output.ImageId),
|
|
8248
|
+
IndexFacesModelVersion: __expectString(output.IndexFacesModelVersion),
|
|
8248
8249
|
};
|
|
8249
8250
|
};
|
|
8250
8251
|
var deserializeAws_json1_1FaceDetail = function (output, context) {
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -12,10 +12,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
15
|
export var getRuntimeConfig = function (config) {
|
|
17
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
19
17
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
18
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
19
|
};
|
|
@@ -90,7 +90,7 @@ export declare class Rekognition extends RekognitionClient {
|
|
|
90
90
|
* supported. The image must be formatted as a PNG or JPEG file. </p>
|
|
91
91
|
* <p>In response, the operation returns an array of face matches ordered by similarity score
|
|
92
92
|
* in descending order. For each face match, the response provides a bounding box of the face,
|
|
93
|
-
* facial landmarks, pose details (pitch,
|
|
93
|
+
* facial landmarks, pose details (pitch, roll, and yaw), quality (brightness and sharpness), and
|
|
94
94
|
* confidence value (indicating the level of confidence that the bounding box contains a face).
|
|
95
95
|
* The response also provides a similarity score, which indicates how closely the faces match. </p>
|
|
96
96
|
*
|
|
@@ -594,7 +594,7 @@ export declare class Rekognition extends RekognitionClient {
|
|
|
594
594
|
* <p>The <code>DetectText</code> operation returns text in an array of <a>TextDetection</a> elements, <code>TextDetections</code>. Each
|
|
595
595
|
* <code>TextDetection</code> element provides information about a single word or line of text
|
|
596
596
|
* that was detected in the image. </p>
|
|
597
|
-
* <p>A word is one or more
|
|
597
|
+
* <p>A word is one or more script characters that are not separated by spaces.
|
|
598
598
|
* <code>DetectText</code> can detect up to 100 words in an image.</p>
|
|
599
599
|
* <p>A line is a string of equally spaced words. A line isn't necessarily a complete
|
|
600
600
|
* sentence. For example, a driver's license number is detected as a line. A line ends when there
|
|
@@ -978,7 +978,7 @@ export declare class Rekognition extends RekognitionClient {
|
|
|
978
978
|
* <p>If you request all facial attributes (by using the <code>detectionAttributes</code>
|
|
979
979
|
* parameter), Amazon Rekognition returns detailed facial attributes, such as facial landmarks (for
|
|
980
980
|
* example, location of eye and mouth) and other facial attributes. If you provide
|
|
981
|
-
* the same image, specify the same collection,
|
|
981
|
+
* the same image, specify the same collection, use the same external ID, and use the same model version in the
|
|
982
982
|
* <code>IndexFaces</code> operation, Amazon Rekognition doesn't save duplicate face metadata.</p>
|
|
983
983
|
*
|
|
984
984
|
*
|
|
@@ -34,7 +34,7 @@ export interface CompareFacesCommandOutput extends CompareFacesResponse, __Metad
|
|
|
34
34
|
* supported. The image must be formatted as a PNG or JPEG file. </p>
|
|
35
35
|
* <p>In response, the operation returns an array of face matches ordered by similarity score
|
|
36
36
|
* in descending order. For each face match, the response provides a bounding box of the face,
|
|
37
|
-
* facial landmarks, pose details (pitch,
|
|
37
|
+
* facial landmarks, pose details (pitch, roll, and yaw), quality (brightness and sharpness), and
|
|
38
38
|
* confidence value (indicating the level of confidence that the bounding box contains a face).
|
|
39
39
|
* The response also provides a similarity score, which indicates how closely the faces match. </p>
|
|
40
40
|
*
|
|
@@ -15,7 +15,7 @@ export interface DetectTextCommandOutput extends DetectTextResponse, __MetadataB
|
|
|
15
15
|
* <p>The <code>DetectText</code> operation returns text in an array of <a>TextDetection</a> elements, <code>TextDetections</code>. Each
|
|
16
16
|
* <code>TextDetection</code> element provides information about a single word or line of text
|
|
17
17
|
* that was detected in the image. </p>
|
|
18
|
-
* <p>A word is one or more
|
|
18
|
+
* <p>A word is one or more script characters that are not separated by spaces.
|
|
19
19
|
* <code>DetectText</code> can detect up to 100 words in an image.</p>
|
|
20
20
|
* <p>A line is a string of equally spaced words. A line isn't necessarily a complete
|
|
21
21
|
* sentence. For example, a driver's license number is detected as a line. A line ends when there
|
|
@@ -95,7 +95,7 @@ export interface IndexFacesCommandOutput extends IndexFacesResponse, __MetadataB
|
|
|
95
95
|
* <p>If you request all facial attributes (by using the <code>detectionAttributes</code>
|
|
96
96
|
* parameter), Amazon Rekognition returns detailed facial attributes, such as facial landmarks (for
|
|
97
97
|
* example, location of eye and mouth) and other facial attributes. If you provide
|
|
98
|
-
* the same image, specify the same collection,
|
|
98
|
+
* the same image, specify the same collection, use the same external ID, and use the same model version in the
|
|
99
99
|
* <code>IndexFaces</code> operation, Amazon Rekognition doesn't save duplicate face metadata.</p>
|
|
100
100
|
*
|
|
101
101
|
*
|
|
@@ -520,10 +520,13 @@ export declare namespace ComparedFace {
|
|
|
520
520
|
}
|
|
521
521
|
export declare enum KnownGenderType {
|
|
522
522
|
Female = "Female",
|
|
523
|
-
Male = "Male"
|
|
523
|
+
Male = "Male",
|
|
524
|
+
Nonbinary = "Nonbinary",
|
|
525
|
+
Unlisted = "Unlisted"
|
|
524
526
|
}
|
|
525
527
|
/**
|
|
526
|
-
* <p>The known gender identity for the celebrity that matches the provided ID
|
|
528
|
+
* <p>The known gender identity for the celebrity that matches the provided ID. The known
|
|
529
|
+
* gender identity can be Male, Female, Nonbinary, or Unlisted.</p>
|
|
527
530
|
*/
|
|
528
531
|
export interface KnownGender {
|
|
529
532
|
/**
|
|
@@ -565,7 +568,8 @@ export interface Celebrity {
|
|
|
565
568
|
*/
|
|
566
569
|
MatchConfidence?: number;
|
|
567
570
|
/**
|
|
568
|
-
* <p>The known gender identity for the celebrity that matches the provided ID
|
|
571
|
+
* <p>The known gender identity for the celebrity that matches the provided ID. The known
|
|
572
|
+
* gender identity can be Male, Female, Nonbinary, or Unlisted.</p>
|
|
569
573
|
*/
|
|
570
574
|
KnownGender?: KnownGender;
|
|
571
575
|
}
|
|
@@ -1301,7 +1305,7 @@ export interface CreateCollectionResponse {
|
|
|
1301
1305
|
*/
|
|
1302
1306
|
CollectionArn?: string;
|
|
1303
1307
|
/**
|
|
1304
|
-
* <p>
|
|
1308
|
+
* <p>Latest face model being used with the collection. For more information, see <a href="https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html">Model versioning</a>.</p>
|
|
1305
1309
|
*/
|
|
1306
1310
|
FaceModelVersion?: string;
|
|
1307
1311
|
}
|
|
@@ -3520,6 +3524,12 @@ export interface Face {
|
|
|
3520
3524
|
* as a tree).</p>
|
|
3521
3525
|
*/
|
|
3522
3526
|
Confidence?: number;
|
|
3527
|
+
/**
|
|
3528
|
+
* <p>
|
|
3529
|
+
* The version of the face detect and storage model that was used when indexing the face vector.
|
|
3530
|
+
* </p>
|
|
3531
|
+
*/
|
|
3532
|
+
IndexFacesModelVersion?: string;
|
|
3523
3533
|
}
|
|
3524
3534
|
export declare namespace Face {
|
|
3525
3535
|
/**
|
|
@@ -4624,8 +4634,7 @@ export interface IndexFacesResponse {
|
|
|
4624
4634
|
*/
|
|
4625
4635
|
OrientationCorrection?: OrientationCorrection | string;
|
|
4626
4636
|
/**
|
|
4627
|
-
* <p>
|
|
4628
|
-
* collection (<code>CollectionId</code>).</p>
|
|
4637
|
+
* <p>Latest face model being used with the collection. For more information, see <a href="https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html">Model versioning</a>.</p>
|
|
4629
4638
|
*/
|
|
4630
4639
|
FaceModelVersion?: string;
|
|
4631
4640
|
/**
|
|
@@ -4669,7 +4678,7 @@ export interface ListCollectionsResponse {
|
|
|
4669
4678
|
*/
|
|
4670
4679
|
NextToken?: string;
|
|
4671
4680
|
/**
|
|
4672
|
-
* <p>
|
|
4681
|
+
* <p>Latest face models being used with the corresponding collections in the array. For more information, see <a href="https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html">Model versioning</a>.
|
|
4673
4682
|
* For example, the value of <code>FaceModelVersions[2]</code> is the version number for the face detection model used
|
|
4674
4683
|
* by the collection in <code>CollectionId[2]</code>.</p>
|
|
4675
4684
|
*/
|
|
@@ -4831,7 +4840,7 @@ export interface ListFacesResponse {
|
|
|
4831
4840
|
*/
|
|
4832
4841
|
NextToken?: string;
|
|
4833
4842
|
/**
|
|
4834
|
-
* <p>
|
|
4843
|
+
* <p>Latest face model being used with the collection. For more information, see <a href="https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html">Model versioning</a>.</p>
|
|
4835
4844
|
*/
|
|
4836
4845
|
FaceModelVersion?: string;
|
|
4837
4846
|
}
|
|
@@ -5043,7 +5052,7 @@ export interface SearchFacesResponse {
|
|
|
5043
5052
|
*/
|
|
5044
5053
|
FaceMatches?: FaceMatch[];
|
|
5045
5054
|
/**
|
|
5046
|
-
* <p>
|
|
5055
|
+
* <p>Latest face model being used with the collection. For more information, see <a href="https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html">Model versioning</a>.</p>
|
|
5047
5056
|
*/
|
|
5048
5057
|
FaceModelVersion?: string;
|
|
5049
5058
|
}
|
|
@@ -5118,7 +5127,7 @@ export interface SearchFacesByImageResponse {
|
|
|
5118
5127
|
*/
|
|
5119
5128
|
FaceMatches?: FaceMatch[];
|
|
5120
5129
|
/**
|
|
5121
|
-
* <p>
|
|
5130
|
+
* <p>Latest face model being used with the collection. For more information, see <a href="https://docs.aws.amazon.com/rekognition/latest/dg/face-detection-model.html">Model versioning</a>.</p>
|
|
5122
5131
|
*/
|
|
5123
5132
|
FaceModelVersion?: string;
|
|
5124
5133
|
}
|
|
@@ -276,7 +276,9 @@ export declare namespace ComparedFace {
|
|
|
276
276
|
}
|
|
277
277
|
export declare enum KnownGenderType {
|
|
278
278
|
Female = "Female",
|
|
279
|
-
Male = "Male"
|
|
279
|
+
Male = "Male",
|
|
280
|
+
Nonbinary = "Nonbinary",
|
|
281
|
+
Unlisted = "Unlisted"
|
|
280
282
|
}
|
|
281
283
|
|
|
282
284
|
export interface KnownGender {
|
|
@@ -1781,6 +1783,8 @@ export interface Face {
|
|
|
1781
1783
|
ExternalImageId?: string;
|
|
1782
1784
|
|
|
1783
1785
|
Confidence?: number;
|
|
1786
|
+
|
|
1787
|
+
IndexFacesModelVersion?: string;
|
|
1784
1788
|
}
|
|
1785
1789
|
export declare namespace Face {
|
|
1786
1790
|
|
package/package.json
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rekognition",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rekognition Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.46.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
12
|
"clean": "yarn clean:dist && yarn clean:docs",
|
|
12
|
-
"clean:dist": "rimraf ./dist",
|
|
13
|
-
"clean:docs": "rimraf ./docs"
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
13
|
+
"clean:dist": "rimraf ./dist-*",
|
|
14
|
+
"clean:docs": "rimraf ./docs"
|
|
16
15
|
},
|
|
17
16
|
"main": "./dist-cjs/index.js",
|
|
18
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,49 +20,43 @@
|
|
|
21
20
|
"dependencies": {
|
|
22
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
52
|
-
"@aws-sdk/util-waiter": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.46.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.46.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.46.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.46.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.46.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.46.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.46.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.46.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.46.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.46.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.46.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.46.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.46.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.46.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.46.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.46.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.46.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.46.0",
|
|
41
|
+
"@aws-sdk/types": "3.46.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.46.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.46.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.46.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.46.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.46.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.46.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.46.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.46.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.46.0",
|
|
51
|
+
"@aws-sdk/util-waiter": "3.46.0",
|
|
53
52
|
"tslib": "^2.3.0"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
57
|
-
"@types/node": "^12.7.5"
|
|
58
|
-
"downlevel-dts": "0.7.0",
|
|
59
|
-
"jest": "^26.1.0",
|
|
60
|
-
"rimraf": "^3.0.0",
|
|
61
|
-
"ts-jest": "^26.4.1",
|
|
62
|
-
"typedoc": "^0.19.2",
|
|
63
|
-
"typescript": "~4.3.5"
|
|
55
|
+
"@aws-sdk/service-client-documentation-generator": "3.46.0",
|
|
56
|
+
"@types/node": "^12.7.5"
|
|
64
57
|
},
|
|
65
58
|
"engines": {
|
|
66
|
-
"node": ">=
|
|
59
|
+
"node": ">=12.0.0"
|
|
67
60
|
},
|
|
68
61
|
"typesVersions": {
|
|
69
62
|
"<4.0": {
|