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 0.10.2 to 0.10.3

2

dist/assertion/generateAssertionOptions.d.ts

@@ -9,2 +9,3 @@ /// <reference types="node" />

extensions?: AuthenticationExtensionsClientInputs;
rpID?: string;
};

@@ -21,4 +22,5 @@ /**

* @param extensions Additional plugins the authenticator or browser should use during assertion
* @param rpID Valid domain name (after `https://`)
*/
export default function generateAssertionOptions(options: Options): PublicKeyCredentialRequestOptionsJSON;
export {};

4

dist/assertion/generateAssertionOptions.js

@@ -18,5 +18,6 @@ "use strict";

* @param extensions Additional plugins the authenticator or browser should use during assertion
* @param rpID Valid domain name (after `https://`)
*/
function generateAssertionOptions(options) {
const { allowCredentials, challenge = generateChallenge_1.default(), timeout = 60000, userVerification, extensions, } = options;
const { allowCredentials, challenge = generateChallenge_1.default(), timeout = 60000, userVerification, extensions, rpID, } = options;
return {

@@ -28,2 +29,3 @@ challenge: base64url_1.default.encode(challenge),

extensions,
rpId: rpID,
};

@@ -30,0 +32,0 @@ }

{
"name": "@simplewebauthn/server",
"version": "0.10.2",
"version": "0.10.3",
"description": "SimpleWebAuthn for Servers",

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

},
"gitHead": "c47cc9bde943f17b1bf3dabee2d91b7fbad44352",
"gitHead": "c7859df0c5d29931a35c3e7b7345f91ae55c3dcf",
"devDependencies": {

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

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