@ledgerhq/hw-transport-node-hid
Advanced tools
Comparing version 1.1.0-beta.9f0d7158 to 1.1.0-beta.b03dab45
@@ -397,3 +397,3 @@ "use strict"; | ||
TransportNodeHid.discover = function (cb) { | ||
TransportNodeHid.discover = function (observer) { | ||
var unsubscribed = false; | ||
@@ -413,3 +413,3 @@ function unsubscribe() { | ||
if (!unsubscribed) { | ||
cb(path); | ||
observer.onNext(path); | ||
} | ||
@@ -416,0 +416,0 @@ } |
{ | ||
"name": "@ledgerhq/hw-transport-node-hid", | ||
"version": "1.1.0-beta.9f0d7158", | ||
"version": "1.1.0-beta.b03dab45", | ||
"description": "Ledger Hardware Wallet Node implementation of the communication layer, using node-hid", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@ledgerhq/hw-transport": "^1.1.0-beta.9f0d7158", | ||
"@ledgerhq/hw-transport": "^1.1.0-beta.b03dab45", | ||
"node-hid": "^0.7.2" | ||
@@ -31,0 +31,0 @@ }, |
@@ -63,3 +63,3 @@ //@flow | ||
static discover = cb => { | ||
static discover = (observer: *) => { | ||
let unsubscribed = false; | ||
@@ -72,3 +72,3 @@ function unsubscribe() { | ||
if (!unsubscribed) { | ||
cb(path); | ||
observer.onNext(path); | ||
} | ||
@@ -75,0 +75,0 @@ } |
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
81644