Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ledgerhq/hw-transport-u2f

Package Overview
Dependencies
Maintainers
12
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 5.0.0-alpha.5 to 5.0.0-alpha.7

20

lib/TransportU2F.js

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

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function wrapU2FTransportError(originalError, message, id) {

@@ -112,7 +110,4 @@ const err = new _errors.TransportError(message, id); // $FlowFixMe

super();
_defineProperty(this, "scrambleKey", void 0);
_defineProperty(this, "unwrap", true);
this.scrambleKey = void 0;
this.unwrap = true;
transportInstances.push(this);

@@ -168,9 +163,8 @@ }

exports.default = TransportU2F;
TransportU2F.isSupported = _u2fApi.isSupported;
_defineProperty(TransportU2F, "isSupported", _u2fApi.isSupported);
TransportU2F.list = () => // this transport is not discoverable but we are going to guess if it is here with isSupported()
(0, _u2fApi.isSupported)().then(supported => supported ? [null] : []);
_defineProperty(TransportU2F, "list", () => // this transport is not discoverable but we are going to guess if it is here with isSupported()
(0, _u2fApi.isSupported)().then(supported => supported ? [null] : []));
_defineProperty(TransportU2F, "listen", observer => {
TransportU2F.listen = observer => {
let unsubscribed = false;

@@ -195,3 +189,3 @@ (0, _u2fApi.isSupported)().then(supported => {

};
});
};
//# sourceMappingURL=TransportU2F.js.map
{
"name": "@ledgerhq/hw-transport-u2f",
"version": "5.0.0-alpha.5+a0ef7b8",
"version": "5.0.0-alpha.7+889a433",
"description": "Ledger Hardware Wallet Web implementation of the communication layer, using U2F api",

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

"dependencies": {
"@ledgerhq/errors": "^5.0.0-alpha.5+a0ef7b8",
"@ledgerhq/hw-transport": "^5.0.0-alpha.5+a0ef7b8",
"@ledgerhq/logs": "^5.0.0-alpha.5+a0ef7b8",
"@ledgerhq/errors": "^5.0.0-alpha.7+889a433",
"@ledgerhq/hw-transport": "^5.0.0-alpha.7+889a433",
"@ledgerhq/logs": "^5.0.0-alpha.7+889a433",
"u2f-api": "0.2.7"

@@ -45,3 +45,3 @@ },

},
"gitHead": "a0ef7b85494f7ac7cc0ec98732586926aeb8c9c1"
"gitHead": "889a4334a277e22c8cad0b16c9c890178527e6be"
}

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