Comparing version 0.3.7 to 0.3.8-beta1
@@ -22,3 +22,3 @@ { | ||
], | ||
"version": "0.3.7", | ||
"version": "0.3.8-beta1", | ||
"optionalDependencies": { | ||
@@ -25,0 +25,0 @@ "usb-shyp-win32-x64": "0.3.x", |
@@ -5,2 +5,7 @@ var usb = exports = module.exports = require("bindings-shyp")("usb_bindings") | ||
// Check that libusb was initialized. | ||
if (usb.INIT_ERROR) { | ||
throw new Error('Could not initialize libusb. Check that your system has a usb controller.'); | ||
} | ||
// convenience method for finding a device by vendor and product id | ||
@@ -7,0 +12,0 @@ exports.findByIds = function(vid, pid) { |
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
60983
296