diff options
author | Matthew Miller <matthew@millerti.me> | 2022-11-03 20:42:34 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2022-11-03 20:42:34 -0700 |
commit | 7e762ee19038b63489638a040d065dcafb03ed47 (patch) | |
tree | bd1ae8d9ec4ce0730884db7e714ca2818384ad58 /packages/browser/src | |
parent | cddbe4c357a059d4dca86cf3834a4e7153383b73 (diff) |
Remove old conditionalMediationSupported
Diffstat (limited to 'packages/browser/src')
-rw-r--r-- | packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts index ffca77d..117bf4c 100644 --- a/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts +++ b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts @@ -6,12 +6,6 @@ import { PublicKeyCredentialFuture } from '@simplewebauthn/typescript-types'; * be shown to the user in the browser's typical password autofill popup. */ export async function browserSupportsWebAuthnAutofill(): Promise<boolean> { - // Just for Chrome Canary right now; the PublicKeyCredential logic below is the real API - // @ts-ignore - if (navigator.credentials.conditionalMediationSupported) { - return true; - } - /** * I don't like the `as unknown` here but there's a `declare var PublicKeyCredential` in * TS' DOM lib that's making it difficult for me to just go `as PublicKeyCredentialFuture` as I |