@simplewebauthn/typescript-types
Advanced tools
Comparing version 3.0.0 to 4.0.0
@@ -36,10 +36,10 @@ /** | ||
*/ | ||
export interface AttestationCredential extends PublicKeyCredential { | ||
export interface RegistrationCredential extends PublicKeyCredential { | ||
response: AuthenticatorAttestationResponseFuture; | ||
} | ||
/** | ||
* A slightly-modified AttestationCredential to simplify working with ArrayBuffers that | ||
* A slightly-modified RegistrationCredential to simplify working with ArrayBuffers that | ||
* are Base64URL-encoded in the browser so that they can be sent as JSON to the server. | ||
*/ | ||
export interface AttestationCredentialJSON extends Omit<AttestationCredential, 'response' | 'rawId' | 'getClientExtensionResults'> { | ||
export interface RegistrationCredentialJSON extends Omit<RegistrationCredential, 'response' | 'rawId' | 'getClientExtensionResults'> { | ||
rawId: Base64URLString; | ||
@@ -53,10 +53,10 @@ response: AuthenticatorAttestationResponseJSON; | ||
*/ | ||
export interface AssertionCredential extends PublicKeyCredential { | ||
export interface AuthenticationCredential extends PublicKeyCredential { | ||
response: AuthenticatorAssertionResponse; | ||
} | ||
/** | ||
* A slightly-modified AssertionCredential to simplify working with ArrayBuffers that | ||
* A slightly-modified AuthenticationCredential to simplify working with ArrayBuffers that | ||
* are Base64URL-encoded in the browser so that they can be sent as JSON to the server. | ||
*/ | ||
export interface AssertionCredentialJSON extends Omit<AssertionCredential, 'response' | 'rawId' | 'getClientExtensionResults'> { | ||
export interface AuthenticationCredentialJSON extends Omit<AuthenticationCredential, 'response' | 'rawId' | 'getClientExtensionResults'> { | ||
rawId: Base64URLString; | ||
@@ -63,0 +63,0 @@ response: AuthenticatorAssertionResponseJSON; |
{ | ||
"name": "@simplewebauthn/typescript-types", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"description": "TypeScript types used by the @simplewebauthn series of libraries", | ||
@@ -29,3 +29,3 @@ "main": "dist/index.js", | ||
], | ||
"gitHead": "8324f1fff96fb08422e609aa91a646dc2b08d184" | ||
"gitHead": "fbb552d5e6f91c0ab9f0577510855f846d5b2d41" | ||
} |
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
14172