Skip to content

Commit 664b0b4

Browse files
author
Paul Boocock
committed
Prepare for release
1 parent b77ea49 commit 664b0b4

File tree

6 files changed

+22
-38
lines changed

6 files changed

+22
-38
lines changed

CHANGELOG

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
Version 2.12.0 (2019-10-31)
2+
---------------------------
3+
Core: Add function to allow setting Useragent (#744)
4+
Fix OptimizelyX context collecting (#730)
5+
Fix osx+safari testing setup issues (#760)
6+
Fix tracker continuing to insert events up to max Local Storage quota (#764)
7+
Fix dynamic context callbacks sometimes returning null (#743)
8+
Fix stateStorageStrategy localStorage not increasing session counters (#718)
9+
Update packages and test harness (#756)
10+
Add Snowplow Micro tests (#755)
11+
112
Version 2.11.0 (2019-08-28)
213
---------------------------
314
Core: Send focus_form 'type' field as 'elementType' (#731)

core/CHANGELOG

Lines changed: 0 additions & 28 deletions
This file was deleted.

core/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ npm install snowplow-tracker-core
1313
## Example
1414

1515
```js
16-
var core = require('snowplow-tracker-core');
16+
var core = require('snowplow-tracker-core').trackerCore;
1717

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

41-
console.log(pageViewPayload);
41+
console.log(pageViewPayload.build());
4242
/*
4343
{
4444
'e': 'pv',
@@ -52,6 +52,7 @@ console.log(pageViewPayload);
5252
'p': 'web',
5353
'cd': 24,
5454
'vp': '600x400',
55+
'ua': 'Snowplow/0.0.1',
5556
'dtm': 1406879959702, // timestamp
5657
'eid': '0718a85a-45dc-4f71-a949-27870442ed7d' // UUID
5758
}
@@ -69,7 +70,7 @@ var unstructEventPayload = coreInstance.trackUnstructEvent({
6970
}
7071
});
7172

72-
console.log(unstructEventPayload);
73+
console.log(unstructEventPayload.build());
7374
/*
7475
{
7576
'e': 'ue',

core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "snowplow-tracker-core",
3-
"version": "0.7.1",
3+
"version": "0.7.2",
44
"devDependencies": {
55
"@types/es6-shim": "0.31.34",
66
"@types/node": "^9.6.7",

npm-shrinkwrap.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"name": "snowplow-tracker",
3-
"version": "2.11.0",
3+
"version": "2.12.0",
44
"dependencies": {
55
"browser-cookie-lite": "^1.0.4",
66
"jstimezonedetect": "1.0.5",
77
"murmurhash": "0.0.2",
88
"sha1": "git://github.com/pvorb/node-sha1.git#910081c83f3661507d9d89e66e3f38d8b59d5559",
9-
"snowplow-tracker-core": "^0.7.1",
9+
"snowplow-tracker-core": "^0.7.2",
1010
"uuid": "^3.3.3"
1111
},
1212
"devDependencies": {

0 commit comments

Comments
 (0)