@vocollege/app 0.0.94 → 0.0.95
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/dist/modules/VoAuth.js +2 -0
- package/package.json +1 -1
- package/src/modules/VoAuth.ts +5 -0
package/dist/modules/VoAuth.js
CHANGED
|
@@ -307,7 +307,9 @@ var VoAuth = /** @class */ (function (_super) {
|
|
|
307
307
|
var _this = this;
|
|
308
308
|
if (forceRedirect === void 0) { forceRedirect = false; }
|
|
309
309
|
if (forceLoad === void 0) { forceLoad = false; }
|
|
310
|
+
console.log("VoAuth.check() 1");
|
|
310
311
|
this.checkConfig();
|
|
312
|
+
console.log("VoAuth.check() 2");
|
|
311
313
|
return new Promise(function (resolve, reject) { return __awaiter(_this, void 0, void 0, function () {
|
|
312
314
|
var currentCookies, cookieName, token, error_3;
|
|
313
315
|
return __generator(this, function (_a) {
|
package/package.json
CHANGED
package/src/modules/VoAuth.ts
CHANGED
|
@@ -206,7 +206,12 @@ class VoAuth extends VoBase {
|
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
check(forceRedirect = false, forceLoad = false): Promise<any> {
|
|
209
|
+
console.log("VoAuth.check() 1");
|
|
210
|
+
|
|
209
211
|
this.checkConfig();
|
|
212
|
+
|
|
213
|
+
console.log("VoAuth.check() 2");
|
|
214
|
+
|
|
210
215
|
return new Promise(async (resolve, reject) => {
|
|
211
216
|
// VC-231 | Clear up unnecessary cookies.
|
|
212
217
|
let currentCookies = JsCookies.get();
|