incyclist-devices 1.5.1 → 1.5.2

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.
@@ -226,7 +226,7 @@ class AntInterface extends events_1.default {
226
226
  if (!this.isConnected || !this.device)
227
227
  return true;
228
228
  const channel = sensor.getChannel();
229
- this.removeAllListeners('data');
229
+ channel.removeAllListeners('data');
230
230
  if (channel)
231
231
  return yield channel.stopSensor(sensor);
232
232
  });
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "incyclist-devices",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "dependencies": {
5
5
  "@serialport/parser-byte-length": "^9.0.1",
6
6
  "@serialport/parser-delimiter": "^9.0.1",
7
7
  "@types/serialport": "^8.0.1",
8
8
  "gd-ant-plus": "^0.0.33",
9
- "incyclist-ant-plus": "^0.1.2",
9
+ "incyclist-ant-plus": "^0.1.3",
10
10
  "win32filetime": "^1.0.2"
11
11
  },
12
12
  "peerDependencies": {