@ctil/gql 1.0.19 → 1.0.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/dist/index.cjs +0 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4461,7 +4461,6 @@ var CCRequest = class {
|
|
|
4461
4461
|
this.removeLoginInfo();
|
|
4462
4462
|
throw new Error("Login expired. Please login again.");
|
|
4463
4463
|
}
|
|
4464
|
-
console.log("refreshExpired", refreshExpired);
|
|
4465
4464
|
if (accessExpired && !refreshExpired) {
|
|
4466
4465
|
try {
|
|
4467
4466
|
const refreshResult = await auth.refreshToken({
|
|
@@ -4472,7 +4471,6 @@ var CCRequest = class {
|
|
|
4472
4471
|
const newInfo = refreshResult.refreshToken ?? refreshResult;
|
|
4473
4472
|
this.setLoginInfo(newInfo, this._remember);
|
|
4474
4473
|
} catch (err) {
|
|
4475
|
-
console.log("err", err);
|
|
4476
4474
|
this.removeLoginInfo();
|
|
4477
4475
|
throw new Error("Failed to refresh token. Please login again." + err?.message);
|
|
4478
4476
|
}
|