summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types/src
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-12-27 20:51:40 -0800
committerMatthew Miller <matthew@millerti.me>2022-12-27 20:51:40 -0800
commitcbfa15930382f98e215c2e68103e5ac8770b22fe (patch)
treee17b6e2055007d97f07e0457219f4e660fc6f01e /packages/typescript-types/src
parent81d5cdb0960f5b7ba96cc67baf162c49056a20a5 (diff)
Be more cautious with transports
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[];
}
/**