diff options
author | Matthew Miller <matthew@millerti.me> | 2020-10-05 02:22:09 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-10-05 02:22:09 -0700 |
commit | 0b049415d399fdf799a6dc135b73d03fac7a5fba (patch) | |
tree | 2d35740448a33acec1de94775a1d6f5e40f9801c /packages/typescript-types/src | |
parent | 65fab90702e11dfb285ec3aa3c960a5d6b84bcea (diff) |
Use new AuthenticatorAttestationResponseFuture
Diffstat (limited to 'packages/typescript-types/src')
-rw-r--r-- | packages/typescript-types/src/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts index 23d2d99..f8f74fa 100644 --- a/packages/typescript-types/src/index.ts +++ b/packages/typescript-types/src/index.ts @@ -38,7 +38,7 @@ export interface PublicKeyCredentialUserEntityJSON * The value returned from navigator.credentials.create() */ export interface AttestationCredential extends PublicKeyCredential { - response: AuthenticatorAttestationResponse; + response: AuthenticatorAttestationResponseFuture; } /** @@ -73,7 +73,7 @@ export interface AssertionCredentialJSON * are Base64URL-encoded in the browser so that they can be sent as JSON to the server. */ export interface AuthenticatorAttestationResponseJSON - extends Omit<AuthenticatorAttestationResponse, 'clientDataJSON' | 'attestationObject'> { + extends Omit<AuthenticatorAttestationResponseFuture, 'clientDataJSON' | 'attestationObject'> { clientDataJSON: Base64URLString; attestationObject: Base64URLString; } |