monkey-front-core 0.0.551 → 0.0.552

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.
@@ -3901,9 +3901,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
3901
3901
  }], ctorParameters: function () { return [{ type: MonkeyEcxService }, { type: MonkeyEcxTokenStorageService }, { type: i1$1.TranslateService }, { type: MonkeyEcxErrorConfigService }]; } });
3902
3902
 
3903
3903
  class MonkeyEcxLogsConfigService {
3904
+ constructor() {
3905
+ this.allSet = false;
3906
+ }
3904
3907
  apply(params, configBootstrap, environment, identifyCode) {
3905
3908
  const { program, logs } = params;
3906
- if (logs?.enabled && environment.environment !== 'dev') {
3909
+ if (logs?.enabled && environment.environment !== 'dev' && !this.allSet) {
3907
3910
  datadogRum.init({
3908
3911
  applicationId: environment?.dataDogApplicationId,
3909
3912
  clientToken: environment?.dataDogClientToken,
@@ -3921,6 +3924,7 @@ class MonkeyEcxLogsConfigService {
3921
3924
  defaultPrivacyLevel: 'mask-user-input'
3922
3925
  });
3923
3926
  datadogRum.startSessionReplayRecording();
3927
+ this.allSet = true;
3924
3928
  }
3925
3929
  }
3926
3930
  }