@mavogel/awscdk-rootmail 0.0.269 → 0.0.270

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.
Files changed (97) hide show
  1. package/.jsii +3 -3
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +100 -31
  5. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +1 -1
  6. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +5 -0
  7. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +91 -29
  8. package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -2
  9. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +8 -2
  10. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +5 -3
  11. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +2 -2
  12. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +1 -1
  13. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +6 -4
  14. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +2 -2
  15. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +2 -2
  16. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +2 -2
  17. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +2 -2
  18. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +2 -2
  19. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +3 -3
  20. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -2
  21. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +2 -2
  22. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +5 -2
  23. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +4 -2
  24. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +2 -2
  25. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +4 -2
  26. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +2 -2
  27. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +4 -3
  28. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +2 -1
  29. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +2 -1
  30. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +4 -3
  31. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +5 -3
  32. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
  33. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +1 -1
  34. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +3 -3
  36. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +3 -3
  37. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
  38. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +3 -3
  39. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
  40. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
  41. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
  42. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +2 -2
  43. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
  44. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +6 -3
  46. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -1
  49. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
  50. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +1 -1
  52. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +5 -3
  53. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +3 -2
  54. package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -0
  55. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +251 -111
  56. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +140 -64
  57. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +28 -3
  58. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +12 -1
  59. package/node_modules/@aws-sdk/client-s3/package.json +2 -2
  60. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +88 -17
  61. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/constants.js +2 -2
  62. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/crc64-nvme-crt-container.js +3 -0
  63. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsInputMiddleware.js +37 -0
  64. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js +17 -2
  65. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmForRequest.js +9 -5
  66. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getFlexibleChecksumsPlugin.js +2 -0
  67. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/index.js +1 -0
  68. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js +10 -0
  69. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/types.js +2 -0
  70. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/configuration.d.ts +10 -1
  71. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/constants.d.ts +5 -5
  72. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/crc64-nvme-crt-container.d.ts +13 -0
  73. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsInputMiddleware.d.ts +19 -0
  74. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumAlgorithmForRequest.d.ts +6 -2
  75. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getFlexibleChecksumsPlugin.d.ts +2 -1
  76. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/index.d.ts +1 -0
  77. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/configuration.d.ts +7 -0
  78. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/constants.d.ts +2 -3
  79. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/crc64-nvme-crt-container.d.ts +4 -0
  80. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsInputMiddleware.d.ts +10 -0
  81. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumAlgorithmForRequest.d.ts +4 -3
  82. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getFlexibleChecksumsPlugin.d.ts +2 -0
  83. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/index.d.ts +1 -0
  84. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +1 -1
  85. package/node_modules/@smithy/core/package.json +3 -3
  86. package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
  87. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  88. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +2 -2
  89. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +2 -2
  90. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +1 -1
  91. package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +1 -1
  92. package/node_modules/@smithy/node-http-handler/package.json +2 -2
  93. package/node_modules/@smithy/smithy-client/package.json +4 -4
  94. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  95. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  96. package/node_modules/@smithy/util-stream/package.json +3 -3
  97. package/package.json +3 -3
@@ -0,0 +1,13 @@
1
+ import { ChecksumConstructor } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ *
5
+ * \@aws-sdk/crc64-nvme-crt will install the constructor in this
6
+ * container if it is installed.
7
+ *
8
+ * This avoids a runtime-require being interpreted statically by bundlers.
9
+ *
10
+ */
11
+ export declare const crc64NvmeCrtContainer: {
12
+ CrtCrc64Nvme: null | ChecksumConstructor;
13
+ };
@@ -0,0 +1,19 @@
1
+ import { RelativeMiddlewareOptions, SerializeMiddleware } from "@smithy/types";
2
+ import { PreviouslyResolved } from "./configuration";
3
+ export interface FlexibleChecksumsInputMiddlewareConfig {
4
+ /**
5
+ * Defines a top-level operation input member used to opt-in to best-effort validation
6
+ * of a checksum returned in the HTTP response of the operation.
7
+ */
8
+ requestValidationModeMember?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export declare const flexibleChecksumsInputMiddlewareOptions: RelativeMiddlewareOptions;
14
+ /**
15
+ * @internal
16
+ *
17
+ * The input counterpart to the flexibleChecksumsMiddleware.
18
+ */
19
+ export declare const flexibleChecksumsInputMiddleware: (config: PreviouslyResolved, middlewareConfig: FlexibleChecksumsInputMiddlewareConfig) => SerializeMiddleware<any, any>;
@@ -1,4 +1,4 @@
1
- import { ChecksumAlgorithm } from "./constants";
1
+ import { ChecksumAlgorithm, RequestChecksumCalculation } from "./constants";
2
2
  export interface GetChecksumAlgorithmForRequestOptions {
3
3
  /**
4
4
  * Indicates an operation requires a checksum in its HTTP request.
@@ -8,10 +8,14 @@ export interface GetChecksumAlgorithmForRequestOptions {
8
8
  * Defines a top-level operation input member that is used to configure request checksum behavior.
9
9
  */
10
10
  requestAlgorithmMember?: string;
11
+ /**
12
+ * Determines when a checksum will be calculated for request payloads
13
+ */
14
+ requestChecksumCalculation: RequestChecksumCalculation;
11
15
  }
12
16
  /**
13
17
  * Returns the checksum algorithm to use for the request, along with
14
18
  * the priority array of location to use to populate checksum and names
15
19
  * to be used as a key at the location.
16
20
  */
17
- export declare const getChecksumAlgorithmForRequest: (input: any, { requestChecksumRequired, requestAlgorithmMember }: GetChecksumAlgorithmForRequestOptions, isS3Express?: boolean) => ChecksumAlgorithm | undefined;
21
+ export declare const getChecksumAlgorithmForRequest: (input: any, { requestChecksumRequired, requestAlgorithmMember, requestChecksumCalculation }: GetChecksumAlgorithmForRequestOptions) => ChecksumAlgorithm | undefined;
@@ -1,7 +1,8 @@
1
1
  import { Pluggable } from "@smithy/types";
2
2
  import { PreviouslyResolved } from "./configuration";
3
+ import { FlexibleChecksumsInputMiddlewareConfig } from "./flexibleChecksumsInputMiddleware";
3
4
  import { FlexibleChecksumsRequestMiddlewareConfig } from "./flexibleChecksumsMiddleware";
4
5
  import { FlexibleChecksumsResponseMiddlewareConfig } from "./flexibleChecksumsResponseMiddleware";
5
- export interface FlexibleChecksumsMiddlewareConfig extends FlexibleChecksumsRequestMiddlewareConfig, FlexibleChecksumsResponseMiddlewareConfig {
6
+ export interface FlexibleChecksumsMiddlewareConfig extends FlexibleChecksumsRequestMiddlewareConfig, FlexibleChecksumsInputMiddlewareConfig, FlexibleChecksumsResponseMiddlewareConfig {
6
7
  }
7
8
  export declare const getFlexibleChecksumsPlugin: (config: PreviouslyResolved, middlewareConfig: FlexibleChecksumsMiddlewareConfig) => Pluggable<any, any>;
@@ -1,6 +1,7 @@
1
1
  export * from "./NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS";
2
2
  export * from "./NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS";
3
3
  export * from "./constants";
4
+ export * from "./crc64-nvme-crt-container";
4
5
  export * from "./flexibleChecksumsMiddleware";
5
6
  export * from "./getFlexibleChecksumsPlugin";
6
7
  export * from "./resolveFlexibleChecksumsConfig";
@@ -4,14 +4,21 @@ import {
4
4
  Encoder,
5
5
  GetAwsChunkedEncodingStream,
6
6
  HashConstructor,
7
+ Provider,
7
8
  StreamCollector,
8
9
  StreamHasher,
9
10
  } from "@smithy/types";
11
+ import {
12
+ RequestChecksumCalculation,
13
+ ResponseChecksumValidation,
14
+ } from "./constants";
10
15
  export interface PreviouslyResolved {
11
16
  base64Encoder: Encoder;
12
17
  bodyLengthChecker: BodyLengthCalculator;
13
18
  getAwsChunkedEncodingStream: GetAwsChunkedEncodingStream;
14
19
  md5: ChecksumConstructor | HashConstructor;
20
+ requestChecksumCalculation: Provider<RequestChecksumCalculation>;
21
+ responseChecksumValidation: Provider<ResponseChecksumValidation>;
15
22
  sha1: ChecksumConstructor | HashConstructor;
16
23
  sha256: ChecksumConstructor | HashConstructor;
17
24
  streamHasher: StreamHasher<any>;
@@ -16,6 +16,7 @@ export declare enum ChecksumAlgorithm {
16
16
  MD5 = "MD5",
17
17
  CRC32 = "CRC32",
18
18
  CRC32C = "CRC32C",
19
+ CRC64NVME = "CRC64NVME",
19
20
  SHA1 = "SHA1",
20
21
  SHA256 = "SHA256",
21
22
  }
@@ -23,6 +24,4 @@ export declare enum ChecksumLocation {
23
24
  HEADER = "header",
24
25
  TRAILER = "trailer",
25
26
  }
26
- export declare const DEFAULT_CHECKSUM_ALGORITHM = ChecksumAlgorithm.MD5;
27
- export declare const S3_EXPRESS_DEFAULT_CHECKSUM_ALGORITHM =
28
- ChecksumAlgorithm.CRC32;
27
+ export declare const DEFAULT_CHECKSUM_ALGORITHM = ChecksumAlgorithm.CRC32;
@@ -0,0 +1,4 @@
1
+ import { ChecksumConstructor } from "@smithy/types";
2
+ export declare const crc64NvmeCrtContainer: {
3
+ CrtCrc64Nvme: null | ChecksumConstructor;
4
+ };
@@ -0,0 +1,10 @@
1
+ import { RelativeMiddlewareOptions, SerializeMiddleware } from "@smithy/types";
2
+ import { PreviouslyResolved } from "./configuration";
3
+ export interface FlexibleChecksumsInputMiddlewareConfig {
4
+ requestValidationModeMember?: string;
5
+ }
6
+ export declare const flexibleChecksumsInputMiddlewareOptions: RelativeMiddlewareOptions;
7
+ export declare const flexibleChecksumsInputMiddleware: (
8
+ config: PreviouslyResolved,
9
+ middlewareConfig: FlexibleChecksumsInputMiddlewareConfig
10
+ ) => SerializeMiddleware<any, any>;
@@ -1,13 +1,14 @@
1
- import { ChecksumAlgorithm } from "./constants";
1
+ import { ChecksumAlgorithm, RequestChecksumCalculation } from "./constants";
2
2
  export interface GetChecksumAlgorithmForRequestOptions {
3
3
  requestChecksumRequired: boolean;
4
4
  requestAlgorithmMember?: string;
5
+ requestChecksumCalculation: RequestChecksumCalculation;
5
6
  }
6
7
  export declare const getChecksumAlgorithmForRequest: (
7
8
  input: any,
8
9
  {
9
10
  requestChecksumRequired,
10
11
  requestAlgorithmMember,
11
- }: GetChecksumAlgorithmForRequestOptions,
12
- isS3Express?: boolean
12
+ requestChecksumCalculation,
13
+ }: GetChecksumAlgorithmForRequestOptions
13
14
  ) => ChecksumAlgorithm | undefined;
@@ -1,9 +1,11 @@
1
1
  import { Pluggable } from "@smithy/types";
2
2
  import { PreviouslyResolved } from "./configuration";
3
+ import { FlexibleChecksumsInputMiddlewareConfig } from "./flexibleChecksumsInputMiddleware";
3
4
  import { FlexibleChecksumsRequestMiddlewareConfig } from "./flexibleChecksumsMiddleware";
4
5
  import { FlexibleChecksumsResponseMiddlewareConfig } from "./flexibleChecksumsResponseMiddleware";
5
6
  export interface FlexibleChecksumsMiddlewareConfig
6
7
  extends FlexibleChecksumsRequestMiddlewareConfig,
8
+ FlexibleChecksumsInputMiddlewareConfig,
7
9
  FlexibleChecksumsResponseMiddlewareConfig {}
8
10
  export declare const getFlexibleChecksumsPlugin: (
9
11
  config: PreviouslyResolved,
@@ -1,6 +1,7 @@
1
1
  export * from "./NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS";
2
2
  export * from "./NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS";
3
3
  export * from "./constants";
4
+ export * from "./crc64-nvme-crt-container";
4
5
  export * from "./flexibleChecksumsMiddleware";
5
6
  export * from "./getFlexibleChecksumsPlugin";
6
7
  export * from "./resolveFlexibleChecksumsConfig";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-flexible-checksums",
3
- "version": "3.723.0",
3
+ "version": "3.729.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "node ../../scripts/compilation/inline middleware-flexible-checksums",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "scripts": {
5
5
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline core",
@@ -10,7 +10,7 @@
10
10
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "npx eslint -c ../../.eslintrc.js \"src/**/*.ts\" --fix && node ./scripts/lint",
13
- "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
13
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
14
14
  "test": "yarn g:vitest run",
15
15
  "test:cbor:perf": "node ./scripts/cbor-perf.mjs",
16
16
  "test:watch": "yarn g:vitest watch"
@@ -59,7 +59,7 @@
59
59
  "@smithy/types": "^4.1.0",
60
60
  "@smithy/util-body-length-browser": "^4.0.0",
61
61
  "@smithy/util-middleware": "^4.0.1",
62
- "@smithy/util-stream": "^4.0.1",
62
+ "@smithy/util-stream": "^4.0.2",
63
63
  "@smithy/util-utf8": "^4.0.0",
64
64
  "tslib": "^2.6.2"
65
65
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-endpoint",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-endpoint",
@@ -10,7 +10,7 @@
10
10
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
- "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
13
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
14
14
  "test": "yarn g:vitest run",
15
15
  "extract:docs": "api-extractor run --local",
16
16
  "test:watch": "yarn g:vitest watch"
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@smithy/core": "^3.1.0",
27
+ "@smithy/core": "^3.1.1",
28
28
  "@smithy/middleware-serde": "^4.0.1",
29
29
  "@smithy/node-config-provider": "^4.0.1",
30
30
  "@smithy/shared-ini-file-loader": "^4.0.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-retry",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-retry",
@@ -36,7 +36,7 @@
36
36
  "@smithy/node-config-provider": "^4.0.1",
37
37
  "@smithy/protocol-http": "^5.0.1",
38
38
  "@smithy/service-error-classification": "^4.0.1",
39
- "@smithy/smithy-client": "^4.1.1",
39
+ "@smithy/smithy-client": "^4.1.2",
40
40
  "@smithy/types": "^4.1.0",
41
41
  "@smithy/util-middleware": "^4.0.1",
42
42
  "@smithy/util-retry": "^4.0.1",
@@ -148,7 +148,7 @@ var setSocketTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs = DE
148
148
 
149
149
  // src/write-request-body.ts
150
150
  var import_stream = require("stream");
151
- var MIN_WAIT_TIME = 1e3;
151
+ var MIN_WAIT_TIME = 6e3;
152
152
  async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME) {
153
153
  const headers = request.headers ?? {};
154
154
  const expect = headers["Expect"] || headers["expect"];
@@ -157,7 +157,7 @@ async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN
157
157
  if (expect === "100-continue") {
158
158
  sendBody = await Promise.race([
159
159
  new Promise((resolve) => {
160
- timeoutId = Number(timing.setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
160
+ timeoutId = Number(timing.setTimeout(() => resolve(true), Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
161
161
  }),
162
162
  new Promise((resolve) => {
163
163
  httpRequest.on("continue", () => {
@@ -1,6 +1,6 @@
1
1
  import { Readable } from "stream";
2
2
  import { timing } from "./timing";
3
- const MIN_WAIT_TIME = 1000;
3
+ const MIN_WAIT_TIME = 6000;
4
4
  export async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME) {
5
5
  const headers = request.headers ?? {};
6
6
  const expect = headers["Expect"] || headers["expect"];
@@ -9,7 +9,7 @@ export async function writeRequestBody(httpRequest, request, maxContinueTimeoutM
9
9
  if (expect === "100-continue") {
10
10
  sendBody = await Promise.race([
11
11
  new Promise((resolve) => {
12
- timeoutId = Number(timing.setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
12
+ timeoutId = Number(timing.setTimeout(() => resolve(true), Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
13
13
  }),
14
14
  new Promise((resolve) => {
15
15
  httpRequest.on("continue", () => {
@@ -7,6 +7,6 @@ import { ClientHttp2Stream } from "http2";
7
7
  *
8
8
  * @param httpRequest - opened Node.js request.
9
9
  * @param request - container with the request body.
10
- * @param maxContinueTimeoutMs - maximum time to wait for the continue event. Minimum of 1000ms.
10
+ * @param maxContinueTimeoutMs - time to wait for the continue event.
11
11
  */
12
12
  export declare function writeRequestBody(httpRequest: ClientRequest | ClientHttp2Stream, request: HttpRequest, maxContinueTimeoutMs?: number): Promise<void>;
@@ -8,6 +8,6 @@ import { ClientHttp2Stream } from "http2";
8
8
  *
9
9
  * @param httpRequest - opened Node.js request.
10
10
  * @param request - container with the request body.
11
- * @param maxContinueTimeoutMs - maximum time to wait for the continue event. Minimum of 1000ms.
11
+ * @param maxContinueTimeoutMs - time to wait for the continue event.
12
12
  */
13
13
  export declare function writeRequestBody(httpRequest: ClientRequest | ClientHttp2Stream, request: HttpRequest, maxContinueTimeoutMs?: number): Promise<void>;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "Provides a way to make requests",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -11,7 +11,7 @@
11
11
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
13
13
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
14
- "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
15
15
  "extract:docs": "api-extractor run --local",
16
16
  "test": "yarn g:vitest run",
17
17
  "test:watch": "yarn g:vitest watch"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/smithy-client",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline smithy-client",
@@ -24,12 +24,12 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@smithy/core": "^3.1.0",
28
- "@smithy/middleware-endpoint": "^4.0.1",
27
+ "@smithy/core": "^3.1.1",
28
+ "@smithy/middleware-endpoint": "^4.0.2",
29
29
  "@smithy/middleware-stack": "^4.0.1",
30
30
  "@smithy/protocol-http": "^5.0.1",
31
31
  "@smithy/types": "^4.1.0",
32
- "@smithy/util-stream": "^4.0.1",
32
+ "@smithy/util-stream": "^4.0.2",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-browser",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
@@ -24,7 +24,7 @@
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
26
  "@smithy/property-provider": "^4.0.1",
27
- "@smithy/smithy-client": "^4.1.1",
27
+ "@smithy/smithy-client": "^4.1.2",
28
28
  "@smithy/types": "^4.1.0",
29
29
  "bowser": "^2.11.0",
30
30
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-defaults-mode-node",
@@ -27,7 +27,7 @@
27
27
  "@smithy/credential-provider-imds": "^4.0.1",
28
28
  "@smithy/node-config-provider": "^4.0.1",
29
29
  "@smithy/property-provider": "^4.0.1",
30
- "@smithy/smithy-client": "^4.1.1",
30
+ "@smithy/smithy-client": "^4.1.2",
31
31
  "@smithy/types": "^4.1.0",
32
32
  "tslib": "^2.6.2"
33
33
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-stream",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline util-stream",
@@ -10,7 +10,7 @@
10
10
  "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
- "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
13
+ "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
14
14
  "extract:docs": "api-extractor run --local",
15
15
  "test": "yarn g:vitest run && yarn test:browser",
16
16
  "test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
@@ -29,7 +29,7 @@
29
29
  "license": "Apache-2.0",
30
30
  "dependencies": {
31
31
  "@smithy/fetch-http-handler": "^5.0.1",
32
- "@smithy/node-http-handler": "^4.0.1",
32
+ "@smithy/node-http-handler": "^4.0.2",
33
33
  "@smithy/types": "^4.1.0",
34
34
  "@smithy/util-base64": "^4.0.0",
35
35
  "@smithy/util-buffer-from": "^4.0.0",
package/package.json CHANGED
@@ -56,7 +56,7 @@
56
56
  "@typescript-eslint/eslint-plugin": "^8",
57
57
  "@typescript-eslint/parser": "^8",
58
58
  "aws-cdk-lib": "2.90.0",
59
- "cdk-assets": "^2.155.85",
59
+ "cdk-assets": "^2.155.86",
60
60
  "commit-and-tag-version": "^12",
61
61
  "constructs": "10.0.5",
62
62
  "eslint": "^9",
@@ -83,7 +83,7 @@
83
83
  "dependencies": {
84
84
  "@aws-sdk/client-cloudwatch-logs": "^3.726.1",
85
85
  "@aws-sdk/client-route-53": "^3.728.0",
86
- "@aws-sdk/client-s3": "^3.726.1",
86
+ "@aws-sdk/client-s3": "^3.729.0",
87
87
  "@aws-sdk/client-ses": "^3.726.1",
88
88
  "@aws-sdk/client-ssm": "^3.726.1",
89
89
  "async-retry": "^1.3.3",
@@ -116,7 +116,7 @@
116
116
  "publishConfig": {
117
117
  "access": "public"
118
118
  },
119
- "version": "0.0.269",
119
+ "version": "0.0.270",
120
120
  "jest": {
121
121
  "coverageProvider": "v8",
122
122
  "testMatch": [