summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types/src
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-12-22 08:01:17 -0800
committerMatthew Miller <matthew@millerti.me>2020-12-22 08:01:17 -0800
commit713db8fee857d5a089c350640bf55afa84007a97 (patch)
tree420aef1b9b06075d3de7b13c497932ee41c726e3 /packages/typescript-types/src
parenta62ff95e9a16c531e2096e55b8d04f7c0d664774 (diff)
Add optional `transports` to AuthenticatorDevice
Diffstat (limited to 'packages/typescript-types/src')
-rw-r--r--packages/typescript-types/src/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts
index 436f7ff..c950398 100644
--- a/packages/typescript-types/src/index.ts
+++ b/packages/typescript-types/src/index.ts
@@ -116,6 +116,8 @@ export type AuthenticatorDevice = {
credentialID: Base64URLString;
// Number of times this device is expected to have been used
counter: number;
+ // From browser's `startAttestation()` -> AttestationCredentialJSON.transports (API L2 and up)
+ transports?: AuthenticatorTransport[];
};
/**