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

@accounts/server

Package Overview
Dependencies
Maintainers
5
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accounts/server - npm Package Compare versions

Comparing version 0.26.0-alpha.3 to 0.26.0-alpha.4

4

lib/accounts-mfa.d.ts

@@ -24,4 +24,4 @@ import { DatabaseInterface, Authenticator, AuthenticatorService, ConnectionInformations, MfaChallenge } from '@accounts/types';

/**
* @description Associate a new authenticator, this method is called when the user is enforced to
* associate an authenticator before the first login.
* @description Start the association of a new authenticator, this method is called when the user is
* enforced to associate an authenticator before the first login.
* @param {string} userId - User id to link the new authenticator.

@@ -28,0 +28,0 @@ * @param {string} serviceName - Service name of the authenticator service.

@@ -54,3 +54,6 @@ "use strict";

_a.sent();
return [2 /*return*/, null];
return [2 /*return*/, {
mfaToken: mfaChallenge.token,
authenticatorId: authenticator.id,
}];
case 4: return [2 /*return*/, authenticatorService.challenge(mfaChallenge, authenticator, infos)];

@@ -86,4 +89,4 @@ }

/**
* @description Associate a new authenticator, this method is called when the user is enforced to
* associate an authenticator before the first login.
* @description Start the association of a new authenticator, this method is called when the user is
* enforced to associate an authenticator before the first login.
* @param {string} userId - User id to link the new authenticator.

@@ -90,0 +93,0 @@ * @param {string} serviceName - Service name of the authenticator service.

{
"name": "@accounts/server",
"version": "0.26.0-alpha.3",
"version": "0.26.0-alpha.4",
"description": "Fullstack authentication and accounts-management",

@@ -43,3 +43,3 @@ "main": "lib/index.js",

"dependencies": {
"@accounts/types": "^0.26.0-alpha.3",
"@accounts/types": "^0.26.0-alpha.4",
"@types/jsonwebtoken": "8.3.5",

@@ -59,3 +59,3 @@ "emittery": "0.5.1",

},
"gitHead": "c117b8980f2153d497be744f1280bb2db2470514"
"gitHead": "df64531622ef97718abfe5ed5436873ddf58d164"
}

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