@sap/swa-for-sapbas-vsx
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "@sap/swa-for-sapbas-vsx", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"author": "SAP SE", | ||
@@ -5,0 +5,0 @@ "description": "Javascript module for SWA tracking to be consumed by VsCode extensions", |
@@ -9,3 +9,3 @@ [](https://gkedevxlondon.jaas-gcp.cloud.sap.corp/job/swa_ci/job/master/) | ||
### Installation | ||
TBD | ||
npm install @sap/swa-for-sapbas-vsx | ||
@@ -12,0 +12,0 @@ ### ENV |
@@ -58,3 +58,2 @@ 'use strict'; | ||
url: this.siteUrl, | ||
user: this.userId, | ||
...customEventsObj | ||
@@ -131,4 +130,7 @@ }; | ||
enabled = this._validateConsent(); | ||
else if (this._getProcessEnv("SWA_USER_ANON") === "literalTrue") | ||
enabled = true; | ||
// case we are in vscode and no enable setting is found -> disable reporting | ||
else | ||
enabled = true; | ||
enabled = false; | ||
} | ||
@@ -135,0 +137,0 @@ return enabled; |
Sorry, the diff of this file is not supported yet
35731
187