monkey-front-core 0.0.200 → 0.0.203

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.
@@ -4683,28 +4683,18 @@ class MonkeyEcxHttpConfigHeaderInterceptor {
4683
4683
  }
4684
4684
  async handle(request, next) {
4685
4685
  const { url } = request;
4686
- console.log('====== 1');
4687
4686
  if (this.authService.isTokenMandatory(url)) {
4688
- console.log('====== 2');
4689
4687
  try {
4690
- console.log('====== 3');
4691
- const x = await this.config
4688
+ await this.config
4692
4689
  .config()
4693
4690
  .pipe(first((val) => {
4694
- console.log('====== 4');
4695
- console.log(val);
4696
- return !!val;
4691
+ return !!val && JSON.stringify(val) !== '{}';
4697
4692
  }))
4698
4693
  .toPromise();
4699
- console.log('====== 5');
4700
- console.log(x);
4701
4694
  }
4702
4695
  catch (e) {
4703
- console.log('====== 6');
4704
- console.log(e);
4705
4696
  // not to do
4706
4697
  }
4707
- console.log('====== 7');
4708
4698
  }
4709
4699
  return this.authService
4710
4700
  .getRequestWithHeadersOb(request)