@hivegpt/hiveai-angular 0.0.562 → 0.0.564

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);
@@ -5213,6 +5215,7 @@
5213
5215
  'hive-bot-id': this.botId,
5214
5216
  'domain-authority': this.domainAuthorityValue,
5215
5217
  eventUrl: this.eventUrl,
5218
+ eventId: this.eventId,
5216
5219
  eventToken: this.eventToken,
5217
5220
  };
5218
5221
  if (this.workspaceToken) {
@@ -5277,6 +5280,7 @@
5277
5280
  'x-api-key': this.apiKey,
5278
5281
  'hive-bot-id': this.botId,
5279
5282
  'domain-authority': this.domainAuthorityValue,
5283
+ 'eventId': this.eventId,
5280
5284
  });
5281
5285
  this.http.post(url, body, { headers: headers }).subscribe({
5282
5286
  next: function (data) {