Socket
Socket
Sign inDemoInstall

vue-analytics

Package Overview
Dependencies
0
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.20.2 to 5.21.0

2

package.json
{
"name": "vue-analytics",
"version": "5.20.2",
"version": "5.21.0",
"description": "Google Analytics plugin for Vue",

@@ -5,0 +5,0 @@ "repository": {

@@ -7,10 +7,12 @@

interface EventPayload {
eventCategory: string;
eventAction?: string;
eventLabel?: string;
eventValue?: number;
}
interface eventFn {
(category: string, action?: string, label?: string, value?: number): void;
(options: {
eventCategory: string,
eventAction?: string,
eventLabel?: string,
eventValue?: number
}): void;
(options: EventPayload): void;
}

@@ -40,19 +42,23 @@

interface SocialPayload {
socialNetwork: string;
socialAction: string;
socialTarget: string;
}
interface socialFn {
(network: string, action: string, target: string): void;
(options: {
socialNetwork: string,
socialAction: string,
socialTarget: string
}): void;
(options: SocialPayload): void;
}
interface TimePayload {
timingCategory: string;
timingVar: string;
timingValue: number;
timingLabel: string;
}
interface timeFn {
(category: string, variable: string, value: number, label: string): void;
(options: {
timingCategory: string,
timingVar: string,
timingValue: number,
timingLabel: string
}): void;
(options: TimePayload): void;
}

@@ -164,8 +170,10 @@

interface ScreenViewPayload {
screenName: string;
[otherProperties: string]: any;
}
interface screenviewFn {
(screen: string) :void;
(option: {
screenName: string;
[otherProperties: string]: any;
}): void;
(option: ScreenViewPayload): void;
}

@@ -172,0 +180,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc