@open-wa/wa-automate 4.32.7 → 4.32.8
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.
@@ -103,8 +103,7 @@ function initPage(sessionId, config, qrManager, customUserAgent, spinner, _page,
|
|
103
103
|
const cacheEnabled = (config === null || config === void 0 ? void 0 : config.cacheEnabled) === false ? false : true;
|
104
104
|
const blockCrashLogs = (config === null || config === void 0 ? void 0 : config.blockCrashLogs) === false ? false : true;
|
105
105
|
setupPromises.push(waPage.setBypassCSP((config === null || config === void 0 ? void 0 : config.bypassCSP) || false));
|
106
|
-
|
107
|
-
setupPromises.push(waPage.setCacheEnabled(cacheEnabled));
|
106
|
+
setupPromises.push(waPage.setCacheEnabled(cacheEnabled));
|
108
107
|
const blockAssets = !(config === null || config === void 0 ? void 0 : config.headless) ? false : (config === null || config === void 0 ? void 0 : config.blockAssets) || false;
|
109
108
|
if (blockAssets) {
|
110
109
|
const { default: block } = yield Promise.resolve().then(() => __importStar(require('puppeteer-extra-plugin-block-resources')));
|
package/package.json
CHANGED