monkey-front-core 0.0.367 → 0.0.368
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-header.interceptor.mjs +7 -1
- package/fesm2015/monkey-front-core.mjs +6 -0
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +6 -0
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.368.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.367.tgz +0 -0
|
@@ -5409,7 +5409,9 @@ class MonkeyEcxHttpConfigHeaderInterceptor {
|
|
|
5409
5409
|
}
|
|
5410
5410
|
async handle(request) {
|
|
5411
5411
|
const { url } = request;
|
|
5412
|
+
console.log('====> core 1 <====');
|
|
5412
5413
|
if (this.authService.isTokenMandatory(url)) {
|
|
5414
|
+
console.log('====> core 2 <====');
|
|
5413
5415
|
try {
|
|
5414
5416
|
await this.config
|
|
5415
5417
|
.config()
|
|
@@ -5423,8 +5425,12 @@ class MonkeyEcxHttpConfigHeaderInterceptor {
|
|
|
5423
5425
|
}
|
|
5424
5426
|
}
|
|
5425
5427
|
let resp = null;
|
|
5428
|
+
console.log('====> core 3 <====');
|
|
5426
5429
|
try {
|
|
5430
|
+
console.log(url);
|
|
5427
5431
|
resp = await this.authService.getRequestWithHeadersAsync(request);
|
|
5432
|
+
console.log('====> core 4 <====');
|
|
5433
|
+
console.log(resp);
|
|
5428
5434
|
}
|
|
5429
5435
|
catch (e) {
|
|
5430
5436
|
this.errorHandlingService.handleError(e);
|