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.9.0-beta.4 to 0.9.0

2

package.json
{
"name": "snowplow-tracker-core",
"version": "0.9.0-beta.4",
"version": "0.9.0",
"main": "dist/cjs/index.js",

@@ -5,0 +5,0 @@ "module": "dist/esm/index.js",

@@ -9,3 +9,4 @@ # Snowplow JavaScript Tracker Core

Can be built, tested and packed locally directly with [Node](https://nodejs.org/en/) (10+) and `npm`.
Can be built, tested and packed locally directly with [Node](https://nodejs.org/en/) (10+) and `npm`.
Use `npm install`, `npm run build`, `npm run test` and `npm pack`

@@ -58,6 +59,6 @@

```js
const trackerCore = require('snowplow-tracker-core');
const trackerCore = require('snowplow-tracker-core').trackerCore;
// Create an instance with base 64 encoding set to false (it defaults to true)
const core = new trackerCore.TrackerCore(false);
const core = trackerCore(false);
```

@@ -68,6 +69,6 @@

```js
import { TrackerCore } from 'snowplow-tracker-core';
import { trackerCore } from 'snowplow-tracker-core';
// Create an instance with base 64 encoding set to false (it defaults to true)
const core = new TrackerCore(false)
const core = trackerCore(false)
```

@@ -155,3 +156,3 @@

```js
const core = new TrackerCore(true, console.log);
const core = trackerCore(true, console.log);
```

@@ -164,3 +165,3 @@

```js
const core = new TrackerCore(); // Base 64 encoding on by default
const core = trackerCore(); // Base 64 encoding on by default

@@ -167,0 +168,0 @@ core.setBase64Encoding(false); // Base 64 encoding is now off

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