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.2-beta1 to 0.7.2

2

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

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

@@ -16,3 +16,3 @@ # Snowplow JavaScript Tracker Core [![npm version][npm-image]][npm-url]

```js
var core = require('snowplow-tracker-core');
var core = require('snowplow-tracker-core').trackerCore;

@@ -42,3 +42,3 @@ // Create an instance with base 64 encoding set to false (it defaults to true)

console.log(pageViewPayload);
console.log(pageViewPayload.build());
/*

@@ -57,2 +57,3 @@ {

'vp': '600x400',
'ua': 'Snowplow/0.0.1',
'dtm': 1406879959702, // timestamp

@@ -75,3 +76,3 @@ 'eid': '0718a85a-45dc-4f71-a949-27870442ed7d' // UUID

console.log(unstructEventPayload);
console.log(unstructEventPayload.build());
/*

@@ -78,0 +79,0 @@ {

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