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

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