@awsless/awsless 0.0.57 → 0.0.59

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 (2) hide show
  1. package/dist/bin.js +3 -3
  2. package/package.json +1 -1
package/dist/bin.js CHANGED
@@ -5190,7 +5190,7 @@ var sitePlugin = definePlugin({
5190
5190
  destinationBucketName: bucket.name
5191
5191
  }
5192
5192
  }).dependsOn(bucket);
5193
- const deleteBucket = new CustomResource(id, {
5193
+ const deleteBucket = new CustomResource(`site-${id}-delete-bucket`, {
5194
5194
  serviceToken: bootstrap2.import("feature-delete-bucket"),
5195
5195
  properties: {
5196
5196
  bucketName: bucket.name
@@ -5261,13 +5261,13 @@ var sitePlugin = definePlugin({
5261
5261
  };
5262
5262
  })
5263
5263
  }).dependsOn(originRequest, responseHeaders, cache, ...deps);
5264
- const invalidateCache = new CustomResource(id, {
5264
+ const invalidateCache = new CustomResource(`site-${id}-invalidate-cache`, {
5265
5265
  serviceToken: bootstrap2.import("feature-invalidate-cache"),
5266
5266
  properties: {
5267
5267
  key: (/* @__PURE__ */ new Date()).toISOString(),
5268
5268
  distributionId: distribution.id,
5269
- waitForInvalidation: false,
5270
5269
  paths: ["/*"]
5270
+ // waitForInvalidation: false,
5271
5271
  }
5272
5272
  }).dependsOn(distribution);
5273
5273
  if (props.static) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.57",
3
+ "version": "0.0.59",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {