@mx-cartographer/experiences 3.7.0-alpha.sms5 → 3.7.0-alpha.sms6

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.
package/dist/index.es.js CHANGED
@@ -196,7 +196,7 @@ class UA {
196
196
  };
197
197
  return fetch(`${this.endpoint}${e}`, r).then((i) => {
198
198
  if (!i.ok)
199
- throw console.log("hey response was not ok, steph", i), i;
199
+ throw i;
200
200
  return i.text();
201
201
  }).then((i) => i.length ? JSON.parse(i) : {}).then((i) => i).catch((i) => {
202
202
  throw xt.notify(i), i;
@@ -12461,7 +12461,7 @@ const ya = {
12461
12461
  MonthlySpendToIncomeComparison: "MonthlySpendToIncomeComparison"
12462
12462
  }, ee = window?.app?.clientConfig?.microwidget_instance_id || "", Ir = {
12463
12463
  INSIGHTS_MICRO_WIDGET: "/micro-insights-carousel"
12464
- }, ji = (A) => `on${A}Click`, Wi = (A) => `on${A}View`, Yi = (A) => `on${A}ViewFirstTime`, Ea = (A) => A.replace(/([a-z])([A-Z])/g, "$1 $2"), Ch = () => Object.values(ya).reduce(
12464
+ }, ji = (A) => `on${A}Click`, Wi = (A) => `on${A}View`, Yi = (A) => `on${A}ViewFirstTime`, Ea = (A) => A.replace(/([a-z])([A-Z])/g, "$1 $2"), Ch = () => (console.log("constants > Analytics.ts > onBeatClickedEvents"), Object.values(ya).reduce(
12465
12465
  (A, e) => ({
12466
12466
  ...A,
12467
12467
  [ji(e)]: {
@@ -12472,7 +12472,7 @@ const ya = {
12472
12472
  }
12473
12473
  }),
12474
12474
  {}
12475
- ), fh = () => Object.values(ya).reduce(
12475
+ )), fh = () => (console.log("constants > Analytics.ts > onBeatDisplayedEvents"), Object.values(ya).reduce(
12476
12476
  (A, e) => ({
12477
12477
  ...A,
12478
12478
  [Wi(e)]: {
@@ -12483,7 +12483,7 @@ const ya = {
12483
12483
  }
12484
12484
  }),
12485
12485
  {}
12486
- ), vh = () => Object.values(ya).reduce(
12486
+ )), vh = () => (console.log("constants > Analytics.ts > onBeatDisplayedForFirstTimeEvents"), Object.values(ya).reduce(
12487
12487
  (A, e) => ({
12488
12488
  ...A,
12489
12489
  [Yi(e)]: {
@@ -12494,7 +12494,7 @@ const ya = {
12494
12494
  }
12495
12495
  }),
12496
12496
  {}
12497
- ), fe = {
12497
+ )), fe = {
12498
12498
  CARD: "Card",
12499
12499
  CAROUSEL_CONTROL: "Carousel Control",
12500
12500
  MICRO_WIDGET: "Micro Widget",
@@ -12601,7 +12601,7 @@ class ph {
12601
12601
  initialize = async (e, n, a) => {
12602
12602
  this.onAnalyticEvent = (r, i) => {
12603
12603
  xr(r, i).then((o) => o).catch((o) => {
12604
- throw console.log("InsightsMicroWidgetStore > onAnalyticEvent catch", o), o.status === 401 && a(), o;
12604
+ throw console.log("InsightsMicroWidgetStore > onAnalyticEvent catch", o), o.status === 401 && (console.log("should log user out"), a()), o;
12605
12605
  });
12606
12606
  }, this.onAnalyticPageView = (r, i) => {
12607
12607
  Pr(r, i).then((o) => o).catch((o) => {