incyclist-services 1.7.62 → 1.7.63

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.
@@ -287,7 +287,6 @@ let DeviceConfigurationService = (() => {
287
287
  return udid;
288
288
  }
289
289
  delete(udid, capability, forceSingle = false) {
290
- this.logEvent({ message: 'delete device', udid, capability, forceSingle });
291
290
  const deviceSettings = this.settings.devices.find(d => d.udid === udid)?.settings;
292
291
  if (!deviceSettings)
293
292
  return;
@@ -308,6 +307,7 @@ let DeviceConfigurationService = (() => {
308
307
  }
309
308
  }
310
309
  if (deviceIdx !== -1) {
310
+ this.logEvent({ message: 'delete device', udid, capability, forceSingle });
311
311
  record.devices.splice(deviceIdx, 1);
312
312
  if (forceSingle) {
313
313
  this.emitCapabiltyChanged(capability);
@@ -321,6 +321,7 @@ let DeviceConfigurationService = (() => {
321
321
  }
322
322
  }
323
323
  else {
324
+ this.logEvent({ message: 'delete device', udid, capability, forceSingle });
324
325
  capabilities.forEach(c => {
325
326
  const included = c.devices.includes(udid);
326
327
  if (included)
@@ -281,7 +281,6 @@ let DeviceConfigurationService = (() => {
281
281
  return udid;
282
282
  }
283
283
  delete(udid, capability, forceSingle = false) {
284
- this.logEvent({ message: 'delete device', udid, capability, forceSingle });
285
284
  const deviceSettings = this.settings.devices.find(d => d.udid === udid)?.settings;
286
285
  if (!deviceSettings)
287
286
  return;
@@ -302,6 +301,7 @@ let DeviceConfigurationService = (() => {
302
301
  }
303
302
  }
304
303
  if (deviceIdx !== -1) {
304
+ this.logEvent({ message: 'delete device', udid, capability, forceSingle });
305
305
  record.devices.splice(deviceIdx, 1);
306
306
  if (forceSingle) {
307
307
  this.emitCapabiltyChanged(capability);
@@ -315,6 +315,7 @@ let DeviceConfigurationService = (() => {
315
315
  }
316
316
  }
317
317
  else {
318
+ this.logEvent({ message: 'delete device', udid, capability, forceSingle });
318
319
  capabilities.forEach(c => {
319
320
  const included = c.devices.includes(udid);
320
321
  if (included)
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "incyclist-services",
3
- "version": "1.7.62",
3
+ "version": "1.7.63",
4
4
  "peerDependencies": {
5
5
  "gd-eventlog": "^0.1.27"
6
6
  },
7
7
  "dependencies": {
8
8
  "@garmin/fitsdk": "^21.200.0",
9
9
  "axios": "^1.15.2",
10
- "incyclist-devices": "^3.0.18",
10
+ "incyclist-devices": "^3.0.19",
11
11
  "promise.any": "^2.0.6",
12
12
  "semver": "^7.7.4",
13
13
  "tcx-builder": "^1.1.1",