@hivegpt/hiveai-angular 0.0.562 → 0.0.563

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.
@@ -2709,8 +2709,10 @@
2709
2709
  var userTimezone = this.timezone && String(this.timezone).trim()
2710
2710
  ? String(this.timezone).trim()
2711
2711
  : undefined;
2712
- return sessions.map(function (s) {
2712
+ return sessions.map(function (raw) {
2713
2713
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
2714
+ // get_my_agenda returns wrapper { id, schedule, isSession }; normalize to inner schedule object
2715
+ var s = raw && raw.schedule ? raw.schedule : raw;
2714
2716
  // Support both dateTimeRange (string) and actualDateTimeRange (object with start/end)
2715
2717
  var whenRaw = (_b = (_a = s.dateTimeRange) !== null && _a !== void 0 ? _a : s.actualDateTimeRange) !== null && _b !== void 0 ? _b : '';
2716
2718
  var whenFormatted = _this.formatSessionWhen(whenRaw, userTimezone);