summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-07-04 08:16:28 -0700
committerMatthew Miller <matthew@millerti.me>2022-07-04 08:16:28 -0700
commit21f7bf8ce7562c486bfa0e4e7e4b58fcef520cf0 (patch)
tree63e22b59167d205c18e4d810a6207d24cc3bfb94
parent184cbb4457285817db4ded722d7b54528988e2e0 (diff)
Add authenticatorAttachment
-rw-r--r--packages/typescript-types/src/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts
index ce5d799..e1cfd2b 100644
--- a/packages/typescript-types/src/index.ts
+++ b/packages/typescript-types/src/index.ts
@@ -14,6 +14,7 @@ import type {
PublicKeyCredentialUserEntity,
AuthenticationExtensionsClientInputs,
AuthenticationExtensionsClientOutputs,
+ AuthenticatorAttachment,
} from './dom';
export * from './dom';
@@ -169,6 +170,8 @@ export interface PublicKeyCredentialDescriptorFuture extends Omit<PublicKeyCrede
export interface PublicKeyCredentialFuture extends PublicKeyCredential {
// See https://github.com/w3c/webauthn/issues/1745
isConditionalMediationAvailable?(): Promise<boolean>;
+ // See https://w3c.github.io/webauthn/#dom-publickeycredential-authenticatorattachment
+ authenticatorAttachment?: AuthenticatorAttachment;
}
/**