@mx-cartographer/experiences 6.10.3-alpha.al0 → 6.10.3-alpha.al1

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.
@@ -1,5 +1,5 @@
1
1
  import { AppDataApi } from '../api/AppDataApi';
2
- import { AppConfig, AppData, Banner, User, UserCommunicationProfile, UserProfile } from '../types';
2
+ import { AppConfig, AppData, Banner, ClientInsightProfile, User, UserCommunicationProfile, UserProfile } from '../types';
3
3
  import { BannerApi } from '../api';
4
4
  import { GlobalStore } from './GlobalStore';
5
5
  export declare class AppDataStore {
@@ -8,10 +8,10 @@ export declare class AppDataStore {
8
8
  bannerApi: BannerApi;
9
9
  appData: AppData;
10
10
  banner: Banner;
11
+ clientInsightProfile: ClientInsightProfile;
11
12
  constructor(globalStore: GlobalStore);
12
13
  get appConfig(): AppConfig;
13
14
  get clientCommunicationProfile(): import('../types').ClientCommunicationProfile;
14
- get clientInsightProfile(): import('../types').ClientInsightProfile;
15
15
  get user(): User;
16
16
  get userCommunicationProfile(): UserCommunicationProfile;
17
17
  get userProfile(): UserProfile;
package/dist/index.es.js CHANGED
@@ -19604,6 +19604,7 @@ class iC {
19604
19604
  bannerApi = new Ko("/");
19605
19605
  appData = {};
19606
19606
  banner = {};
19607
+ clientInsightProfile = {};
19607
19608
  constructor(n) {
19608
19609
  this.globalStore = n, this.api = new Br(n.endpoint, n.sessionToken), Pe(this);
19609
19610
  }
@@ -19613,9 +19614,9 @@ class iC {
19613
19614
  get clientCommunicationProfile() {
19614
19615
  return this.appData.client_communication_profile;
19615
19616
  }
19616
- get clientInsightProfile() {
19617
- return this.appData.client_insight_profile;
19618
- }
19617
+ // get clientInsightProfile() {
19618
+ // return this.appData.client_insight_profile
19619
+ // }
19619
19620
  get user() {
19620
19621
  return this.appData.user;
19621
19622
  }
@@ -19629,7 +19630,7 @@ class iC {
19629
19630
  try {
19630
19631
  const n = await this.api.getAppData();
19631
19632
  X(() => {
19632
- this.appData = n, this.bannerApi = new Ko(n.address?.bullseye || "/");
19633
+ this.appData = n, this.bannerApi = new Ko(n.address?.bullseye || "/"), this.clientInsightProfile = n.client_insight_profile;
19633
19634
  });
19634
19635
  } catch (n) {
19635
19636
  console.error(`Error loading app data: ${n}`);