diff options
author | Matthew Miller <matthew@millerti.me> | 2022-12-27 20:51:40 -0800 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2022-12-27 20:51:40 -0800 |
commit | cbfa15930382f98e215c2e68103e5ac8770b22fe (patch) | |
tree | e17b6e2055007d97f07e0457219f4e660fc6f01e /packages/typescript-types/src | |
parent | 81d5cdb0960f5b7ba96cc67baf162c49056a20a5 (diff) |
Be more cautious with transports
Diffstat (limited to 'packages/typescript-types/src')
-rw-r--r-- | packages/typescript-types/src/index.ts | 3 |
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[]; } /** |