logrocket-react
Advanced tools
Comparing version 0.0.2 to 0.0.3-rc1
@@ -18,2 +18,6 @@ 'use strict'; | ||
extractEvents: function extractEvents(topLevelType, targetInst, nativeEvent) { | ||
if (topLevelType !== 'topClick' || !targetInst) { | ||
return; | ||
} | ||
var currentElement = targetInst._currentElement._owner; | ||
@@ -23,3 +27,6 @@ | ||
while (currentElement) { | ||
names.push(currentElement._currentElement.type.displayName); | ||
var name = currentElement._currentElement.type.displayName || currentElement._currentElement.type.name; | ||
if (name) { | ||
names.push(name); | ||
} | ||
currentElement = currentElement._currentElement._owner; | ||
@@ -26,0 +33,0 @@ } |
{ | ||
"name": "logrocket-react", | ||
"version": "0.0.2", | ||
"version": "0.0.3-rc1", | ||
"description": "React library for [LogRocket](https://logrocket.com/).", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
4436
29