Socket
Socket
Sign inDemoInstall

@ledgerhq/hw-transport-webusb

Package Overview
Dependencies
Maintainers
11
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/hw-transport-webusb - npm Package Compare versions

Comparing version 4.56.0 to 4.57.0

6

lib/webusb.js

@@ -8,4 +8,2 @@ "use strict";

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
var requestLedgerDevice = exports.requestLedgerDevice = function () {

@@ -110,6 +108,6 @@ var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {

var isSupported = exports.isSupported = function isSupported() {
return Promise.resolve((typeof navigator === "undefined" ? "undefined" : _typeof(navigator)) === "object" &&
return Promise.resolve(
// $FlowFixMe
_typeof(navigator.usb) === "object");
!!navigator && !!navigator.usb && typeof navigator.usb.getDevices === "function");
};
//# sourceMappingURL=webusb.js.map
{
"name": "@ledgerhq/hw-transport-webusb",
"version": "4.56.0",
"version": "4.57.0",
"description": "Ledger Hardware Wallet WebUSB implementation of the communication layer",

@@ -27,5 +27,5 @@ "keywords": [

"dependencies": {
"@ledgerhq/devices": "^4.56.0",
"@ledgerhq/devices": "^4.57.0",
"@ledgerhq/errors": "^4.56.0",
"@ledgerhq/hw-transport": "^4.56.0"
"@ledgerhq/hw-transport": "^4.57.0"
},

@@ -43,3 +43,3 @@ "devDependencies": {

},
"gitHead": "1d6830c64a54ec5f44556dedd06e72dbb32b8558"
"gitHead": "9136a95039e562cad558eebc733ae9406a5e5fc1"
}

@@ -26,5 +26,6 @@ // @flow

Promise.resolve(
typeof navigator === "object" &&
// $FlowFixMe
typeof navigator.usb === "object"
// $FlowFixMe
!!navigator &&
!!navigator.usb &&
typeof navigator.usb.getDevices === "function"
);

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