Skip to content

Commit

Permalink
chore: format and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
panaaj committed May 23, 2024
1 parent 802c5c0 commit 6c1134f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
6 changes: 5 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 6c1134f

Please sign in to comment.