signalk-to-noforeignland 0.1.16 → 0.1.17
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 +4 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -10,15 +10,15 @@ const fetch = require('node-fetch');
|
|
|
10
10
|
const isReachable = require('is-reachable');
|
|
11
11
|
const sendEmail = require('./sendEmail');
|
|
12
12
|
const createGPX = require('./createGPX');
|
|
13
|
-
const
|
|
13
|
+
const defaultApiUrl = 'https://www.noforeignland.com/home/api/v1/boat/tracking/track';
|
|
14
14
|
const pluginApiKey = '0ede6cb6-5213-45f5-8ab4-b4836b236f97';
|
|
15
15
|
// const msToKn = 1.944;
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
module.exports = function(app) {
|
|
19
19
|
var plugin = {};
|
|
20
|
-
plugin.id = 'signalk-to-noforeignland';
|
|
21
|
-
plugin.name = 'SignalK to Noforeignland';
|
|
20
|
+
plugin.id = 'signalk-to-noforeignland-beta';
|
|
21
|
+
plugin.name = 'SignalK to Noforeignland-beta';
|
|
22
22
|
plugin.description = 'SignalK track logger to noforeignland.com';
|
|
23
23
|
|
|
24
24
|
plugin.schema = {
|
|
@@ -90,7 +90,7 @@ module.exports = function(app) {
|
|
|
90
90
|
"description": "Keeps your boat active on NFL in your current location even if you do not move",
|
|
91
91
|
"default": true
|
|
92
92
|
},
|
|
93
|
-
"
|
|
93
|
+
"defaultApiUrl": {
|
|
94
94
|
"type": "string",
|
|
95
95
|
"title": "NFL tracking API endpoint",
|
|
96
96
|
"description": "Change only if NFL gives you a different endpoint.",
|