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

snowplow-tracker-core

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snowplow-tracker-core - npm Package Compare versions

Comparing version 0.7.1-beta1 to 0.7.1-beta2

20

lib/core.js

@@ -303,24 +303,10 @@ "use strict";

var event_schema = '';
var event_data = {};
var event_data = { formId: formId, elementId: elementId, nodeName: nodeName, elementClasses: elementClasses, value: value };
if (schema === 'change_form') {
event_schema = 'iglu:com.snowplowanalytics.snowplow/change_form/jsonschema/1-0-0';
event_data = {
formId: formId,
elementId: elementId,
nodeName: nodeName,
type: type,
elementClasses: elementClasses,
value: value
};
event_data.type = type;
}
else if (schema === 'focus_form') {
event_schema = 'iglu:com.snowplowanalytics.snowplow/focus_form/jsonschema/1-0-0';
event_data = {
formId: formId,
elementId: elementId,
nodeName: nodeName,
elementType: type,
elementClasses: elementClasses,
value: value
};
event_data.elementType = type;
}

@@ -327,0 +313,0 @@ return trackSelfDescribingEvent({

@@ -848,21 +848,9 @@ /*

let event_schema = '';
let event_data = {};
let event_data:any = {formId, elementId, nodeName, elementClasses, value};
if (schema === 'change_form'){
event_schema = 'iglu:com.snowplowanalytics.snowplow/change_form/jsonschema/1-0-0';
event_data = {
formId: formId,
elementId: elementId,
nodeName: nodeName,
type: type,
elementClasses: elementClasses,
value: value};
event_data.type = type
} else if (schema === 'focus_form') {
event_schema = 'iglu:com.snowplowanalytics.snowplow/focus_form/jsonschema/1-0-0';
event_data = {
formId: formId,
elementId: elementId,
nodeName: nodeName,
elementType: type,
elementClasses: elementClasses,
value: value};
event_data.elementType = type
}

@@ -869,0 +857,0 @@ return trackSelfDescribingEvent({

2

package.json
{
"name": "snowplow-tracker-core",
"version": "0.7.1-beta1",
"version": "0.7.1-beta2",
"devDependencies": {

@@ -5,0 +5,0 @@ "@types/es6-shim": "0.31.34",

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