🚀 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.6

@@ -252,2 +252,4 @@ const express = require("express");

.then(function(clientInfo){
console.log(252, clientInfo)
if(clientInfo.client.client_secret == client_secret){

@@ -445,5 +447,8 @@ updateToken(clientInfo)

const getClientByRef = (ref) => {
console.log('getClientByRef')
return new Promise(function(resolve, reject){
ref.once('value')
if(snapshot.val()){
console.log(448, snapshot.val())
const value = snapshot.val()

@@ -455,2 +460,4 @@ const uid = value.uid

.then(function(client){
console.log(456, client)
resolve({

@@ -457,0 +464,0 @@ uid : uid,

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

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