incyclist-services 1.3.59 → 1.3.60

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.
@@ -614,6 +614,8 @@ class DeviceConfigurationService extends events_1.default {
614
614
  const info = [];
615
615
  udids.forEach(udid => {
616
616
  const adapter = this.adapters[udid];
617
+ if (!adapter)
618
+ return;
617
619
  info.push({ udid, adapter, capabilities: adapter.getCapabilities() });
618
620
  });
619
621
  return info;
@@ -626,6 +628,8 @@ class DeviceConfigurationService extends events_1.default {
626
628
  if (!devices.find(d => d.udid === c.selected))
627
629
  return;
628
630
  const adapter = this.adapters[c.selected];
631
+ if (!adapter)
632
+ return;
629
633
  const idx = adapters.findIndex(a => a.udid === c.selected);
630
634
  if (idx === -1) {
631
635
  adapters.push({ udid: c.selected, adapter, capabilities: [c.capability] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "incyclist-services",
3
- "version": "1.3.59",
3
+ "version": "1.3.60",
4
4
  "peerDependencies": {
5
5
  "gd-eventlog": "^0.1.26"
6
6
  },