@checkflow/sdk 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3978,7 +3978,7 @@ class AnalyticsTracker {
|
|
|
3978
3978
|
if (element.id) {
|
|
3979
3979
|
return `#${element.id}`;
|
|
3980
3980
|
}
|
|
3981
|
-
if (element.className) {
|
|
3981
|
+
if (element.className && typeof element.className === 'string') {
|
|
3982
3982
|
const classes = element.className.trim().split(/\s+/);
|
|
3983
3983
|
return `${element.tagName.toLowerCase()}.${classes.join('.')}`;
|
|
3984
3984
|
}
|