New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ravti/analytics

Package Overview
Dependencies
Maintainers
3
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ravti/analytics - npm Package Compare versions

Comparing version 21.5.2 to 21.6.0-rc1

14

lib/analytics.js

@@ -172,3 +172,11 @@ "use strict";

if (type === "identify") {
return window.analytics.identify(event, properties);
var rv = window.analytics.identify(event, properties); // Associate LogRocket callback for session URL in Segment
// https://docs.logrocket.com/docs/supporting-users
LogRocket.getSessionURL(function (sessionURL) {
window.analytics.track("LogRocket", {
sessionURL: sessionURL
});
});
return rv;
}

@@ -185,3 +193,3 @@

value: function getUserId(user, userType) {
var userId = Immutable.Map.isMap(user) ? user.get("id") : user.id;
var userId = Immutable.Map.isMap(user) ? user.get("id") : (user || {}).id;

@@ -281,3 +289,3 @@ switch (userType) {

value: function getUserId(user, userType) {
var userId = Immutable.Map.isMap(user) ? user.get("id") : user.id;
var userId = Immutable.Map.isMap(user) ? user.get("id") : (user || {}).id;

@@ -284,0 +292,0 @@ switch (userType) {

{
"name": "@ravti/analytics",
"version": "21.5.2",
"version": "21.6.0-rc1",
"description": "Ravti analytics",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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