summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/typescript-types/src')
-rw-r--r--packages/typescript-types/src/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts
index 13d63bd..85f3ef5 100644
--- a/packages/typescript-types/src/index.ts
+++ b/packages/typescript-types/src/index.ts
@@ -128,7 +128,8 @@ export interface AuthenticationResponseJSON {
export interface AuthenticatorAttestationResponseJSON {
clientDataJSON: Base64URLString;
attestationObject: Base64URLString;
- transports: AuthenticatorTransportFuture[];
+ // Optional in L2, but becomes required in L3. Play it safe until L3 becomes Recommendation
+ transports?: AuthenticatorTransportFuture[];
}
/**