This commit is contained in:
Benjamin Toby 2024-12-10 19:27:08 +01:00
parent 2b51b4b276
commit b3b906ba8c
3 changed files with 3 additions and 5 deletions

View File

@ -1,7 +1,7 @@
declare namespace _exports {
export { GoogleGetAccessTokenFunctionParams };
}
declare function _exports(params: GoogleGetAccessTokenFunctionParams): Promise<boolean>;
declare function _exports(params: GoogleGetAccessTokenFunctionParams): Promise<string>;
export = _exports;
type GoogleGetAccessTokenFunctionParams = {
/**

View File

@ -22,11 +22,9 @@ let interval;
*
* @param {GoogleGetAccessTokenFunctionParams} params - Single object passed
* @returns {Promise<boolean>} - Return
* @returns {Promise<string>} - Access Token String
*/
module.exports = async function getAccessToken(params) {
/** @type {any} */
params.setLoading?.(true);
const response = await new Promise((resolve, reject) => {

View File

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