Socket
Socket
Sign inDemoInstall

@ledgerhq/hw-transport-node-hid

Package Overview
Dependencies
Maintainers
5
Versions
399
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/hw-transport-node-hid - npm Package Compare versions

Comparing version 1.1.0-beta.9f0d7158 to 1.1.0-beta.b03dab45

4

lib/TransportNodeHid.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc