@etsoo/appscript 1.1.80 → 1.1.81
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.js +1 -4
- package/lib/mjs/app/CoreApp.js +1 -4
- package/package.json +1 -1
- package/src/app/CoreApp.ts +1 -3
package/lib/cjs/app/CoreApp.js
CHANGED
|
@@ -569,10 +569,7 @@ class CoreApp {
|
|
|
569
569
|
const refreshToken = shared_1.StorageUtils.getLocalData(this.headerTokenField, '');
|
|
570
570
|
if (refreshToken === '')
|
|
571
571
|
return null;
|
|
572
|
-
|
|
573
|
-
if (result == undefined)
|
|
574
|
-
return null;
|
|
575
|
-
return result;
|
|
572
|
+
return refreshToken;
|
|
576
573
|
}
|
|
577
574
|
/**
|
|
578
575
|
* Get all regions
|
package/lib/mjs/app/CoreApp.js
CHANGED
|
@@ -566,10 +566,7 @@ export class CoreApp {
|
|
|
566
566
|
const refreshToken = StorageUtils.getLocalData(this.headerTokenField, '');
|
|
567
567
|
if (refreshToken === '')
|
|
568
568
|
return null;
|
|
569
|
-
|
|
570
|
-
if (result == undefined)
|
|
571
|
-
return null;
|
|
572
|
-
return result;
|
|
569
|
+
return refreshToken;
|
|
573
570
|
}
|
|
574
571
|
/**
|
|
575
572
|
* Get all regions
|
package/package.json
CHANGED
package/src/app/CoreApp.ts
CHANGED
|
@@ -1180,9 +1180,7 @@ export abstract class CoreApp<
|
|
|
1180
1180
|
|
|
1181
1181
|
if (refreshToken === '') return null;
|
|
1182
1182
|
|
|
1183
|
-
|
|
1184
|
-
if (result == undefined) return null;
|
|
1185
|
-
return result;
|
|
1183
|
+
return refreshToken;
|
|
1186
1184
|
}
|
|
1187
1185
|
|
|
1188
1186
|
/**
|