monkey-front-core 0.0.312 → 0.0.314

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.
@@ -3668,18 +3668,21 @@ class MonkeyEcxTokenStorageService {
3668
3668
  data = await store.select(select({ username })).pipe(take(1)).toPromise();
3669
3669
  console.log('data');
3670
3670
  console.log(data);
3671
- delete data?.me;
3672
3671
  }
3673
3672
  console.log('6666');
3674
3673
  const config = await monkeyecxConfigService.config()
3675
3674
  .pipe(take(1)).toPromise();
3676
3675
  console.log('7777');
3676
+ const handledData = {
3677
+ ...data
3678
+ };
3677
3679
  if (data && !data?.program && config?.program) {
3678
- data.program = config?.program?.token;
3680
+ handledData.program = config?.program?.token;
3679
3681
  }
3680
- console.log('data');
3681
- console.log(data);
3682
- return data;
3682
+ delete handledData?.me;
3683
+ console.log('handledData');
3684
+ console.log(handledData);
3685
+ return handledData;
3683
3686
  }
3684
3687
  catch (e) {
3685
3688
  console.log('=======');