fleetmap-reports 1.0.270 → 1.0.271

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetmap-reports",
3
- "version": "1.0.270",
3
+ "version": "1.0.271",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -241,6 +241,7 @@ async function getHereEvents(devices, routes, threshold){
241
241
  const positions = routes.filter(p => p.deviceId === d.id)
242
242
  try {
243
243
  const results = await here.routeMatch(positions)
244
+ console.log('results', results)
244
245
  const hereAlerts = results.filter(r => r.currentSpeedKmh > (r.speedLimit + threshold)).map(r => {
245
246
  const position = positions.find(p => new Date(p.fixTime).getTime() === r.timestamp)
246
247
  return {