@1auth/messenger
Advanced tools
Comparing version 0.0.0-alpha.50 to 0.0.0-alpha.51
@@ -172,3 +172,3 @@ import { | ||
export const verifyToken = async (type, sub, token) => { | ||
let messengers = list(type, sub).then((items) => { | ||
const messengers = await list(type, sub).then((items) => { | ||
const messengers = [] | ||
@@ -190,3 +190,2 @@ for (let i = items.length; i--;) { | ||
) | ||
messengers = await messengers | ||
if (messengers.length) { | ||
@@ -193,0 +192,0 @@ await options.notify.trigger(`messenger-${type}-create`, sub, undefined, { |
{ | ||
"name": "@1auth/messenger", | ||
"version": "0.0.0-alpha.50", | ||
"version": "0.0.0-alpha.51", | ||
"description": "", | ||
@@ -53,5 +53,5 @@ "type": "module", | ||
"dependencies": { | ||
"@1auth/authn": "0.0.0-alpha.50", | ||
"@1auth/crypto": "0.0.0-alpha.50" | ||
"@1auth/authn": "0.0.0-alpha.51", | ||
"@1auth/crypto": "0.0.0-alpha.51" | ||
} | ||
} |
7288
233
+ Added@1auth/authn@0.0.0-alpha.51(transitive)
+ Added@1auth/crypto@0.0.0-alpha.51(transitive)
- Removed@1auth/authn@0.0.0-alpha.50(transitive)
- Removed@1auth/crypto@0.0.0-alpha.50(transitive)
Updated@1auth/authn@0.0.0-alpha.51
Updated@1auth/crypto@0.0.0-alpha.51