@mavogel/awscdk-rootmail 0.1.35 → 0.1.37
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/.jsii +8 -8
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/checksums/package.json +3 -3
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +51 -14
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/models/enums.js +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/schemas/schemas_0.js +46 -13
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteAccountPolicyCommand.d.ts +22 -5
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeAccountPoliciesCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeLogGroupsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutAccountPolicyCommand.d.ts +18 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TagLogGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/TestMetricFilterCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +124 -58
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_1.d.ts +58 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/schemas/schemas_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteAccountPolicyCommand.d.ts +4 -3
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/TagLogGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/TestMetricFilterCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +21 -12
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_1.d.ts +12 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +5 -5
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/package.json +5 -5
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +9 -9
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ses/package.json +5 -5
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/package.json +5 -5
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +1 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -4
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +3 -7
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +8 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +5 -59
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +5 -33
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +16 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +8 -39
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +36 -48
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -16
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +36 -17
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +16 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +8 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +10 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +18 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +18 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +42 -24
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +20 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +24 -12
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +13 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +7 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +13 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +6 -3
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
- package/node_modules/@smithy/core/dist-es/normalizeProvider.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +12 -6
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js +10 -5
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +8 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +7 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +7 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +7 -5
- package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js +6 -3
- package/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +22 -9
- package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +14 -8
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +6 -0
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +23 -11
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +4 -2
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +4 -2
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +5 -1
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +2 -1
- package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +2 -1
- package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +6 -3
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -1
- package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -1
- package/node_modules/@smithy/signature-v4/package.json +2 -2
- package/package.json +7 -7
- /package/node_modules/@smithy/core/dist-es/submodules/{protocols → serde}/writeKey.js +0 -0
- /package/node_modules/@smithy/core/dist-types/submodules/{protocols → serde}/writeKey.d.ts +0 -0
- /package/node_modules/@smithy/core/dist-types/ts3.4/submodules/{protocols → serde}/writeKey.d.ts +0 -0
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts
CHANGED
|
@@ -2,14 +2,7 @@ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/
|
|
|
2
2
|
import type { OAuth2ErrorCode } from "./enums";
|
|
3
3
|
import { SigninServiceException as __BaseException } from "./SigninServiceException";
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* Runtime HTTP Status Code Mapping:
|
|
8
|
-
* - HTTP 401 (Unauthorized): TOKEN_EXPIRED, AUTHCODE_EXPIRED
|
|
9
|
-
* - HTTP 403 (Forbidden): USER_CREDENTIALS_CHANGED, INSUFFICIENT_PERMISSIONS
|
|
10
|
-
*
|
|
11
|
-
* The specific HTTP status code is determined at runtime based on the error enum value.
|
|
12
|
-
* Consumers should use the error field to determine the specific access denial reason.
|
|
5
|
+
* You do not have sufficient access to perform this action.
|
|
13
6
|
* @public
|
|
14
7
|
*/
|
|
15
8
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -17,8 +10,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
17
10
|
readonly name: "AccessDeniedException";
|
|
18
11
|
readonly $fault: "client";
|
|
19
12
|
/**
|
|
20
|
-
*
|
|
21
|
-
* Can be TOKEN_EXPIRED, AUTHCODE_EXPIRED, USER_CREDENTIALS_CHANGED, or INSUFFICIENT_PERMISSIONS
|
|
13
|
+
* One of TOKEN_EXPIRED, AUTHCODE_EXPIRED, USER_CREDENTIALS_CHANGED, or INSUFFICIENT_PERMISSIONS.
|
|
22
14
|
* @public
|
|
23
15
|
*/
|
|
24
16
|
error: OAuth2ErrorCode | undefined;
|
|
@@ -28,11 +20,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
28
20
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
29
21
|
}
|
|
30
22
|
/**
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* HTTP Status Code: 500 Internal Server Error
|
|
34
|
-
*
|
|
35
|
-
* Used for unexpected server-side errors that prevent request processing.
|
|
23
|
+
* The request failed because of an internal server error.
|
|
36
24
|
* @public
|
|
37
25
|
*/
|
|
38
26
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -40,8 +28,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
40
28
|
readonly name: "InternalServerException";
|
|
41
29
|
readonly $fault: "server";
|
|
42
30
|
/**
|
|
43
|
-
*
|
|
44
|
-
* Will be SERVER_ERROR for internal server errors
|
|
31
|
+
* Will be server_error.
|
|
45
32
|
* @public
|
|
46
33
|
*/
|
|
47
34
|
error: OAuth2ErrorCode | undefined;
|
|
@@ -51,18 +38,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
51
38
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
52
39
|
}
|
|
53
40
|
/**
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* HTTP Status Code: 429 Too Many Requests
|
|
57
|
-
*
|
|
58
|
-
* Possible OAuth2ErrorCode values:
|
|
59
|
-
* - INVALID_REQUEST: Rate limiting, too many requests, abuse prevention
|
|
60
|
-
*
|
|
61
|
-
* Possible causes:
|
|
62
|
-
* - Too many token requests from the same client
|
|
63
|
-
* - Rate limiting based on client_id or IP address
|
|
64
|
-
* - Abuse prevention mechanisms triggered
|
|
65
|
-
* - Service protection against excessive token generation
|
|
41
|
+
* The request failed because you exceeded the request rate limit for this operation.
|
|
66
42
|
* @public
|
|
67
43
|
*/
|
|
68
44
|
export declare class TooManyRequestsError extends __BaseException {
|
|
@@ -70,8 +46,7 @@ export declare class TooManyRequestsError extends __BaseException {
|
|
|
70
46
|
readonly name: "TooManyRequestsError";
|
|
71
47
|
readonly $fault: "client";
|
|
72
48
|
/**
|
|
73
|
-
*
|
|
74
|
-
* Will be INVALID_REQUEST for rate limiting scenarios
|
|
49
|
+
* Will be rate_exceeded.
|
|
75
50
|
* @public
|
|
76
51
|
*/
|
|
77
52
|
error: OAuth2ErrorCode | undefined;
|
|
@@ -81,12 +56,7 @@ export declare class TooManyRequestsError extends __BaseException {
|
|
|
81
56
|
constructor(opts: __ExceptionOptionType<TooManyRequestsError, __BaseException>);
|
|
82
57
|
}
|
|
83
58
|
/**
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
* HTTP Status Code: 400 Bad Request
|
|
87
|
-
*
|
|
88
|
-
* Used for request validation errors such as malformed parameters,
|
|
89
|
-
* missing required fields, or invalid parameter values.
|
|
59
|
+
* The request failed because it contains a malformed, missing, or invalid parameter.
|
|
90
60
|
* @public
|
|
91
61
|
*/
|
|
92
62
|
export declare class ValidationException extends __BaseException {
|
|
@@ -94,8 +64,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
94
64
|
readonly name: "ValidationException";
|
|
95
65
|
readonly $fault: "client";
|
|
96
66
|
/**
|
|
97
|
-
*
|
|
98
|
-
* Will be INVALID_REQUEST for validation errors
|
|
67
|
+
* The specific code depends on which validation failed.
|
|
99
68
|
* @public
|
|
100
69
|
*/
|
|
101
70
|
error: OAuth2ErrorCode | undefined;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts
CHANGED
|
@@ -1,68 +1,64 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AWS credentials
|
|
3
|
-
*
|
|
4
|
-
* Scoped, temporary AWS credentials with a 15-minute duration.
|
|
2
|
+
* Contains the scoped, temporary AWS credentials used to sign requests with SigV4. Valid for 15 minutes.
|
|
5
3
|
* @public
|
|
6
4
|
*/
|
|
7
5
|
export interface AccessToken {
|
|
8
6
|
/**
|
|
9
|
-
* AWS access key ID for temporary credentials
|
|
7
|
+
* The AWS access key ID for the temporary credentials.
|
|
10
8
|
* @public
|
|
11
9
|
*/
|
|
12
10
|
accessKeyId: string | undefined;
|
|
13
11
|
/**
|
|
14
|
-
* AWS secret access key
|
|
12
|
+
* The AWS secret access key used to sign requests.
|
|
15
13
|
* @public
|
|
16
14
|
*/
|
|
17
15
|
secretAccessKey: string | undefined;
|
|
18
16
|
/**
|
|
19
|
-
*
|
|
17
|
+
* The session token that validates the temporary security credentials.
|
|
20
18
|
* @public
|
|
21
19
|
*/
|
|
22
20
|
sessionToken: string | undefined;
|
|
23
21
|
}
|
|
24
22
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* The operation type is determined by the grant_type parameter:
|
|
28
|
-
* - grant_type=authorization_code: Requires code, redirect_uri, code_verifier
|
|
29
|
-
* - grant_type=refresh_token: Requires refresh_token
|
|
23
|
+
* The request body for creating an OAuth 2.0 token. Supports both the authorization code and
|
|
24
|
+
* refresh token flows, selected by the "grant_type" parameter.
|
|
30
25
|
* @public
|
|
31
26
|
*/
|
|
32
27
|
export interface CreateOAuth2TokenRequestBody {
|
|
33
28
|
/**
|
|
34
|
-
* The client identifier
|
|
35
|
-
*
|
|
29
|
+
* The OAuth 2.0 client identifier. Expected values: "arn:aws:signin:::devtools/same-device"
|
|
30
|
+
* or "arn:aws:signin:::devtools/cross-device".
|
|
36
31
|
* @public
|
|
37
32
|
*/
|
|
38
33
|
clientId: string | undefined;
|
|
39
34
|
/**
|
|
40
|
-
* OAuth 2.0 grant type
|
|
41
|
-
*
|
|
35
|
+
* The OAuth 2.0 grant type. Supported values:
|
|
36
|
+
* - "authorization_code" - Exchange an authorization code for tokens.
|
|
37
|
+
* - "refresh_token" - Use a refresh token to obtain a new access token.
|
|
42
38
|
* @public
|
|
43
39
|
*/
|
|
44
40
|
grantType: string | undefined;
|
|
45
41
|
/**
|
|
46
|
-
* The authorization code received from /v1/authorize
|
|
47
|
-
* Required
|
|
42
|
+
* The authorization code received from the "/v1/authorize" endpoint.
|
|
43
|
+
* Required when "grant_type=authorization_code".
|
|
48
44
|
* @public
|
|
49
45
|
*/
|
|
50
46
|
code?: string | undefined;
|
|
51
47
|
/**
|
|
52
|
-
* The redirect URI that
|
|
53
|
-
* Required
|
|
48
|
+
* The redirect URI that was used in the original authorization request. Must match exactly.
|
|
49
|
+
* Required when "grant_type=authorization_code".
|
|
54
50
|
* @public
|
|
55
51
|
*/
|
|
56
52
|
redirectUri?: string | undefined;
|
|
57
53
|
/**
|
|
58
|
-
* PKCE code verifier
|
|
59
|
-
* Required
|
|
54
|
+
* The PKCE code verifier that proves possession of the original code challenge.
|
|
55
|
+
* Required when "grant_type=authorization_code".
|
|
60
56
|
* @public
|
|
61
57
|
*/
|
|
62
58
|
codeVerifier?: string | undefined;
|
|
63
59
|
/**
|
|
64
|
-
* The refresh token
|
|
65
|
-
* Required
|
|
60
|
+
* The refresh token issued by a previous token response.
|
|
61
|
+
* Required when "grant_type=refresh_token".
|
|
66
62
|
* @public
|
|
67
63
|
*/
|
|
68
64
|
refreshToken?: string | undefined;
|
|
@@ -76,49 +72,41 @@ export interface CreateOAuth2TokenRequestBody {
|
|
|
76
72
|
*/
|
|
77
73
|
export interface CreateOAuth2TokenRequest {
|
|
78
74
|
/**
|
|
79
|
-
* Flattened token operation inputs
|
|
80
|
-
* The specific operation is determined by grant_type in the request body
|
|
75
|
+
* Flattened token operation inputs. The "grant_type" in the request body determines the specific operation.
|
|
81
76
|
* @public
|
|
82
77
|
*/
|
|
83
78
|
tokenInput: CreateOAuth2TokenRequestBody | undefined;
|
|
84
79
|
}
|
|
85
80
|
/**
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
* The response content depends on the grant_type from the request:
|
|
89
|
-
* - grant_type=authorization_code: Returns all fields including refresh_token and id_token
|
|
90
|
-
* - grant_type=refresh_token: Returns access_token, token_type, expires_in, refresh_token (no id_token)
|
|
81
|
+
* The response body for an OAuth 2.0 token request. The fields returned depend on the "grant_type".
|
|
82
|
+
* The authorization code flow returns "refresh_token" and "id_token". The refresh token flow omits "id_token".
|
|
91
83
|
* @public
|
|
92
84
|
*/
|
|
93
85
|
export interface CreateOAuth2TokenResponseBody {
|
|
94
86
|
/**
|
|
95
|
-
*
|
|
96
|
-
*
|
|
87
|
+
* The access token issued by the authorization server. The token contains temporary
|
|
88
|
+
* AWS security credentials that you use to sign requests with SigV4.
|
|
97
89
|
* @public
|
|
98
90
|
*/
|
|
99
91
|
accessToken: AccessToken | undefined;
|
|
100
92
|
/**
|
|
101
|
-
*
|
|
102
|
-
* Value is "aws_sigv4" for both flows
|
|
93
|
+
* The type of token issued. Value is "aws_sigv4".
|
|
103
94
|
* @public
|
|
104
95
|
*/
|
|
105
96
|
tokenType: string | undefined;
|
|
106
97
|
/**
|
|
107
|
-
*
|
|
108
|
-
* Present for both authorization code redemption and token refresh
|
|
98
|
+
* The number of seconds until the access token expires. Maximum value is 900 seconds (15 minutes).
|
|
109
99
|
* @public
|
|
110
100
|
*/
|
|
111
101
|
expiresIn: number | undefined;
|
|
112
102
|
/**
|
|
113
|
-
*
|
|
114
|
-
* Always present in responses (required for both flows)
|
|
103
|
+
* A refresh token that can be used to obtain new access tokens without re-authenticating.
|
|
115
104
|
* @public
|
|
116
105
|
*/
|
|
117
106
|
refreshToken: string | undefined;
|
|
118
107
|
/**
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
* Not included in token refresh responses
|
|
108
|
+
* A JSON Web Token (JWT) containing user identity claims. Present only when
|
|
109
|
+
* "grant_type=authorization_code". Not included in refresh token responses.
|
|
122
110
|
* @public
|
|
123
111
|
*/
|
|
124
112
|
idToken?: string | undefined;
|
|
@@ -132,8 +120,8 @@ export interface CreateOAuth2TokenResponseBody {
|
|
|
132
120
|
*/
|
|
133
121
|
export interface CreateOAuth2TokenResponse {
|
|
134
122
|
/**
|
|
135
|
-
* Flattened token operation outputs
|
|
136
|
-
* The specific response fields depend on the grant_type used in the request
|
|
123
|
+
* Flattened token operation outputs.
|
|
124
|
+
* The specific response fields depend on the grant_type used in the request.
|
|
137
125
|
* @public
|
|
138
126
|
*/
|
|
139
127
|
tokenOutput: CreateOAuth2TokenResponseBody | undefined;
|
|
@@ -144,7 +132,7 @@ export interface CreateOAuth2TokenResponse {
|
|
|
144
132
|
*/
|
|
145
133
|
export interface CreateOAuth2TokenWithIAMRequest {
|
|
146
134
|
/**
|
|
147
|
-
* OAuth 2.0 grant type. Must be "client_credentials".
|
|
135
|
+
* The OAuth 2.0 grant type. Must be "client_credentials".
|
|
148
136
|
* @public
|
|
149
137
|
*/
|
|
150
138
|
grantType: string | undefined;
|
|
@@ -158,22 +146,22 @@ export interface CreateOAuth2TokenWithIAMRequest {
|
|
|
158
146
|
/**
|
|
159
147
|
* Output structure for CreateOAuth2TokenWithIAM operation
|
|
160
148
|
*
|
|
161
|
-
* Contains the
|
|
149
|
+
* Contains the access token, token type, and expiration as defined in RFC 6749 §5.1.
|
|
162
150
|
* @public
|
|
163
151
|
*/
|
|
164
152
|
export interface CreateOAuth2TokenWithIAMResponse {
|
|
165
153
|
/**
|
|
166
|
-
*
|
|
154
|
+
* Access token containing principal identity, resource scope, and session metadata.
|
|
167
155
|
* @public
|
|
168
156
|
*/
|
|
169
157
|
accessToken: string | undefined;
|
|
170
158
|
/**
|
|
171
|
-
* Always "Bearer"
|
|
159
|
+
* The token type. Always "Bearer" as defined in RFC 6749.
|
|
172
160
|
* @public
|
|
173
161
|
*/
|
|
174
162
|
tokenType: string | undefined;
|
|
175
163
|
/**
|
|
176
|
-
* Token lifetime in seconds. Value is the minimum of session validity and 1 hour.
|
|
164
|
+
* Token lifetime in seconds. Value is the minimum of the caller's session validity and 1 hour (3600 seconds).
|
|
177
165
|
* @public
|
|
178
166
|
*/
|
|
179
167
|
expiresIn: number | undefined;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts
CHANGED
|
@@ -3,6 +3,13 @@ export declare const OAuth2ErrorCode: {
|
|
|
3
3
|
readonly CONFLICT: "CONFLICT";
|
|
4
4
|
readonly INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS";
|
|
5
5
|
readonly INVALID_REQUEST: "INVALID_REQUEST";
|
|
6
|
+
readonly OAUTH_INVALID_GRANT: "invalid_grant";
|
|
7
|
+
readonly OAUTH_INVALID_REQUEST: "invalid_request";
|
|
8
|
+
readonly OAUTH_INVALID_SCOPE: "invalid_scope";
|
|
9
|
+
readonly OAUTH_INVALID_TARGET: "invalid_target";
|
|
10
|
+
readonly OAUTH_RATE_EXCEEDED: "rate_exceeded";
|
|
11
|
+
readonly OAUTH_SERVICE_UNAVAILABLE: "service_unavailable";
|
|
12
|
+
readonly OAUTH_UNSUPPORTED_GRANT_TYPE: "unsupported_grant_type";
|
|
6
13
|
readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
|
|
7
14
|
readonly SERVER_ERROR: "server_error";
|
|
8
15
|
readonly SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.997.
|
|
3
|
+
"version": "3.997.54",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -100,12 +100,12 @@
|
|
|
100
100
|
"test:watch": "yarn g:vitest watch"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@aws-sdk/core": "^3.979.
|
|
104
|
-
"@aws-sdk/signature-v4-multi-region": "^3.996.
|
|
103
|
+
"@aws-sdk/core": "^3.979.1",
|
|
104
|
+
"@aws-sdk/signature-v4-multi-region": "^3.996.51",
|
|
105
105
|
"@aws-sdk/types": "^3.975.0",
|
|
106
|
-
"@smithy/core": "^3.
|
|
106
|
+
"@smithy/core": "^3.38.0",
|
|
107
107
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
108
|
-
"@smithy/node-http-handler": "^4.
|
|
108
|
+
"@smithy/node-http-handler": "^4.14.0",
|
|
109
109
|
"@smithy/types": "^4.19.0",
|
|
110
110
|
"tslib": "^2.6.2"
|
|
111
111
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4-multi-region",
|
|
3
|
-
"version": "3.996.
|
|
3
|
+
"version": "3.996.51",
|
|
4
4
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/signature-v4-multi-region",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@aws-sdk/types": "^3.975.0",
|
|
46
|
-
"@smithy/signature-v4": "^5.7.
|
|
46
|
+
"@smithy/signature-v4": "^5.7.5",
|
|
47
47
|
"@smithy/types": "^4.19.0",
|
|
48
48
|
"tslib": "^2.6.2"
|
|
49
49
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1161.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aws",
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.979.
|
|
52
|
-
"@aws-sdk/nested-clients": "^3.997.
|
|
51
|
+
"@aws-sdk/core": "^3.979.1",
|
|
52
|
+
"@aws-sdk/nested-clients": "^3.997.54",
|
|
53
53
|
"@aws-sdk/types": "^3.975.0",
|
|
54
|
-
"@smithy/core": "^3.
|
|
54
|
+
"@smithy/core": "^3.38.0",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
@@ -139,8 +139,9 @@ const getHttpSigningPlugin = (config) => ({
|
|
|
139
139
|
});
|
|
140
140
|
|
|
141
141
|
const normalizeProvider = (input) => {
|
|
142
|
-
if (typeof input === "function")
|
|
142
|
+
if (typeof input === "function") {
|
|
143
143
|
return input;
|
|
144
|
+
}
|
|
144
145
|
const promisified = Promise.resolve(input);
|
|
145
146
|
return () => promisified;
|
|
146
147
|
};
|
|
@@ -203,8 +204,9 @@ class DefaultIdentityProviderConfig {
|
|
|
203
204
|
authSchemes = new Map();
|
|
204
205
|
constructor(config) {
|
|
205
206
|
for (const key in config) {
|
|
206
|
-
if (!hasOwn(config, key))
|
|
207
|
+
if (!hasOwn(config, key)) {
|
|
207
208
|
continue;
|
|
209
|
+
}
|
|
208
210
|
const value = config[key];
|
|
209
211
|
if (value !== undefined) {
|
|
210
212
|
this.authSchemes.set(key, value);
|
|
@@ -931,8 +931,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
931
931
|
}
|
|
932
932
|
if (endpoint.headers) {
|
|
933
933
|
for (const name in endpoint.headers) {
|
|
934
|
-
if (!hasOwn(endpoint.headers, name))
|
|
934
|
+
if (!hasOwn(endpoint.headers, name)) {
|
|
935
935
|
continue;
|
|
936
|
+
}
|
|
936
937
|
contents.headers[name] = endpoint.headers[name];
|
|
937
938
|
}
|
|
938
939
|
}
|
|
@@ -1193,8 +1194,9 @@ function writeStruct(ns, value, serdeContext) {
|
|
|
1193
1194
|
}
|
|
1194
1195
|
if (typeof value.__type === "string") {
|
|
1195
1196
|
for (const k in value) {
|
|
1196
|
-
if (!hasOwn(value, k))
|
|
1197
|
+
if (!hasOwn(value, k)) {
|
|
1197
1198
|
continue;
|
|
1199
|
+
}
|
|
1198
1200
|
if (!memberNames.includes(k)) {
|
|
1199
1201
|
writeString(k);
|
|
1200
1202
|
writeUntypedValue(value[k]);
|
|
@@ -1260,8 +1262,9 @@ function writeMap(ns, value, isDocument, serdeContext) {
|
|
|
1260
1262
|
const valueSchema = ns.getValueSchema();
|
|
1261
1263
|
const keys = [];
|
|
1262
1264
|
for (const k in value) {
|
|
1263
|
-
if (!hasOwn(value, k))
|
|
1265
|
+
if (!hasOwn(value, k)) {
|
|
1264
1266
|
continue;
|
|
1267
|
+
}
|
|
1265
1268
|
const v = value[k];
|
|
1266
1269
|
if (isDocument ? v !== undefined : v != null || sparse) {
|
|
1267
1270
|
keys.push(k);
|
|
@@ -1675,8 +1678,9 @@ function readStruct(ns, count, startPos) {
|
|
|
1675
1678
|
if (isUnion) {
|
|
1676
1679
|
let resultEmpty = true;
|
|
1677
1680
|
for (const _ in result) {
|
|
1678
|
-
if (!hasOwn(result, _))
|
|
1681
|
+
if (!hasOwn(result, _)) {
|
|
1679
1682
|
continue;
|
|
1683
|
+
}
|
|
1680
1684
|
resultEmpty = false;
|
|
1681
1685
|
break;
|
|
1682
1686
|
}
|
|
@@ -1845,8 +1849,9 @@ function readMapIndefinite(ns) {
|
|
|
1845
1849
|
if (isUnion) {
|
|
1846
1850
|
let resultEmpty = true;
|
|
1847
1851
|
for (const _ in result) {
|
|
1848
|
-
if (!hasOwn(result, _))
|
|
1852
|
+
if (!hasOwn(result, _)) {
|
|
1849
1853
|
continue;
|
|
1854
|
+
}
|
|
1850
1855
|
resultEmpty = false;
|
|
1851
1856
|
break;
|
|
1852
1857
|
}
|
|
@@ -2151,8 +2156,9 @@ function transformObject(ns, value) {
|
|
|
2151
2156
|
if (ns.isMapSchema()) {
|
|
2152
2157
|
const targetSchema = ns.getValueSchema();
|
|
2153
2158
|
for (const key in value) {
|
|
2154
|
-
if (!hasOwn(value, key))
|
|
2159
|
+
if (!hasOwn(value, key)) {
|
|
2155
2160
|
continue;
|
|
2161
|
+
}
|
|
2156
2162
|
newObject[key] = transformObject(targetSchema, value[key]);
|
|
2157
2163
|
}
|
|
2158
2164
|
}
|
|
@@ -2162,8 +2168,9 @@ function transformObject(ns, value) {
|
|
|
2162
2168
|
if (isUnion) {
|
|
2163
2169
|
keys = new Set();
|
|
2164
2170
|
for (const k in value) {
|
|
2165
|
-
if (!hasOwn(value, k))
|
|
2171
|
+
if (!hasOwn(value, k)) {
|
|
2166
2172
|
continue;
|
|
2173
|
+
}
|
|
2167
2174
|
if (k !== "__type") {
|
|
2168
2175
|
keys.add(k);
|
|
2169
2176
|
}
|
|
@@ -2180,8 +2187,9 @@ function transformObject(ns, value) {
|
|
|
2180
2187
|
if (isUnion && keys?.size === 1) {
|
|
2181
2188
|
let newObjectEmpty = true;
|
|
2182
2189
|
for (const _ in newObject) {
|
|
2183
|
-
if (!hasOwn(newObject, _))
|
|
2190
|
+
if (!hasOwn(newObject, _)) {
|
|
2184
2191
|
continue;
|
|
2192
|
+
}
|
|
2185
2193
|
newObjectEmpty = false;
|
|
2186
2194
|
break;
|
|
2187
2195
|
}
|
|
@@ -2192,8 +2200,9 @@ function transformObject(ns, value) {
|
|
|
2192
2200
|
}
|
|
2193
2201
|
else if (typeof value.__type === "string") {
|
|
2194
2202
|
for (const k in value) {
|
|
2195
|
-
if (!hasOwn(value, k))
|
|
2203
|
+
if (!hasOwn(value, k)) {
|
|
2196
2204
|
continue;
|
|
2205
|
+
}
|
|
2197
2206
|
if (!(k in newObject)) {
|
|
2198
2207
|
newObject[k] = value[k];
|
|
2199
2208
|
}
|
|
@@ -2332,8 +2341,9 @@ class CborShapeSerializer extends SerdeContext {
|
|
|
2332
2341
|
if (ns.isMapSchema()) {
|
|
2333
2342
|
const sparse = !!ns.getMergedTraits().sparse;
|
|
2334
2343
|
for (const key in sourceObject) {
|
|
2335
|
-
if (!hasOwn(sourceObject, key))
|
|
2344
|
+
if (!hasOwn(sourceObject, key)) {
|
|
2336
2345
|
continue;
|
|
2346
|
+
}
|
|
2337
2347
|
const value = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
2338
2348
|
if (value != null || sparse) {
|
|
2339
2349
|
newObject[key] = value;
|
|
@@ -2354,8 +2364,9 @@ class CborShapeSerializer extends SerdeContext {
|
|
|
2354
2364
|
}
|
|
2355
2365
|
else if (typeof sourceObject.__type === "string") {
|
|
2356
2366
|
for (const k in sourceObject) {
|
|
2357
|
-
if (!hasOwn(sourceObject, k))
|
|
2367
|
+
if (!hasOwn(sourceObject, k)) {
|
|
2358
2368
|
continue;
|
|
2369
|
+
}
|
|
2359
2370
|
if (!(k in newObject)) {
|
|
2360
2371
|
newObject[k] = this.serialize(15, sourceObject[k]);
|
|
2361
2372
|
}
|
|
@@ -2372,8 +2383,9 @@ class CborShapeSerializer extends SerdeContext {
|
|
|
2372
2383
|
return newArray;
|
|
2373
2384
|
}
|
|
2374
2385
|
for (const key in sourceObject) {
|
|
2375
|
-
if (!hasOwn(sourceObject, key))
|
|
2386
|
+
if (!hasOwn(sourceObject, key)) {
|
|
2376
2387
|
continue;
|
|
2388
|
+
}
|
|
2377
2389
|
newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
2378
2390
|
}
|
|
2379
2391
|
}
|
|
@@ -2448,8 +2460,9 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2448
2460
|
if (ns.isMapSchema()) {
|
|
2449
2461
|
const targetSchema = ns.getValueSchema();
|
|
2450
2462
|
for (const key in value) {
|
|
2451
|
-
if (!hasOwn(value, key))
|
|
2463
|
+
if (!hasOwn(value, key)) {
|
|
2452
2464
|
continue;
|
|
2465
|
+
}
|
|
2453
2466
|
const itemValue = this.readValue(targetSchema, value[key]);
|
|
2454
2467
|
newObject[key] = itemValue;
|
|
2455
2468
|
}
|
|
@@ -2460,8 +2473,9 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2460
2473
|
if (isUnion) {
|
|
2461
2474
|
keys = new Set();
|
|
2462
2475
|
for (const k in value) {
|
|
2463
|
-
if (!hasOwn(value, k))
|
|
2476
|
+
if (!hasOwn(value, k)) {
|
|
2464
2477
|
continue;
|
|
2478
|
+
}
|
|
2465
2479
|
if (k !== "__type") {
|
|
2466
2480
|
keys.add(k);
|
|
2467
2481
|
}
|
|
@@ -2478,8 +2492,9 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2478
2492
|
if (isUnion && keys?.size === 1) {
|
|
2479
2493
|
let newObjectEmpty = true;
|
|
2480
2494
|
for (const _ in newObject) {
|
|
2481
|
-
if (!hasOwn(newObject, _))
|
|
2495
|
+
if (!hasOwn(newObject, _)) {
|
|
2482
2496
|
continue;
|
|
2497
|
+
}
|
|
2483
2498
|
newObjectEmpty = false;
|
|
2484
2499
|
break;
|
|
2485
2500
|
}
|
|
@@ -2490,8 +2505,9 @@ class CborShapeDeserializer extends SerdeContext {
|
|
|
2490
2505
|
}
|
|
2491
2506
|
else if (typeof value.__type === "string") {
|
|
2492
2507
|
for (const k in value) {
|
|
2493
|
-
if (!hasOwn(value, k))
|
|
2508
|
+
if (!hasOwn(value, k)) {
|
|
2494
2509
|
continue;
|
|
2510
|
+
}
|
|
2495
2511
|
if (!(k in newObject)) {
|
|
2496
2512
|
newObject[k] = value[k];
|
|
2497
2513
|
}
|