1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

Revert "PM-21553: Added support for credential.toJSON() (#14734)" (#14819)

This reverts commit df8d184889.
This commit is contained in:
Anders Åberg
2025-05-16 19:30:47 +02:00
committed by GitHub
parent 27042e8023
commit d16a5cb73e
2 changed files with 0 additions and 41 deletions

View File

@@ -88,7 +88,6 @@ export class WebauthnUtils {
getClientExtensionResults: () => ({
credProps: result.extensions.credProps,
}),
toJSON: () => Fido2Utils.createResultToJson(result),
} as PublicKeyCredential;
// Modify prototype chains to fix `instanceof` calls.
@@ -135,7 +134,6 @@ export class WebauthnUtils {
} as AuthenticatorAssertionResponse,
getClientExtensionResults: () => ({}),
authenticatorAttachment: "platform",
toJSON: () => Fido2Utils.getResultToJson(result),
} as PublicKeyCredential;
// Modify prototype chains to fix `instanceof` calls.