zet-lib 1.4.4 → 1.4.5

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/lib/zRoute.js +3 -3
  2. package/package.json +1 -1
package/lib/zRoute.js CHANGED
@@ -2279,9 +2279,9 @@ zRoute.generatePDF = async (file, layout = "pdf_bootstrap", options = {}) => {
2279
2279
  let puppeterOptions = {
2280
2280
  args: args,
2281
2281
  };
2282
- if (env === "production") {
2283
- puppeterOptions.executablePath = "/usr/bin/google-chrome-stable";
2284
- }
2282
+ //if (env === "production") {
2283
+ //puppeterOptions.executablePath = "/usr/bin/google-chrome-stable";
2284
+ //}
2285
2285
  puppeterOptions.defaultViewport = { width: 1920, height: 1080 };
2286
2286
  const browser = await puppeteer.launch(puppeterOptions);
2287
2287
  const page = await browser.newPage();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zet-lib",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "zet is a library that part of zet generator.",
5
5
  "engines": {
6
6
  "node": ">=18"