jacdac-ts
Advanced tools
Comparing version 1.29.13 to 1.29.14
{ | ||
"name": "jacdac-ts", | ||
"version": "1.29.13", | ||
"version": "1.29.14", | ||
"description": "JavaScript/TypeScript library to interact with Jacdac devices", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -124,7 +124,6 @@ import { JDDevice } from "./device" | ||
get friendlyName() { | ||
const { instanceName, serviceInstanceIndex } = this | ||
let r = `${this.device.friendlyName}.${this.name}` | ||
if ( | ||
this.device.services({ serviceClass: this.serviceClass }).length > 1 | ||
) | ||
r += `[${this.serviceInstanceIndex}]` | ||
if (instanceName) r += `.${instanceName}` | ||
else if (serviceInstanceIndex > 0) r += `[${serviceInstanceIndex}]` | ||
return r | ||
@@ -131,0 +130,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45475111
212155