nodejs_chromium 1.1.1 → 1.1.2

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/package.json +1 -1
  2. package/src/chrome.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodejs_chromium",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/chrome.js CHANGED
@@ -590,6 +590,7 @@ module.exports = class {
590
590
  // value.redirect = await response.redirectURL();
591
591
  if (value.type === 'xhr') value.type = 'AJAX';
592
592
  value.url = await response.url();
593
+ value.headers = { request: request.headers(), response: headers };
593
594
  value.domain = parseUrl(value.url)['host'];
594
595
  value.content = headers['content-type'];
595
596
  value.length = headers['content-length'];