This commit is contained in:
Benjamin Toby 2024-12-15 11:25:07 +01:00
parent 1fa61ab6fc
commit 4b8e8de71f
3 changed files with 4 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@moduletrace/datasquirel",
"version": "3.1.5",
"version": "3.1.6",
"description": "Cloud-based SQL data management tool",
"main": "index.js",
"bin": {

View File

@ -13,7 +13,7 @@ export = uploadImage;
* @async
*
* @param {Object} params - Single Param object containing params
* @param {String} params.key - *FULL ACCESS API Key
* @param {String} [params.key] - *FULL ACCESS API Key
* @param {{
* imageData: string,
* imageName: string,
@ -27,7 +27,7 @@ export = uploadImage;
* @returns { Promise<FunctionReturn> } - Return Object
*/
declare function uploadImage({ key, payload, user_id }: {
key: string;
key?: string;
payload: {
imageData: string;
imageName: string;

View File

@ -1,7 +1,5 @@
// @ts-check
const http = require("http");
const https = require("https");
const grabHostNames = require("../package-shared/utils/grab-host-names");
/**
@ -19,7 +17,7 @@ const grabHostNames = require("../package-shared/utils/grab-host-names");
* @async
*
* @param {Object} params - Single Param object containing params
* @param {String} params.key - *FULL ACCESS API Key
* @param {String} [params.key] - *FULL ACCESS API Key
* @param {{
* imageData: string,
* imageName: string,