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

zmp-ga4

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zmp-ga4 - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

2

package.json
{
"name": "zmp-ga4",
"version": "1.4.0",
"version": "1.5.0",
"author": {

@@ -5,0 +5,0 @@ "name": "Nguyễn Hồng Phát",

@@ -71,3 +71,9 @@ "use strict";

client_id: _this.propertyId,
events: _this.eventQueue
events: _this.eventQueue.map(function (_a) {
var name = _a.name, params = _a.params;
return ({
name: name,
params: __assign(__assign({}, params), { session_id: _this.userId })
});
})
})

@@ -178,3 +184,3 @@ });

name: action,
params: __assign({ engagement_time_msec: performance.now() - this.startTime, session_id: this.userId, protocol: location.protocol }, params)
params: __assign({ engagement_time_msec: performance.now() - this.startTime, protocol: location.protocol }, params)
});

@@ -181,0 +187,0 @@ clearTimeout(this.timeout);

@@ -124,3 +124,9 @@ export class AdaptiveAnalytics {

client_id: this.propertyId,
events: this.eventQueue,
events: this.eventQueue.map(({ name, params }) => ({
name,
params: {
...params,
session_id: this.userId,
},
})),
}),

@@ -142,3 +148,2 @@ }

engagement_time_msec: performance.now() - this.startTime,
session_id: this.userId,
protocol: location.protocol,

@@ -145,0 +150,0 @@ ...params,

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