@ledgerhq/hw-transport-u2f
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; } | ||
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
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
38891
312