@awsless/awsless 0.0.615 → 0.0.617

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bin.js CHANGED
@@ -333,7 +333,7 @@ var createCloudFrontKvsProvider = ({ credentials, region }) => {
333
333
  };
334
334
 
335
335
  // src/formation/cloudfront.ts
336
- import { CloudFrontClient, CreateInvalidationCommand } from "@aws-sdk/client-cloudfront";
336
+ import { CloudFrontClient, CreateInvalidationForDistributionTenantCommand } from "@aws-sdk/client-cloudfront";
337
337
  import { createCustomProvider as createCustomProvider2, createCustomResourceClass as createCustomResourceClass2 } from "@terraforge/core";
338
338
  import { z as z2 } from "zod";
339
339
  var Invalidation = createCustomResourceClass2(
@@ -350,8 +350,8 @@ var createCloudFrontProvider = ({ credentials, region }) => {
350
350
  paths: z2.string().array().min(1)
351
351
  }).parse(props.proposedState);
352
352
  const result = await cloudFront.send(
353
- new CreateInvalidationCommand({
354
- DistributionId: state2.distributionId,
353
+ new CreateInvalidationForDistributionTenantCommand({
354
+ Id: state2.distributionId,
355
355
  InvalidationBatch: {
356
356
  Paths: {
357
357
  Quantity: state2.paths.length,
@@ -5145,9 +5145,9 @@ var siteFeature = defineFeature({
5145
5145
  }
5146
5146
  const instance = Bun.spawn(buildProps.command.split(" "), {
5147
5147
  cwd,
5148
- env,
5149
- stdout: "inherit",
5150
- stderr: "inherit"
5148
+ env
5149
+ // stdout: 'inherit',
5150
+ // stderr: 'inherit',
5151
5151
  });
5152
5152
  await instance.exited;
5153
5153
  if (instance.exitCode !== null && instance.exitCode > 0) {
@@ -10090,7 +10090,7 @@ var parseJsonLog = (message) => {
10090
10090
  };
10091
10091
 
10092
10092
  // src/cli/command/image/clear-cache.ts
10093
- import { CloudFrontClient as CloudFrontClient2, CreateInvalidationCommand as CreateInvalidationCommand2 } from "@aws-sdk/client-cloudfront";
10093
+ import { CloudFrontClient as CloudFrontClient2, CreateInvalidationForDistributionTenantCommand as CreateInvalidationForDistributionTenantCommand2 } from "@aws-sdk/client-cloudfront";
10094
10094
  import { DeleteObjectsCommand, ListObjectsV2Command, S3Client as S3Client3 } from "@aws-sdk/client-s3";
10095
10095
  import { Cancelled as Cancelled3, log as log28, prompt as prompt14 } from "@awsless/clui";
10096
10096
  import { randomUUID } from "crypto";
@@ -10197,8 +10197,8 @@ var clearCache = (program2) => {
10197
10197
  }
10198
10198
  }
10199
10199
  await cloudFrontClient.send(
10200
- new CreateInvalidationCommand2({
10201
- DistributionId: distributionId,
10200
+ new CreateInvalidationForDistributionTenantCommand2({
10201
+ Id: distributionId,
10202
10202
  InvalidationBatch: {
10203
10203
  CallerReference: randomUUID(),
10204
10204
  Paths: {
@@ -10223,7 +10223,7 @@ var image = (program2) => {
10223
10223
  };
10224
10224
 
10225
10225
  // src/cli/command/icon/clear-cache.ts
10226
- import { CloudFrontClient as CloudFrontClient3, CreateInvalidationCommand as CreateInvalidationCommand3 } from "@aws-sdk/client-cloudfront";
10226
+ import { CloudFrontClient as CloudFrontClient3, CreateInvalidationForDistributionTenantCommand as CreateInvalidationForDistributionTenantCommand3 } from "@aws-sdk/client-cloudfront";
10227
10227
  import { DeleteObjectsCommand as DeleteObjectsCommand2, ListObjectsV2Command as ListObjectsV2Command2, S3Client as S3Client4 } from "@aws-sdk/client-s3";
10228
10228
  import { Cancelled as Cancelled4, log as log29, prompt as prompt15 } from "@awsless/clui";
10229
10229
  import { randomUUID as randomUUID2 } from "crypto";
@@ -10330,8 +10330,8 @@ var clearCache2 = (program2) => {
10330
10330
  }
10331
10331
  }
10332
10332
  await cloudFrontClient.send(
10333
- new CreateInvalidationCommand3({
10334
- DistributionId: distributionId,
10333
+ new CreateInvalidationForDistributionTenantCommand3({
10334
+ Id: distributionId,
10335
10335
  InvalidationBatch: {
10336
10336
  CallerReference: randomUUID2(),
10337
10337
  Paths: {
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.615",
3
+ "version": "0.0.617",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -35,27 +35,27 @@
35
35
  "peerDependencies": {
36
36
  "@awsless/big-float": "^0.1.5",
37
37
  "@awsless/clui": "^0.0.8",
38
+ "@awsless/duration": "^0.0.4",
38
39
  "@awsless/cloudwatch": "^0.0.1",
39
- "@awsless/json": "^0.0.10",
40
+ "@awsless/dynamodb": "^0.3.8",
40
41
  "@awsless/lambda": "^0.0.35",
41
42
  "@awsless/iot": "^0.0.3",
43
+ "@awsless/json": "^0.0.10",
42
44
  "@awsless/open-search": "^0.0.21",
43
45
  "@awsless/mqtt": "^0.0.2",
44
- "@awsless/duration": "^0.0.4",
45
- "@awsless/redis": "^0.0.14",
46
- "@awsless/dynamodb": "^0.3.8",
47
- "@awsless/sns": "^0.0.10",
48
46
  "@awsless/validate": "^0.1.3",
47
+ "@awsless/redis": "^0.0.14",
49
48
  "@awsless/s3": "^0.0.21",
50
- "@awsless/ssm": "^0.0.7",
49
+ "@awsless/sns": "^0.0.10",
50
+ "@awsless/sqs": "^0.0.16",
51
51
  "@awsless/weak-cache": "^0.0.1",
52
- "@awsless/sqs": "^0.0.16"
52
+ "@awsless/ssm": "^0.0.7"
53
53
  },
54
54
  "dependencies": {
55
55
  "@arcanyx/cidr-slicer": "^0.3.0",
56
56
  "@aws-appsync/utils": "^1.5.0",
57
57
  "@aws-sdk/client-cloudformation": "^3.369.0",
58
- "@aws-sdk/client-cloudfront": "^3.425.0",
58
+ "@aws-sdk/client-cloudfront": "^3.991.0",
59
59
  "@aws-sdk/client-cloudfront-keyvaluestore": "^3.817.0",
60
60
  "@aws-sdk/client-cloudwatch-logs": "^3.806.0",
61
61
  "@aws-sdk/client-cognito-identity-provider": "^3.840.0",
@@ -139,16 +139,16 @@
139
139
  "zip-a-folder": "^3.1.6",
140
140
  "zod": "^3.24.2",
141
141
  "zod-to-json-schema": "^3.24.3",
142
- "@awsless/cloudwatch": "^0.0.1",
143
142
  "@awsless/big-float": "^0.1.5",
143
+ "@awsless/cloudwatch": "^0.0.1",
144
144
  "@awsless/duration": "^0.0.4",
145
- "@awsless/clui": "^0.0.8",
146
145
  "@awsless/graphql": "^0.0.9",
146
+ "@awsless/clui": "^0.0.8",
147
147
  "@awsless/json": "^0.0.10",
148
- "@awsless/scheduler": "^0.0.4",
149
148
  "@awsless/size": "^0.0.2",
150
- "@awsless/ts-file-cache": "^0.0.12",
151
- "@awsless/validate": "^0.1.3"
149
+ "@awsless/validate": "^0.1.3",
150
+ "@awsless/scheduler": "^0.0.4",
151
+ "@awsless/ts-file-cache": "^0.0.12"
152
152
  },
153
153
  "devDependencies": {
154
154
  "@hono/node-server": "1.19.9",