@browserless/goto 9.3.0-beta.7 → 9.3.0-beta.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.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@browserless/goto",
3
3
  "description": "Go to a page aborting unnecessary requests",
4
4
  "homepage": "https://browserless.js.org/#/?id=gotopage-options",
5
- "version": "9.3.0-beta.7",
5
+ "version": "9.3.0-beta.8",
6
6
  "main": "src/index.js",
7
7
  "author": {
8
8
  "email": "hello@microlink.io",
@@ -68,5 +68,5 @@
68
68
  "timeout": "2m",
69
69
  "verbose": true
70
70
  },
71
- "gitHead": "985d388b09f2a008c3875c7079d3f7ecab69a4a8"
71
+ "gitHead": "6e23f94a1b5496741d20ac7a358afab9cbe5dabf"
72
72
  }
package/src/engine.bin CHANGED
Binary file
package/src/index.js CHANGED
@@ -165,7 +165,7 @@ module.exports = ({
165
165
  const resourceType = req.resourceType()
166
166
  if (!abortTypes.includes(resourceType)) {
167
167
  debug('continue', { url: req.url(), resourceType })
168
- return req.continue(req.continueRequestOverrides(), 2)
168
+ return req.continue(req.continueRequestOverrides(), 0)
169
169
  }
170
170
  debug('abort', { url: req.url(), resourceType })
171
171
  return req.abort('blockedbyclient', 2)