From 41538dd2189f26dfe0dd74a426f8172d32e0c593 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Wed, 18 May 2022 16:16:12 -0700 Subject: Upgrade AuthenticatorTransport to "Future" --- packages/typescript-types/src/index.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'packages/typescript-types/src') diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts index 6381b80..a2ac847 100644 --- a/packages/typescript-types/src/index.ts +++ b/packages/typescript-types/src/index.ts @@ -148,10 +148,11 @@ export interface AuthenticatorAttestationResponseFuture extends AuthenticatorAtt } /** - * Communication methods by which an authenticator can talk with the browser to perform WebAuthn - * registration and authentication. + * A super class of TypeScript's `AuthenticatorTransport` that includes support for the latest + * transports. Should eventually be replaced by TypeScript's when TypeScript gets updated to + * know about it (sometime after 4.6.3) */ -export type AuthenticatorTransport = "ble" | "internal" | "nfc" | "usb" | "cable"; +export type AuthenticatorTransportFuture = "ble" | "internal" | "nfc" | "usb" | "cable"; /** * The two types of credentials as defined by bit 3 ("Backup Eligibility") in authenticator data: -- cgit v1.2.3