monkey-front-core 0.0.372 → 0.0.373
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/esm2020/lib/core/interceptors/monkeyecx-http-config-error.interceptor.mjs +1 -10
- package/fesm2015/monkey-front-core.mjs +0 -9
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +0 -9
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.373.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.372.tgz +0 -0
|
@@ -5370,23 +5370,14 @@ class MonkeyEcxHttpConfigErrorInterceptor {
|
|
|
5370
5370
|
// no to do
|
|
5371
5371
|
}
|
|
5372
5372
|
async handle(request, error) {
|
|
5373
|
-
console.log('===@');
|
|
5374
|
-
console.log('error1');
|
|
5375
5373
|
try {
|
|
5376
|
-
console.log('error2');
|
|
5377
5374
|
if (this.monkeyecxAuthenticationService.refreshShouldHappen(error)) {
|
|
5378
|
-
console.log('error3');
|
|
5379
5375
|
await this.monkeyecxAuthenticationService?.refreshToken();
|
|
5380
|
-
console.log('error4');
|
|
5381
5376
|
const headers = await this.monkeyecxAuthenticationService.getRequestWithHeadersAsync(request);
|
|
5382
|
-
console.log('error5');
|
|
5383
|
-
console.log(headers);
|
|
5384
5377
|
return headers;
|
|
5385
5378
|
}
|
|
5386
5379
|
}
|
|
5387
5380
|
catch (e) {
|
|
5388
|
-
console.log('error6');
|
|
5389
|
-
console.log(e);
|
|
5390
5381
|
return throwError(e);
|
|
5391
5382
|
}
|
|
5392
5383
|
return null;
|