@aws-sdk/client-iam 3.1018.0 → 3.1020.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 +2 -2
- package/dist-cjs/runtimeConfig.js +4 -3
- package/dist-cjs/runtimeConfig.shared.js +2 -2
- package/dist-es/IAM.js +11 -11
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/runtimeConfig.shared.js +1 -1
- package/dist-es/waiters/waitForInstanceProfileExists.js +1 -1
- package/dist-es/waiters/waitForPolicyExists.js +1 -1
- package/dist-es/waiters/waitForRoleExists.js +1 -1
- package/dist-es/waiters/waitForUserExists.js +1 -1
- package/dist-types/IAM.d.ts +176 -176
- package/dist-types/IAMClient.d.ts +179 -179
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +2 -2
- package/dist-types/pagination/GetAccountAuthorizationDetailsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetGroupPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAccessKeysPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAccountAliasesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAttachedGroupPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAttachedRolePoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAttachedUserPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEntitiesForPolicyPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGroupPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGroupsForUserPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInstanceProfileTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInstanceProfilesForRolePaginator.d.ts +1 -1
- package/dist-types/pagination/ListInstanceProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMFADeviceTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMFADevicesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOpenIDConnectProviderTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPolicyTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPolicyVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRolePoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRoleTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRolesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSAMLProviderTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSSHPublicKeysPaginator.d.ts +1 -1
- package/dist-types/pagination/ListServerCertificateTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListServerCertificatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSigningCertificatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUserPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUserTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUsersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVirtualMFADevicesPaginator.d.ts +1 -1
- package/dist-types/pagination/SimulateCustomPolicyPaginator.d.ts +1 -1
- package/dist-types/pagination/SimulatePrincipalPolicyPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/IAMClient.d.ts +2 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/waiters/waitForInstanceProfileExists.d.ts +3 -3
- package/dist-types/waiters/waitForPolicyExists.d.ts +3 -3
- package/dist-types/waiters/waitForRoleExists.d.ts +3 -3
- package/dist-types/waiters/waitForUserExists.d.ts +3 -3
- package/package.json +15 -15
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultIAMHttpAuthSchemeProvider = exports.defaultIAMHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const util_middleware_1 = require("@smithy/util-middleware");
|
|
6
6
|
const defaultIAMHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
@@ -38,7 +38,7 @@ const defaultIAMHttpAuthSchemeProvider = (authParameters) => {
|
|
|
38
38
|
};
|
|
39
39
|
exports.defaultIAMHttpAuthSchemeProvider = defaultIAMHttpAuthSchemeProvider;
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
|
-
const config_0 = (0,
|
|
41
|
+
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
43
|
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
-
const
|
|
6
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
7
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
8
9
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
9
10
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
@@ -21,7 +22,7 @@ const getRuntimeConfig = (config) => {
|
|
|
21
22
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
22
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
23
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
24
|
-
(0,
|
|
25
|
+
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
25
26
|
const loaderConfig = {
|
|
26
27
|
profile: config?.profile,
|
|
27
28
|
logger: clientSharedValues.logger,
|
|
@@ -31,7 +32,7 @@ const getRuntimeConfig = (config) => {
|
|
|
31
32
|
...config,
|
|
32
33
|
runtime: "node",
|
|
33
34
|
defaultsMode,
|
|
34
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(
|
|
35
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
35
36
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
36
37
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
37
38
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
@@ -23,7 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
{
|
|
24
24
|
schemeId: "aws.auth#sigv4",
|
|
25
25
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
26
|
-
signer: new
|
|
26
|
+
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
27
27
|
},
|
|
28
28
|
],
|
|
29
29
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
package/dist-es/IAM.js
CHANGED
|
@@ -11,30 +11,30 @@ import { ChangePasswordCommand, } from "./commands/ChangePasswordCommand";
|
|
|
11
11
|
import { CreateAccessKeyCommand, } from "./commands/CreateAccessKeyCommand";
|
|
12
12
|
import { CreateAccountAliasCommand, } from "./commands/CreateAccountAliasCommand";
|
|
13
13
|
import { CreateDelegationRequestCommand, } from "./commands/CreateDelegationRequestCommand";
|
|
14
|
-
import { CreateGroupCommand } from "./commands/CreateGroupCommand";
|
|
14
|
+
import { CreateGroupCommand, } from "./commands/CreateGroupCommand";
|
|
15
15
|
import { CreateInstanceProfileCommand, } from "./commands/CreateInstanceProfileCommand";
|
|
16
16
|
import { CreateLoginProfileCommand, } from "./commands/CreateLoginProfileCommand";
|
|
17
17
|
import { CreateOpenIDConnectProviderCommand, } from "./commands/CreateOpenIDConnectProviderCommand";
|
|
18
18
|
import { CreatePolicyCommand, } from "./commands/CreatePolicyCommand";
|
|
19
19
|
import { CreatePolicyVersionCommand, } from "./commands/CreatePolicyVersionCommand";
|
|
20
|
-
import { CreateRoleCommand } from "./commands/CreateRoleCommand";
|
|
20
|
+
import { CreateRoleCommand, } from "./commands/CreateRoleCommand";
|
|
21
21
|
import { CreateSAMLProviderCommand, } from "./commands/CreateSAMLProviderCommand";
|
|
22
22
|
import { CreateServiceLinkedRoleCommand, } from "./commands/CreateServiceLinkedRoleCommand";
|
|
23
23
|
import { CreateServiceSpecificCredentialCommand, } from "./commands/CreateServiceSpecificCredentialCommand";
|
|
24
|
-
import { CreateUserCommand } from "./commands/CreateUserCommand";
|
|
24
|
+
import { CreateUserCommand, } from "./commands/CreateUserCommand";
|
|
25
25
|
import { CreateVirtualMFADeviceCommand, } from "./commands/CreateVirtualMFADeviceCommand";
|
|
26
26
|
import { DeactivateMFADeviceCommand, } from "./commands/DeactivateMFADeviceCommand";
|
|
27
27
|
import { DeleteAccessKeyCommand, } from "./commands/DeleteAccessKeyCommand";
|
|
28
28
|
import { DeleteAccountAliasCommand, } from "./commands/DeleteAccountAliasCommand";
|
|
29
29
|
import { DeleteAccountPasswordPolicyCommand, } from "./commands/DeleteAccountPasswordPolicyCommand";
|
|
30
|
-
import { DeleteGroupCommand } from "./commands/DeleteGroupCommand";
|
|
30
|
+
import { DeleteGroupCommand, } from "./commands/DeleteGroupCommand";
|
|
31
31
|
import { DeleteGroupPolicyCommand, } from "./commands/DeleteGroupPolicyCommand";
|
|
32
32
|
import { DeleteInstanceProfileCommand, } from "./commands/DeleteInstanceProfileCommand";
|
|
33
33
|
import { DeleteLoginProfileCommand, } from "./commands/DeleteLoginProfileCommand";
|
|
34
34
|
import { DeleteOpenIDConnectProviderCommand, } from "./commands/DeleteOpenIDConnectProviderCommand";
|
|
35
35
|
import { DeletePolicyCommand, } from "./commands/DeletePolicyCommand";
|
|
36
36
|
import { DeletePolicyVersionCommand, } from "./commands/DeletePolicyVersionCommand";
|
|
37
|
-
import { DeleteRoleCommand } from "./commands/DeleteRoleCommand";
|
|
37
|
+
import { DeleteRoleCommand, } from "./commands/DeleteRoleCommand";
|
|
38
38
|
import { DeleteRolePermissionsBoundaryCommand, } from "./commands/DeleteRolePermissionsBoundaryCommand";
|
|
39
39
|
import { DeleteRolePolicyCommand, } from "./commands/DeleteRolePolicyCommand";
|
|
40
40
|
import { DeleteSAMLProviderCommand, } from "./commands/DeleteSAMLProviderCommand";
|
|
@@ -43,7 +43,7 @@ import { DeleteServiceLinkedRoleCommand, } from "./commands/DeleteServiceLinkedR
|
|
|
43
43
|
import { DeleteServiceSpecificCredentialCommand, } from "./commands/DeleteServiceSpecificCredentialCommand";
|
|
44
44
|
import { DeleteSigningCertificateCommand, } from "./commands/DeleteSigningCertificateCommand";
|
|
45
45
|
import { DeleteSSHPublicKeyCommand, } from "./commands/DeleteSSHPublicKeyCommand";
|
|
46
|
-
import { DeleteUserCommand } from "./commands/DeleteUserCommand";
|
|
46
|
+
import { DeleteUserCommand, } from "./commands/DeleteUserCommand";
|
|
47
47
|
import { DeleteUserPermissionsBoundaryCommand, } from "./commands/DeleteUserPermissionsBoundaryCommand";
|
|
48
48
|
import { DeleteUserPolicyCommand, } from "./commands/DeleteUserPolicyCommand";
|
|
49
49
|
import { DeleteVirtualMFADeviceCommand, } from "./commands/DeleteVirtualMFADeviceCommand";
|
|
@@ -97,7 +97,7 @@ import { ListAttachedUserPoliciesCommand, } from "./commands/ListAttachedUserPol
|
|
|
97
97
|
import { ListDelegationRequestsCommand, } from "./commands/ListDelegationRequestsCommand";
|
|
98
98
|
import { ListEntitiesForPolicyCommand, } from "./commands/ListEntitiesForPolicyCommand";
|
|
99
99
|
import { ListGroupPoliciesCommand, } from "./commands/ListGroupPoliciesCommand";
|
|
100
|
-
import { ListGroupsCommand } from "./commands/ListGroupsCommand";
|
|
100
|
+
import { ListGroupsCommand, } from "./commands/ListGroupsCommand";
|
|
101
101
|
import { ListGroupsForUserCommand, } from "./commands/ListGroupsForUserCommand";
|
|
102
102
|
import { ListInstanceProfilesCommand, } from "./commands/ListInstanceProfilesCommand";
|
|
103
103
|
import { ListInstanceProfilesForRoleCommand, } from "./commands/ListInstanceProfilesForRoleCommand";
|
|
@@ -152,7 +152,7 @@ import { TagUserCommand } from "./commands/TagUserCommand";
|
|
|
152
152
|
import { UntagInstanceProfileCommand, } from "./commands/UntagInstanceProfileCommand";
|
|
153
153
|
import { UntagMFADeviceCommand, } from "./commands/UntagMFADeviceCommand";
|
|
154
154
|
import { UntagOpenIDConnectProviderCommand, } from "./commands/UntagOpenIDConnectProviderCommand";
|
|
155
|
-
import { UntagPolicyCommand } from "./commands/UntagPolicyCommand";
|
|
155
|
+
import { UntagPolicyCommand, } from "./commands/UntagPolicyCommand";
|
|
156
156
|
import { UntagRoleCommand } from "./commands/UntagRoleCommand";
|
|
157
157
|
import { UntagSAMLProviderCommand, } from "./commands/UntagSAMLProviderCommand";
|
|
158
158
|
import { UntagServerCertificateCommand, } from "./commands/UntagServerCertificateCommand";
|
|
@@ -161,17 +161,17 @@ import { UpdateAccessKeyCommand, } from "./commands/UpdateAccessKeyCommand";
|
|
|
161
161
|
import { UpdateAccountPasswordPolicyCommand, } from "./commands/UpdateAccountPasswordPolicyCommand";
|
|
162
162
|
import { UpdateAssumeRolePolicyCommand, } from "./commands/UpdateAssumeRolePolicyCommand";
|
|
163
163
|
import { UpdateDelegationRequestCommand, } from "./commands/UpdateDelegationRequestCommand";
|
|
164
|
-
import { UpdateGroupCommand } from "./commands/UpdateGroupCommand";
|
|
164
|
+
import { UpdateGroupCommand, } from "./commands/UpdateGroupCommand";
|
|
165
165
|
import { UpdateLoginProfileCommand, } from "./commands/UpdateLoginProfileCommand";
|
|
166
166
|
import { UpdateOpenIDConnectProviderThumbprintCommand, } from "./commands/UpdateOpenIDConnectProviderThumbprintCommand";
|
|
167
|
-
import { UpdateRoleCommand } from "./commands/UpdateRoleCommand";
|
|
167
|
+
import { UpdateRoleCommand, } from "./commands/UpdateRoleCommand";
|
|
168
168
|
import { UpdateRoleDescriptionCommand, } from "./commands/UpdateRoleDescriptionCommand";
|
|
169
169
|
import { UpdateSAMLProviderCommand, } from "./commands/UpdateSAMLProviderCommand";
|
|
170
170
|
import { UpdateServerCertificateCommand, } from "./commands/UpdateServerCertificateCommand";
|
|
171
171
|
import { UpdateServiceSpecificCredentialCommand, } from "./commands/UpdateServiceSpecificCredentialCommand";
|
|
172
172
|
import { UpdateSigningCertificateCommand, } from "./commands/UpdateSigningCertificateCommand";
|
|
173
173
|
import { UpdateSSHPublicKeyCommand, } from "./commands/UpdateSSHPublicKeyCommand";
|
|
174
|
-
import { UpdateUserCommand } from "./commands/UpdateUserCommand";
|
|
174
|
+
import { UpdateUserCommand, } from "./commands/UpdateUserCommand";
|
|
175
175
|
import { UploadServerCertificateCommand, } from "./commands/UploadServerCertificateCommand";
|
|
176
176
|
import { UploadSigningCertificateCommand, } from "./commands/UploadSigningCertificateCommand";
|
|
177
177
|
import { UploadSSHPublicKeyCommand, } from "./commands/UploadSSHPublicKeyCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
|
|
1
|
+
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
3
3
|
export const defaultIAMHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
|
|
3
|
+
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
3
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
5
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
5
6
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsQueryProtocol } from "@aws-sdk/core/protocols";
|
|
3
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
4
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
2
|
import { GetInstanceProfileCommand } from "../commands/GetInstanceProfileCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
2
|
import { GetPolicyCommand } from "../commands/GetPolicyCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
2
|
import { GetRoleCommand } from "../commands/GetRoleCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
2
|
import { GetUserCommand } from "../commands/GetUserCommand";
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|