@lifefinder/vsm-mqtt-client-open-source 0.0.51 → 0.0.53

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifefinder/vsm-mqtt-client-open-source",
3
- "version": "0.0.51",
3
+ "version": "0.0.53",
4
4
  "description": "MQTT client for vsm sensors",
5
5
  "main": "vsm-mqtt-client.js",
6
6
  "author": "Lars Mats",
package/rules.js CHANGED
@@ -217,7 +217,7 @@ const rules = [
217
217
  console.log("Almanac update: Attempted")
218
218
 
219
219
  // Run this asynchronously rather than wait
220
- if (!solver.api.downlinkAlmanac) {
220
+ if (!solver.api.loadAlmanac) {
221
221
  console.log("Almanac update: failed No API")
222
222
  return next;
223
223
  }
package/solvers/none.js CHANGED
@@ -33,7 +33,7 @@ module.exports.api = {
33
33
  if (!args.k)
34
34
  return undefined;
35
35
  // The almanac loading procedure may be valid also for non-loracloud solvers
36
- return loraCloudLoadAlmanac.loadAlmanac(args);
36
+ return loraCloudLoadAlmanac(args);
37
37
  },
38
38
  checkArgumentsOrExit: (args)=>{if (args.k) console.log("No position solver, using loracloud key (-k) for almanac downloads") },
39
39
  getVersionString: ()=>"No Position Solver",