monkey-front-core 0.0.439 → 0.0.441

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.
@@ -3697,28 +3697,26 @@ class MonkeyEcxConfigService extends MonkeyEcxCommonsService {
3697
3697
  this.configBootstrapSubject$ = new BehaviorSubject({});
3698
3698
  }
3699
3699
  async internalValidations(...args) {
3700
- const { monkeyecxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService, monkeyecxi18nConfigService } = this;
3700
+ const { monkeyecxServiceWorkerConfigService, monkeyecxSecurityConsoleConfigService, monkeyecxMaintenanceConfigService } = this;
3701
3701
  const configBootstrap = args[0];
3702
3702
  const callback = args[1];
3703
- const environment = args[2];
3704
- const config = args[3];
3705
- await monkeyecxi18nConfigService.apply(config, environment);
3706
3703
  monkeyecxSecurityConsoleConfigService.apply();
3707
3704
  monkeyecxServiceWorkerConfigService.apply(configBootstrap);
3708
3705
  monkeyecxMaintenanceConfigService.apply(configBootstrap);
3709
3706
  callback(configBootstrap);
3710
3707
  }
3711
3708
  getWhiteLabelSettings(monkeyecxCode, configBootstrap, callback, environment, identifyCode) {
3712
- const { monkeyecxService, configSubject$, monkeyStyleGuideSettingsService, monkeyecxLogsConfigService, monkeyecxErrorConfigService, monkeyEcxFeatureToggleService, monkeyGTMConfigService, monkeyEcxAlertsConfigService, internalValidations } = this;
3709
+ const { monkeyecxService, configSubject$, monkeyStyleGuideSettingsService, monkeyecxLogsConfigService, monkeyecxErrorConfigService, monkeyEcxFeatureToggleService, monkeyGTMConfigService, monkeyecxi18nConfigService, monkeyEcxAlertsConfigService, internalValidations } = this;
3713
3710
  const url = `${environment.urlAssets}/${monkeyecxCode.toLowerCase()}`;
3714
3711
  monkeyecxService
3715
3712
  ?.get(`${url}/white-label.json`)
3716
3713
  ?.subscribe(async (config) => {
3714
+ await monkeyecxi18nConfigService.apply(config, environment);
3717
3715
  monkeyecxLogsConfigService.apply(config, configBootstrap, environment, identifyCode);
3718
3716
  monkeyEcxFeatureToggleService.apply(configSubject$, environment);
3719
3717
  monkeyGTMConfigService.apply(environment);
3720
3718
  monkeyEcxAlertsConfigService.apply(config);
3721
- monkeyStyleGuideSettingsService.bootstrap(`${url}/monkey-style-guide-settings.json`, internalValidations.bind(this, configBootstrap, callback, environment, config));
3719
+ monkeyStyleGuideSettingsService.bootstrap(`${url}/monkey-style-guide-settings.json`, internalValidations.bind(this, configBootstrap, callback));
3722
3720
  configSubject$.next(config);
3723
3721
  }, (err) => {
3724
3722
  monkeyecxErrorConfigService.apply('theme');