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.0.7 to 0.0.8-alpha.840bab8d

22

lib/AccountsServer.js

@@ -331,4 +331,3 @@ 'use strict';

var _ref5 = _asyncToGenerator(regeneratorRuntime.mark(function _callee4(user) {
var userId, _options, onUserCreated;
var userId;
return regeneratorRuntime.wrap(function _callee4$(_context4) {

@@ -403,16 +402,5 @@ while (1) {

userId = _context4.sent;
_options = this.options(), onUserCreated = _options.onUserCreated;
if (!(0, _lodash.isFunction)(onUserCreated)) {
_context4.next = 23;
break;
}
_context4.next = 23;
return onUserCreated(userId);
case 23:
return _context4.abrupt('return', userId);
case 24:
case 20:
case 'end':

@@ -548,5 +536,5 @@ return _context4.stop();

value: function createTokens(sessionId) {
var _options2 = this._options,
tokenSecret = _options2.tokenSecret,
tokenConfigs = _options2.tokenConfigs;
var _options = this._options,
tokenSecret = _options.tokenSecret,
tokenConfigs = _options.tokenConfigs;

@@ -553,0 +541,0 @@ var accessToken = (0, _tokens.generateAccessToken)({

{
"name": "@accounts/server",
"version": "0.0.7",
"version": "0.0.8-alpha.840bab8d",
"description": "Fullstack authentication and accounts-management",

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

"dependencies": {
"@accounts/common": "next",
"@accounts/common": "^0.0.8-alpha.840bab8d",
"bcryptjs": "^2.4.0",

@@ -49,0 +49,0 @@ "crypto": "^0.0.3",

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