@mavogel/awscdk-rootmail 0.0.196 → 0.0.197

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 (67) hide show
  1. package/.jsii +7 -7
  2. package/lib/rootmail.js +1 -1
  3. package/lib/ses-receive.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +38 -38
  5. package/node_modules/@aws-sdk/client-route-53/package.json +38 -38
  6. package/node_modules/@aws-sdk/client-s3/README.md +1 -1
  7. package/node_modules/@aws-sdk/client-s3/package.json +55 -55
  8. package/node_modules/@aws-sdk/client-ses/README.md +1 -1
  9. package/node_modules/@aws-sdk/client-ses/package.json +36 -36
  10. package/node_modules/@aws-sdk/client-ssm/README.md +1 -1
  11. package/node_modules/@aws-sdk/client-ssm/package.json +36 -36
  12. package/node_modules/@aws-sdk/client-sso/README.md +1 -1
  13. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  14. package/node_modules/@aws-sdk/client-sso-oidc/README.md +1 -1
  15. package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
  16. package/node_modules/@aws-sdk/client-sts/README.md +1 -1
  17. package/node_modules/@aws-sdk/client-sts/package.json +34 -34
  18. package/node_modules/@aws-sdk/core/package.json +8 -8
  19. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  20. package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
  21. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
  22. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
  23. package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
  24. package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
  25. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
  26. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
  27. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
  28. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +8 -8
  29. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  30. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
  31. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  32. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  33. package/node_modules/@aws-sdk/middleware-sdk-route53/package.json +3 -3
  34. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +10 -10
  35. package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
  36. package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
  37. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  38. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +5 -5
  39. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  40. package/node_modules/@aws-sdk/types/package.json +2 -2
  41. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  42. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  43. package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
  44. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  45. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -27
  46. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +2 -25
  47. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  48. package/package.json +7 -7
  49. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/LICENSE +0 -201
  50. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/README.md +0 -11
  51. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +0 -1
  52. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +0 -230
  53. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/request-timeout.js +0 -1
  54. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-cjs/stream-collector.js +0 -1
  55. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +0 -138
  56. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/index.js +0 -2
  57. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/request-timeout.js +0 -11
  58. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +0 -27
  59. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +0 -33
  60. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +0 -2
  61. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/request-timeout.d.ts +0 -1
  62. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +0 -2
  63. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +0 -33
  64. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/index.d.ts +0 -2
  65. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/request-timeout.d.ts +0 -1
  66. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/stream-collector.d.ts +0 -2
  67. package/node_modules/@smithy/util-stream/node_modules/@smithy/fetch-http-handler/package.json +0 -62
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-location-constraint",
3
- "version": "3.679.0",
3
+ "version": "3.686.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-location-constraint",
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.679.0",
27
- "@smithy/types": "^3.5.0",
26
+ "@aws-sdk/types": "3.686.0",
27
+ "@smithy/types": "^3.6.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-logger",
3
- "version": "3.679.0",
3
+ "version": "3.686.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-logger",
@@ -24,8 +24,8 @@
24
24
  "module": "./dist-es/index.js",
25
25
  "types": "./dist-types/index.d.ts",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.679.0",
28
- "@smithy/types": "^3.5.0",
27
+ "@aws-sdk/types": "3.686.0",
28
+ "@smithy/types": "^3.6.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-recursion-detection",
3
- "version": "3.679.0",
3
+ "version": "3.686.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-recursion-detection",
@@ -23,9 +23,9 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.679.0",
27
- "@smithy/protocol-http": "^4.1.4",
28
- "@smithy/types": "^3.5.0",
26
+ "@aws-sdk/types": "3.686.0",
27
+ "@smithy/protocol-http": "^4.1.5",
28
+ "@smithy/types": "^3.6.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-route53",
3
- "version": "3.679.0",
3
+ "version": "3.686.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-sdk-route53",
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.679.0",
27
- "@smithy/types": "^3.5.0",
26
+ "@aws-sdk/types": "3.686.0",
27
+ "@smithy/types": "^3.6.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-sdk-s3",
3
- "version": "3.685.0",
3
+ "version": "3.686.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-sdk-s3",
@@ -26,18 +26,18 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "3.679.0",
30
- "@aws-sdk/types": "3.679.0",
29
+ "@aws-sdk/core": "3.686.0",
30
+ "@aws-sdk/types": "3.686.0",
31
31
  "@aws-sdk/util-arn-parser": "3.679.0",
32
- "@smithy/core": "^2.4.8",
33
- "@smithy/node-config-provider": "^3.1.8",
34
- "@smithy/protocol-http": "^4.1.4",
32
+ "@smithy/core": "^2.5.1",
33
+ "@smithy/node-config-provider": "^3.1.9",
34
+ "@smithy/protocol-http": "^4.1.5",
35
35
  "@smithy/signature-v4": "^4.2.0",
36
- "@smithy/smithy-client": "^3.4.0",
37
- "@smithy/types": "^3.5.0",
36
+ "@smithy/smithy-client": "^3.4.2",
37
+ "@smithy/types": "^3.6.0",
38
38
  "@smithy/util-config-provider": "^3.0.0",
39
- "@smithy/util-middleware": "^3.0.7",
40
- "@smithy/util-stream": "^3.1.9",
39
+ "@smithy/util-middleware": "^3.0.8",
40
+ "@smithy/util-stream": "^3.2.1",
41
41
  "@smithy/util-utf8": "^3.0.0",
42
42
  "tslib": "^2.6.2"
43
43
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-ssec",
3
- "version": "3.679.0",
3
+ "version": "3.686.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-ssec",
@@ -23,8 +23,8 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.679.0",
27
- "@smithy/types": "^3.5.0",
26
+ "@aws-sdk/types": "3.686.0",
27
+ "@smithy/types": "^3.6.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.682.0",
3
+ "version": "3.686.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-user-agent",
@@ -24,12 +24,12 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/core": "3.679.0",
28
- "@aws-sdk/types": "3.679.0",
29
- "@aws-sdk/util-endpoints": "3.679.0",
30
- "@smithy/core": "^2.4.8",
31
- "@smithy/protocol-http": "^4.1.4",
32
- "@smithy/types": "^3.5.0",
27
+ "@aws-sdk/core": "3.686.0",
28
+ "@aws-sdk/types": "3.686.0",
29
+ "@aws-sdk/util-endpoints": "3.686.0",
30
+ "@smithy/core": "^2.5.1",
31
+ "@smithy/protocol-http": "^4.1.5",
32
+ "@smithy/types": "^3.6.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
35
35
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/region-config-resolver",
3
- "version": "3.679.0",
3
+ "version": "3.686.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 region-config-resolver",
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "license": "Apache-2.0",
24
24
  "dependencies": {
25
- "@aws-sdk/types": "3.679.0",
26
- "@smithy/node-config-provider": "^3.1.8",
27
- "@smithy/types": "^3.5.0",
25
+ "@aws-sdk/types": "3.686.0",
26
+ "@smithy/node-config-provider": "^3.1.9",
27
+ "@smithy/types": "^3.6.0",
28
28
  "@smithy/util-config-provider": "^3.0.0",
29
- "@smithy/util-middleware": "^3.0.7",
29
+ "@smithy/util-middleware": "^3.0.8",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/signature-v4-multi-region",
3
- "version": "3.685.0",
3
+ "version": "3.686.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 signature-v4-multi-region",
@@ -21,11 +21,11 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/middleware-sdk-s3": "3.685.0",
25
- "@aws-sdk/types": "3.679.0",
26
- "@smithy/protocol-http": "^4.1.4",
24
+ "@aws-sdk/middleware-sdk-s3": "3.686.0",
25
+ "@aws-sdk/types": "3.686.0",
26
+ "@smithy/protocol-http": "^4.1.5",
27
27
  "@smithy/signature-v4": "^4.2.0",
28
- "@smithy/types": "^3.5.0",
28
+ "@smithy/types": "^3.6.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.679.0",
3
+ "version": "3.686.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,10 +27,10 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/types": "3.679.0",
30
+ "@aws-sdk/types": "3.686.0",
31
31
  "@smithy/property-provider": "^3.1.7",
32
32
  "@smithy/shared-ini-file-loader": "^3.1.8",
33
- "@smithy/types": "^3.5.0",
33
+ "@smithy/types": "^3.6.0",
34
34
  "tslib": "^2.6.2"
35
35
  },
36
36
  "devDependencies": {
@@ -42,7 +42,7 @@
42
42
  "typescript": "~4.9.5"
43
43
  },
44
44
  "peerDependencies": {
45
- "@aws-sdk/client-sso-oidc": "^3.679.0"
45
+ "@aws-sdk/client-sso-oidc": "^3.686.0"
46
46
  },
47
47
  "types": "./dist-types/index.d.ts",
48
48
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.679.0",
3
+ "version": "3.686.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -41,7 +41,7 @@
41
41
  "directory": "packages/types"
42
42
  },
43
43
  "dependencies": {
44
- "@smithy/types": "^3.5.0",
44
+ "@smithy/types": "^3.6.0",
45
45
  "tslib": "^2.6.2"
46
46
  },
47
47
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.679.0",
3
+ "version": "3.686.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,9 +24,9 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/types": "3.679.0",
28
- "@smithy/types": "^3.5.0",
29
- "@smithy/util-endpoints": "^2.1.3",
27
+ "@aws-sdk/types": "3.686.0",
28
+ "@smithy/types": "^3.6.0",
29
+ "@smithy/util-endpoints": "^2.1.4",
30
30
  "tslib": "^2.6.2"
31
31
  },
32
32
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-browser",
3
- "version": "3.679.0",
3
+ "version": "3.686.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 util-user-agent-browser",
@@ -23,8 +23,8 @@
23
23
  "license": "Apache-2.0",
24
24
  "react-native": "dist-es/index.native.js",
25
25
  "dependencies": {
26
- "@aws-sdk/types": "3.679.0",
27
- "@smithy/types": "^3.5.0",
26
+ "@aws-sdk/types": "3.686.0",
27
+ "@smithy/types": "^3.6.0",
28
28
  "bowser": "^2.11.0",
29
29
  "tslib": "^2.6.2"
30
30
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.682.0",
3
+ "version": "3.686.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 util-user-agent-node",
@@ -21,10 +21,10 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/middleware-user-agent": "3.682.0",
25
- "@aws-sdk/types": "3.679.0",
26
- "@smithy/node-config-provider": "^3.1.8",
27
- "@smithy/types": "^3.5.0",
24
+ "@aws-sdk/middleware-user-agent": "3.686.0",
25
+ "@aws-sdk/types": "3.686.0",
26
+ "@smithy/node-config-provider": "^3.1.9",
27
+ "@smithy/types": "^3.6.0",
28
28
  "tslib": "^2.6.2"
29
29
  },
30
30
  "devDependencies": {
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@aws-sdk/xml-builder",
3
- "version": "3.679.0",
3
+ "version": "3.686.0",
4
4
  "description": "XML builder for the AWS SDK",
5
5
  "dependencies": {
6
- "@smithy/types": "^3.5.0",
6
+ "@smithy/types": "^3.6.0",
7
7
  "tslib": "^2.6.2"
8
8
  },
9
9
  "scripts": {
@@ -192,19 +192,12 @@ __name(_FetchHttpHandler, "FetchHttpHandler");
192
192
  var FetchHttpHandler = _FetchHttpHandler;
193
193
 
194
194
  // src/stream-collector.ts
195
- var import_util_base64 = require("@smithy/util-base64");
196
- var streamCollector = /* @__PURE__ */ __name((stream) => {
195
+ var streamCollector = /* @__PURE__ */ __name(async (stream) => {
197
196
  if (typeof Blob === "function" && stream instanceof Blob) {
198
- return collectBlob(stream);
197
+ return new Uint8Array(await stream.arrayBuffer());
199
198
  }
200
199
  return collectStream(stream);
201
200
  }, "streamCollector");
202
- async function collectBlob(blob) {
203
- const base64 = await readToBase64(blob);
204
- const arrayBuffer = (0, import_util_base64.fromBase64)(base64);
205
- return new Uint8Array(arrayBuffer);
206
- }
207
- __name(collectBlob, "collectBlob");
208
201
  async function collectStream(stream) {
209
202
  const chunks = [];
210
203
  const reader = stream.getReader();
@@ -227,24 +220,6 @@ async function collectStream(stream) {
227
220
  return collected;
228
221
  }
229
222
  __name(collectStream, "collectStream");
230
- function readToBase64(blob) {
231
- return new Promise((resolve, reject) => {
232
- const reader = new FileReader();
233
- reader.onloadend = () => {
234
- if (reader.readyState !== 2) {
235
- return reject(new Error("Reader aborted too early"));
236
- }
237
- const result = reader.result ?? "";
238
- const commaIndex = result.indexOf(",");
239
- const dataOffset = commaIndex > -1 ? commaIndex + 1 : result.length;
240
- resolve(result.substring(dataOffset));
241
- };
242
- reader.onabort = () => reject(new Error("Read aborted"));
243
- reader.onerror = () => reject(reader.error);
244
- reader.readAsDataURL(blob);
245
- });
246
- }
247
- __name(readToBase64, "readToBase64");
248
223
  // Annotate the CommonJS export names for ESM import in node:
249
224
 
250
225
  0 && (module.exports = {
@@ -1,15 +1,9 @@
1
- import { fromBase64 } from "@smithy/util-base64";
2
- export const streamCollector = (stream) => {
1
+ export const streamCollector = async (stream) => {
3
2
  if (typeof Blob === "function" && stream instanceof Blob) {
4
- return collectBlob(stream);
3
+ return new Uint8Array(await stream.arrayBuffer());
5
4
  }
6
5
  return collectStream(stream);
7
6
  };
8
- async function collectBlob(blob) {
9
- const base64 = await readToBase64(blob);
10
- const arrayBuffer = fromBase64(base64);
11
- return new Uint8Array(arrayBuffer);
12
- }
13
7
  async function collectStream(stream) {
14
8
  const chunks = [];
15
9
  const reader = stream.getReader();
@@ -31,20 +25,3 @@ async function collectStream(stream) {
31
25
  }
32
26
  return collected;
33
27
  }
34
- function readToBase64(blob) {
35
- return new Promise((resolve, reject) => {
36
- const reader = new FileReader();
37
- reader.onloadend = () => {
38
- if (reader.readyState !== 2) {
39
- return reject(new Error("Reader aborted too early"));
40
- }
41
- const result = (reader.result ?? "");
42
- const commaIndex = result.indexOf(",");
43
- const dataOffset = commaIndex > -1 ? commaIndex + 1 : result.length;
44
- resolve(result.substring(dataOffset));
45
- };
46
- reader.onabort = () => reject(new Error("Read aborted"));
47
- reader.onerror = () => reject(reader.error);
48
- reader.readAsDataURL(blob);
49
- });
50
- }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/fetch-http-handler",
3
- "version": "3.2.9",
3
+ "version": "4.0.0",
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'",
@@ -24,14 +24,14 @@
24
24
  "module": "./dist-es/index.js",
25
25
  "types": "./dist-types/index.d.ts",
26
26
  "dependencies": {
27
- "@smithy/protocol-http": "^4.1.4",
28
- "@smithy/querystring-builder": "^3.0.7",
29
- "@smithy/types": "^3.5.0",
27
+ "@smithy/protocol-http": "^4.1.5",
28
+ "@smithy/querystring-builder": "^3.0.8",
29
+ "@smithy/types": "^3.6.0",
30
30
  "@smithy/util-base64": "^3.0.0",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {
34
- "@smithy/abort-controller": "^3.1.5",
34
+ "@smithy/abort-controller": "^3.1.6",
35
35
  "concurrently": "7.0.0",
36
36
  "downlevel-dts": "0.10.1",
37
37
  "rimraf": "3.0.2",
package/package.json CHANGED
@@ -55,7 +55,7 @@
55
55
  "@typescript-eslint/eslint-plugin": "^7",
56
56
  "@typescript-eslint/parser": "^7",
57
57
  "aws-cdk-lib": "2.90.0",
58
- "cdk-assets": "^2.155.23",
58
+ "cdk-assets": "^2.155.26",
59
59
  "commit-and-tag-version": "^12",
60
60
  "constructs": "10.0.5",
61
61
  "eslint": "^8",
@@ -80,11 +80,11 @@
80
80
  "constructs": "^10.0.5"
81
81
  },
82
82
  "dependencies": {
83
- "@aws-sdk/client-cloudwatch-logs": "^3.682.0",
84
- "@aws-sdk/client-route-53": "^3.683.0",
85
- "@aws-sdk/client-s3": "^3.685.0",
86
- "@aws-sdk/client-ses": "^3.682.0",
87
- "@aws-sdk/client-ssm": "^3.682.0",
83
+ "@aws-sdk/client-cloudwatch-logs": "^3.686.0",
84
+ "@aws-sdk/client-route-53": "^3.686.0",
85
+ "@aws-sdk/client-s3": "^3.686.0",
86
+ "@aws-sdk/client-ses": "^3.686.0",
87
+ "@aws-sdk/client-ssm": "^3.686.0",
88
88
  "async-retry": "^1.3.3",
89
89
  "axios": "^1.7.7",
90
90
  "cdk-nag": "^2.31.4",
@@ -115,7 +115,7 @@
115
115
  "publishConfig": {
116
116
  "access": "public"
117
117
  },
118
- "version": "0.0.196",
118
+ "version": "0.0.197",
119
119
  "jest": {
120
120
  "coverageProvider": "v8",
121
121
  "testMatch": [