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

@simplewebauthn/server

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@simplewebauthn/server - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

5

dist/assertion/generateAssertionOptions.d.ts
/// <reference types="node" />
import type { AuthenticationExtensionsClientInputs, PublicKeyCredentialRequestOptionsJSON, PublicKeyCredentialDescriptor, UserVerificationRequirement } from '@simplewebauthn/typescript-types';
declare type Options = {
export declare type GenerateAssertionOptionsOpts = {
allowCredentials?: PublicKeyCredentialDescriptor[];

@@ -24,3 +24,2 @@ challenge?: string | Buffer;

*/
export default function generateAssertionOptions(options?: Options): PublicKeyCredentialRequestOptionsJSON;
export {};
export default function generateAssertionOptions(options?: GenerateAssertionOptionsOpts): PublicKeyCredentialRequestOptionsJSON;
/// <reference types="node" />
import { AssertionCredentialJSON, AuthenticatorDevice, UserVerificationRequirement } from '@simplewebauthn/typescript-types';
declare type Options = {
export declare type VerifyAssertionResponseOpts = {
credential: AssertionCredentialJSON;

@@ -26,3 +26,3 @@ expectedChallenge: string;

*/
export default function verifyAssertionResponse(options: Options): VerifiedAssertion;
export default function verifyAssertionResponse(options: VerifyAssertionResponseOpts): VerifiedAssertion;
/**

@@ -46,2 +46,1 @@ * Result of assertion verification

};
export {};
/// <reference types="node" />
import type { AttestationConveyancePreference, AuthenticationExtensionsClientInputs, AuthenticatorSelectionCriteria, COSEAlgorithmIdentifier, PublicKeyCredentialCreationOptionsJSON, PublicKeyCredentialDescriptor } from '@simplewebauthn/typescript-types';
declare type Options = {
export declare type GenerateAttestationOptionsOpts = {
rpName: string;

@@ -44,3 +44,2 @@ rpID: string;

*/
export default function generateAttestationOptions(options: Options): PublicKeyCredentialCreationOptionsJSON;
export {};
export default function generateAttestationOptions(options: GenerateAttestationOptionsOpts): PublicKeyCredentialCreationOptionsJSON;
/// <reference types="node" />
import { AttestationCredentialJSON, COSEAlgorithmIdentifier } from '@simplewebauthn/typescript-types';
import { ATTESTATION_FORMAT } from "../helpers/decodeAttestationObject";
declare type Options = {
export declare type VerifyAttestationResponseOpts = {
credential: AttestationCredentialJSON;

@@ -27,3 +27,3 @@ expectedChallenge: string;

*/
export default function verifyAttestationResponse(options: Options): Promise<VerifiedAttestation>;
export default function verifyAttestationResponse(options: VerifyAttestationResponseOpts): Promise<VerifiedAttestation>;
/**

@@ -58,2 +58,1 @@ * Result of attestation verification

};
export {};

@@ -11,1 +11,6 @@ /**

export { generateAttestationOptions, verifyAttestationResponse, generateAssertionOptions, verifyAssertionResponse, MetadataService, };
import type { GenerateAttestationOptionsOpts } from "./attestation/generateAttestationOptions";
import type { GenerateAssertionOptionsOpts } from "./assertion/generateAssertionOptions";
import type { VerifiedAttestation, VerifyAttestationResponseOpts } from "./attestation/verifyAttestationResponse";
import type { VerifiedAssertion, VerifyAssertionResponseOpts } from "./assertion/verifyAssertionResponse";
export type { GenerateAttestationOptionsOpts, GenerateAssertionOptionsOpts, VerifyAttestationResponseOpts, VerifyAssertionResponseOpts, VerifiedAttestation, VerifiedAssertion, };

4

package.json
{
"name": "@simplewebauthn/server",
"version": "2.1.0",
"version": "2.2.0",
"description": "SimpleWebAuthn for Servers",

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

},
"gitHead": "369b9717c2f81dcfe06eb5088a9f16d2b2513e84",
"gitHead": "9791fa44b690020dc43f15e5d5ade451c6b0e914",
"devDependencies": {

@@ -50,0 +50,0 @@ "@types/cbor": "^5.0.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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