Socket
Socket
Sign inDemoInstall

@types/universal-analytics

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/universal-analytics - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

96

universal-analytics/index.d.ts

@@ -13,27 +13,27 @@ // Type definitions for universal-analytics 0.4

interface VisitorOptions {
hostname?: string;
path?: string;
https?: boolean;
enableBatching?: boolean;
batchSize?: number;
hostname?: string | undefined;
path?: string | undefined;
https?: boolean | undefined;
enableBatching?: boolean | undefined;
batchSize?: number | undefined;
/**
* Tracking ID
*/
tid?: string;
tid?: string | undefined;
/**
* Client ID
*/
cid?: string;
cid?: string | undefined;
/**
* User ID
*/
uid?: string;
debug?: boolean;
strictCidFormat?: boolean;
requestOptions?: { [key: string]: any };
headers?: { [key: string]: string };
uid?: string | undefined;
debug?: boolean | undefined;
strictCidFormat?: boolean | undefined;
requestOptions?: { [key: string]: any } | undefined;
headers?: { [key: string]: string } | undefined;
}
interface MiddlewareOptions extends VisitorOptions {
cookieName?: string;
cookieName?: string | undefined;
}

@@ -49,3 +49,3 @@

*/
dp?: string;
dp?: string | undefined;
/**

@@ -58,3 +58,3 @@ * Document Host Name

*/
dh?: string;
dh?: string | undefined;
/**

@@ -67,3 +67,3 @@ * Document Title

*/
dt?: string;
dt?: string | undefined;
/**

@@ -76,3 +76,3 @@ * Document location URL

*/
dl?: string;
dl?: string | undefined;
[key: string]: any;

@@ -92,3 +92,3 @@ }

*/
cd?: string;
cd?: string | undefined;
/**

@@ -104,3 +104,3 @@ * Application Name

*/
an?: string;
an?: string | undefined;
/**

@@ -115,3 +115,3 @@ * Application Version

*/
av?: string;
av?: string | undefined;
/**

@@ -126,3 +126,3 @@ * Application ID

*/
aid?: string;
aid?: string | undefined;
/**

@@ -137,3 +137,3 @@ * Application Installer ID

*/
aiid?: string;
aiid?: string | undefined;
[key: string]: any;

@@ -154,3 +154,3 @@ }

*/
ec?: string;
ec?: string | undefined;
/**

@@ -167,3 +167,3 @@ * Event Action

*/
ea?: string;
ea?: string | undefined;
/**

@@ -178,3 +178,3 @@ * Event Label

*/
el?: string;
el?: string | undefined;
/**

@@ -187,5 +187,5 @@ * Event Value

*/
ev?: string | number;
p?: string;
dp?: string;
ev?: string | number | undefined;
p?: string | undefined;
dp?: string | undefined;
[key: string]: any;

@@ -208,3 +208,3 @@ }

*/
ti?: string;
ti?: string | undefined;
/**

@@ -218,3 +218,3 @@ * Transaction Revenue

*/
tr?: string | number;
tr?: string | number | undefined;
/**

@@ -227,3 +227,3 @@ * Transaction Shipping

*/
ts?: string | number;
ts?: string | number | undefined;
/**

@@ -236,3 +236,3 @@ * Transaction Tax

*/
tt?: string | number;
tt?: string | number | undefined;
/**

@@ -247,4 +247,4 @@ * Transaction Affiliation

*/
ta?: string;
p?: string;
ta?: string | undefined;
p?: string | undefined;
[key: string]: any;

@@ -261,3 +261,3 @@ }

*/
ip?: string | number;
ip?: string | number | undefined;
/**

@@ -270,3 +270,3 @@ * Item Quantity

*/
iq?: string | number;
iq?: string | number | undefined;
/**

@@ -281,3 +281,3 @@ * Item Code

*/
ic?: string;
ic?: string | undefined;
/**

@@ -294,3 +294,3 @@ * Item Name

*/
in?: string;
in?: string | undefined;
/**

@@ -305,4 +305,4 @@ * Item Category

*/
iv?: string;
p?: string;
iv?: string | undefined;
p?: string | undefined;
/**

@@ -320,3 +320,3 @@ * Transaction ID

*/
ti?: string;
ti?: string | undefined;
[key: string]: any;

@@ -335,3 +335,3 @@ }

*/
exd?: string;
exd?: string | undefined;
/**

@@ -342,3 +342,3 @@ * Is Exception Fatal?

*/
exf?: boolean;
exf?: boolean | undefined;
[key: string]: any;

@@ -359,3 +359,3 @@ }

*/
utc?: string;
utc?: string | undefined;
/**

@@ -372,3 +372,3 @@ * User timing variable name

*/
utv?: string;
utv?: string | undefined;
/**

@@ -383,3 +383,3 @@ * User timing time

*/
utt?: string | number;
utt?: string | number | undefined;
/**

@@ -394,3 +394,3 @@ * User timing label

*/
utl?: string;
utl?: string | undefined;
[key: string]: any;

@@ -403,3 +403,3 @@ }

*/
cid?: string;
cid?: string | undefined;
}

@@ -406,0 +406,0 @@

{
"name": "@types/universal-analytics",
"version": "0.4.4",
"version": "0.4.5",
"description": "TypeScript definitions for universal-analytics",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/universal-analytics",
"license": "MIT",

@@ -32,4 +33,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "086b2f64ba06aba39cd0df3312201c7a05c081feef17bcb9c63c23e9aa0ee72c",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "47d7f7b51d80cf7c3dc44c466793fc9be157564e1d77828c786cd29beac0e9c2",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 13 Mar 2020 21:21:25 GMT
* Last updated: Fri, 02 Jul 2021 18:04:49 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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