monkey-front-core 0.0.567 → 0.0.569
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/config/monkeyecx-feature-toggle.service.mjs +4 -1
- package/esm2020/lib/core/services/error/monkeyecx-others-errors-handling.service.mjs +6 -1
- package/fesm2015/monkey-front-core.mjs +8 -0
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +7 -0
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/services/config/monkeyecx-feature-toggle.service.d.ts +1 -0
- package/monkey-front-core-0.0.569.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.567.tgz +0 -0
|
@@ -4173,6 +4173,9 @@ class MonkeyEcxFeatureToggleService {
|
|
|
4173
4173
|
const flagValue = this.flags?.[flag];
|
|
4174
4174
|
return MonkeyUtils.persistNullEmptyUndefined(flagValue) ? flagValue : null;
|
|
4175
4175
|
}
|
|
4176
|
+
sendEvent(key, data) {
|
|
4177
|
+
this.ldClient?.track(key, data);
|
|
4178
|
+
}
|
|
4176
4179
|
}
|
|
4177
4180
|
MonkeyEcxFeatureToggleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFeatureToggleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4178
4181
|
MonkeyEcxFeatureToggleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxFeatureToggleService, providedIn: 'root' });
|
|
@@ -5317,6 +5320,10 @@ class MonkeyEcxOthersErrorsHandlingService {
|
|
|
5317
5320
|
console.log('==> error <==');
|
|
5318
5321
|
console.log(error);
|
|
5319
5322
|
}
|
|
5323
|
+
MonkeyEcxLogs.log({
|
|
5324
|
+
message: '==> error <==',
|
|
5325
|
+
error
|
|
5326
|
+
});
|
|
5320
5327
|
}
|
|
5321
5328
|
catch (e) {
|
|
5322
5329
|
// not to
|