New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 5.2.1 to 5.3.0

15

dist/index.d.ts

@@ -6,3 +6,3 @@ /**

/// <reference types="node" />
import type { AuthenticatorAssertionResponse, AuthenticatorAttestationResponse, COSEAlgorithmIdentifier, PublicKeyCredential, PublicKeyCredentialCreationOptions, PublicKeyCredentialDescriptor, PublicKeyCredentialRequestOptions, PublicKeyCredentialUserEntity, AuthenticationExtensionsClientInputs, AuthenticationExtensionsClientOutputs } from './dom';
import type { AuthenticatorAssertionResponse, AuthenticatorAttestationResponse, COSEAlgorithmIdentifier, PublicKeyCredential, PublicKeyCredentialCreationOptions, PublicKeyCredentialDescriptor, PublicKeyCredentialRequestOptions, PublicKeyCredentialUserEntity, AuthenticationExtensionsClientInputs, AuthenticationExtensionsClientOutputs, AuthenticatorAttachment } from './dom';
export * from './dom';

@@ -38,3 +38,3 @@ /**

*/
export interface RegistrationCredential extends PublicKeyCredential {
export interface RegistrationCredential extends PublicKeyCredentialFuture {
response: AuthenticatorAttestationResponseFuture;

@@ -55,3 +55,3 @@ }

*/
export interface AuthenticationCredential extends PublicKeyCredential {
export interface AuthenticationCredential extends PublicKeyCredentialFuture {
response: AuthenticatorAssertionResponse;

@@ -119,3 +119,3 @@ }

*/
export declare type AuthenticatorTransportFuture = "ble" | "internal" | "nfc" | "usb" | "cable";
export declare type AuthenticatorTransportFuture = "ble" | "internal" | "nfc" | "usb" | "cable" | "hybrid";
/**

@@ -130,2 +130,9 @@ * A super class of TypeScript's `PublicKeyCredentialDescriptor` that knows about the latest

/**
* A super class of TypeScript's `PublicKeyCredential` that knows about upcoming WebAuthn methods
*/
export interface PublicKeyCredentialFuture extends PublicKeyCredential {
isConditionalMediationAvailable?(): Promise<boolean>;
authenticatorAttachment?: AuthenticatorAttachment;
}
/**
* The two types of credentials as defined by bit 3 ("Backup Eligibility") in authenticator data:

@@ -132,0 +139,0 @@ * - `"singleDevice"` credentials will never be backed up

{
"name": "@simplewebauthn/typescript-types",
"version": "5.2.1",
"version": "5.3.0",
"description": "TypeScript types used by the @simplewebauthn series of libraries",

@@ -29,3 +29,3 @@ "main": "dist/index.js",

],
"gitHead": "7a51b18bd724795f8f891207dda3fd8f04b915e9"
"gitHead": "ad8b71fb26330f123155ec8467dd8f2ffedc0986"
}
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