Socket
Socket
Sign inDemoInstall

@benawad/expo-mixpanel-analytics

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@benawad/expo-mixpanel-analytics - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

package.json
{
"name": "@benawad/expo-mixpanel-analytics",
"version": "0.1.4",
"version": "0.1.5",
"description": "Mixpanel integration for use with React Native apps built on Expo.",

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

@@ -14,5 +14,5 @@ import { Platform, Dimensions, AsyncStorage } from "react-native";

token: string;
userId: string | null;
clientId: string;
userAgent?: string;
userId?: string | null;
clientId?: string;
userAgent?: string | null;
appName?: string;

@@ -46,3 +46,3 @@ appId?: string;

this.deviceName = Constants.deviceName;
if (isIosPlatform && Constants.platform.ios) {
if (isIosPlatform && Constants.platform && Constants.platform.ios) {
this.platform = Constants.platform.ios.platform;

@@ -83,3 +83,3 @@ this.model = Constants.platform.ios.model;

identify(userId: string) {
identify(userId?: string) {
this.userId = userId;

@@ -86,0 +86,0 @@ }

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