@simplewebauthn/typescript-types
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -15,2 +15,7 @@ export interface AuthenticatorAssertionResponse extends AuthenticatorResponse { | ||
} | ||
export interface AuthenticationExtensionsClientOutputs { | ||
appid?: boolean; | ||
credProps?: CredentialPropertiesOutput; | ||
uvm?: UvmEntries; | ||
} | ||
export interface AuthenticatorSelectionCriteria { | ||
@@ -62,2 +67,5 @@ authenticatorAttachment?: AuthenticatorAttachment; | ||
} | ||
export interface CredentialPropertiesOutput { | ||
rk?: boolean; | ||
} | ||
export interface Credential { | ||
@@ -67,7 +75,2 @@ readonly id: string; | ||
} | ||
export interface AuthenticationExtensionsClientOutputs { | ||
appid?: boolean; | ||
credProps?: CredentialPropertiesOutput; | ||
uvm?: UvmEntries; | ||
} | ||
export interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity { | ||
@@ -79,5 +82,2 @@ id?: string; | ||
} | ||
export interface CredentialPropertiesOutput { | ||
rk?: boolean; | ||
} | ||
export declare type AttestationConveyancePreference = "direct" | "enterprise" | "indirect" | "none"; | ||
@@ -87,2 +87,3 @@ export declare type AuthenticatorTransport = "ble" | "internal" | "nfc" | "usb"; | ||
export declare type UserVerificationRequirement = "discouraged" | "preferred" | "required"; | ||
export declare type UvmEntries = UvmEntry[]; | ||
export declare type AuthenticatorAttachment = "cross-platform" | "platform"; | ||
@@ -92,3 +93,2 @@ export declare type ResidentKeyRequirement = "discouraged" | "preferred" | "required"; | ||
export declare type PublicKeyCredentialType = "public-key"; | ||
export declare type UvmEntries = UvmEntry[]; | ||
export declare type UvmEntry = number[]; |
@@ -6,3 +6,3 @@ /** | ||
/// <reference types="node" /> | ||
import type { AuthenticatorAssertionResponse, AuthenticatorAttestationResponse, AuthenticatorTransport, COSEAlgorithmIdentifier, PublicKeyCredential, PublicKeyCredentialCreationOptions, PublicKeyCredentialDescriptor, PublicKeyCredentialRequestOptions, PublicKeyCredentialUserEntity } from './dom'; | ||
import type { AuthenticatorAssertionResponse, AuthenticatorAttestationResponse, AuthenticatorTransport, COSEAlgorithmIdentifier, PublicKeyCredential, PublicKeyCredentialCreationOptions, PublicKeyCredentialDescriptor, PublicKeyCredentialRequestOptions, PublicKeyCredentialUserEntity, AuthenticationExtensionsClientInputs, AuthenticationExtensionsClientOutputs } from './dom'; | ||
export * from './dom'; | ||
@@ -17,2 +17,3 @@ /** | ||
excludeCredentials: PublicKeyCredentialDescriptorJSON[]; | ||
extensions?: AuthenticationExtensionsClientInputs; | ||
} | ||
@@ -26,2 +27,3 @@ /** | ||
allowCredentials?: PublicKeyCredentialDescriptorJSON[]; | ||
extensions?: AuthenticationExtensionsClientInputs; | ||
} | ||
@@ -47,2 +49,3 @@ export interface PublicKeyCredentialDescriptorJSON extends Omit<PublicKeyCredentialDescriptor, 'id'> { | ||
response: AuthenticatorAttestationResponseJSON; | ||
clientExtensionResults: AuthenticationExtensionsClientOutputs; | ||
transports?: AuthenticatorTransport[]; | ||
@@ -63,2 +66,3 @@ } | ||
response: AuthenticatorAssertionResponseJSON; | ||
clientExtensionResults: AuthenticationExtensionsClientOutputs; | ||
} | ||
@@ -65,0 +69,0 @@ /** |
@@ -25,2 +25,3 @@ // n.b. ts-morph is a sibling devDependency of typescript, so that the module | ||
'AuthenticationExtensionsClientInputs', | ||
'AuthenticationExtensionsClientOutputs', | ||
'AuthenticatorSelectionCriteria', | ||
@@ -27,0 +28,0 @@ 'COSEAlgorithmIdentifier', |
{ | ||
"name": "@simplewebauthn/typescript-types", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "TypeScript types used by the @simplewebauthn series of libraries", | ||
@@ -29,3 +29,3 @@ "main": "dist/index.js", | ||
], | ||
"gitHead": "7ffbefc50b0f4009777c68b4cc338362bce29931" | ||
"gitHead": "369b9717c2f81dcfe06eb5088a9f16d2b2513e84" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14166
275