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

@amplitude/analytics-client-common

Package Overview
Dependencies
Maintainers
20
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplitude/analytics-client-common - npm Package Compare versions

Comparing version 0.6.5 to 0.7.0

2

lib/cjs/attribution/campaign-parser.js

@@ -57,3 +57,5 @@ Object.defineProperty(exports, "__esModule", { value: true });

_a[constants_1.KO_CLICK_ID] = params[constants_1.KO_CLICK_ID],
_a[constants_1.LI_FAT_ID] = params[constants_1.LI_FAT_ID],
_a[constants_1.MSCLKID] = params[constants_1.MSCLKID],
_a[constants_1.RDT_CID] = params[constants_1.RDT_CID],
_a[constants_1.TTCLID] = params[constants_1.TTCLID],

@@ -60,0 +62,0 @@ _a[constants_1.TWCLID] = params[constants_1.TWCLID],

@@ -13,3 +13,5 @@ import { Campaign } from '@amplitude/analytics-types';

export declare const KO_CLICK_ID = "ko_click_id";
export declare const LI_FAT_ID = "li_fat_id";
export declare const MSCLKID = "msclkid";
export declare const RDT_CID = "rtd_cid";
export declare const TTCLID = "ttclid";

@@ -16,0 +18,0 @@ export declare const TWCLID = "twclid";

Object.defineProperty(exports, "__esModule", { value: true });
exports.MKTG = exports.BASE_CAMPAIGN = exports.EMPTY_VALUE = exports.WBRAID = exports.TWCLID = exports.TTCLID = exports.MSCLKID = exports.KO_CLICK_ID = exports.GCLID = exports.GBRAID = exports.FBCLID = exports.DCLID = exports.UTM_TERM = exports.UTM_SOURCE = exports.UTM_MEDIUM = exports.UTM_ID = exports.UTM_CONTENT = exports.UTM_CAMPAIGN = void 0;
exports.MKTG = exports.BASE_CAMPAIGN = exports.EMPTY_VALUE = exports.WBRAID = exports.TWCLID = exports.TTCLID = exports.RDT_CID = exports.MSCLKID = exports.LI_FAT_ID = exports.KO_CLICK_ID = exports.GCLID = exports.GBRAID = exports.FBCLID = exports.DCLID = exports.UTM_TERM = exports.UTM_SOURCE = exports.UTM_MEDIUM = exports.UTM_ID = exports.UTM_CONTENT = exports.UTM_CAMPAIGN = void 0;
exports.UTM_CAMPAIGN = 'utm_campaign';

@@ -14,3 +14,5 @@ exports.UTM_CONTENT = 'utm_content';

exports.KO_CLICK_ID = 'ko_click_id';
exports.LI_FAT_ID = 'li_fat_id';
exports.MSCLKID = 'msclkid';
exports.RDT_CID = 'rtd_cid';
exports.TTCLID = 'ttclid';

@@ -34,3 +36,5 @@ exports.TWCLID = 'twclid';

ko_click_id: undefined,
li_fat_id: undefined,
msclkid: undefined,
rtd_cid: undefined,
ttclid: undefined,

@@ -37,0 +41,0 @@ twclid: undefined,

4

lib/esm/attribution/campaign-parser.js
import { __assign, __awaiter, __generator } from "tslib";
import { getQueryParams } from '../query-params';
import { UTM_CAMPAIGN, UTM_CONTENT, UTM_MEDIUM, UTM_SOURCE, UTM_TERM, GCLID, FBCLID, BASE_CAMPAIGN, DCLID, MSCLKID, TWCLID, TTCLID, KO_CLICK_ID, GBRAID, WBRAID, UTM_ID, } from './constants';
import { UTM_CAMPAIGN, UTM_CONTENT, UTM_MEDIUM, UTM_SOURCE, UTM_TERM, GCLID, FBCLID, BASE_CAMPAIGN, DCLID, MSCLKID, RDT_CID, TWCLID, TTCLID, KO_CLICK_ID, LI_FAT_ID, GBRAID, WBRAID, UTM_ID, } from './constants';
var CampaignParser = /** @class */ (function () {

@@ -55,3 +55,5 @@ function CampaignParser() {

_a[KO_CLICK_ID] = params[KO_CLICK_ID],
_a[LI_FAT_ID] = params[LI_FAT_ID],
_a[MSCLKID] = params[MSCLKID],
_a[RDT_CID] = params[RDT_CID],
_a[TTCLID] = params[TTCLID],

@@ -58,0 +60,0 @@ _a[TWCLID] = params[TWCLID],

@@ -13,3 +13,5 @@ import { Campaign } from '@amplitude/analytics-types';

export declare const KO_CLICK_ID = "ko_click_id";
export declare const LI_FAT_ID = "li_fat_id";
export declare const MSCLKID = "msclkid";
export declare const RDT_CID = "rtd_cid";
export declare const TTCLID = "ttclid";

@@ -16,0 +18,0 @@ export declare const TWCLID = "twclid";

@@ -12,3 +12,5 @@ export var UTM_CAMPAIGN = 'utm_campaign';

export var KO_CLICK_ID = 'ko_click_id';
export var LI_FAT_ID = 'li_fat_id';
export var MSCLKID = 'msclkid';
export var RDT_CID = 'rtd_cid';
export var TTCLID = 'ttclid';

@@ -32,3 +34,5 @@ export var TWCLID = 'twclid';

ko_click_id: undefined,
li_fat_id: undefined,
msclkid: undefined,
rtd_cid: undefined,
ttclid: undefined,

@@ -35,0 +39,0 @@ twclid: undefined,

{
"name": "@amplitude/analytics-client-common",
"version": "0.6.5",
"version": "0.7.0",
"description": "",

@@ -38,4 +38,4 @@ "author": "Amplitude Inc",

"@amplitude/analytics-connector": "^1.4.5",
"@amplitude/analytics-core": "^0.13.2",
"@amplitude/analytics-types": "^0.19.0",
"@amplitude/analytics-core": "^0.13.3",
"@amplitude/analytics-types": "^0.20.0",
"tslib": "^2.4.1"

@@ -46,3 +46,3 @@ },

],
"gitHead": "f7d23b7fcd3092c16fbd53ca18cf92510a83d746"
"gitHead": "6262330785394f88ffbd1ed1aaa72f48e7d50f3e"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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