@sailingnaturali/signalk-dsc 0.1.2 → 0.1.3
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/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -161,7 +161,7 @@ module.exports = function makePlugin(app) {
|
|
|
161
161
|
Authorization: `Bearer ${options.logbookToken}`,
|
|
162
162
|
Cookie: `JAUTHENTICATION=${options.logbookToken}`,
|
|
163
163
|
},
|
|
164
|
-
body: JSON.stringify({ text: buildLogbookText(event, messageContext(event)), ago: 0 }),
|
|
164
|
+
body: JSON.stringify({ text: buildLogbookText(event, messageContext(event)), ago: 0, category: 'radio' }),
|
|
165
165
|
});
|
|
166
166
|
if (!res.ok) throw new Error(`HTTP ${res.status}`);
|
|
167
167
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sailingnaturali/signalk-dsc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Receive, log, and alert on DSC (VHF digital selective calling) calls — distress, urgency, safety, routine — from NMEA 0183 ($CDDSC/$CDDSE) and NMEA 2000 (PGN 129808).",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|