incyclist-devices 1.4.37 → 1.4.38

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.
@@ -332,7 +332,7 @@ class BleInterface extends ble_1.BleInterfaceClass {
332
332
  return;
333
333
  const C = DeviceClass;
334
334
  const d = new C({ peripheral });
335
- if (device.getProfile && device.getProfile() !== d.getProfile())
335
+ if (device && device.getProfile && device.getProfile() !== d.getProfile())
336
336
  return;
337
337
  d.setInterface(this);
338
338
  if (scanForDevice) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "incyclist-devices",
3
- "version": "1.4.37",
3
+ "version": "1.4.38",
4
4
  "dependencies": {
5
5
  "@serialport/parser-byte-length": "^9.0.1",
6
6
  "@serialport/parser-delimiter": "^9.0.1",