arn-browser 0.1.46 → 0.1.47

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arn-browser",
3
- "version": "0.1.46",
3
+ "version": "0.1.47",
4
4
  "description": "A lightweight, browser autmation helper.",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -497,7 +497,7 @@ export async function pwRoute(options = {}) {
497
497
  currentConfig.useFullUrl,
498
498
  currentConfig.logger,
499
499
  agentToUse,
500
- currentConfig.stripGotHeaders,
500
+ isXhrOrFetch ? false : currentConfig.stripGotHeaders,
501
501
  currentConfig.stripGotLogger
502
502
  );
503
503
 
@@ -504,7 +504,7 @@ export async function ppRoute(options = {}) {
504
504
  currentConfig.useFullUrl,
505
505
  currentConfig.logger,
506
506
  agentToUse,
507
- currentConfig.stripGotHeaders,
507
+ isXhrOrFetch ? false : currentConfig.stripGotHeaders,
508
508
  currentConfig.stripGotLogger
509
509
  );
510
510