Socket
Socket
Sign inDemoInstall

@ledgerhq/hw-transport-webauthn

Package Overview
Dependencies
Maintainers
12
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 5.0.0-alpha.3 to 5.0.0-alpha.4

13

lib/TransportWebAuthn.js

@@ -18,2 +18,4 @@ "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; }
const attemptExchange = (apdu, timeout, scrambleKey) => {

@@ -53,3 +55,4 @@ if (!scrambleKey) {

super(...args);
this.scrambleKey = void 0;
_defineProperty(this, "scrambleKey", void 0);
}

@@ -95,7 +98,7 @@

TransportWebAuthn.isSupported = () => Promise.resolve(!!navigator.credentials);
_defineProperty(TransportWebAuthn, "isSupported", () => Promise.resolve(!!navigator.credentials));
TransportWebAuthn.list = () => navigator.credentials ? [null] : [];
_defineProperty(TransportWebAuthn, "list", () => navigator.credentials ? [null] : []);
TransportWebAuthn.listen = observer => {
_defineProperty(TransportWebAuthn, "listen", observer => {
if (!navigator.credentials) {

@@ -116,3 +119,3 @@ observer.error(new _errors.TransportError("WebAuthn not supported", "NotSupported"));

};
};
});
//# sourceMappingURL=TransportWebAuthn.js.map
{
"name": "@ledgerhq/hw-transport-webauthn",
"version": "5.0.0-alpha.3+0b49d08",
"version": "5.0.0-alpha.4+d82e4bd",
"description": "Ledger Hardware Wallet Web implementation of the communication layer, using WebAuthN api",

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

"dependencies": {
"@ledgerhq/devices": "^5.0.0-alpha.3+0b49d08",
"@ledgerhq/errors": "^5.0.0-alpha.3+0b49d08",
"@ledgerhq/hw-transport": "^5.0.0-alpha.3+0b49d08",
"@ledgerhq/logs": "^5.0.0-alpha.3+0b49d08"
"@ledgerhq/devices": "^5.0.0-alpha.4+d82e4bd",
"@ledgerhq/errors": "^5.0.0-alpha.4+d82e4bd",
"@ledgerhq/hw-transport": "^5.0.0-alpha.4+d82e4bd",
"@ledgerhq/logs": "^5.0.0-alpha.4+d82e4bd"
},

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

},
"gitHead": "0b49d08dedc19562fefbd2148292cc0995a0d4ae"
"gitHead": "d82e4bd88e12b3d41c5dc6d7fb32944466b1cbcf"
}

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