@ledgerhq/hw-transport-webauthn
Advanced tools
Comparing version 5.0.0-alpha.3 to 5.0.0-alpha.4
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
28517
188
1