sst 2.24.3 → 2.24.5

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.
@@ -0,0 +1,15 @@
1
+ /// <reference types="yargs" />
2
+ import type { Program } from "../program.js";
3
+ export declare const types: (program: Program) => import("yargs").Argv<{
4
+ stage: string | undefined;
5
+ } & {
6
+ profile: string | undefined;
7
+ } & {
8
+ region: string | undefined;
9
+ } & {
10
+ verbose: boolean | undefined;
11
+ } & {
12
+ role: string | undefined;
13
+ } & {
14
+ future: boolean | undefined;
15
+ }>;
@@ -0,0 +1,19 @@
1
+ import path from "path";
2
+ export const types = (program) => program.command("types", "Generate resource types in .sst/types", (yargs) => yargs, async () => {
3
+ const { useProject } = await import("../../project.js");
4
+ const { Stacks } = await import("../../stacks/index.js");
5
+ const { App } = await import("../../constructs/App.js");
6
+ const { Colors } = await import("../colors.js");
7
+ const project = useProject();
8
+ const [_metafile, sstConfig] = await Stacks.load(project.paths.config);
9
+ const app = new App({
10
+ mode: "deploy",
11
+ stage: project.config.stage,
12
+ name: project.config.name,
13
+ region: project.config.region,
14
+ });
15
+ sstConfig.stacks(app);
16
+ app.codegenTypes();
17
+ Colors.line(Colors.success(`✔ `), `Types generated in ${path.resolve(project.paths.out, "types")}`);
18
+ process.exit(0);
19
+ });
package/cli/sst.js CHANGED
@@ -25,6 +25,7 @@ import { transform } from "./commands/transform.js";
25
25
  import { diff } from "./commands/diff.js";
26
26
  import { version } from "./commands/version.js";
27
27
  import { telemetry } from "./commands/telemetry.js";
28
+ import { types } from "./commands/types.js";
28
29
  import { connect } from "./commands/connect.js";
29
30
  bootstrap(program);
30
31
  dev(program);
@@ -39,6 +40,7 @@ consoleCommand(program);
39
40
  diff(program);
40
41
  version(program);
41
42
  telemetry(program);
43
+ types(program);
42
44
  connect(program);
43
45
  if ("setSourceMapsEnabled" in process) {
44
46
  // @ts-expect-error
@@ -159,7 +159,7 @@ export declare class App extends CDKApp {
159
159
  private applyRemovalPolicy;
160
160
  private removeGovCloudUnsupportedResourceProperties;
161
161
  private ensureUniqueConstructIds;
162
- private codegenTypes;
162
+ codegenTypes(): void;
163
163
  private foreachConstruct;
164
164
  stack<T extends FunctionalStack<any>>(fn: T, props?: StackProps & {
165
165
  id?: string;
package/constructs/App.js CHANGED
@@ -10,10 +10,9 @@ import { useDeferredTasks } from "./deferred_task.js";
10
10
  import { AppContext } from "./context.js";
11
11
  import { useProject } from "../project.js";
12
12
  import { Logger } from "../logger.js";
13
- import { App as CDKApp, Tags, CfnResource, RemovalPolicy, CustomResourceProvider, CustomResourceProviderRuntime, CustomResource, Aspects, } from "aws-cdk-lib/core";
13
+ import { App as CDKApp, Tags, CfnResource, RemovalPolicy, Aspects, } from "aws-cdk-lib/core";
14
14
  import { CfnFunction } from "aws-cdk-lib/aws-lambda";
15
15
  import { Bucket } from "aws-cdk-lib/aws-s3";
16
- import { ArnPrincipal, PolicyStatement } from "aws-cdk-lib/aws-iam";
17
16
  import { CfnLogGroup } from "aws-cdk-lib/aws-logs";
18
17
  const require = createRequire(import.meta.url);
19
18
  function exitWithMessage(message) {
@@ -197,8 +196,7 @@ export class App extends CDKApp {
197
196
  Tags.of(child).add("sst:app", this.name);
198
197
  Tags.of(child).add("sst:stage", this.stage);
199
198
  // Set removal policy
200
- if (this._defaultRemovalPolicy)
201
- this.applyRemovalPolicy(child, this._defaultRemovalPolicy);
199
+ this.applyRemovalPolicy(child);
202
200
  // Stack names need to be parameterized with the stage name
203
201
  if (config.advanced?.disableParameterizedStackNameCheck !== true &&
204
202
  !child.stackName.startsWith(`${this.stage}-`) &&
@@ -279,48 +277,23 @@ export class App extends CDKApp {
279
277
  ...construct.node.children.flatMap((c) => this.buildConstructsMetadata_collectConstructs(c)),
280
278
  ].filter((c) => Boolean(c));
281
279
  }
282
- applyRemovalPolicy(current, policy) {
280
+ applyRemovalPolicy(current) {
281
+ if (!this._defaultRemovalPolicy)
282
+ return;
283
+ // Apply removal policy to all resources
283
284
  if (current instanceof CfnResource) {
284
- current.applyRemovalPolicy(RemovalPolicy[policy.toUpperCase()]);
285
+ current.applyRemovalPolicy(RemovalPolicy[this._defaultRemovalPolicy.toUpperCase()]);
285
286
  }
286
- // Had to copy this in to enable deleting objects in bucket
287
- // https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-s3/lib/bucket.ts#L1910
288
- if (current instanceof Bucket &&
287
+ // Remove S3 objects on destroy
288
+ if (this._defaultRemovalPolicy === "destroy" &&
289
+ current instanceof Bucket &&
289
290
  !current.node.tryFindChild("AutoDeleteObjectsCustomResource")) {
290
- const AUTO_DELETE_OBJECTS_RESOURCE_TYPE = "Custom::S3AutoDeleteObjects";
291
- const provider = CustomResourceProvider.getOrCreateProvider(current, AUTO_DELETE_OBJECTS_RESOURCE_TYPE, {
292
- codeDirectory: path.join(require.resolve("aws-cdk-lib/aws-s3"), "../lib/auto-delete-objects-handler"),
293
- runtime: CustomResourceProviderRuntime.NODEJS_16_X,
294
- description: `Lambda function for auto-deleting objects in ${current.bucketName} S3 bucket.`,
295
- });
296
- // Use a bucket policy to allow the custom resource to delete
297
- // objects in the bucket
298
- current.addToResourcePolicy(new PolicyStatement({
299
- actions: [
300
- // list objects
301
- "s3:GetBucket*",
302
- "s3:List*",
303
- // and then delete them
304
- "s3:DeleteObject*",
305
- ],
306
- resources: [current.bucketArn, current.arnForObjects("*")],
307
- principals: [new ArnPrincipal(provider.roleArn)],
308
- }));
309
- const customResource = new CustomResource(current, "AutoDeleteObjectsCustomResource", {
310
- resourceType: AUTO_DELETE_OBJECTS_RESOURCE_TYPE,
311
- serviceToken: provider.serviceToken,
312
- properties: {
313
- BucketName: current.bucketName,
314
- },
315
- });
316
- // Ensure bucket policy is deleted AFTER the custom resource otherwise
317
- // we don't have permissions to list and delete in the bucket.
318
- // (add a `if` to make TS happy)
319
- if (current.policy) {
320
- customResource.node.addDependency(current.policy);
321
- }
291
+ // Calling a private method here. It's the easiest way to lazily
292
+ // enable auto-delete.
293
+ // @ts-expect-error
294
+ current.enableAutoDeleteObjects();
322
295
  }
323
- current.node.children.forEach((resource) => this.applyRemovalPolicy(resource, policy));
296
+ current.node.children.forEach((resource) => this.applyRemovalPolicy(resource));
324
297
  }
325
298
  removeGovCloudUnsupportedResourceProperties() {
326
299
  if (!this.region.startsWith("us-gov-")) {
@@ -425,6 +398,8 @@ export class App extends CDKApp {
425
398
  ` STAGE: string;`,
426
399
  ` }`,
427
400
  `}`,
401
+ ``,
402
+ ``,
428
403
  ].join("\n"));
429
404
  this.foreachConstruct((c) => {
430
405
  if (!isSSTConstruct(c)) {
@@ -448,6 +423,8 @@ export class App extends CDKApp {
448
423
  ` "${id}": string;`,
449
424
  ` }`,
450
425
  `}`,
426
+ ``,
427
+ ``,
451
428
  ]
452
429
  : [
453
430
  `import "sst/node/${binding.clientPackage}";`,
@@ -458,6 +435,8 @@ export class App extends CDKApp {
458
435
  ` }`,
459
436
  ` }`,
460
437
  `}`,
438
+ ``,
439
+ ``,
461
440
  ]).join("\n"));
462
441
  });
463
442
  }
@@ -21,6 +21,7 @@ declare const supportedRuntimes: {
21
21
  "python3.8": CDKRuntime;
22
22
  "python3.9": CDKRuntime;
23
23
  "python3.10": CDKRuntime;
24
+ "python3.11": CDKRuntime;
24
25
  "dotnetcore3.1": CDKRuntime;
25
26
  dotnet6: CDKRuntime;
26
27
  java8: CDKRuntime;
@@ -634,7 +635,7 @@ export declare class Function extends CDKFunction implements SSTConstruct {
634
635
  type: "Function";
635
636
  data: {
636
637
  arn: string;
637
- runtime: "container" | "rust" | "nodejs12.x" | "nodejs14.x" | "nodejs16.x" | "nodejs18.x" | "python3.7" | "python3.8" | "python3.9" | "python3.10" | "dotnetcore3.1" | "dotnet6" | "java8" | "java11" | "java17" | "go1.x" | "go" | undefined;
638
+ runtime: "container" | "rust" | "nodejs12.x" | "nodejs14.x" | "nodejs16.x" | "nodejs18.x" | "python3.7" | "python3.8" | "python3.9" | "python3.10" | "python3.11" | "dotnetcore3.1" | "dotnet6" | "java8" | "java11" | "java17" | "go1.x" | "go" | undefined;
638
639
  handler: string | undefined;
639
640
  localId: string;
640
641
  secrets: string[];
@@ -36,6 +36,7 @@ const supportedRuntimes = {
36
36
  "python3.8": CDKRuntime.PYTHON_3_8,
37
37
  "python3.9": CDKRuntime.PYTHON_3_9,
38
38
  "python3.10": CDKRuntime.PYTHON_3_10,
39
+ "python3.11": CDKRuntime.PYTHON_3_11,
39
40
  "dotnetcore3.1": CDKRuntime.DOTNET_CORE_3_1,
40
41
  dotnet6: CDKRuntime.DOTNET_6,
41
42
  java8: CDKRuntime.JAVA_8,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sideEffects": false,
3
3
  "name": "sst",
4
- "version": "2.24.3",
4
+ "version": "2.24.5",
5
5
  "bin": {
6
6
  "sst": "cli/sst.js"
7
7
  },
@@ -52,7 +52,7 @@
52
52
  "@babel/core": "^7.0.0-0",
53
53
  "@babel/generator": "^7.20.5",
54
54
  "@babel/plugin-syntax-typescript": "^7.21.4",
55
- "@smithy/signature-v4": "^2.0.1",
55
+ "@smithy/signature-v4": "^2.0.4",
56
56
  "@trpc/server": "9.16.0",
57
57
  "adm-zip": "^0.5.10",
58
58
  "aws-cdk-lib": "2.91.0",
@@ -18,6 +18,7 @@ const RUNTIME_MAP = {
18
18
  "python3.8": Runtime.PYTHON_3_8,
19
19
  "python3.9": Runtime.PYTHON_3_9,
20
20
  "python3.10": Runtime.PYTHON_3_10,
21
+ "python3.11": Runtime.PYTHON_3_11,
21
22
  };
22
23
  export const usePythonHandler = Context.memo(async () => {
23
24
  const workers = await useRuntimeWorkers();
@@ -1524,9 +1524,9 @@ var require_dist_cjs2 = __commonJS({
1524
1524
  }
1525
1525
  });
1526
1526
 
1527
- // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js
1527
+ // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js
1528
1528
  var require_Int64 = __commonJS({
1529
- "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js"(exports) {
1529
+ "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js"(exports) {
1530
1530
  "use strict";
1531
1531
  Object.defineProperty(exports, "__esModule", { value: true });
1532
1532
  exports.Int64 = void 0;
@@ -1577,9 +1577,9 @@ var require_Int64 = __commonJS({
1577
1577
  }
1578
1578
  });
1579
1579
 
1580
- // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js
1580
+ // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js
1581
1581
  var require_HeaderMarshaller = __commonJS({
1582
- "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js"(exports) {
1582
+ "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js"(exports) {
1583
1583
  "use strict";
1584
1584
  Object.defineProperty(exports, "__esModule", { value: true });
1585
1585
  exports.HeaderMarshaller = void 0;
@@ -1769,9 +1769,9 @@ var require_HeaderMarshaller = __commonJS({
1769
1769
  }
1770
1770
  });
1771
1771
 
1772
- // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js
1772
+ // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js
1773
1773
  var require_splitMessage = __commonJS({
1774
- "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js"(exports) {
1774
+ "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js"(exports) {
1775
1775
  "use strict";
1776
1776
  Object.defineProperty(exports, "__esModule", { value: true });
1777
1777
  exports.splitMessage = void 0;
@@ -1809,9 +1809,9 @@ var require_splitMessage = __commonJS({
1809
1809
  }
1810
1810
  });
1811
1811
 
1812
- // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js
1812
+ // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js
1813
1813
  var require_EventStreamCodec = __commonJS({
1814
- "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js"(exports) {
1814
+ "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js"(exports) {
1815
1815
  "use strict";
1816
1816
  Object.defineProperty(exports, "__esModule", { value: true });
1817
1817
  exports.EventStreamCodec = void 0;
@@ -1881,17 +1881,17 @@ var require_EventStreamCodec = __commonJS({
1881
1881
  }
1882
1882
  });
1883
1883
 
1884
- // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js
1884
+ // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js
1885
1885
  var require_Message = __commonJS({
1886
- "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js"(exports) {
1886
+ "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js"(exports) {
1887
1887
  "use strict";
1888
1888
  Object.defineProperty(exports, "__esModule", { value: true });
1889
1889
  }
1890
1890
  });
1891
1891
 
1892
- // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js
1892
+ // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js
1893
1893
  var require_MessageDecoderStream = __commonJS({
1894
- "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js"(exports) {
1894
+ "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js"(exports) {
1895
1895
  "use strict";
1896
1896
  Object.defineProperty(exports, "__esModule", { value: true });
1897
1897
  exports.MessageDecoderStream = void 0;
@@ -1913,9 +1913,9 @@ var require_MessageDecoderStream = __commonJS({
1913
1913
  }
1914
1914
  });
1915
1915
 
1916
- // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js
1916
+ // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js
1917
1917
  var require_MessageEncoderStream = __commonJS({
1918
- "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js"(exports) {
1918
+ "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js"(exports) {
1919
1919
  "use strict";
1920
1920
  Object.defineProperty(exports, "__esModule", { value: true });
1921
1921
  exports.MessageEncoderStream = void 0;
@@ -1940,9 +1940,9 @@ var require_MessageEncoderStream = __commonJS({
1940
1940
  }
1941
1941
  });
1942
1942
 
1943
- // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js
1943
+ // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js
1944
1944
  var require_SmithyMessageDecoderStream = __commonJS({
1945
- "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js"(exports) {
1945
+ "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js"(exports) {
1946
1946
  "use strict";
1947
1947
  Object.defineProperty(exports, "__esModule", { value: true });
1948
1948
  exports.SmithyMessageDecoderStream = void 0;
@@ -1966,9 +1966,9 @@ var require_SmithyMessageDecoderStream = __commonJS({
1966
1966
  }
1967
1967
  });
1968
1968
 
1969
- // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js
1969
+ // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js
1970
1970
  var require_SmithyMessageEncoderStream = __commonJS({
1971
- "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js"(exports) {
1971
+ "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js"(exports) {
1972
1972
  "use strict";
1973
1973
  Object.defineProperty(exports, "__esModule", { value: true });
1974
1974
  exports.SmithyMessageEncoderStream = void 0;
@@ -1990,9 +1990,9 @@ var require_SmithyMessageEncoderStream = __commonJS({
1990
1990
  }
1991
1991
  });
1992
1992
 
1993
- // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/index.js
1993
+ // ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/index.js
1994
1994
  var require_dist_cjs3 = __commonJS({
1995
- "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.1/node_modules/@smithy/eventstream-codec/dist-cjs/index.js"(exports) {
1995
+ "../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.4/node_modules/@smithy/eventstream-codec/dist-cjs/index.js"(exports) {
1996
1996
  "use strict";
1997
1997
  Object.defineProperty(exports, "__esModule", { value: true });
1998
1998
  var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
@@ -2128,9 +2128,9 @@ var require_dist_cjs7 = __commonJS({
2128
2128
  }
2129
2129
  });
2130
2130
 
2131
- // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/constants.js
2131
+ // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/constants.js
2132
2132
  var require_constants = __commonJS({
2133
- "../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/constants.js"(exports) {
2133
+ "../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/constants.js"(exports) {
2134
2134
  "use strict";
2135
2135
  Object.defineProperty(exports, "__esModule", { value: true });
2136
2136
  exports.MAX_PRESIGNED_TTL = exports.KEY_TYPE_IDENTIFIER = exports.MAX_CACHE_SIZE = exports.UNSIGNED_PAYLOAD = exports.EVENT_ALGORITHM_IDENTIFIER = exports.ALGORITHM_IDENTIFIER_V4A = exports.ALGORITHM_IDENTIFIER = exports.UNSIGNABLE_PATTERNS = exports.SEC_HEADER_PATTERN = exports.PROXY_HEADER_PATTERN = exports.ALWAYS_UNSIGNABLE_HEADERS = exports.HOST_HEADER = exports.TOKEN_HEADER = exports.SHA256_HEADER = exports.SIGNATURE_HEADER = exports.GENERATED_HEADERS = exports.DATE_HEADER = exports.AMZ_DATE_HEADER = exports.AUTH_HEADER = exports.REGION_SET_PARAM = exports.TOKEN_QUERY_PARAM = exports.SIGNATURE_QUERY_PARAM = exports.EXPIRES_QUERY_PARAM = exports.SIGNED_HEADERS_QUERY_PARAM = exports.AMZ_DATE_QUERY_PARAM = exports.CREDENTIAL_QUERY_PARAM = exports.ALGORITHM_QUERY_PARAM = void 0;
@@ -2180,9 +2180,9 @@ var require_constants = __commonJS({
2180
2180
  }
2181
2181
  });
2182
2182
 
2183
- // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/credentialDerivation.js
2183
+ // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/credentialDerivation.js
2184
2184
  var require_credentialDerivation = __commonJS({
2185
- "../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/credentialDerivation.js"(exports) {
2185
+ "../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/credentialDerivation.js"(exports) {
2186
2186
  "use strict";
2187
2187
  Object.defineProperty(exports, "__esModule", { value: true });
2188
2188
  exports.clearCredentialCache = exports.getSigningKey = exports.createScope = void 0;
@@ -2225,9 +2225,9 @@ var require_credentialDerivation = __commonJS({
2225
2225
  }
2226
2226
  });
2227
2227
 
2228
- // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalHeaders.js
2228
+ // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalHeaders.js
2229
2229
  var require_getCanonicalHeaders = __commonJS({
2230
- "../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalHeaders.js"(exports) {
2230
+ "../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalHeaders.js"(exports) {
2231
2231
  "use strict";
2232
2232
  Object.defineProperty(exports, "__esModule", { value: true });
2233
2233
  exports.getCanonicalHeaders = void 0;
@@ -2287,9 +2287,9 @@ var require_dist_cjs8 = __commonJS({
2287
2287
  }
2288
2288
  });
2289
2289
 
2290
- // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js
2290
+ // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js
2291
2291
  var require_getCanonicalQuery = __commonJS({
2292
- "../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js"(exports) {
2292
+ "../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js"(exports) {
2293
2293
  "use strict";
2294
2294
  Object.defineProperty(exports, "__esModule", { value: true });
2295
2295
  exports.getCanonicalQuery = void 0;
@@ -2307,7 +2307,7 @@ var require_getCanonicalQuery = __commonJS({
2307
2307
  if (typeof value === "string") {
2308
2308
  serialized[key] = `${(0, util_uri_escape_1.escapeUri)(key)}=${(0, util_uri_escape_1.escapeUri)(value)}`;
2309
2309
  } else if (Array.isArray(value)) {
2310
- serialized[key] = value.slice(0).sort().reduce((encoded, value2) => encoded.concat([`${(0, util_uri_escape_1.escapeUri)(key)}=${(0, util_uri_escape_1.escapeUri)(value2)}`]), []).join("&");
2310
+ serialized[key] = value.slice(0).reduce((encoded, value2) => encoded.concat([`${(0, util_uri_escape_1.escapeUri)(key)}=${(0, util_uri_escape_1.escapeUri)(value2)}`]), []).sort().join("&");
2311
2311
  }
2312
2312
  }
2313
2313
  return keys.map((key) => serialized[key]).filter((serialized2) => serialized2).join("&");
@@ -2316,9 +2316,9 @@ var require_getCanonicalQuery = __commonJS({
2316
2316
  }
2317
2317
  });
2318
2318
 
2319
- // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/getPayloadHash.js
2319
+ // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/getPayloadHash.js
2320
2320
  var require_getPayloadHash = __commonJS({
2321
- "../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/getPayloadHash.js"(exports) {
2321
+ "../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/getPayloadHash.js"(exports) {
2322
2322
  "use strict";
2323
2323
  Object.defineProperty(exports, "__esModule", { value: true });
2324
2324
  exports.getPayloadHash = void 0;
@@ -2345,9 +2345,9 @@ var require_getPayloadHash = __commonJS({
2345
2345
  }
2346
2346
  });
2347
2347
 
2348
- // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/headerUtil.js
2348
+ // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/headerUtil.js
2349
2349
  var require_headerUtil = __commonJS({
2350
- "../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/headerUtil.js"(exports) {
2350
+ "../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/headerUtil.js"(exports) {
2351
2351
  "use strict";
2352
2352
  Object.defineProperty(exports, "__esModule", { value: true });
2353
2353
  exports.deleteHeader = exports.getHeaderValue = exports.hasHeader = void 0;
@@ -2383,9 +2383,9 @@ var require_headerUtil = __commonJS({
2383
2383
  }
2384
2384
  });
2385
2385
 
2386
- // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js
2386
+ // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js
2387
2387
  var require_cloneRequest = __commonJS({
2388
- "../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js"(exports) {
2388
+ "../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js"(exports) {
2389
2389
  "use strict";
2390
2390
  Object.defineProperty(exports, "__esModule", { value: true });
2391
2391
  exports.cloneQuery = exports.cloneRequest = void 0;
@@ -2406,9 +2406,9 @@ var require_cloneRequest = __commonJS({
2406
2406
  }
2407
2407
  });
2408
2408
 
2409
- // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/moveHeadersToQuery.js
2409
+ // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/moveHeadersToQuery.js
2410
2410
  var require_moveHeadersToQuery = __commonJS({
2411
- "../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/moveHeadersToQuery.js"(exports) {
2411
+ "../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/moveHeadersToQuery.js"(exports) {
2412
2412
  "use strict";
2413
2413
  Object.defineProperty(exports, "__esModule", { value: true });
2414
2414
  exports.moveHeadersToQuery = void 0;
@@ -2433,9 +2433,9 @@ var require_moveHeadersToQuery = __commonJS({
2433
2433
  }
2434
2434
  });
2435
2435
 
2436
- // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/prepareRequest.js
2436
+ // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/prepareRequest.js
2437
2437
  var require_prepareRequest = __commonJS({
2438
- "../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/prepareRequest.js"(exports) {
2438
+ "../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/prepareRequest.js"(exports) {
2439
2439
  "use strict";
2440
2440
  Object.defineProperty(exports, "__esModule", { value: true });
2441
2441
  exports.prepareRequest = void 0;
@@ -2454,9 +2454,9 @@ var require_prepareRequest = __commonJS({
2454
2454
  }
2455
2455
  });
2456
2456
 
2457
- // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/utilDate.js
2457
+ // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/utilDate.js
2458
2458
  var require_utilDate = __commonJS({
2459
- "../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/utilDate.js"(exports) {
2459
+ "../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/utilDate.js"(exports) {
2460
2460
  "use strict";
2461
2461
  Object.defineProperty(exports, "__esModule", { value: true });
2462
2462
  exports.toDate = exports.iso8601 = void 0;
@@ -2478,9 +2478,9 @@ var require_utilDate = __commonJS({
2478
2478
  }
2479
2479
  });
2480
2480
 
2481
- // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4.js
2481
+ // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4.js
2482
2482
  var require_SignatureV4 = __commonJS({
2483
- "../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4.js"(exports) {
2483
+ "../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4.js"(exports) {
2484
2484
  "use strict";
2485
2485
  Object.defineProperty(exports, "__esModule", { value: true });
2486
2486
  exports.SignatureV4 = void 0;
@@ -2668,9 +2668,9 @@ ${(0, util_hex_encoding_1.toHex)(hashedRequest)}`;
2668
2668
  }
2669
2669
  });
2670
2670
 
2671
- // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/index.js
2671
+ // ../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/index.js
2672
2672
  var require_dist_cjs9 = __commonJS({
2673
- "../../node_modules/.pnpm/@smithy+signature-v4@2.0.1/node_modules/@smithy/signature-v4/dist-cjs/index.js"(exports) {
2673
+ "../../node_modules/.pnpm/@smithy+signature-v4@2.0.4/node_modules/@smithy/signature-v4/dist-cjs/index.js"(exports) {
2674
2674
  "use strict";
2675
2675
  Object.defineProperty(exports, "__esModule", { value: true });
2676
2676
  exports.prepareRequest = exports.moveHeadersToQuery = exports.getPayloadHash = exports.getCanonicalQuery = exports.getCanonicalHeaders = void 0;