incyclist-services 1.0.21 → 1.0.22

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.
@@ -193,7 +193,7 @@ class DeviceConfigurationService extends events_1.default {
193
193
  });
194
194
  const key = legacyProfile ? `${legacyProtocol}-${legacyProfile}` : legacyProtocol;
195
195
  const modeInfo = modeSettings[key];
196
- if (modeInfo) {
196
+ if (modeInfo && deviceEntry) {
197
197
  deviceEntry.modes = {};
198
198
  deviceEntry.modes[modeInfo.mode] = modeInfo.settings;
199
199
  deviceEntry.mode = modeInfo.mode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "incyclist-services",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "peerDependencies": {
5
5
  "gd-eventlog": "^0.1.24"
6
6
  },
@@ -37,7 +37,7 @@
37
37
  "lib": "./src"
38
38
  },
39
39
  "dependencies": {
40
- "incyclist-devices": "^2.0.21",
40
+ "incyclist-devices": "^2.0.24",
41
41
  "uuid": "^9.0.0"
42
42
  }
43
43
  }