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

@aircall/tracker

Package Overview
Dependencies
Maintainers
3
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aircall/tracker - npm Package Compare versions

Comparing version 3.1.3 to 3.2.1

dist/index.d.mts

40

dist/index.d.ts

@@ -0,1 +1,21 @@

declare enum TRACKER {
INIT = "TRACKER_INIT",
TRACK = "TRACKER_TRACK",
PAGE = "TRACKER_PAGE"
}
interface TrackerAction {
type: TRACKER.TRACK;
message: string;
properties: object;
}
interface PageAction {
type: TRACKER.PAGE;
properties: object;
}
declare const initTracker: () => {
type: TRACKER.INIT;
};
declare const track: (message: string, properties?: object) => TrackerAction;
declare const page: (properties?: object) => PageAction;
declare enum TRACKER_ENVIRONMENT {

@@ -83,22 +103,2 @@ DEVELOPMENT = "development",

declare enum TRACKER {
INIT = "TRACKER_INIT",
TRACK = "TRACKER_TRACK",
PAGE = "TRACKER_PAGE"
}
interface TrackerAction {
type: TRACKER.TRACK;
message: string;
properties: object;
}
interface PageAction {
type: TRACKER.PAGE;
properties: object;
}
declare const initTracker: () => {
type: TRACKER.INIT;
};
declare const track: (message: string, properties?: object) => TrackerAction;
declare const page: (properties?: object) => PageAction;
export { CompanyTrackerIdentification, ICompanyBillingPeriod, ICompanyPlan, ICompanyTierLevel, IUserOS, PageAction, TRACKER, TRACKER_ENVIRONMENT, Tracker, TrackerAction, TrackerContext, TrackerIdentification, TrackerOptions, defaultIdentification, initTracker, page, track };

@@ -25,3 +25,21 @@ 'use strict';

// src/Tracker.ts
// src/actions.ts
var TRACKER = /* @__PURE__ */ ((TRACKER2) => {
TRACKER2["INIT"] = "TRACKER_INIT";
TRACKER2["TRACK"] = "TRACKER_TRACK";
TRACKER2["PAGE"] = "TRACKER_PAGE";
return TRACKER2;
})(TRACKER || {});
var initTracker = () => ({
type: "TRACKER_INIT" /* INIT */
});
var track = (message, properties = {}) => ({
type: "TRACKER_TRACK" /* TRACK */,
message,
properties
});
var page = (properties = {}) => ({
type: "TRACKER_PAGE" /* PAGE */,
properties
});
var RUDDERSTACK_DATA_PLANE_URL = "https://aircall-dataplane.rudderstack.com";

@@ -121,22 +139,2 @@ var TRACKER_ENVIRONMENT = /* @__PURE__ */ ((TRACKER_ENVIRONMENT2) => {

// src/actions.ts
var TRACKER = /* @__PURE__ */ ((TRACKER2) => {
TRACKER2["INIT"] = "TRACKER_INIT";
TRACKER2["TRACK"] = "TRACKER_TRACK";
TRACKER2["PAGE"] = "TRACKER_PAGE";
return TRACKER2;
})(TRACKER || {});
var initTracker = () => ({
type: "TRACKER_INIT" /* INIT */
});
var track = (message, properties = {}) => ({
type: "TRACKER_TRACK" /* TRACK */,
message,
properties
});
var page = (properties = {}) => ({
type: "TRACKER_PAGE" /* PAGE */,
properties
});
exports.TRACKER = TRACKER;

@@ -143,0 +141,0 @@ exports.TRACKER_ENVIRONMENT = TRACKER_ENVIRONMENT;

{
"name": "@aircall/tracker",
"version": "3.1.3",
"version": "3.2.1",
"main": "dist/index.js",

@@ -35,6 +35,6 @@ "module": "dist/index.mjs",

"eslint": "8.30.0",
"@aircall/eslint-config": "1.2.5",
"@aircall/eslint-config": "1.3.1",
"size-limit": "8.1.0",
"@aircall/tsconfig": "1.3.1",
"tsup": "6.7.0",
"@aircall/tsconfig": "1.4.0",
"tsup": "7.1.0",
"tslib": "2.4.0",

@@ -49,4 +49,5 @@ "jest-environment-jsdom": "29.5.0"

"lint": "eslint --ext ts src",
"size": "size-limit"
"size": "size-limit",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
}
}

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