@simplewebauthn/typescript-types
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -37,3 +37,3 @@ /** | ||
* A slightly-modified AttestationCredential to simplify working with ArrayBuffers that | ||
* are base64url-encoded in the browser so that they can be sent as JSON to the server. | ||
* are Base64URL-encoded in the browser so that they can be sent as JSON to the server. | ||
*/ | ||
@@ -52,3 +52,3 @@ export interface AttestationCredentialJSON extends Omit<AttestationCredential, 'response' | 'rawId' | 'getClientExtensionResults'> { | ||
* A slightly-modified AssertionCredential to simplify working with ArrayBuffers that | ||
* are base64url-encoded in the browser so that they can be sent as JSON to the server. | ||
* are Base64URL-encoded in the browser so that they can be sent as JSON to the server. | ||
*/ | ||
@@ -59,7 +59,15 @@ export interface AssertionCredentialJSON extends Omit<AssertionCredential, 'response' | 'rawId' | 'getClientExtensionResults'> { | ||
} | ||
interface AuthenticatorAttestationResponseJSON extends Omit<AuthenticatorAttestationResponse, 'clientDataJSON' | 'attestationObject'> { | ||
/** | ||
* A slightly-modified AuthenticatorAttestationResponse 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 AuthenticatorAttestationResponseJSON extends Omit<AuthenticatorAttestationResponse, 'clientDataJSON' | 'attestationObject'> { | ||
clientDataJSON: Base64URLString; | ||
attestationObject: Base64URLString; | ||
} | ||
interface AuthenticatorAssertionResponseJSON extends Omit<AuthenticatorAssertionResponse, 'authenticatorData' | 'clientDataJSON' | 'signature' | 'userHandle'> { | ||
/** | ||
* A slightly-modified AuthenticatorAssertionResponse 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 AuthenticatorAssertionResponseJSON extends Omit<AuthenticatorAssertionResponse, 'authenticatorData' | 'clientDataJSON' | 'signature' | 'userHandle'> { | ||
authenticatorData: Base64URLString; | ||
@@ -79,5 +87,4 @@ clientDataJSON: Base64URLString; | ||
/** | ||
* An attempt to communicate that this isn't just any string, but a base64url-encoded string | ||
* An attempt to communicate that this isn't just any string, but a Base64URL-encoded string | ||
*/ | ||
export declare type Base64URLString = string; | ||
export {}; |
{ | ||
"name": "@simplewebauthn/typescript-types", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "TypeScript types used by the @simplewebauthn series of libraries", | ||
@@ -22,3 +22,3 @@ "main": "dist/index.js", | ||
], | ||
"gitHead": "8feadcb47dbb7c06de278e9abfd9c28ae8e2b905" | ||
"gitHead": "607fbc9c63db6de0477eefc23618a717f075d15b" | ||
} |
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
4978
88