@awsless/awsless 0.0.487 → 0.0.489

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
@@ -4322,10 +4322,11 @@ var rpcFeature = defineFeature({
4322
4322
  }
4323
4323
  });
4324
4324
  const cdn = new $13.aws.cloudfront.Distribution(group, "cdn", {
4325
- tags: {
4326
- Name: name
4327
- // Feature: ''
4328
- },
4325
+ // tags: {
4326
+ // Name: name,
4327
+ // // Feature: ''
4328
+ // },
4329
+ comment: name,
4329
4330
  enabled: true,
4330
4331
  aliases: domainName ? [domainName] : void 0,
4331
4332
  priceClass: "PriceClass_All",
@@ -4574,11 +4575,7 @@ var BLOCK_DIRECT_ACCESS_TO_CLOUDFRONT = `
4574
4575
  if (event.request.headers.host.value.includes('cloudfront.net')) {
4575
4576
  return {
4576
4577
  statusCode: 403,
4577
- statusDescription: 'Forbidden',
4578
- body: {
4579
- encoding: 'text',
4580
- data: '<html><head><title>403 Forbidden</title></head><body><center><h1>403 Forbidden</h1></center></body></html>'
4581
- }
4578
+ statusDescription: 'Forbidden'
4582
4579
  };
4583
4580
  }`;
4584
4581
  var SET_S3_ORIGIN = `
@@ -4737,6 +4734,11 @@ var siteFeature = defineFeature({
4737
4734
  functionUrl = new $15.aws.lambda.FunctionUrl(group, "url", {
4738
4735
  functionName: result.lambda.functionName,
4739
4736
  authorizationType: "AWS_IAM"
4737
+ // cors: {
4738
+ // allowOrigins: ['*'],
4739
+ // allowMethods: ['*'],
4740
+ // allowHeaders: ['*'],
4741
+ // },
4740
4742
  });
4741
4743
  }
4742
4744
  let bucket;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.487",
3
+ "version": "0.0.489",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -34,18 +34,19 @@
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@awsless/dynamodb": "^0.1.5",
37
- "@awsless/iot": "^0.0.3",
38
37
  "@awsless/json": "^0.0.8",
39
- "@awsless/mqtt": "^0.0.2",
38
+ "@awsless/iot": "^0.0.3",
40
39
  "@awsless/lambda": "^0.0.32",
41
40
  "@awsless/open-search": "^0.0.17",
42
- "@awsless/s3": "^0.0.20",
41
+ "@awsless/mqtt": "^0.0.2",
43
42
  "@awsless/redis": "^0.0.14",
43
+ "@awsless/s3": "^0.0.20",
44
44
  "@awsless/validate": "^0.0.19",
45
45
  "@awsless/sns": "^0.0.10",
46
- "@awsless/sqs": "^0.0.8",
47
46
  "@awsless/ssm": "^0.0.7",
48
- "@awsless/weak-cache": "^0.0.1"
47
+ "@awsless/sqs": "^0.0.8",
48
+ "@awsless/weak-cache": "^0.0.1",
49
+ "@awsless/big-float": "^0.0.6"
49
50
  },
50
51
  "dependencies": {
51
52
  "@arcanyx/cidr-slicer": "^0.3.0",
@@ -64,7 +65,6 @@
64
65
  "@aws-sdk/credential-providers": "^3.654.0",
65
66
  "@aws-sdk/lib-storage": "^3.423.0",
66
67
  "@aws-sdk/signature-v4-crt": "^3.816.0",
67
- "@awsless/big-float": "^0.0.6",
68
68
  "@clack/prompts": "^0.7.0",
69
69
  "@graphql-tools/merge": "^9.0.0",
70
70
  "@rollup/plugin-commonjs": "^25.0.5",
@@ -127,13 +127,14 @@
127
127
  "zip-a-folder": "^3.1.6",
128
128
  "zod": "^3.24.2",
129
129
  "zod-to-json-schema": "^3.24.3",
130
+ "@awsless/big-float": "^0.0.6",
130
131
  "@awsless/code": "^0.0.10",
131
- "@awsless/graphql": "^0.0.9",
132
- "@awsless/json": "^0.0.8",
133
- "@awsless/size": "^0.0.2",
134
132
  "@awsless/formation": "^0.0.75",
135
133
  "@awsless/duration": "^0.0.3",
134
+ "@awsless/graphql": "^0.0.9",
135
+ "@awsless/json": "^0.0.8",
136
136
  "@awsless/validate": "^0.0.19",
137
+ "@awsless/size": "^0.0.2",
137
138
  "@awsless/ts-file-cache": "^0.0.12"
138
139
  },
139
140
  "devDependencies": {