Skip to content

Commit 0f6a3f6

Browse files
Undo index changes
1 parent a23dda2 commit 0f6a3f6

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

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

Lines changed: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/ts/recipe/webauthn/index.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,10 @@ export default class Wrapper {
247247
return Webauthn.getInstanceOrThrow().webJSRecipe.recoverAccount(input);
248248
}
249249

250-
static registerCredential(input: { registrationOptions: RegistrationOptions; userContext: any }): Promise<
250+
static registerCredential(input: {
251+
registrationOptions: Omit<RegistrationOptions, "fetchResponse" | "status">;
252+
userContext: any;
253+
}): Promise<
251254
| {
252255
status: "OK";
253256
registrationResponse: RegistrationResponseJSON;
@@ -267,7 +270,10 @@ export default class Wrapper {
267270
return Webauthn.getInstanceOrThrow().webJSRecipe.registerCredential(input);
268271
}
269272

270-
static authenticateCredential(input: { authenticationOptions: AuthenticationOptions; userContext: any }): Promise<
273+
static authenticateCredential(input: {
274+
authenticationOptions: Omit<AuthenticationOptions, "fetchResponse" | "status">;
275+
userContext: any;
276+
}): Promise<
271277
| {
272278
status: "OK";
273279
authenticationResponse: AuthenticationResponseJSON;

0 commit comments

Comments
 (0)