This commit is contained in:
Tben 2023-05-23 12:26:06 +01:00
parent d88f16c7fb
commit 991a399ad2
3 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "datasquirel",
"version": "1.1.22",
"version": "1.1.23",
"description": "Cloud-based SQL data management tool",
"main": "index.js",
"scripts": {

View File

@ -30,7 +30,7 @@ const https = require("https");
* payload: {
* first_name: string,
* last_name: string,
* user_name: string,
* username: string,
* email: string,
* password: string,
* },

View File

@ -26,7 +26,10 @@ const encrypt = require("../functions/encrypt");
* @param {object} params - Single Param object containing params
* @param {String} params.key - API Key
* @param {String} params.database - Target Database
* @param {(Object | string)} [params.payload={ action: "insert | update | delete", data: {}, table: "posts" }] SQL query String or Request
* @param {{
* email: string,
* password: string
* }} params.payload Login Email/Username and Password
* @param {Object} params.response - Http response object
* @param {String} params.encryptionKey - Encryption Key
* @param {String} params.encryptionSalt - Encryption Salt