diff --git a/index.js b/index.js index 6d074da..5002a66 100644 --- a/index.js +++ b/index.js @@ -5,19 +5,25 @@ */ const get = require("./utils/get"); const post = require("./utils/post"); + const uploadImage = require("./utils/upload-image"); const uploadFile = require("./utils/upload-file"); +const deleteFile = require("./utils/delete-file"); + const createUser = require("./users/add-user"); const updateUser = require("./users/update-user"); const loginUser = require("./users/login-user"); const logoutUser = require("./users/logout-user"); + const userAuth = require("./users/user-auth"); const reAuthUser = require("./users/reauth-user"); const getUser = require("./users/get-user"); + const loginWithGoogle = require("./users/social/google-auth"); const loginWithGithub = require("./users/social/github-auth"); const getToken = require("./users/get-token"); const validateToken = require("./users/validate-token"); + const sanitizeSql = require("./utils/functions/sanitizeSql"); //////////////////////////////////////// @@ -49,6 +55,7 @@ const user = { const media = { uploadImage: uploadImage, uploadFile: uploadFile, + deleteFile: deleteFile, }; /** diff --git a/package.json b/package.json index 3fa0215..ee07bb7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "datasquirel", - "version": "1.4.6", + "version": "1.4.7", "description": "Cloud-based SQL data management tool", "main": "index.js", "scripts": {