@vscode/extension-telemetry
Advanced tools
Comparing version 0.9.1 to 0.9.2
@@ -42,7 +42,9 @@ /*--------------------------------------------------------------------------------------------- | ||
appInsightsCore.addTelemetryInitializer((envelope) => { | ||
// Only add this flag when `telemetry.internalTesting` is enabled | ||
envelope["ext"] = envelope["ext"] ?? {}; | ||
envelope["ext"]["web"] = envelope["ext"]["web"] ?? {}; | ||
envelope["ext"]["web"]["consentDetails"] = '{"GPC_DataSharingOptIn":false}'; | ||
// Only add the remaining flags when `telemetry.internalTesting` is enabled | ||
if (!internalTesting) { | ||
return; | ||
} | ||
envelope["ext"] = envelope["ext"] ?? {}; | ||
envelope["ext"]["utc"] = envelope["ext"]["utc"] ?? {}; | ||
@@ -49,0 +51,0 @@ // Sets it to be internal only based on Windows UTC flagging |
@@ -53,3 +53,3 @@ /*--------------------------------------------------------- | ||
// Do not change this string as it gets found and replaced upon packaging | ||
"common.telemetryclientversion": "0.9.1" | ||
"common.telemetryclientversion": "0.9.2" | ||
}; | ||
@@ -56,0 +56,0 @@ } |
@@ -68,7 +68,9 @@ "use strict"; | ||
appInsightsCore.addTelemetryInitializer((envelope) => { | ||
// Only add this flag when `telemetry.internalTesting` is enabled | ||
envelope["ext"] = envelope["ext"] ?? {}; | ||
envelope["ext"]["web"] = envelope["ext"]["web"] ?? {}; | ||
envelope["ext"]["web"]["consentDetails"] = '{"GPC_DataSharingOptIn":false}'; | ||
// Only add the remaining flags when `telemetry.internalTesting` is enabled | ||
if (!internalTesting) { | ||
return; | ||
} | ||
envelope["ext"] = envelope["ext"] ?? {}; | ||
envelope["ext"]["utc"] = envelope["ext"]["utc"] ?? {}; | ||
@@ -75,0 +77,0 @@ // Sets it to be internal only based on Windows UTC flagging |
@@ -56,3 +56,3 @@ "use strict"; | ||
// Do not change this string as it gets found and replaced upon packaging | ||
"common.telemetryclientversion": "0.9.1" | ||
"common.telemetryclientversion": "0.9.2" | ||
}; | ||
@@ -59,0 +59,0 @@ } |
{ | ||
"name": "@vscode/extension-telemetry", | ||
"description": "A module for Visual Studio Code extensions to report consistent telemetry.", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Microsoft Corporation" |
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
68409
1254