Updates
This commit is contained in:
parent
2b51b4b276
commit
b3b906ba8c
2
client/auth/google/getAccessToken.d.ts
vendored
2
client/auth/google/getAccessToken.d.ts
vendored
@ -1,7 +1,7 @@
|
|||||||
declare namespace _exports {
|
declare namespace _exports {
|
||||||
export { GoogleGetAccessTokenFunctionParams };
|
export { GoogleGetAccessTokenFunctionParams };
|
||||||
}
|
}
|
||||||
declare function _exports(params: GoogleGetAccessTokenFunctionParams): Promise<boolean>;
|
declare function _exports(params: GoogleGetAccessTokenFunctionParams): Promise<string>;
|
||||||
export = _exports;
|
export = _exports;
|
||||||
type GoogleGetAccessTokenFunctionParams = {
|
type GoogleGetAccessTokenFunctionParams = {
|
||||||
/**
|
/**
|
||||||
|
@ -22,11 +22,9 @@ let interval;
|
|||||||
*
|
*
|
||||||
* @param {GoogleGetAccessTokenFunctionParams} params - Single object passed
|
* @param {GoogleGetAccessTokenFunctionParams} params - Single object passed
|
||||||
|
|
||||||
* @returns {Promise<boolean>} - Return
|
* @returns {Promise<string>} - Access Token String
|
||||||
*/
|
*/
|
||||||
module.exports = async function getAccessToken(params) {
|
module.exports = async function getAccessToken(params) {
|
||||||
/** @type {any} */
|
|
||||||
|
|
||||||
params.setLoading?.(true);
|
params.setLoading?.(true);
|
||||||
|
|
||||||
const response = await new Promise((resolve, reject) => {
|
const response = await new Promise((resolve, reject) => {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@moduletrace/datasquirel",
|
"name": "@moduletrace/datasquirel",
|
||||||
"version": "2.8.9",
|
"version": "2.9.0",
|
||||||
"description": "Cloud-based SQL data management tool",
|
"description": "Cloud-based SQL data management tool",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
Loading…
Reference in New Issue
Block a user