File tree Expand file tree Collapse file tree
packages/javascript-sdk/src/fr-webauthn Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ abstract class FRWebAuthn {
132132 } catch {
133133 throw new Error ( 'Error determining conditional mediation support' ) ;
134134 }
135-
135+
136136 return false ;
137137 }
138138
@@ -377,7 +377,6 @@ abstract class FRWebAuthn {
377377 } else {
378378 // eslint-disable-next-line no-console
379379 FRLogger . warn ( 'Conditional UI was requested, but is not supported by this browser.' ) ;
380- console . warn ( 'Conditional UI was requested, but is not supported by this browser.' ) ;
381380 }
382381 }
383382
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ interface WebAuthnRegistrationMetadata {
7777}
7878
7979interface WebAuthnAuthenticationMetadata {
80- _action ?: string ;
80+ _action ?: 'webauthn_authentication' ;
8181 acceptableCredentials ?: string ;
8282 allowCredentials ?: string ;
8383 _allowCredentials ?: PublicKeyCredentialDescriptor [ ] ;
@@ -88,7 +88,7 @@ interface WebAuthnAuthenticationMetadata {
8888 userVerification : UserVerificationType ;
8989 conditionalWebAuthn ?: boolean ;
9090 extensions ?: Record < string , unknown > ;
91- _type ?: string ;
91+ _type ?: 'WebAuthn' ;
9292 supportsJsonResponse ?: boolean ;
9393}
9494
You can’t perform that action at this time.
0 commit comments