@griddo/cx 11.7.12-rc.3 → 11.7.12-rc.4

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.
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.logsAction = logsAction;
4
+ const envs_1 = require("../../../constants/envs");
4
5
  const core_utils_1 = require("../../../utils/core-utils");
5
6
  async function logsAction(context) {
6
7
  const { domain } = context;
7
- if (process.env.GRIDDO_BUILD_LOGS) {
8
+ if (envs_1.GRIDDO_BUILD_LOGS) {
8
9
  await (0, core_utils_1.saveDetailRenderLog)(domain);
9
10
  }
10
11
  }
@@ -1 +1 @@
1
- {"version":3,"file":"logs.js","sourceRoot":"","sources":["../../../../exporter/adapters/gatsby/actions/logs.ts"],"names":[],"mappings":";;;AAGA,0DAAgE;AAEzD,KAAK,qBAAqB,OAA2B,EAAE;IAC7D,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;IAE3B,IAAI,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE,CAAC;QACnC,MAAM,IAAA,gCAAmB,EAAC,MAAM,CAAC,CAAC;IACnC,CAAC;AAAA,CACD"}
1
+ {"version":3,"file":"logs.js","sourceRoot":"","sources":["../../../../exporter/adapters/gatsby/actions/logs.ts"],"names":[],"mappings":";;;AAGA,kDAA4D;AAC5D,0DAAgE;AAEzD,KAAK,qBAAqB,OAA2B,EAAE;IAC7D,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;IAE3B,IAAI,wBAAiB,EAAE,CAAC;QACvB,MAAM,IAAA,gCAAmB,EAAC,MAAM,CAAC,CAAC;IACnC,CAAC;AAAA,CACD"}
@@ -1,12 +1,13 @@
1
1
  import type { RenderContext } from "../shared/context";
2
2
  import type { SSG } from "../shared/types";
3
3
 
4
+ import { GRIDDO_BUILD_LOGS } from "../../../constants/envs";
4
5
  import { saveDetailRenderLog } from "../../../utils/core-utils";
5
6
 
6
7
  export async function logsAction(context: RenderContext<SSG>) {
7
8
  const { domain } = context;
8
9
 
9
- if (process.env.GRIDDO_BUILD_LOGS) {
10
+ if (GRIDDO_BUILD_LOGS) {
10
11
  await saveDetailRenderLog(domain);
11
12
  }
12
13
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@griddo/cx",
3
3
  "description": "Griddo SSG based on Gatsby",
4
- "version": "11.7.12-rc.3",
4
+ "version": "11.7.12-rc.4",
5
5
  "authors": [
6
6
  "Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
7
7
  "Diego M. Béjar <diego.bejar@secuoyas.com>",
@@ -80,5 +80,5 @@
80
80
  "publishConfig": {
81
81
  "access": "public"
82
82
  },
83
- "gitHead": "56497cf35d3004444be9846fbf4e5608958f3ace"
83
+ "gitHead": "96f4a36f82c95316a44143e8eeec2b0d8fae9ed6"
84
84
  }