@geek-fun/serverlessinsight 0.6.9 → 0.6.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geek-fun/serverlessinsight",
3
- "version": "0.6.9",
3
+ "version": "0.6.10",
4
4
  "description": "Full life cycle cross providers serverless application management for your fast-growing business.",
5
5
  "homepage": "https://serverlessinsight.geekfun.club",
6
6
  "main": "dist/src/index.js",
@@ -4,11 +4,11 @@ exports.parseBucket = void 0;
4
4
  const types_1 = require("../types");
5
5
  const parseUtils_1 = require("./parseUtils");
6
6
  const isStructuredDomain = (domain) => typeof domain === 'object' && domain !== null && 'domain_name' in domain;
7
- const parseWebsiteDomain = (domain, www_bind_apex) => {
7
+ const parseWebsiteDomain = (domain) => {
8
8
  if (domain == null) {
9
9
  return {
10
10
  domain: undefined,
11
- www_bind_apex: (0, parseUtils_1.parseBooleanWithDefault)(www_bind_apex, false),
11
+ www_bind_apex: false,
12
12
  domain_certificate_id: undefined,
13
13
  domain_certificate_body: undefined,
14
14
  domain_certificate_private_key: undefined,
@@ -18,7 +18,7 @@ const parseWebsiteDomain = (domain, www_bind_apex) => {
18
18
  if (!isStructuredDomain(domain)) {
19
19
  return {
20
20
  domain: String(domain),
21
- www_bind_apex: (0, parseUtils_1.parseBooleanWithDefault)(www_bind_apex, false),
21
+ www_bind_apex: false,
22
22
  domain_certificate_id: undefined,
23
23
  domain_certificate_body: undefined,
24
24
  domain_certificate_private_key: undefined,
@@ -27,7 +27,7 @@ const parseWebsiteDomain = (domain, www_bind_apex) => {
27
27
  }
28
28
  return {
29
29
  domain: String(domain.domain_name),
30
- www_bind_apex: (0, parseUtils_1.parseBooleanWithDefault)(www_bind_apex, false),
30
+ www_bind_apex: (0, parseUtils_1.parseBooleanWithDefault)(domain.www_bind_apex, false),
31
31
  domain_certificate_id: domain.certificate_id != null ? String(domain.certificate_id) : undefined,
32
32
  domain_certificate_body: domain.certificate_body != null ? String(domain.certificate_body) : undefined,
33
33
  domain_certificate_private_key: domain.certificate_private_key != null ? String(domain.certificate_private_key) : undefined,
@@ -72,7 +72,7 @@ const parseBucket = (buckets) => {
72
72
  website: bucket.website
73
73
  ? {
74
74
  code: String(bucket.website.code),
75
- ...parseWebsiteDomain(bucket.website.domain, bucket.website.www_bind_apex),
75
+ ...parseWebsiteDomain(bucket.website.domain),
76
76
  index: (0, parseUtils_1.parseStringWithDefault)(bucket.website.index, 'index.html'),
77
77
  error_page: (0, parseUtils_1.parseStringWithDefault)(bucket.website.error_page, '404.html'),
78
78
  error_code: (0, parseUtils_1.parseNumberWithDefault)(bucket.website.error_code, 404),
@@ -73,7 +73,7 @@ exports.bucketSchema = {
73
73
  },
74
74
  ],
75
75
  },
76
- www_bind_apex: { type: 'boolean' },
76
+ www_bind_apex: templateRefSchema_1.resolvableBoolean,
77
77
  },
78
78
  required: ['domain_name'],
79
79
  additionalProperties: false,
@@ -111,7 +111,6 @@ exports.bucketSchema = {
111
111
  type: 'string',
112
112
  },
113
113
  error_code: templateRefSchema_1.resolvableNumber,
114
- www_bind_apex: templateRefSchema_1.resolvableBoolean,
115
114
  },
116
115
  required: ['code'],
117
116
  additionalProperties: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geek-fun/serverlessinsight",
3
- "version": "0.6.9",
3
+ "version": "0.6.10",
4
4
  "description": "Full life cycle cross providers serverless application management for your fast-growing business.",
5
5
  "homepage": "https://serverlessinsight.geekfun.club",
6
6
  "main": "dist/src/index.js",