signalk-to-noforeignland 0.1.12 → 0.1.13

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -402,7 +402,7 @@ module.exports = function (app) {
402
402
  try {
403
403
  const point = JSON.parse(line);
404
404
  if (isValidLatitude(point.lat) && isValidLongitude(point.lon)) {
405
- track.push([point.ms,point.lat, point.lon])
405
+ track.push([point.t,point.lat, point.lon])
406
406
  lastTimestamp = point.t
407
407
  }
408
408
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signalk-to-noforeignland",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "SignalK track logger to noforeignland.com ",
5
5
  "main": "index.js",
6
6
  "keywords": [