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.
Files changed (2) hide show
  1. package/index.js +4 -4
  2. 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 apiUrl = 'https://www.noforeignland.com/home/api/v1/boat/tracking/track';
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
- "apiUrl": {
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.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signalk-to-noforeignland",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "description": "SignalK track logger to noforeignland.com ",
5
5
  "main": "index.js",
6
6
  "keywords": [