summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types/src
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-10-05 02:22:09 -0700
committerMatthew Miller <matthew@millerti.me>2020-10-05 02:22:09 -0700
commit0b049415d399fdf799a6dc135b73d03fac7a5fba (patch)
tree2d35740448a33acec1de94775a1d6f5e40f9801c /packages/typescript-types/src
parent65fab90702e11dfb285ec3aa3c960a5d6b84bcea (diff)
Use new AuthenticatorAttestationResponseFuture
Diffstat (limited to 'packages/typescript-types/src')
-rw-r--r--packages/typescript-types/src/index.ts4
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;
}