@etsoo/appscript 1.1.82 → 1.1.83
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
CHANGED
package/lib/cjs/app/CoreApp.js
CHANGED
package/lib/mjs/app/CoreApp.d.ts
CHANGED
package/lib/mjs/app/CoreApp.js
CHANGED
package/package.json
CHANGED
package/src/app/CoreApp.ts
CHANGED
|
@@ -61,7 +61,7 @@ export interface RefreshTokenProps<D extends {}> {
|
|
|
61
61
|
/**
|
|
62
62
|
* Callback
|
|
63
63
|
*/
|
|
64
|
-
callback?: (result: RefreshTokenResult) => void;
|
|
64
|
+
callback?: (result: RefreshTokenResult, successData?: string) => void;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* Data to pass
|
|
@@ -1321,7 +1321,7 @@ export abstract class CoreApp<
|
|
|
1321
1321
|
* @param props Props
|
|
1322
1322
|
*/
|
|
1323
1323
|
async refreshToken<D extends {} = {}>(props?: RefreshTokenProps<D>) {
|
|
1324
|
-
if (props && props.callback) props.callback(true);
|
|
1324
|
+
if (props && props.callback) props.callback(true, undefined);
|
|
1325
1325
|
return true;
|
|
1326
1326
|
}
|
|
1327
1327
|
|