@ledgerhq/hw-transport-webauthn
Advanced tools
Comparing version 5.0.0-alpha.5 to 5.0.0-alpha.7
@@ -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; } | ||
const attemptExchange = (apdu, timeout, scrambleKey) => { | ||
@@ -55,4 +53,3 @@ if (!scrambleKey) { | ||
super(...args); | ||
_defineProperty(this, "scrambleKey", void 0); | ||
this.scrambleKey = void 0; | ||
} | ||
@@ -98,7 +95,7 @@ | ||
_defineProperty(TransportWebAuthn, "isSupported", () => Promise.resolve(!!navigator.credentials)); | ||
TransportWebAuthn.isSupported = () => Promise.resolve(!!navigator.credentials); | ||
_defineProperty(TransportWebAuthn, "list", () => navigator.credentials ? [null] : []); | ||
TransportWebAuthn.list = () => navigator.credentials ? [null] : []; | ||
_defineProperty(TransportWebAuthn, "listen", observer => { | ||
TransportWebAuthn.listen = observer => { | ||
if (!navigator.credentials) { | ||
@@ -119,3 +116,3 @@ observer.error(new _errors.TransportError("WebAuthn not supported", "NotSupported")); | ||
}; | ||
}); | ||
}; | ||
//# sourceMappingURL=TransportWebAuthn.js.map |
{ | ||
"name": "@ledgerhq/hw-transport-webauthn", | ||
"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 WebAuthN api", | ||
@@ -29,6 +29,6 @@ "keywords": [ | ||
"dependencies": { | ||
"@ledgerhq/devices": "^5.0.0-alpha.5+a0ef7b8", | ||
"@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/devices": "^5.0.0-alpha.7+889a433", | ||
"@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" | ||
}, | ||
@@ -46,3 +46,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "a0ef7b85494f7ac7cc0ec98732586926aeb8c9c1" | ||
"gitHead": "889a4334a277e22c8cad0b16c9c890178527e6be" | ||
} |
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
28294
187