summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types
diff options
context:
space:
mode:
Diffstat (limited to 'packages/typescript-types')
-rw-r--r--packages/typescript-types/src/index.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts
index a2ac847..b35ff4a 100644
--- a/packages/typescript-types/src/index.ts
+++ b/packages/typescript-types/src/index.ts
@@ -44,7 +44,7 @@ export interface PublicKeyCredentialRequestOptionsJSON
export interface PublicKeyCredentialDescriptorJSON
extends Omit<PublicKeyCredentialDescriptor, 'id' | 'transports'> {
id: Base64URLString;
- transports?: AuthenticatorTransport[];
+ transports?: AuthenticatorTransportFuture[];
}
export interface PublicKeyCredentialUserEntityJSON
@@ -68,7 +68,7 @@ export interface RegistrationCredentialJSON
rawId: Base64URLString;
response: AuthenticatorAttestationResponseJSON;
clientExtensionResults: AuthenticationExtensionsClientOutputs;
- transports?: AuthenticatorTransport[];
+ transports?: AuthenticatorTransportFuture[];
}
/**
@@ -123,7 +123,7 @@ export type AuthenticatorDevice = {
// Number of times this authenticator is expected to have been used
counter: number;
// From browser's `startRegistration()` -> RegistrationCredentialJSON.transports (API L2 and up)
- transports?: AuthenticatorTransport[];
+ transports?: AuthenticatorTransportFuture[];
};
/**
@@ -141,7 +141,7 @@ export type Base64URLString = string;
* Properties marked optional are not supported in all browsers.
*/
export interface AuthenticatorAttestationResponseFuture extends AuthenticatorAttestationResponse {
- getTransports?: () => AuthenticatorTransport[];
+ getTransports?: () => AuthenticatorTransportFuture[];
getAuthenticatorData?: () => ArrayBuffer;
getPublicKey?: () => ArrayBuffer;
getPublicKeyAlgorithm?: () => COSEAlgorithmIdentifier[];