@accounts/server
Advanced tools
Comparing version 0.0.7 to 0.0.8-alpha.840bab8d
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
337228
870
4131
2
14
+ Added@accounts/common@0.0.8-alpha.f59b6667(transitive)
- Removed@accounts/common@0.0.7(transitive)