From 25dec97c0f7c395cf41616973e973bd08508af85 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Tue, 2 Feb 2021 14:48:47 -0800 Subject: Return attestationObject as Buffer --- packages/typescript-types/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/typescript-types/src') 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; }; /** -- cgit v1.2.3