monkey-front-core 0.0.38 → 0.0.39
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/decorators/monkeyecx-decorators.mjs +3 -1
- package/esm2020/lib/core/services/error/monkeyecx-error-handling.service.mjs +5 -1
- package/fesm2015/monkey-front-core.mjs +6 -0
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +6 -0
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.39.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.38.tgz +0 -0
|
@@ -1401,6 +1401,8 @@ function MonkeyEcxCoreService(params) {
|
|
|
1401
1401
|
const method = propertyDescriptor.value;
|
|
1402
1402
|
propertyDescriptor.value = function (...args) {
|
|
1403
1403
|
const context = this;
|
|
1404
|
+
console.log('context');
|
|
1405
|
+
console.log(context);
|
|
1404
1406
|
if (hasMonkeyEcxServiceAndHandlingProperties(context)) {
|
|
1405
1407
|
context?.monkeyecxService?.monkeyecxHandlingService?.clearAll();
|
|
1406
1408
|
context?.monkeyecxService?.monkeyecxHandlingService?.setMonkeyEcxServiceCredentials(params);
|
|
@@ -3250,8 +3252,12 @@ class MonkeyEcxErrorHandlingService {
|
|
|
3250
3252
|
const handlingService = injector.get(MonkeyEcxHandlingService);
|
|
3251
3253
|
const httpErrorHandlingService = injector.get(MonkeyEcxHttpErrorHandlingService);
|
|
3252
3254
|
const othersErrorsHandlingService = injector.get(MonkeyEcxOthersErrorsHandlingService);
|
|
3255
|
+
console.log('======error');
|
|
3256
|
+
console.log(error);
|
|
3253
3257
|
if (error instanceof HttpErrorResponse) {
|
|
3254
3258
|
const sCredentials = handlingService?.getMonkeyEcxServiceCredentials() || {};
|
|
3259
|
+
console.log('sCredentials');
|
|
3260
|
+
console.log(sCredentials);
|
|
3255
3261
|
if (MonkeyEcxUtils.persistNullEmptyUndefined(type) && type === 'refresh_token') {
|
|
3256
3262
|
httpErrorHandlingService.handleErrorRefreshToken(error, sCredentials);
|
|
3257
3263
|
}
|