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

@firestitch/analytics

Package Overview
Dependencies
Maintainers
7
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firestitch/analytics - npm Package Compare versions

Comparing version 12.2.2 to 12.2.3

1

app/providers/facebook-pixel.d.ts

@@ -7,4 +7,5 @@ import { Provider } from "./provider";

trackPage(path: string): void;
setUser(data: any): void;
addImg(): void;
get pixelId(): string;
}

@@ -6,4 +6,5 @@ import { Provider } from "./provider";

gtag(name: any, value: any, options?: {}): void;
setUser(data: any): void;
trackEvent(action: any, value?: any, options?: any): void;
get measurementId(): string;
}

@@ -7,3 +7,4 @@ import { Provider } from "./provider";

trackEvent(action: any, value?: any, options?: any): void;
setUser(data: any): void;
get containerId(): string;
}

@@ -6,3 +6,4 @@ import { Provider } from "./provider";

trackEvent(action: any, value?: any): void;
setUser(data: any): void;
get publicApiKey(): string;
}

@@ -11,2 +11,9 @@ import { Injector } from "@angular/core";

abstract trackPage(path: any): void;
abstract setUser(data: {
name?: string;
firstName?: string;
lastName?: string;
email?: string;
id?: string;
}): void;
constructor(_injector: Injector, _config: FsAnalyticsConfig, _router: Router);

@@ -13,0 +20,0 @@ get window(): any;

@@ -13,4 +13,5 @@ import { Injector } from '@angular/core';

trackEvent(action: string, data?: any): void;
setUser(data: any): void;
static ɵfac: i0.ɵɵFactoryDeclaration<FsAnalytics, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<FsAnalytics>;
}

@@ -413,2 +413,22 @@ (function (global, factory) {

};
KlaviyoProvider.prototype.setUser = function (data) {
data = Object.keys(data)
.reduce(function (accum, name) {
switch (name) {
case 'email':
accum['$email'] = data[name];
break;
case 'firstName':
accum['$first_name'] = data[name];
break;
case 'lastName':
accum['$last_name'] = data[name];
break;
default:
accum[name] = data[name];
}
return accum;
}, {});
window._learnq.push(['identify', data]);
};
Object.defineProperty(KlaviyoProvider.prototype, "publicApiKey", {

@@ -463,2 +483,4 @@ get: function () {

};
FacebookPixelProvider.prototype.setUser = function (data) {
};
FacebookPixelProvider.prototype.addImg = function () {

@@ -511,2 +533,4 @@ var img = document.createElement('img');

};
GoogleAnalyticsProvider.prototype.setUser = function (data) {
};
GoogleAnalyticsProvider.prototype.trackEvent = function (action, value, options) {

@@ -569,2 +593,4 @@ this.gtag('event', action, {

};
GoogleTagsProvider.prototype.setUser = function (data) {
};
Object.defineProperty(GoogleTagsProvider.prototype, "containerId", {

@@ -610,2 +636,7 @@ get: function () {

};
FsAnalytics.prototype.setUser = function (data) {
this._providers.forEach(function (provider) {
provider.setUser(data);
});
};
return FsAnalytics;

@@ -612,0 +643,0 @@ }());

4

esm2015/app/providers/facebook-pixel.js

@@ -35,2 +35,4 @@ import { Provider } from "./provider";

}
setUser(data) {
}
addImg() {

@@ -51,2 +53,2 @@ var img = document.createElement('img');

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmFjZWJvb2stcGl4ZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL3Byb3ZpZGVycy9mYWNlYm9vay1waXhlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBUXRDLE1BQU0sT0FBTyxxQkFBc0IsU0FBUSxRQUFRO0lBRTFDLElBQUk7UUFDVCxJQUFJLENBQUMsU0FBUyxFQUFFLENBQUM7UUFDakIsSUFBSSxDQUFDLE1BQU0sRUFBRSxDQUFDO0lBQ2hCLENBQUM7SUFFTSxVQUFVLENBQUMsTUFBVyxFQUFFLEtBQU0sRUFBRSxPQUFRO1FBQzdDLEdBQUcsQ0FBQyxPQUFPLEVBQUUsTUFBTSxrQ0FDZCxPQUFPLEtBQ1YsS0FBSyxJQUNMLENBQUM7SUFDTCxDQUFDO0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ZD0ke3RoaXMucGl4ZWxJZH0mZXY9UGFnZVZpZXcmbm9zY3JpcHQ9MWApO1xuICAgIHZhciBub3NjcmlwdCA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ25vc2NyaXB0Jyk7XG4gICAgbm9zY3JpcHQuYXBwZW5kKGltZyk7XG4gICAgdGhpcy5hcHBlbmRIZWFkKG5vc2NyaXB0KTtcbiAgfVxuXG4gIHB1YmxpYyBnZXQgcGl4ZWxJZCgpIHtcbiAgICByZXR1cm4gdGhpcy5fY29uZmlnLmZhY2Vib29rUGl4ZWw/LnBpeGVsSWQ7XG4gIH1cbn0iXX0=

@@ -23,2 +23,4 @@ import { Provider } from "./provider";

}
setUser(data) {
}
trackEvent(action, value, options) {

@@ -36,2 +38,2 @@ this.gtag('event', action, {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlLWFuYWx5dGljcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hcHAvcHJvdmlkZXJzL2dvb2dsZS1hbmFseXRpY3MudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUt0QyxNQUFNLE9BQU8sdUJBQXdCLFNBQVEsUUFBUTtJQUU1QyxJQUFJO1FBQ1QsSUFBRyxJQUFJLENBQUMsYUFBYSxFQUFFO1lBQ3JCLElBQUksQ0FBQyxTQUFTLENBQUMsK0NBQStDLElBQUksQ0FBQyxhQUFhLEVBQUUsQ0FBQyxDQUFDO1lBRXBGLElBQUksQ0FBQyxNQUFNLENBQUMsU0FBUyxHQUFHLElBQUksQ0FBQyxNQUFNLENBQUMsU0FBUyxJQUFJLEVBQUUsQ0FBQztZQUNwRCxJQUFJLENBQUMsTUFBTSxDQUFDLElBQUksR0FBRztnQkFDaEIsTUFBYyxDQUFDLFN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FsdWUsIG9wdGlvbnMgPSB7fSkge1xuICAgIHRoaXMud2luZG93Lmd0YWcobmFtZSwgdmFsdWUsIG9wdGlvbnMpO1xuICB9XG5cbiAgcHVibGljIHNldFVzZXIoZGF0YSkge1xuXG4gIH1cblxuICBwdWJsaWMgdHJhY2tFdmVudChhY3Rpb246IGFueSwgdmFsdWU/LCBvcHRpb25zPyk6IHZvaWQge1xuICAgIHRoaXMuZ3RhZygnZXZlbnQnLCBhY3Rpb24sIHtcbiAgICAgICdldmVudF9jYXRlZ29yeSc6IG9wdGlvbnM/LmNhdGVnb3J5LFxuICAgICAgJ2V2ZW50X2xhYmVsJzogb3B0aW9ucz8ubGFiZWwsXG4gICAgICAndmFsdWUnOiB2YWx1ZVxuICAgIH0pO1xuICB9XG5cbiAgcHVibGljIGdldCBtZWFzdXJlbWVudElkKCkge1xuICAgIHJldHVybiB0aGlzLl9jb25maWcuZ29vZ2xlQW5hbHl0aWNzPy5tZWFzdXJlbWVudElkO1xuICB9XG59Il19

@@ -36,2 +36,4 @@ import { Provider } from "./provider";

}
setUser(data) {
}
get containerId() {

@@ -42,2 +44,2 @@ var _a;

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ29vZ2xlLXRhZ3MuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL3Byb3ZpZGVycy9nb29nbGUtdGFncy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sWUFBWSxDQUFDO0FBUXRDLE1BQU0sT0FBTyxrQkFBbUIsU0FBUSxRQUFRO0lBRXZDLElBQUk7UUFDVCxJQUFHLElBQUksQ0FBQyxXQUFXLEVBQUU7WUFDbkIsSUFBSSxDQUFDLFNBQVMsQ0FBQyw4Q0FBOEMsSUFBSSxDQUFDLFdBQVcsRUFBRSxDQUFDLENBQUM7WUFFakY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G4gICAgICB9XG4gICAgICB9XG5cbiAgICAgIGd0YWcoJ2pzJywgbmV3IERhdGUoKSk7XG4gICAgICBndGFnKCdjb25maWcnLCB0aGlzLmNvbnRhaW5lcklkLCB7IHBhdGhfcGF0aDogdGhpcy5fcm91dGVyLnVybCB9KTtcbiAgICB9XG4gIH1cblxuICBwdWJsaWMgdHJhY2tQYWdlKHBhdGg6IHN0cmluZyk6IHZvaWQge1xuICAgIGd0YWcoJ2V2ZW50JywgJ3BhZ2VfdmlldycsIHtcbiAgICAgIHBhZ2VfcGF0aDogcGF0aCxcbiAgICAgIHNlbmRfdG86IHRoaXMuY29udGFpbmVySWRcbiAgICB9KTtcbiAgfVxuXG4gIHB1YmxpYyBndGFnKG5hbWUsIHZhbHVlLCBvcHRpb25zID0ge30pIHtcbiAgICB0aGlzLndpbmRvdy5ndGFnKG5hbWUsIHZhbHVlLCBvcHRpb25zKTtcbiAgfVxuXG4gIHB1YmxpYyB0cmFja0V2ZW50KGFjdGlvbjogYW55LCB2YWx1ZT8sIG9wdGlvbnM/KTogdm9pZCB7XG4gICAgdGhpcy5ndGFnKCdldmVudCcsIGFjdGlvbiwge1xuICAgICAgJ2V2ZW50X2NhdGVnb3J5Jzogb3B0aW9ucz8uY2F0ZWdvcnksXG4gICAgICAnZXZlbnRfbGFiZWwnOiBvcHRpb25zPy5sYWJlbCxcbiAgICAgICd2YWx1ZSc6IHZhbHVlXG4gICAgfSk7XG4gIH1cblxuICBwdWJsaWMgc2V0VXNlcihkYXRhKSB7XG5cbiAgfVxuXG4gIHB1YmxpYyBnZXQgY29udGFpbmVySWQoKSB7XG4gICAgcmV0dXJuIHRoaXMuX2NvbmZpZy5nb29nbGVUYWdzPy5jb250YWluZXJJZDtcbiAgfVxufSJdfQ==

@@ -15,2 +15,22 @@ import { Provider } from "./provider";

}
setUser(data) {
data = Object.keys(data)
.reduce((accum, name) => {
switch (name) {
case 'email':
accum['$email'] = data[name];
break;
case 'firstName':
accum['$first_name'] = data[name];
break;
case 'lastName':
accum['$last_name'] = data[name];
break;
default:
accum[name] = data[name];
}
return accum;
}, {});
window._learnq.push(['identify', data]);
}
get publicApiKey() {

@@ -21,2 +41,2 @@ var _a;

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2xhdml5by5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9hcHAvcHJvdmlkZXJzL2tsYXZpeW8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLFlBQVksQ0FBQztBQUd0QyxNQUFNLE9BQU8sZUFBZ0IsU0FBUSxRQUFRO0lBRXBDLElBQUk7UUFDUixNQUFjLENBQUMsT0FBTyxHQUFJLE1BQWMsQ0FBQyxPQUFPLElBQUksRUFBRSxDQUFDO1FBRXhELElBQUcsSUFBSSxDQUFDLFlBQVksRUFBRTtZQUNwQixJQUFJLENBQUMsU0FBUyxDQUFDLDhEQUE4RCxJQUFJLENBQUMsWUFBWSxFQUFFLENBQUMsQ0FBQztTQUNuRztJQUNILENBQUM7SUFFTSxTQUFTLENBQUMsSUFBWTtRQUMzQixJQUFJLENBQUMsVUFBVSxDQUFDLFdBQVcsRUFBRSxFQUFFLElBQUksRUFBRSxDQUFDLENBQUM7SUFDekMsQ0FBQztJQUVNLFVBQVUsQ0FBQyxNQUFXLEVBQUUsS0FBVztRQUN2QyxNQUFjLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFDLE9BQU8sRUFBRSxNQUFNLEVBQUUsS0FBSyxDQUFFLENBQUMsQ0FBQztJQUMxRCxDQUFDO0lBRUQsSUFBVyxZQUFZOztRQUNyQixPQUFPLE1BQUEsSUFBSSxDQUFDLE9BQU8sQ0FBQyxPQUFPLDBDQUFFLFlBQVksQ0FBQztJQUM1QyxDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJp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gKHdpbmRvdyBhcyBhbnkpLl9sZWFybnEucHVzaChbJ3RyYWNrJywgYWN0aW9uLCB2YWx1ZSBdKTtcbiAgfVxuICBcbiAgcHVibGljIHNldFVzZXIoZGF0YSkge1xuICAgIGRhdGEgPSBPYmplY3Qua2V5cyhkYXRhKVxuICAgICAgLnJlZHVjZSgoYWNjdW0sIG5hbWUpID0+IHtcbiAgICAgICAgc3dpdGNoKG5hbWUpIHtcbiAgICAgICAgICBjYXNlICdlbWFpbCc6XG4gICAgICAgICAgICBhY2N1bVsnJGVtYWlsJ10gPSBkYXRhW25hbWVdO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBcbiAgICAgICAgICBjYXNlICdmaXJzdE5hbWUnOlxuICAgICAgICAgICAgYWNjdW1bJyRmaXJzdF9uYW1lJ10gPSBkYXRhW25hbWVdO1xuICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBcbiAgICAgICAgICBjYXNlICdsYXN0TmFtZSc6XG4gICAgICAgICAgICBhY2N1bVsnJGxhc3RfbmFtZSddID0gZGF0YVtuYW1lXTtcbiAgICAgICAgICAgIGJyZWFrO1xuXG4gICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgIGFjY3VtW25hbWVdID0gZGF0YVtuYW1lXTtcbiAgICAgICAgfVxuXG4gICAgICAgIHJldHVybiBhY2N1bTtcbiAgICAgIH0sIHt9KTtcblxuICAgICh3aW5kb3cgYXMgYW55KS5fbGVhcm5xLnB1c2goWydpZGVudGlmeScsIGRhdGFdKTtcbiAgfVxuXG4gIHB1YmxpYyBnZXQgcHVibGljQXBpS2V5KCkge1xuICAgIHJldHVybiB0aGlzLl9jb25maWcua2xhdml5bz8ucHVibGljQXBpS2V5O1xuICB9XG59Il19

@@ -34,2 +34,2 @@ import { NavigationEnd } from "@angular/router";

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvdmlkZXIuanMiLCJzb3VyY2VSb290Ijo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TogUHJvbWlzZTx2b2lkPiB7XG4gICAgcmV0dXJuIG5ldyBQcm9taXNlKChyZXNvbHZlLCBlcnJvcikgPT4ge1xuICAgICAgdmFyIHNjcmlwdCA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ3NjcmlwdCcpOyAgICBcbiAgICAgIHNjcmlwdC5zcmMgPSBzcmM7XG4gICAgICBzY3JpcHQuc2V0QXR0cmlidXRlKCdhc3luYycsJycpO1xuICBcbiAgICAgIHNjcmlwdC5vbmxvYWQgPSAoKSA9PiB7XG4gICAgICAgIHJlc29sdmUoKTtcbiAgICAgIH07XG5cbiAgICAgIHNjcmlwdC5vbmVycm9yID0gKCkgPT4ge1xuICAgICAgICBlcnJvcigpO1xuICAgICAgfTtcbiAgXG4gICAgICB0aGlzLmFwcGVuZEhlYWQoc2NyaXB0KTtcbiAgICB9KTtcbiAgfVxuXG4gIHB1YmxpYyBhcHBlbmRIZWFkKGVsKSB7XG4gICAgZG9jdW1lbnQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoJ2hlYWQnKVswXS5hcHBlbmRDaGlsZChlbCk7XG4gIH1cbn0iXX0=

@@ -36,2 +36,7 @@ import { Inject, Injectable, Injector } from '@angular/core';

}
setUser(data) {
this._providers.forEach((provider) => {
provider.setUser(data);
});
}
}

@@ -49,2 +54,2 @@ FsAnalytics.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsAnalytics, deps: [{ token: FS_ANALYTICS_CONFIG }, { token: i0.Injector }, { token: i1.Router }], target: i0.ɵɵFactoryTarget.Injectable });

}] }, { type: i0.Injector }, { type: i1.Router }]; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5hbHl0aWNzLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL3NlcnZpY2VzL2FuYWx5dGljcy5zZXJ2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dGEpIHtcbiAgICB0aGlzLl9wcm92aWRlcnMuZm9yRWFjaCgocHJvdmlkZXIpID0+IHtcbiAgICAgIHByb3ZpZGVyLnNldFVzZXIoZGF0YSk7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==

@@ -55,2 +55,22 @@ import * as i0 from '@angular/core';

}
setUser(data) {
data = Object.keys(data)
.reduce((accum, name) => {
switch (name) {
case 'email':
accum['$email'] = data[name];
break;
case 'firstName':
accum['$first_name'] = data[name];
break;
case 'lastName':
accum['$last_name'] = data[name];
break;
default:
accum[name] = data[name];
}
return accum;
}, {});
window._learnq.push(['identify', data]);
}
get publicApiKey() {

@@ -95,2 +115,4 @@ var _a;

}
setUser(data) {
}
addImg() {

@@ -133,2 +155,4 @@ var img = document.createElement('img');

}
setUser(data) {
}
trackEvent(action, value, options) {

@@ -181,2 +205,4 @@ this.gtag('event', action, {

}
setUser(data) {
}
get containerId() {

@@ -217,2 +243,7 @@ var _a;

}
setUser(data) {
this._providers.forEach((provider) => {
provider.setUser(data);
});
}
}

@@ -219,0 +250,0 @@ FsAnalytics.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: FsAnalytics, deps: [{ token: FS_ANALYTICS_CONFIG }, { token: i0.Injector }, { token: i1.Router }], target: i0.ɵɵFactoryTarget.Injectable });

{
"name": "@firestitch/analytics",
"version": "12.2.2",
"version": "12.2.3",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

Sorry, the diff of this file is not supported yet

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