From cbda6d0c817a73d343fc7f8784deafa437c5fdd7 Mon Sep 17 00:00:00 2001 From: Tben <52448020+BenjaminToby@users.noreply.github.com> Date: Sat, 24 Jun 2023 08:34:39 +0100 Subject: [PATCH] updates --- client/index.js | 11 +++++++++++ package.json | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/client/index.js b/client/index.js index 562b19c..9400086 100644 --- a/client/index.js +++ b/client/index.js @@ -6,6 +6,7 @@ const imageInputFileToBase64 = require("./media/imageInputFileToBase64"); const imageInputToBase64 = require("./media/imageInputToBase64"); const inputFileToBase64 = require("./media/inputFileToBase64"); +const loginWithGoogle = require("./auth/loginWithGoogle"); /** ****************************************************************************** */ /** ****************************************************************************** */ @@ -25,6 +26,15 @@ const media = { inputFileToBase64: inputFileToBase64, }; +/** + * ============================================================================== + * Media Functions Object + * ============================================================================== + */ +const auth = { + loginWithGoogle: loginWithGoogle, +}; + /** * ============================================================================== * Main Export @@ -32,6 +42,7 @@ const media = { */ const datasquirelClient = { media: media, + auth: auth, }; module.exports = datasquirelClient; diff --git a/package.json b/package.json index d7cb6ac..118bec2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.1.36", + "version": "1.1.37", "description": "Cloud-based SQL data management tool", "main": "index.js", "scripts": {