Skip to content

Commit

Permalink
correct user id type from string to ArrayBuffer/BufferSource (#148)
Browse files Browse the repository at this point in the history
Co-authored-by: Segev Malool <[email protected]>
  • Loading branch information
Segev Malool and Segev Malool authored Nov 19, 2023
1 parent 8f6c8b0 commit 635f4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/main.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ declare module "fido2-lib" {

interface PublicKeyCredentialCreationOptions {
rp: { name: string; id: string; icon?: string };
user: { id: string; name: string; displayName: string };
user: { id: ArrayBuffer; name: string; displayName: string };
challenge: ArrayBuffer;
pubKeyCredParams: Array<{ type: "public-key"; alg: number }>;
timeout?: number;
Expand Down

0 comments on commit 635f4ed

Please sign in to comment.