monkey-front-core 0.0.384 → 0.0.386

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.
@@ -3711,9 +3711,14 @@ class MonkeyEcxTokenStorageService {
3711
3711
  ...data
3712
3712
  };
3713
3713
  if (!handledData.me) {
3714
- handledData = {
3715
- me: localStorage.getItem('me')
3716
- };
3714
+ try {
3715
+ handledData = {
3716
+ me: JSON.parse(localStorage.getItem('me') || '{}')
3717
+ };
3718
+ }
3719
+ catch (e) {
3720
+ // not to do
3721
+ }
3717
3722
  }
3718
3723
  return handledData?.me;
3719
3724
  }