monkey-front-core 0.0.320 → 0.0.322
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.
- package/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +7 -2
- package/fesm2015/monkey-front-core.mjs +68 -61
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +6 -1
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/services/commons/monkeyecx-commons.service.d.ts +1 -1
- package/monkey-front-core-0.0.322.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.320.tgz +0 -0
|
@@ -2889,13 +2889,18 @@ class MonkeyEcxCommonsService {
|
|
|
2889
2889
|
this.__handledError = null;
|
|
2890
2890
|
this.flagValidator = false;
|
|
2891
2891
|
}
|
|
2892
|
-
resolve(route, state, otherArgs) {
|
|
2892
|
+
async resolve(route, state, otherArgs) {
|
|
2893
2893
|
if (JSON.stringify(route?.queryParams) === '{}') {
|
|
2894
2894
|
this.__data = null;
|
|
2895
2895
|
this.__page = null;
|
|
2896
2896
|
}
|
|
2897
2897
|
this.__requestPaged = null;
|
|
2898
2898
|
this.flagValidator = true;
|
|
2899
|
+
if (this.tokenStorage) {
|
|
2900
|
+
this.__tokenCredentials = await this.tokenStorage.getToken();
|
|
2901
|
+
console.log('this.__tokenCredentials');
|
|
2902
|
+
console.log(this.__tokenCredentials);
|
|
2903
|
+
}
|
|
2899
2904
|
const pend = this.allowedSecurityAccessByPendency(otherArgs?.pendency);
|
|
2900
2905
|
const allowedByProgram = this.allowedSecurityAccessByFeature(otherArgs?.featureByProgram);
|
|
2901
2906
|
if (this.allowedSecurityAccess(otherArgs?.security) &&
|