@orbiting/backend-modules-auth
Advanced tools
Comparing version 3.0.5 to 3.0.6
@@ -1,6 +0,16 @@ | ||
<a name="3.0.5"></a> | ||
## 3.0.5 (2018-01-14) | ||
<a name="3.0.6"></a> | ||
## 3.0.6 (2018-01-18) | ||
<a name="3.0.6"></a> | ||
## 3.0.6 (2018-01-18) | ||
### Bug Fixes | ||
* **interdependencies:** bump mail ([87c9793](https://github.com/orbiting/backend-modules/commit/87c9793)) | ||
<a name="3.0.5"></a> | ||
@@ -7,0 +17,0 @@ ## 3.0.5 (2018-01-14) |
@@ -112,7 +112,11 @@ const { NoSessionError, QueryEmailMismatchError, DestroySessionError } = require('./errors') | ||
// call signIn hooks | ||
await Promise.all( | ||
signInHooks.map(hook => | ||
hook(user.id, !existingUser, pgdb) | ||
try { | ||
await Promise.all( | ||
signInHooks.map(hook => | ||
hook(user.id, !existingUser, pgdb) | ||
) | ||
) | ||
) | ||
} catch (e) { | ||
console.warn(`sign in hook failed in authorizeSession`, e) | ||
} | ||
@@ -119,0 +123,0 @@ return user |
{ | ||
"name": "@orbiting/backend-modules-auth", | ||
"version": "3.0.5", | ||
"version": "3.0.6", | ||
"description": "auth migrations, seeds, middleware, graphql schema and resolvers", | ||
@@ -30,3 +30,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@orbiting/backend-modules-mail": "^0.1.2", | ||
"@orbiting/backend-modules-mail": "^1.0.0", | ||
"@orbiting/backend-modules-translate": "^0.0.0", | ||
@@ -33,0 +33,0 @@ "apollo-modules-node": "^0.1.4", |
63258
1458
+ Added@orbiting/backend-modules-mail@1.0.0(transitive)
- Removed@orbiting/backend-modules-mail@0.1.3(transitive)