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

@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-babel7.1 to 5.0.0-babel7.3

25

lib/TransportWebAuthn.js

@@ -98,19 +98,20 @@ "use strict";

TransportWebAuthn.listen = observer => {
if (!navigator.credentials) {
observer.error(new _errors.TransportError("WebAuthn not supported", "NotSupported"));
return {
unsubscribe: () => {}
};
}
setTimeout(() => {
if (!navigator.credentials) {
observer.error(new _errors.TransportError("WebAuthn not supported", "NotSupported"));
return {
unsubscribe: () => {}
};
}
observer.next({
type: "add",
descriptor: null
});
observer.complete();
observer.next({
type: "add",
descriptor: null
});
observer.complete();
}, 0);
return {
unsubscribe: () => {}
};
if (sub) sub.unsubscribe();
};
//# sourceMappingURL=TransportWebAuthn.js.map
{
"name": "@ledgerhq/hw-transport-webauthn",
"version": "5.0.0-babel7.1+8dc0cb0",
"version": "5.0.0-babel7.3+8372cbd",
"description": "Ledger Hardware Wallet Web implementation of the communication layer, using WebAuthN api",

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

"dependencies": {
"@ledgerhq/devices": "^5.0.0-babel7.1+8dc0cb0",
"@ledgerhq/errors": "^5.0.0-babel7.1+8dc0cb0",
"@ledgerhq/hw-transport": "^5.0.0-babel7.1+8dc0cb0",
"@ledgerhq/logs": "^5.0.0-babel7.1+8dc0cb0"
"@ledgerhq/devices": "^5.0.0-babel7.3+8372cbd",
"@ledgerhq/errors": "^5.0.0-babel7.3+8372cbd",
"@ledgerhq/hw-transport": "^5.0.0-babel7.3+8372cbd",
"@ledgerhq/logs": "^5.0.0-babel7.3+8372cbd"
},

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

},
"gitHead": "8dc0cb0b8648b437f2a9227d0232de772369b128"
"gitHead": "8372cbd7a20effd14e4885a69877fd35fc0fde06"
}

@@ -61,12 +61,13 @@ //@flow

static listen = (observer: *) => {
if (!navigator.credentials) {
observer.error(
new TransportError("WebAuthn not supported", "NotSupported")
);
return { unsubscribe: () => {} };
}
observer.next({ type: "add", descriptor: null });
observer.complete();
return { unsubscribe: () => {} }; if (sub) sub.unsubscribe();
setTimeout(() => {
if (!navigator.credentials) {
observer.error(
new TransportError("WebAuthn not supported", "NotSupported")
);
return { unsubscribe: () => {} };
}
observer.next({ type: "add", descriptor: null });
observer.complete();
}, 0);
return { unsubscribe: () => {} };
};

@@ -73,0 +74,0 @@

Sorry, the diff of this file is not supported yet

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