@etsoo/appscript 1.5.19 → 1.5.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/app/CoreApp.d.ts +1 -2
- package/lib/cjs/app/CoreApp.js +1 -2
- package/lib/cjs/app/IApp.d.ts +2 -2
- package/lib/mjs/app/CoreApp.d.ts +1 -2
- package/lib/mjs/app/CoreApp.js +1 -2
- package/lib/mjs/app/IApp.d.ts +2 -2
- package/package.json +1 -1
- package/src/app/CoreApp.ts +1 -2
- package/src/app/IApp.ts +2 -2
package/lib/cjs/app/CoreApp.d.ts
CHANGED
|
@@ -569,10 +569,9 @@ export declare abstract class CoreApp<U extends IUser, S extends IAppSettings, N
|
|
|
569
569
|
/**
|
|
570
570
|
* Try login, returning false means is loading
|
|
571
571
|
* UI get involved while refreshToken not intended
|
|
572
|
-
* @param data Additional request data
|
|
573
572
|
* @param showLoading Show loading bar or not during call
|
|
574
573
|
*/
|
|
575
|
-
tryLogin
|
|
574
|
+
tryLogin(_showLoading?: boolean): Promise<boolean>;
|
|
576
575
|
/**
|
|
577
576
|
* User login
|
|
578
577
|
* @param user User data
|
package/lib/cjs/app/CoreApp.js
CHANGED
|
@@ -1373,10 +1373,9 @@ class CoreApp {
|
|
|
1373
1373
|
/**
|
|
1374
1374
|
* Try login, returning false means is loading
|
|
1375
1375
|
* UI get involved while refreshToken not intended
|
|
1376
|
-
* @param data Additional request data
|
|
1377
1376
|
* @param showLoading Show loading bar or not during call
|
|
1378
1377
|
*/
|
|
1379
|
-
async tryLogin(
|
|
1378
|
+
async tryLogin(_showLoading) {
|
|
1380
1379
|
if (this._isTryingLogin)
|
|
1381
1380
|
return false;
|
|
1382
1381
|
this._isTryingLogin = true;
|
package/lib/cjs/app/IApp.d.ts
CHANGED
|
@@ -505,9 +505,9 @@ export interface IApp {
|
|
|
505
505
|
/**
|
|
506
506
|
* Try login, returning false means is loading
|
|
507
507
|
* UI get involved while refreshToken not intended
|
|
508
|
-
* @param
|
|
508
|
+
* @param showLoading Show loading bar or not
|
|
509
509
|
*/
|
|
510
|
-
tryLogin
|
|
510
|
+
tryLogin(showLoading?: boolean): Promise<boolean>;
|
|
511
511
|
/**
|
|
512
512
|
* User login
|
|
513
513
|
* @param user User data
|
package/lib/mjs/app/CoreApp.d.ts
CHANGED
|
@@ -569,10 +569,9 @@ export declare abstract class CoreApp<U extends IUser, S extends IAppSettings, N
|
|
|
569
569
|
/**
|
|
570
570
|
* Try login, returning false means is loading
|
|
571
571
|
* UI get involved while refreshToken not intended
|
|
572
|
-
* @param data Additional request data
|
|
573
572
|
* @param showLoading Show loading bar or not during call
|
|
574
573
|
*/
|
|
575
|
-
tryLogin
|
|
574
|
+
tryLogin(_showLoading?: boolean): Promise<boolean>;
|
|
576
575
|
/**
|
|
577
576
|
* User login
|
|
578
577
|
* @param user User data
|
package/lib/mjs/app/CoreApp.js
CHANGED
|
@@ -1370,10 +1370,9 @@ export class CoreApp {
|
|
|
1370
1370
|
/**
|
|
1371
1371
|
* Try login, returning false means is loading
|
|
1372
1372
|
* UI get involved while refreshToken not intended
|
|
1373
|
-
* @param data Additional request data
|
|
1374
1373
|
* @param showLoading Show loading bar or not during call
|
|
1375
1374
|
*/
|
|
1376
|
-
async tryLogin(
|
|
1375
|
+
async tryLogin(_showLoading) {
|
|
1377
1376
|
if (this._isTryingLogin)
|
|
1378
1377
|
return false;
|
|
1379
1378
|
this._isTryingLogin = true;
|
package/lib/mjs/app/IApp.d.ts
CHANGED
|
@@ -505,9 +505,9 @@ export interface IApp {
|
|
|
505
505
|
/**
|
|
506
506
|
* Try login, returning false means is loading
|
|
507
507
|
* UI get involved while refreshToken not intended
|
|
508
|
-
* @param
|
|
508
|
+
* @param showLoading Show loading bar or not
|
|
509
509
|
*/
|
|
510
|
-
tryLogin
|
|
510
|
+
tryLogin(showLoading?: boolean): Promise<boolean>;
|
|
511
511
|
/**
|
|
512
512
|
* User login
|
|
513
513
|
* @param user User data
|
package/package.json
CHANGED
package/src/app/CoreApp.ts
CHANGED
|
@@ -1872,10 +1872,9 @@ export abstract class CoreApp<
|
|
|
1872
1872
|
/**
|
|
1873
1873
|
* Try login, returning false means is loading
|
|
1874
1874
|
* UI get involved while refreshToken not intended
|
|
1875
|
-
* @param data Additional request data
|
|
1876
1875
|
* @param showLoading Show loading bar or not during call
|
|
1877
1876
|
*/
|
|
1878
|
-
async tryLogin
|
|
1877
|
+
async tryLogin(_showLoading?: boolean) {
|
|
1879
1878
|
if (this._isTryingLogin) return false;
|
|
1880
1879
|
this._isTryingLogin = true;
|
|
1881
1880
|
return true;
|
package/src/app/IApp.ts
CHANGED
|
@@ -688,9 +688,9 @@ export interface IApp {
|
|
|
688
688
|
/**
|
|
689
689
|
* Try login, returning false means is loading
|
|
690
690
|
* UI get involved while refreshToken not intended
|
|
691
|
-
* @param
|
|
691
|
+
* @param showLoading Show loading bar or not
|
|
692
692
|
*/
|
|
693
|
-
tryLogin
|
|
693
|
+
tryLogin(showLoading?: boolean): Promise<boolean>;
|
|
694
694
|
|
|
695
695
|
/**
|
|
696
696
|
* User login
|