@snowplow/browser-plugin-geolocation
Advanced tools
Comparing version 3.24.4 to 4.0.0-beta.1
/*! | ||
* Attaches Geolocation data to Snowplow events v3.24.4 (http://bit.ly/sp-js) | ||
* Attaches Geolocation data to Snowplow events v4.0.0-beta.1 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -64,3 +64,3 @@ * Licensed under BSD-3-Clause | ||
return []; | ||
} | ||
}, | ||
}; | ||
@@ -94,4 +94,4 @@ } | ||
speed: coords.speed, | ||
timestamp: Math.round(position.timestamp) | ||
} | ||
timestamp: Math.round(position.timestamp), | ||
}, | ||
}; | ||
@@ -98,0 +98,0 @@ // Ensure all trackers with geolocation enabled have the context set |
/*! | ||
* Attaches Geolocation data to Snowplow events v3.24.4 (http://bit.ly/sp-js) | ||
* Attaches Geolocation data to Snowplow events v4.0.0-beta.1 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -70,3 +70,3 @@ * Licensed under BSD-3-Clause | ||
return []; | ||
} | ||
}, | ||
}; | ||
@@ -100,4 +100,4 @@ } | ||
speed: coords.speed, | ||
timestamp: Math.round(position.timestamp) | ||
} | ||
timestamp: Math.round(position.timestamp), | ||
}, | ||
}; | ||
@@ -104,0 +104,0 @@ // Ensure all trackers with geolocation enabled have the context set |
/*! | ||
* Attaches Geolocation data to Snowplow events v3.24.4 (http://bit.ly/sp-js) | ||
* Attaches Geolocation data to Snowplow events v4.0.0-beta.1 (http://bit.ly/sp-js) | ||
* Copyright 2022 Snowplow Analytics Ltd, 2010 Anthon Pang | ||
@@ -4,0 +4,0 @@ * Licensed under BSD-3-Clause |
{ | ||
"name": "@snowplow/browser-plugin-geolocation", | ||
"version": "3.24.4", | ||
"version": "4.0.0-beta.1", | ||
"description": "Attaches Geolocation data to Snowplow events", | ||
@@ -22,4 +22,4 @@ "homepage": "http://bit.ly/sp-js", | ||
"tslib": "^2.3.1", | ||
"@snowplow/browser-tracker-core": "3.24.4", | ||
"@snowplow/tracker-core": "3.24.4" | ||
"@snowplow/browser-tracker-core": "4.0.0-beta.1", | ||
"@snowplow/tracker-core": "4.0.0-beta.1" | ||
}, | ||
@@ -48,3 +48,3 @@ "devDependencies": { | ||
"peerDependencies": { | ||
"@snowplow/browser-tracker": "~3.24.4" | ||
"@snowplow/browser-tracker": "~4.0.0-beta.1" | ||
}, | ||
@@ -51,0 +51,0 @@ "scripts": { |
@@ -13,3 +13,3 @@ # Snowplow Geolocation Tracking | ||
Part of the Snowplow JavaScript Tracker monorepo. | ||
Build with [Node.js](https://nodejs.org/en/) (18 - 20) and [Rush](https://rushjs.io/). | ||
Build with [Node.js](https://nodejs.org/en/) (14 or 16) and [Rush](https://rushjs.io/). | ||
@@ -16,0 +16,0 @@ ### Setup repository |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
54502
2
+ Added@snowplow/browser-tracker@4.0.4(transitive)
+ Added@snowplow/browser-tracker-core@4.0.0-beta.14.0.4(transitive)
+ Added@snowplow/tracker-core@4.0.0-beta.14.0.4(transitive)
+ Addeduuid@10.0.08.3.2(transitive)
- Removed@snowplow/browser-tracker@3.24.6(transitive)
- Removed@snowplow/browser-tracker-core@3.24.43.24.6(transitive)
- Removed@snowplow/tracker-core@3.24.43.24.6(transitive)
- Removeduuid@3.4.0(transitive)