polotno-node 2.6.0 → 2.6.1

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/index.js +3 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -69,6 +69,9 @@ module.exports.createInstance = async ({
69
69
  ],
70
70
  defaultViewport: chrome.defaultViewport,
71
71
  headless: 'new',
72
+ // make default protocol timeout bigger
73
+ // because some clients had issues with it
74
+ protocolTimeout: 10 * 60 * 1000,
72
75
  executablePath: isMacOs ? undefined : await chrome.executablePath(),
73
76
  ignoreHTTPSErrors: true,
74
77
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polotno-node",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "description": "Polotno workflow from NodeJS",
5
5
  "main": "index.js",
6
6
  "scripts": {