bt-sensors-plugin-sk 1.2.0-beta.0.1.2.a → 1.2.0-beta.0.1.2.b
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/README.md +5 -0
- package/classLoader.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/classLoader.js
CHANGED
|
@@ -20,7 +20,7 @@ const semver = require('semver')
|
|
|
20
20
|
const _classMap = loadClasses(path.join(__dirname, 'sensor_classes'))
|
|
21
21
|
const classMap = new Map([..._classMap].filter(([k, v]) => !k.startsWith("_") ))
|
|
22
22
|
const libPath = app.config.appPath +(
|
|
23
|
-
semver.
|
|
23
|
+
semver.gt(app.config.version,"2.13.5")?"dist":"lib"
|
|
24
24
|
)
|
|
25
25
|
import(libPath+"/modules.js").then( (modulesjs)=>{
|
|
26
26
|
const { default:defaultExport} = modulesjs
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bt-sensors-plugin-sk",
|
|
3
|
-
"version": "1.2.0-beta.0.1.2.
|
|
3
|
+
"version": "1.2.0-beta.0.1.2.b",
|
|
4
4
|
"description": "Bluetooth Sensors for Signalk -- support for Victron devices, RuuviTag, Xiaomi, ATC and Inkbird, Ultrasonic wind meters, Mopeka tank readers, Renogy Battery and Solar Controllers, Aranet4 environment sensors, SwitchBot temp and humidity sensors, KilovaultHLXPlus smart batteries, and Govee GVH51xx temp sensors",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"dependencies": {
|