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

gb-tracker-client

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gb-tracker-client - npm Package Compare versions

Comparing version 1.4.6 to 2.0.0

2

package.json
{
"name": "gb-tracker-client",
"version": "1.4.6",
"version": "2.0.0",
"description": "GroupBy client-side event tracker",

@@ -5,0 +5,0 @@ "keywords": [

@@ -8,7 +8,7 @@ ## GroupBy Tracking Client

```
<script src="http://cdn.groupbycloud.com/dist/gb-tracker-client-1.4.6.min.js"></scipt>
<script src="http://cdn.groupbycloud.com/dist/gb-tracker-client-2.0.0.min.js"></scipt>
```
Including it directly from the CDN will create the global variable
`_GbTracker` with the same API as below.
`GbTracker` with the same API as below.

@@ -19,3 +19,3 @@ Recommendations API can be found [here](https://github.com/groupby/gb-tracker-client/blob/master/API.md)

```javascript
var _GbTracker = require('gb-tracker-client');
var GbTracker = require('gb-tracker-client');
var gbTracker = new GbTracker('customerId', 'area');

@@ -22,0 +22,0 @@

@@ -255,3 +255,3 @@ var utils = require('./utils');

optional: false,
def: 'default'
def: 'Production'
}

@@ -288,3 +288,3 @@ },

optional: false,
def: 'Production'
def: 'default'
},

@@ -291,0 +291,0 @@ title: {

@@ -207,3 +207,3 @@ var utils = require('./utils');

optional: false,
def: 'default'
def: 'Production'
}

@@ -210,0 +210,0 @@ },

@@ -271,3 +271,3 @@ var utils = require('./utils');

optional: false,
def: 'default'
def: 'Production'
}

@@ -320,3 +320,3 @@ },

optional: false,
def: 'Production'
def: 'default'
},

@@ -323,0 +323,0 @@ title: {

@@ -336,2 +336,27 @@ var utils = require('./utils');

optional: true
},
originalRequest: {
type: 'object',
properties: {
collection: {
type: 'string',
optional: true
},
skip: {
type: 'integer',
optional: true
},
pageSize: {
type: 'integer',
optional: true
},
fields: {
type: 'array',
items: {
type: 'string'
},
optional: true
}
},
optional: true
}

@@ -462,3 +487,3 @@ },

optional: false,
def: 'default'
def: 'Production'
}

@@ -768,2 +793,29 @@ },

items: {}
},
originalRequest: {
properties: {
collection: {
maxLength: 10000,
rules: [
'trim',
'lower'
]
},
skip: {
type: 'integer'
},
pageSize: {
type: 'integer'
},
fields: {
type: 'array',
maxLength: 10000,
rules: [
'trim',
'lower'
],
items: {}
}
},
strict: true
}

@@ -770,0 +822,0 @@ },

@@ -193,3 +193,3 @@ var utils = require('./utils');

optional: false,
def: 'default'
def: 'Production'
}

@@ -196,0 +196,0 @@ },

@@ -223,3 +223,3 @@ var utils = require('./utils');

optional: false,
def: 'default'
def: 'Production'
}

@@ -244,3 +244,3 @@ },

optional: false,
def: 'Production'
def: 'default'
},

@@ -247,0 +247,0 @@ title: {

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