Socket
Socket
Sign inDemoInstall

@kano/kbc-telemetry

Package Overview
Dependencies
Maintainers
13
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kano/kbc-telemetry - npm Package Compare versions

Comparing version 4.23.1-alpha.0 to 4.24.0-alpha.0

5

lib/utils/telemetry-client.js

@@ -24,6 +24,7 @@ "use strict";

this.setUpSession = () => {
this.sessionId = !this.userId ? this.storedSession() : kbc_utils_1.idGen();
const sessionId = !this.userId ? this.storedSession() : kbc_utils_1.idGen();
this.sessionId = sessionId;
this.telemetryStarted = true;
const { platform, vendor, language } = window.navigator ? window.navigator : { platform: null, vendor: null, language: null };
this.config.tracking.trackEvent({ event: 'start_session', data: { platform, vendor, language, windowSize: window.innerWidth } });
this.config.tracking.trackEvent({ event: 'start_session', data: { sessionId, userId: this.userId ? this.userId : null, platform, vendor, language, windowSize: window.innerWidth } });
};

@@ -30,0 +31,0 @@ this.storedSession = () => {

4

package.json
{
"name": "@kano/kbc-telemetry",
"version": "4.23.1-alpha.0",
"version": "4.24.0-alpha.0",
"description": "Telemetry module for boilerplate apps, using react-tracking",

@@ -35,3 +35,3 @@ "author": "Kano Computing",

},
"gitHead": "0ed35b79bccf44a2c96ecfb87a6011cd20a4f466"
"gitHead": "f3eb4eb01fec444a3b072ebbd342cc2b394bdca3"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc