homebridge-website-to-camera
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -13,5 +13,8 @@ "use strict"; | ||
for (let i = 0; i < name.length; i++) { | ||
id += name.charCodeAt(i) | ||
id += name.charCodeAt(i).toString(10); | ||
} | ||
} | ||
if (id.length > 12) { | ||
id = id.substr(0, 12); | ||
} | ||
var uuid = hap.uuid.generate("homebridge-website-to-camera:" + id); | ||
@@ -18,0 +21,0 @@ super(name, uuid, hap.Accessory.Categories.CAMERA); |
{ | ||
"name": "homebridge-website-to-camera", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "shows the screenshot of a website as camera (image)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
1813495
339