Comparing version 9.0.2 to 9.0.3
10
index.js
@@ -145,2 +145,12 @@ const events = require('events'); | ||
close() { | ||
if (this.hid && this.hid.close) { | ||
this.hid.close(); | ||
} | ||
if (this.connected) { | ||
this.connected = false; | ||
this.emit('close'); | ||
} | ||
} | ||
disconnect() { | ||
@@ -147,0 +157,0 @@ if (this.hid && this.hid.close) { |
{ | ||
"name": "arcticfox", | ||
"version": "9.0.2", | ||
"version": "9.0.3", | ||
"description": "Module that abstracts the HID communication with the ArcticFox firmware", | ||
@@ -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
74962
929