@awsless/awsless 0.0.140 → 0.0.141

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
@@ -2252,15 +2252,13 @@ var HostedZone = class extends Resource {
2252
2252
  constructor(logicalId, props = {}) {
2253
2253
  super("AWS::Route53::HostedZone", logicalId);
2254
2254
  this.props = props;
2255
- this.name = this.props.domainName || logicalId;
2256
2255
  }
2257
- name;
2258
2256
  get id() {
2259
2257
  return ref(this.logicalId);
2260
2258
  }
2261
2259
  properties() {
2262
2260
  return {
2263
- Name: this.name + "."
2261
+ Name: this.props.domainName + "."
2264
2262
  };
2265
2263
  }
2266
2264
  };
@@ -2473,7 +2471,9 @@ var domainPlugin = definePlugin({
2473
2471
  });
2474
2472
  bootstrap2.add(configurationSet);
2475
2473
  for (const [id, props] of domains) {
2476
- const hostedZone = new HostedZone(id);
2474
+ const hostedZone = new HostedZone(id, {
2475
+ domainName: props.domain
2476
+ });
2477
2477
  const usEastCertificate = new Certificate(id, {
2478
2478
  domainName: props.domain,
2479
2479
  hostedZoneId: hostedZone.id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.140",
3
+ "version": "0.0.141",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -29,11 +29,11 @@
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@awsless/lambda": "^0.0.15",
32
- "@awsless/sns": "^0.0.7",
33
- "@awsless/redis": "^0.0.10",
34
- "@awsless/ssm": "^0.0.7",
35
32
  "@awsless/sqs": "^0.0.7",
33
+ "@awsless/ssm": "^0.0.7",
36
34
  "@awsless/validate": "^0.0.10",
35
+ "@awsless/redis": "^0.0.10",
36
+ "@awsless/sns": "^0.0.7",
37
37
  "@awsless/weak-cache": "^0.0.1"
38
38
  },
39
39
  "dependencies": {
@@ -87,8 +87,8 @@
87
87
  "wrap-ansi": "^8.1.0",
88
88
  "zod": "^3.21.4",
89
89
  "zod-to-json-schema": "^3.22.3",
90
- "@awsless/graphql": "^0.0.6",
91
- "@awsless/code": "^0.0.10"
90
+ "@awsless/code": "^0.0.10",
91
+ "@awsless/graphql": "^0.0.6"
92
92
  },
93
93
  "scripts": {
94
94
  "test": "pnpm code test",