Comparing version 0.1.1 to 0.1.2
@@ -20,7 +20,4 @@ let _accountId; | ||
try { | ||
_userId = localStorage.getItem("_ga_uid"); | ||
if (!_userId) { | ||
_userId = id(); | ||
localStorage.setItem("_ga_uid", _userId); | ||
} | ||
_userId = localStorage.getItem("_ga_uid") || id(); | ||
localStorage.setItem("_ga_uid", _userId); | ||
} catch (localStorageBlocked) { | ||
@@ -27,0 +24,0 @@ _userId = id(); |
{ | ||
"name": "analitiks", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
1831
59