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

@orbiting/backend-modules-auth

Package Overview
Dependencies
Maintainers
6
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orbiting/backend-modules-auth - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

14

CHANGELOG.md

@@ -1,6 +0,16 @@

<a name="2.1.0"></a>
# 2.1.0 (2017-12-21)
<a name="2.2.0"></a>
# 2.2.0 (2017-12-21)
<a name="2.2.0"></a>
# 2.2.0 (2017-12-21)
### Features
* **backend-modules-auth:** add possibility to provide hooks which are called after successful signI ([2ef00cb](https://github.com/orbiting/backend-modules/commit/2ef00cb))
<a name="2.1.0"></a>

@@ -7,0 +17,0 @@ # 2.1.0 (2017-12-21)

@@ -31,3 +31,5 @@ const session = require('express-session')

// is the server running in development
dev = false
dev = false,
// hooks are called upon successful signIn
signInHooks = []
} = {}) => {

@@ -154,2 +156,9 @@ if (server === null) {

//call signIn hooks
await Promise.all(
signInHooks.map( hook =>
hook(user.id, pgdb)
)
)
// success

@@ -156,0 +165,0 @@ return res.redirect(

2

package.json
{
"name": "@orbiting/backend-modules-auth",
"version": "2.1.0",
"version": "2.2.0",
"description": "auth migrations, seeds, middleware, graphql schema and resolvers",

@@ -5,0 +5,0 @@ "main": "index.js",

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