@aws-sdk/client-acm 3.956.0 → 3.958.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.
@@ -6,16 +6,16 @@ const checkState = async (client, input) => {
6
6
  const result = await client.send(new DescribeCertificateCommand(input));
7
7
  reason = result;
8
8
  try {
9
- const returnComparator = () => {
10
- const flat_1 = [].concat(...result.Certificate.DomainValidationOptions);
11
- const projection_3 = flat_1.map((element_2) => {
9
+ let returnComparator = () => {
10
+ let flat_1 = [].concat(...result.Certificate.DomainValidationOptions);
11
+ let projection_3 = flat_1.map((element_2) => {
12
12
  return element_2.ValidationStatus;
13
13
  });
14
14
  return projection_3;
15
15
  };
16
- let allStringEq_5 = returnComparator().length > 0;
17
- for (const element_4 of returnComparator()) {
18
- allStringEq_5 = allStringEq_5 && element_4 == "SUCCESS";
16
+ let allStringEq_5 = (returnComparator().length > 0);
17
+ for (let element_4 of returnComparator()) {
18
+ allStringEq_5 = allStringEq_5 && (element_4 == "SUCCESS");
19
19
  }
20
20
  if (allStringEq_5) {
21
21
  return { state: WaiterState.SUCCESS, reason };
@@ -23,14 +23,14 @@ const checkState = async (client, input) => {
23
23
  }
24
24
  catch (e) { }
25
25
  try {
26
- const returnComparator = () => {
27
- const flat_1 = [].concat(...result.Certificate.DomainValidationOptions);
28
- const projection_3 = flat_1.map((element_2) => {
26
+ let returnComparator = () => {
27
+ let flat_1 = [].concat(...result.Certificate.DomainValidationOptions);
28
+ let projection_3 = flat_1.map((element_2) => {
29
29
  return element_2.ValidationStatus;
30
30
  });
31
31
  return projection_3;
32
32
  };
33
- for (const anyStringEq_4 of returnComparator()) {
33
+ for (let anyStringEq_4 of returnComparator()) {
34
34
  if (anyStringEq_4 == "PENDING_VALIDATION") {
35
35
  return { state: WaiterState.RETRY, reason };
36
36
  }
@@ -38,7 +38,7 @@ const checkState = async (client, input) => {
38
38
  }
39
39
  catch (e) { }
40
40
  try {
41
- const returnComparator = () => {
41
+ let returnComparator = () => {
42
42
  return result.Certificate.Status;
43
43
  };
44
44
  if (returnComparator() === "FAILED") {
package/package.json CHANGED
@@ -1,17 +1,19 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-acm",
3
3
  "description": "AWS SDK for JavaScript Acm Client for Node.js, Browser and React Native",
4
- "version": "3.956.0",
4
+ "version": "3.958.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-acm",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
- "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
9
+ "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
13
  "extract:docs": "api-extractor run --local",
14
14
  "generate:client": "node ../../scripts/generate-clients/single-service --solo acm",
15
+ "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
16
+ "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
15
17
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
18
  },
17
19
  "main": "./dist-cjs/index.js",
@@ -21,17 +23,17 @@
21
23
  "dependencies": {
22
24
  "@aws-crypto/sha256-browser": "5.2.0",
23
25
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.956.0",
25
- "@aws-sdk/credential-provider-node": "3.956.0",
26
- "@aws-sdk/middleware-host-header": "3.956.0",
27
- "@aws-sdk/middleware-logger": "3.956.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.956.0",
29
- "@aws-sdk/middleware-user-agent": "3.956.0",
30
- "@aws-sdk/region-config-resolver": "3.956.0",
31
- "@aws-sdk/types": "3.956.0",
32
- "@aws-sdk/util-endpoints": "3.956.0",
33
- "@aws-sdk/util-user-agent-browser": "3.956.0",
34
- "@aws-sdk/util-user-agent-node": "3.956.0",
26
+ "@aws-sdk/core": "3.957.0",
27
+ "@aws-sdk/credential-provider-node": "3.958.0",
28
+ "@aws-sdk/middleware-host-header": "3.957.0",
29
+ "@aws-sdk/middleware-logger": "3.957.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.957.0",
31
+ "@aws-sdk/middleware-user-agent": "3.957.0",
32
+ "@aws-sdk/region-config-resolver": "3.957.0",
33
+ "@aws-sdk/types": "3.957.0",
34
+ "@aws-sdk/util-endpoints": "3.957.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.957.0",
36
+ "@aws-sdk/util-user-agent-node": "3.957.0",
35
37
  "@smithy/config-resolver": "^4.4.5",
36
38
  "@smithy/core": "^3.20.0",
37
39
  "@smithy/fetch-http-handler": "^5.3.8",