Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Commit a2a5f8c

Browse files
committed
Mention .toJSON().
Technically the syntax for referring to an instance method is `PublicKeyCredential#toJSON()` but I think this is problematic. So I've avoided it.
1 parent ba5da8e commit a2a5f8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ As of March 2025, stable versions of all major browsers now support the followin
44

55
- [`PublicKeyCredential.parseCreationOptionsFromJSON(…)`](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/parseCreationOptionsFromJSON_static)
66
- [`PublicKeyCredential.parseRequestOptionsFromJSON(…)`](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential/parseCreationOptionsFromJSON_static)
7+
- [`PublicKeyCredential``.toJSON()`](https://developer.mozilla.org/en-US/docs/Web/API/PublicKeyCredential)
78

89
These should be used instead of `@github/webauthn-json`.
910

0 commit comments

Comments
 (0)