updates
This commit is contained in:
		
							parent
							
								
									dcd0576147
								
							
						
					
					
						commit
						8aa34d0848
					
				| @ -1,6 +1,6 @@ | ||||
| { | ||||
|     "name": "datasquirel", | ||||
|     "version": "1.1.8", | ||||
|     "version": "1.1.9", | ||||
|     "description": "Cloud-based SQL data management tool", | ||||
|     "main": "index.js", | ||||
|     "scripts": { | ||||
|  | ||||
| @ -30,7 +30,7 @@ const https = require("https"); | ||||
|  *  database: string | ||||
|  * }} | ||||
|  * | ||||
|  * @returns {FunctionReturn} | ||||
|  * @returns { Promise<FunctionReturn> } | ||||
|  */ | ||||
| module.exports = async function ({ key, payload, database }) { | ||||
|     /** | ||||
|  | ||||
| @ -31,7 +31,7 @@ const encrypt = require("../functions/encrypt"); | ||||
|  * @param {String} params.encryptionKey - Encryption Key | ||||
|  * @param {String} params.encryptionSalt - Encryption Salt | ||||
|  * | ||||
|  * @returns {FunctionReturn} | ||||
|  * @returns { Promise<FunctionReturn>} | ||||
|  */ | ||||
| module.exports = async function ({ key, payload, database, response, encryptionKey, encryptionSalt }) { | ||||
|     /** | ||||
|  | ||||
| @ -30,7 +30,7 @@ const https = require("https"); | ||||
|  * @param {String | Object} [params.payload={ id: 4, first_name: "Benjamin" }] - User Object. | ||||
|  * @param {number} [params.payload.id] - User id => Required | ||||
|  * | ||||
|  * @returns {FunctionReturn} | ||||
|  * @returns { Promise<FunctionReturn>} | ||||
|  */ | ||||
| module.exports = async function ({ key, payload, database }) { | ||||
|     /** | ||||
|  | ||||
| @ -29,7 +29,7 @@ const https = require("https"); | ||||
|  * @param {string} params.db - Database Name | ||||
|  * @param {(string | Object)} params.query - SQL Query | ||||
|  * | ||||
|  * @returns {GetReturn} - Return Object | ||||
|  * @returns { Promise<GetReturn> } - Return Object | ||||
|  */ | ||||
| module.exports = async function ({ key, db, query }) { | ||||
|     /** | ||||
|  | ||||
| @ -35,7 +35,7 @@ const https = require("https"); | ||||
|  *  data: object, | ||||
|  * } | string)} params.query - SQL query String or Request Object | ||||
|  * | ||||
|  * @returns { PostReturn } - Return Object | ||||
|  * @returns { Promise<PostReturn> } - Return Object | ||||
|  */ | ||||
| module.exports = async function ({ key, query, database }) { | ||||
|     /** | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Tben
						Tben