Skip to content

Commit

Permalink
Prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Boocock committed Nov 6, 2019
1 parent b77ea49 commit 664b0b4
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 38 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
Version 2.12.0 (2019-10-31)
---------------------------
Core: Add function to allow setting Useragent (#744)
Fix OptimizelyX context collecting (#730)
Fix osx+safari testing setup issues (#760)
Fix tracker continuing to insert events up to max Local Storage quota (#764)
Fix dynamic context callbacks sometimes returning null (#743)
Fix stateStorageStrategy localStorage not increasing session counters (#718)
Update packages and test harness (#756)
Add Snowplow Micro tests (#755)

Version 2.11.0 (2019-08-28)
---------------------------
Core: Send focus_form 'type' field as 'elementType' (#731)
Expand Down
28 changes: 0 additions & 28 deletions core/CHANGELOG

This file was deleted.

7 changes: 4 additions & 3 deletions core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ npm install snowplow-tracker-core
## Example

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

// Create an instance with base 64 encoding set to false (it defaults to true)
var coreInstance = core(false);
Expand All @@ -38,7 +38,7 @@ coreInstance.setUseragent('Snowplow/0.0.1');
// Track a page view with URL and title
var pageViewPayload = coreInstance.trackPageView('http://www.example.com', 'landing page');

console.log(pageViewPayload);
console.log(pageViewPayload.build());
/*
{
'e': 'pv',
Expand All @@ -52,6 +52,7 @@ console.log(pageViewPayload);
'p': 'web',
'cd': 24,
'vp': '600x400',
'ua': 'Snowplow/0.0.1',
'dtm': 1406879959702, // timestamp
'eid': '0718a85a-45dc-4f71-a949-27870442ed7d' // UUID
}
Expand All @@ -69,7 +70,7 @@ var unstructEventPayload = coreInstance.trackUnstructEvent({
}
});

console.log(unstructEventPayload);
console.log(unstructEventPayload.build());
/*
{
'e': 'ue',
Expand Down
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "snowplow-tracker-core",
"version": "0.7.1",
"version": "0.7.2",
"devDependencies": {
"@types/es6-shim": "0.31.34",
"@types/node": "^9.6.7",
Expand Down
8 changes: 4 additions & 4 deletions npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "snowplow-tracker",
"version": "2.11.0",
"version": "2.12.0",
"dependencies": {
"browser-cookie-lite": "^1.0.4",
"jstimezonedetect": "1.0.5",
"murmurhash": "0.0.2",
"sha1": "git://github.com/pvorb/node-sha1.git#910081c83f3661507d9d89e66e3f38d8b59d5559",
"snowplow-tracker-core": "^0.7.1",
"snowplow-tracker-core": "^0.7.2",
"uuid": "^3.3.3"
},
"devDependencies": {
Expand Down

0 comments on commit 664b0b4

Please sign in to comment.