summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types/src
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-05-20 23:53:15 -0700
committerMatthew Miller <matthew@millerti.me>2020-05-20 23:53:15 -0700
commitdddf3c30d104de7c5fa9da055dd52ed00d8ddaf9 (patch)
tree52cbbd5412eb8b56d15c3699f89f331514033ddc /packages/typescript-types/src
parentf9610e3f3130b2c379647ad1629776c57821c6f9 (diff)
Refine type naming
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 8ab5763..8cb15de 100644
--- a/packages/typescript-types/src/index.ts
+++ b/packages/typescript-types/src/index.ts
@@ -73,7 +73,7 @@ export interface AssertionCredential extends PublicKeyCredential {
* A slightly-modified AuthenticatorAttestationResponse to simplify working with ArrayBuffers that
* are base64-encoded in the browser so that they can be sent as JSON to the server.
*/
-export interface EncodedAuthenticatorAttestationResponse extends Omit<
+export interface AuthenticatorAttestationResponseJSON extends Omit<
AuthenticatorAttestationResponse, 'clientDataJSON' | 'attestationObject'
> {
base64ClientDataJSON: string,
@@ -84,7 +84,7 @@ AuthenticatorAttestationResponse, 'clientDataJSON' | 'attestationObject'
* A slightly-modified AuthenticatorAttestationResponse to simplify working with ArrayBuffers that
* are base64-encoded in the browser so that they can be sent as JSON to the server.
*/
-export interface EncodedAuthenticatorAssertionResponse extends Omit<
+export interface AuthenticatorAssertionResponseJSON extends Omit<
AuthenticatorAssertionResponse, 'clientDataJSON' | 'authenticatorData' | 'signature'
> {
base64AuthenticatorData: string;