@mx-cartographer/experiences 6.2.0-alpha.al6 → 6.2.0

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.
@@ -8,7 +8,6 @@ export declare class AppDataStore {
8
8
  bannerApi: BannerApi;
9
9
  appData: AppData;
10
10
  banner: Banner;
11
- environment: string;
12
11
  constructor(globalStore: GlobalStore);
13
12
  get appConfig(): AppConfig;
14
13
  get clientCommunicationProfile(): import('../types').ClientCommunicationProfile;
package/dist/index.es.js CHANGED
@@ -4036,10 +4036,10 @@ class Yu {
4036
4036
  }
4037
4037
  loadSurvey = (n = !1) => {
4038
4038
  od.getActiveMatchingSurveys((i) => {
4039
- console.log(i), K(() => {
4039
+ K(() => {
4040
4040
  if (i.length > 0) {
4041
4041
  const a = i.find((r) => r.id === this.surveyId);
4042
- console.log(a), a && (this.survey = a, this.currentQuestionIndex = 0, this.question = a.questions[0], this.response = null, this.responses = {});
4042
+ a && (this.survey = a, this.currentQuestionIndex = 0, this.question = a.questions[0], this.response = null, this.responses = {});
4043
4043
  }
4044
4044
  });
4045
4045
  }, n);
@@ -19367,7 +19367,6 @@ class EC {
19367
19367
  bannerApi = new ro("/");
19368
19368
  appData = {};
19369
19369
  banner = {};
19370
- environment = "";
19371
19370
  constructor(n) {
19372
19371
  this.globalStore = n, this.api = new Qo(n.endpoint, n.sessionToken), Ge(this);
19373
19372
  }
@@ -21177,9 +21176,9 @@ const ZC = () => {
21177
21176
  survey: h
21178
21177
  } = fr(), { analytics: m, common: C } = I(), { isCopyLoaded: f, isInitialized: E } = ce(), [b, T] = g.useState(!1);
21179
21178
  g.useEffect(() => {
21180
- E && (console.log("loading Survey"), s());
21179
+ E && s();
21181
21180
  }, [E]), g.useEffect(() => {
21182
- console.log("survey loaded", h), console.log("survey id", i), e("survey shown", {
21181
+ e("survey shown", {
21183
21182
  $survey_id: i
21184
21183
  });
21185
21184
  }, [h]);