@openreplay/tracker-axios
Advanced tools
Comparing version 3.6.1 to 3.6.2
@@ -31,5 +31,9 @@ "use strict"; | ||
return (app) => { | ||
if (app === null) { | ||
if (app === null || | ||
// @ts-ignore - a catch for the developers who apply a plugin several times | ||
options.instance.__openreplayAxiosInstalled__) { | ||
return; | ||
} | ||
// @ts-ignore | ||
options.instance.__openreplayAxiosInstalled__ = true; | ||
const ihOpt = options.ignoreHeaders; | ||
@@ -36,0 +40,0 @@ const isHIgnoring = Array.isArray(ihOpt) |
@@ -29,5 +29,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
return (app) => { | ||
if (app === null) { | ||
if (app === null || | ||
// @ts-ignore - a catch for the developers who apply a plugin several times | ||
options.instance.__openreplayAxiosInstalled__) { | ||
return; | ||
} | ||
// @ts-ignore | ||
options.instance.__openreplayAxiosInstalled__ = true; | ||
const ihOpt = options.ignoreHeaders; | ||
@@ -34,0 +38,0 @@ const isHIgnoring = Array.isArray(ihOpt) |
{ | ||
"name": "@openreplay/tracker-axios", | ||
"description": "Tracker plugin for axios requests recording", | ||
"version": "3.6.1", | ||
"version": "3.6.2", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "axios", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25598
485