We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5800e7c commit 52758efCopy full SHA for 52758ef
1 file changed
src/dev/demo/state.ts
@@ -1,17 +1,17 @@
1
import {
2
RegistrationPublicKeyCredential,
3
- RegistrationResponseJSON,
+ RegistrationResponseExtendedJSON,
4
} from "../../webauthn-json/browser-ponyfill";
5
6
-export function getRegistrations(): RegistrationResponseJSON[] {
+export function getRegistrations(): RegistrationResponseExtendedJSON[] {
7
const registrations = JSON.parse(
8
localStorage.webauthnExampleRegistrations || "[]",
9
);
10
return registrations;
11
}
12
13
export function setRegistrations(
14
- registrations: RegistrationResponseJSON[],
+ registrations: RegistrationResponseExtendedJSON[],
15
display: boolean = true,
16
): void {
17
localStorage.webauthnExampleRegistrations = JSON.stringify(
0 commit comments