bt-sensors-plugin-sk 1.0.2 → 1.0.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.
Files changed (3) hide show
  1. package/README.md +3 -3
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -46,12 +46,12 @@ This will be the recommended installation when the code is ready for wider shari
46
46
  From a command prompt:<br>
47
47
 
48
48
  <pre> cd ~/[some_dir]
49
- git clone https://github.com/naugehyde/ping-ac-outlet-plugin-sk
50
- cd ping_ac_outlet_plugin_sk
49
+ git clone https://github.com/naugehyde/bt-sensors-plugin-sk
50
+ cd bt-sensors-plugin-sk
51
51
  npm i
52
52
  [sudo] npm link
53
53
  cd [signalk_home]
54
- npm link ping-ac-outlet-plugin-sk</pre>
54
+ npm link bt-sensors-plugin-sk</pre>
55
55
 
56
56
  Finally, restart SK. Plugin should appear in your server plugins list.<br>
57
57
 
package/index.js CHANGED
@@ -6,7 +6,7 @@ const {bluetooth, destroy} = createBluetooth()
6
6
 
7
7
  const BTSensor = require('./BTSensor.js')
8
8
 
9
- const Device = require('./node_modules/node-ble/src/Device.js')
9
+ const Device = require('../node-ble/src/Device.js')
10
10
 
11
11
  Device.prototype.getUUIDs=async function() {
12
12
  return this.helper.prop('UUIDs')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-sensors-plugin-sk",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Bluetooth Sensors for Signalk",
5
5
  "main": "index.js",
6
6
  "dependencies": {