Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angulartics-calq

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angulartics-calq - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

dist/angulartics-calq.min.js

@@ -1,2 +0,2 @@

!function(angular){"use strict";angular.module("angulartics.calq",["angulartics"]).config(["$analyticsProvider",function($analyticsProvider){$analyticsProvider.registerPageTrack(function(path){calq.action.trackPageView()}),$analyticsProvider.registerEventTrack(function(action,properties){calq.action.track(action,properties)}),$analyticsProvider.registerSetSuperProperties(function(properties){for(var key in properties)calq.action.setGlobalProperty(key,properties[key])}),$analyticsProvider.registerSetUsername(function(userId){calq.user.identify(userId)}),$analyticsProvider.registerSetUserProperties(function(properties){calq.user.profile(properties)})}])}(angular);
!function(angular){"use strict";angular.module("angulartics.calq",["angulartics"]).config(["$analyticsProvider",function($analyticsProvider){$analyticsProvider.registerPageTrack(function(path){try{calq.action.trackPageView()}catch(e){if(!(e instanceof ReferenceError))throw e}}),$analyticsProvider.registerEventTrack(function(action,properties){try{calq.action.track(action,properties)}catch(e){if(!(e instanceof ReferenceError))throw e}}),$analyticsProvider.registerSetSuperProperties(function(properties){try{for(var key in properties)calq.action.setGlobalProperty(key,properties[key])}catch(e){if(!(e instanceof ReferenceError))throw e}}),$analyticsProvider.registerSetUsername(function(userId){try{calq.user.identify(userId)}catch(e){if(!(e instanceof ReferenceError))throw e}}),$analyticsProvider.registerSetUserProperties(function(properties){try{calq.user.profile(properties)}catch(e){if(!(e instanceof ReferenceError))throw e}})}])}(angular);
//# sourceMappingURL=../dist/angulartics-calq.min.js.map

@@ -19,12 +19,30 @@ /**

$analyticsProvider.registerPageTrack(function (path) {
calq.action.trackPageView();
try {
calq.action.trackPageView();
} catch (e) {
if (!(e instanceof ReferenceError)) {
throw e;
}
}
});
$analyticsProvider.registerEventTrack(function (action, properties) {
calq.action.track(action, properties);
try {
calq.action.track(action, properties);
} catch (e) {
if (!(e instanceof ReferenceError)) {
throw e;
}
}
});
$analyticsProvider.registerSetSuperProperties(function (properties) {
for (var key in properties) {
calq.action.setGlobalProperty(key, properties[key]);
try {
for (var key in properties) {
calq.action.setGlobalProperty(key, properties[key]);
}
} catch (e) {
if (!(e instanceof ReferenceError)) {
throw e;
}
}

@@ -34,7 +52,19 @@ });

$analyticsProvider.registerSetUsername(function (userId) {
calq.user.identify(userId);
try {
calq.user.identify(userId);
} catch (e) {
if (!(e instanceof ReferenceError)) {
throw e;
}
}
});
$analyticsProvider.registerSetUserProperties(function (properties) {
calq.user.profile(properties);
try {
calq.user.profile(properties);
} catch (e) {
if (!(e instanceof ReferenceError)) {
throw e;
}
}
});

@@ -41,0 +71,0 @@

{
"name": "angulartics-calq",
"version": "0.1.1",
"version": "0.1.2",
"description": "Calq plugin for Angulartics",

@@ -5,0 +5,0 @@ "keywords": [

@@ -7,5 +7,2 @@ ## angulartics-calq

## Important Note
This plugin has no maintainers at the moment. If you use Calq and want to contribute with code/documentation/examples and become an active maintainer of this project, please [let us know](https://github.com/angulartics/angulartics-calq/issues/new?title=I+want+to+join+as+maintainer).
## Install

@@ -12,0 +9,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