summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2023-06-25 10:36:45 -0700
committerMatthew Miller <matthew@millerti.me>2023-06-25 10:36:45 -0700
commit925c837870e189dc592ad075c9055f6ccdc93e68 (patch)
treeb296c681b994e9debcaba8da1bc76bf85165e248 /packages/typescript-types
parent9757b8172d8d025eade46bd62be0e6c3c2216ea3 (diff)
Update AuthenticatorAttestationResponseJSON
Diffstat (limited to 'packages/typescript-types')
-rw-r--r--packages/typescript-types/src/index.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts
index b8b1394..29a99ef 100644
--- a/packages/typescript-types/src/index.ts
+++ b/packages/typescript-types/src/index.ts
@@ -19,6 +19,7 @@ import type {
AuthenticatorAttachment,
PublicKeyCredentialCreationOptions,
PublicKeyCredentialRequestOptions,
+ COSEAlgorithmIdentifier,
} from './dom';
export * from './dom';
@@ -129,7 +130,12 @@ export interface AuthenticatorAttestationResponseJSON {
clientDataJSON: Base64URLString;
attestationObject: Base64URLString;
// Optional in L2, but becomes required in L3. Play it safe until L3 becomes Recommendation
+ authenticatorData?: Base64URLString;
+ // Optional in L2, but becomes required in L3. Play it safe until L3 becomes Recommendation
transports?: AuthenticatorTransportFuture[];
+ publicKey?: Base64URLString;
+ // Optional in L2, but becomes required in L3. Play it safe until L3 becomes Recommendation
+ publicKeyAlgorithm?: COSEAlgorithmIdentifier;
}
/**