Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@simplewebauthn/typescript-types

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@simplewebauthn/typescript-types - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

19

dist/index.d.ts

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc