summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types/src
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2021-02-02 14:48:47 -0800
committerMatthew Miller <matthew@millerti.me>2021-02-02 14:48:47 -0800
commit25dec97c0f7c395cf41616973e973bd08508af85 (patch)
tree30de846192fed476b9cb1fa9a058a96f1743f1be /packages/typescript-types/src
parent406c20648cbfa6b6e47600065f0c8f7c8990d998 (diff)
Return attestationObject as Buffer
Diffstat (limited to 'packages/typescript-types/src')
-rw-r--r--packages/typescript-types/src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts
index ef6ebcc..3e14e8b 100644
--- a/packages/typescript-types/src/index.ts
+++ b/packages/typescript-types/src/index.ts
@@ -121,7 +121,7 @@ export type AuthenticatorDevice = {
// From browser's `startAttestation()` -> AttestationCredentialJSON.transports (API L2 and up)
transports?: AuthenticatorTransport[];
// If desired, store the original value of response.attestationObject for later scrutiny
- attestationObject?: Base64URLString;
+ attestationObject?: Buffer;
};
/**