🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

firebaseoauth2

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firebaseoauth2 - npm Package Compare versions

Comparing version

to
0.3.7

@@ -449,23 +449,26 @@ const express = require("express");

ref.once('value')
if(snapshot.val()){
console.log(448, snapshot.val())
.then(function(snapshot){
if(snapshot.val()){
console.log(448, snapshot.val())
const value = snapshot.val()
const uid = value.uid
const client_id = value.client_id
getClientByUidAndClientId(uid, client_id)
.then(function(client){
console.log(456, client)
const value = snapshot.val()
const uid = value.uid
const client_id = value.client_id
getClientByUidAndClientId(uid, client_id)
.then(function(client){
console.log(456, client)
resolve({
uid : uid,
client_id : client_id,
client : client
resolve({
uid : uid,
client_id : client_id,
client : client
})
}, function(){
reject()
})
}, function(){
}else{
console.log(469)
reject()
})
}else{
reject()
}
}

@@ -472,0 +475,0 @@ })

{
"name": "firebaseoauth2",
"version": "0.3.6",
"version": "0.3.7",
"description": "",

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