diff --git a/CHANGELOG.md b/CHANGELOG.md index b215589..e7a8eab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG: @signalk/course-provider +## v1.0.2 + +- **Fixed**: - Remove erroneous unit conversion in TTG calculation. + ## v1.0.1 - **Update**: - Change plugin catagory keyword to `signalk-category-utility`. diff --git a/package.json b/package.json index 40359b4..6f5420e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@signalk/course-provider", - "version": "1.0.1", + "version": "1.0.2", "description": "Course data provider plugin for SignalK Server.", "main": "plugin/index.js", "keywords": [ diff --git a/src/index.ts b/src/index.ts index 253cfe4..8a4049b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -298,7 +298,11 @@ module.exports = (server: CourseComputerApp): Plugin => { watchArrival.value = result.gc?.distance ?? -1 watchPassedDest.value = result.passedPerpendicular ? 1 : 0 courseCalcs = result - server.handleMessage(plugin.id, buildDeltaMsg(courseCalcs as CourseData), 'v2') + server.handleMessage( + plugin.id, + buildDeltaMsg(courseCalcs as CourseData), + 'v2' + ) server.debug(`*** course data delta sent***`) if (!metaSent) { server.handleMessage(plugin.id, buildMetaDeltaMsg(), 'v2')