@meri-imperiumi/signalk-triplogger 1.2.0 → 1.3.0
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/Logger.js +3 -0
- package/README.md +2 -0
- package/index.js +1 -1
- package/package.json +1 -1
package/Logger.js
CHANGED
package/README.md
CHANGED
|
@@ -6,6 +6,8 @@ The plugin monitors vessel `navigation.state` as set by the [signalk-autostate](
|
|
|
6
6
|
|
|
7
7
|
## Changes
|
|
8
8
|
|
|
9
|
+
* 1.3.0 (June 10th 2026)
|
|
10
|
+
- Don't start a new trip at startup if there's an ongoing one
|
|
9
11
|
* 1.2.0 (April 27th 2023)
|
|
10
12
|
- Added support for populating `navigation.log` for totals
|
|
11
13
|
* 1.1.1 (February 28th 2023)
|
package/index.js
CHANGED
|
@@ -181,7 +181,7 @@ module.exports = (app) => {
|
|
|
181
181
|
handleState(v.value);
|
|
182
182
|
}
|
|
183
183
|
if (v.path === 'navigation.position') {
|
|
184
|
-
if (Number.isNaN(Number(v.value.latitude))
|
|
184
|
+
if (!v.path || Number.isNaN(Number(v.value.latitude))
|
|
185
185
|
|| Number.isNaN(Number(v.value.longitude))) {
|
|
186
186
|
return;
|
|
187
187
|
}
|