@dfns/sdk
Advanced tools
Comparing version 0.4.0-alpha.2 to 0.4.0
@@ -32,2 +32,4 @@ import { Email, EntityId, IntegerPositiveStrict, IsoDatetime, Username } from '../Foundations'; | ||
allowCredentials: AllowCredentials; | ||
attestation: AuthenticatorAttestationOptions; | ||
userVerification: AuthenticatorRequirementOptions; | ||
}; | ||
@@ -34,0 +36,0 @@ export type UserLogin = { |
{ | ||
"name": "@dfns/sdk", | ||
"version": "0.4.0-alpha.2", | ||
"version": "0.4.0", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "buffer": "6.0.3", |
export type CredentialFactor = 'first' | 'second' | 'either'; | ||
export type CredentialKind = 'Key' | 'Fido2' | 'Password' | 'Totp' | 'RecoveryKey'; | ||
export type CredentialTransport = 'usb' | 'nfc' | 'ble' | 'internal'; | ||
export type UserVerificationRequirement = 'required' | 'preferred' | 'discouraged'; | ||
export type AllowCredential = { | ||
@@ -27,2 +28,3 @@ type: 'public-key'; | ||
}; | ||
userVerification: UserVerificationRequirement; | ||
}; | ||
@@ -29,0 +31,0 @@ export type KeyAssertion = { |
@@ -1,5 +0,4 @@ | ||
import { AllowCredential, CredentialKind } from './signer'; | ||
import { AllowCredential, CredentialKind, UserVerificationRequirement } from './signer'; | ||
export type AuthenticatorAttachment = 'platform' | 'cross-platform'; | ||
export type ResidentKeyRequirement = 'required' | 'preferred' | 'discouraged'; | ||
export type UserVerificationRequirement = 'required' | 'preferred' | 'discouraged'; | ||
export type AttestationConveyancePreference = 'none' | 'indirect' | 'direct' | 'enterprise'; | ||
@@ -6,0 +5,0 @@ export type UserRegistrationChallenge = { |
2332420
80242