incyclist-devices 1.4.75 → 1.4.76

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.
@@ -368,7 +368,7 @@ class BleInterface extends ble_1.BleInterfaceClass {
368
368
  this.logEvent({ message: 'trying to create device', peripheral: peripheral.address, characteristics: cids, profile: device.getProfile() });
369
369
  const existingDevice = this.devices.find(i => i.device.id === device.id && i.device.getProfile() === device.getProfile());
370
370
  if (existingDevice)
371
- return existingDevice;
371
+ return existingDevice.device;
372
372
  device.setInterface(this);
373
373
  if (characteristics && device.isMatching(cids)) {
374
374
  device.characteristics = characteristics;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "incyclist-devices",
3
- "version": "1.4.75",
3
+ "version": "1.4.76",
4
4
  "dependencies": {
5
5
  "@serialport/parser-byte-length": "^9.0.1",
6
6
  "@serialport/parser-delimiter": "^9.0.1",