Skip to content

Commit 73062d7

Browse files
committed
fix: add missing recipeUserId field to listing credentials
1 parent 6d9d98a commit 73062d7

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

lib/build/recipe/webauthn/api/implementation.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/recipe/webauthn/types.d.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/ts/recipe/webauthn/api/implementation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,7 @@ export default function getAPIImplementation(): APIInterface {
992992
return {
993993
status: "OK",
994994
credentials: credentials.credentials.map((credential) => ({
995+
recipeUserId: credential.recipeUserId,
995996
webauthnCredentialId: credential.webauthnCredentialId,
996997
relyingPartyId: credential.relyingPartyId,
997998
createdAt: credential.createdAt,

lib/ts/recipe/webauthn/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,7 @@ export type APIInterface = {
612612
| {
613613
status: "OK";
614614
credentials: {
615+
recipeUserId: string;
615616
webauthnCredentialId: string;
616617
relyingPartyId: string;
617618
createdAt: number;

0 commit comments

Comments
 (0)