New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@simplewebauthn/server

Package Overview
Dependencies
Maintainers
1
Versions
89
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.4.1 to 0.4.2

2

dist/assertion/generateAssertionOptions.d.ts

@@ -8,2 +8,3 @@ import type { PublicKeyCredentialRequestOptionsJSON } from '@simplewebauthn/typescript-types';

userVerification?: UserVerificationRequirement;
extensions?: AuthenticationExtensionsClientInputs;
};

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

* set to `'preferred'` or `'required'` as desired.
* @param extensions Additional plugins the authenticator or browser should use during assertion
*/
export default function generateAssertionOptions(options: Options): PublicKeyCredentialRequestOptionsJSON;
export {};

4

dist/assertion/generateAssertionOptions.js

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

* set to `'preferred'` or `'required'` as desired.
* @param extensions Additional plugins the authenticator or browser should use during assertion
*/
function generateAssertionOptions(options) {
const { challenge, allowedBase64CredentialIDs, suggestedTransports = ['usb', 'ble', 'nfc', 'internal'], timeout = 60000, userVerification, } = options;
const { challenge, allowedBase64CredentialIDs, suggestedTransports = ['usb', 'ble', 'nfc', 'internal'], timeout = 60000, userVerification, extensions, } = options;
return {

@@ -26,2 +27,3 @@ challenge,

userVerification,
extensions,
};

@@ -28,0 +30,0 @@ }

@@ -14,2 +14,3 @@ import { PublicKeyCredentialCreationOptionsJSON } from '@simplewebauthn/typescript-types';

authenticatorSelection?: AuthenticatorSelectionCriteria;
extensions?: AuthenticationExtensionsClientInputs;
};

@@ -34,4 +35,5 @@ /**

* may be used
* @param extensions Additional plugins the authenticator or browser should use during attestation
*/
export default function generateAttestationOptions(options: Options): PublicKeyCredentialCreationOptionsJSON;
export {};

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

* may be used
* @param extensions Additional plugins the authenticator or browser should use during attestation
*/
function generateAttestationOptions(options) {
const { serviceName, rpID, challenge, userID, userName, userDisplayName = userName, timeout = 60000, attestationType = 'none', excludedBase64CredentialIDs = [], suggestedTransports = ['usb', 'ble', 'nfc', 'internal'], authenticatorSelection, } = options;
const { serviceName, rpID, challenge, userID, userName, userDisplayName = userName, timeout = 60000, attestationType = 'none', excludedBase64CredentialIDs = [], suggestedTransports = ['usb', 'ble', 'nfc', 'internal'], authenticatorSelection, extensions, } = options;
return {

@@ -50,2 +51,3 @@ challenge,

authenticatorSelection,
extensions,
};

@@ -52,0 +54,0 @@ }

{
"name": "@simplewebauthn/server",
"version": "0.4.1",
"version": "0.4.2",
"description": "SimpleWebAuthn for Servers",

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

},
"gitHead": "7eddfd75b8fbe5f32105632a9f9c84e8a036d836"
"gitHead": "9dfb900fe5380625006df2187d3753cf09ff308b"
}

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