monkey-front-core 0.0.309 → 0.0.310

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.
@@ -3656,25 +3656,36 @@ class MonkeyEcxTokenStorageService {
3656
3656
  token$.next(token);
3657
3657
  }
3658
3658
  async getAllTokens() {
3659
+ console.log('111111');
3659
3660
  try {
3660
3661
  const { store, monkeyecxConfigService } = this;
3662
+ console.log('22222');
3661
3663
  const username = localStorage.getItem('username');
3664
+ console.log('33333');
3662
3665
  let data = {
3663
3666
  username: username || '',
3664
3667
  program: ''
3665
3668
  };
3669
+ console.log('4444');
3666
3670
  if (username) {
3671
+ console.log('5555');
3667
3672
  data = await store.select(select({ username })).pipe(take(1)).toPromise();
3673
+ console.log('data');
3674
+ console.log(data);
3668
3675
  delete data?.me;
3669
3676
  }
3677
+ console.log('6666');
3670
3678
  const config = await monkeyecxConfigService.config()
3671
3679
  .pipe(first((val) => {
3672
3680
  return !!val && JSON.stringify(val) !== '{}';
3673
3681
  }))
3674
3682
  .toPromise();
3683
+ console.log('7777');
3675
3684
  if (data && !data?.program && config?.program) {
3676
3685
  data.program = config?.program?.token;
3677
3686
  }
3687
+ console.log('data');
3688
+ console.log(data);
3678
3689
  return data;
3679
3690
  }
3680
3691
  catch (e) {