From b3b906ba8c4086eb67b1dee4bd9b8e5612e34e08 Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Tue, 10 Dec 2024 19:27:08 +0100 Subject: [PATCH] Updates --- client/auth/google/getAccessToken.d.ts | 2 +- client/auth/google/getAccessToken.js | 4 +--- package.json | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/client/auth/google/getAccessToken.d.ts b/client/auth/google/getAccessToken.d.ts index f3a4c30..9893644 100644 --- a/client/auth/google/getAccessToken.d.ts +++ b/client/auth/google/getAccessToken.d.ts @@ -1,7 +1,7 @@ declare namespace _exports { export { GoogleGetAccessTokenFunctionParams }; } -declare function _exports(params: GoogleGetAccessTokenFunctionParams): Promise; +declare function _exports(params: GoogleGetAccessTokenFunctionParams): Promise; export = _exports; type GoogleGetAccessTokenFunctionParams = { /** diff --git a/client/auth/google/getAccessToken.js b/client/auth/google/getAccessToken.js index 9671c07..6168cf2 100644 --- a/client/auth/google/getAccessToken.js +++ b/client/auth/google/getAccessToken.js @@ -22,11 +22,9 @@ let interval; * * @param {GoogleGetAccessTokenFunctionParams} params - Single object passed - * @returns {Promise} - Return + * @returns {Promise} - Access Token String */ module.exports = async function getAccessToken(params) { - /** @type {any} */ - params.setLoading?.(true); const response = await new Promise((resolve, reject) => { diff --git a/package.json b/package.json index e3f5ceb..017a2e2 100644 --- a/package.json +++ b/package.json @@ -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": {