monkey-front-core 0.0.319 → 0.0.321

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.
@@ -2749,6 +2749,9 @@ class MonkeyEcxCommonsService {
2749
2749
  }
2750
2750
  getRole() {
2751
2751
  const { __tokenCredentials } = this;
2752
+ console.log('--......');
2753
+ console.log(__tokenCredentials);
2754
+ console.log('--......');
2752
2755
  if (!__tokenCredentials)
2753
2756
  return '';
2754
2757
  if (__tokenCredentials?.programAdmin === 'true') {
@@ -2889,16 +2892,13 @@ class MonkeyEcxCommonsService {
2889
2892
  this.__handledError = null;
2890
2893
  this.flagValidator = false;
2891
2894
  }
2892
- async resolve(route, state, otherArgs) {
2895
+ resolve(route, state, otherArgs) {
2893
2896
  if (JSON.stringify(route?.queryParams) === '{}') {
2894
2897
  this.__data = null;
2895
2898
  this.__page = null;
2896
2899
  }
2897
2900
  this.__requestPaged = null;
2898
2901
  this.flagValidator = true;
2899
- if (this.tokenStorage) {
2900
- this.__tokenCredentials = await this.tokenStorage.getToken();
2901
- }
2902
2902
  const pend = this.allowedSecurityAccessByPendency(otherArgs?.pendency);
2903
2903
  const allowedByProgram = this.allowedSecurityAccessByFeature(otherArgs?.featureByProgram);
2904
2904
  if (this.allowedSecurityAccess(otherArgs?.security) &&