mitra-interactions-sdk 1.0.67 → 1.0.68

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.mjs CHANGED
@@ -1086,6 +1086,7 @@ var AgentTaskSession = class {
1086
1086
  const payload = { taskId: this._taskId };
1087
1087
  if (this._projectId != null) payload.projectId = this._projectId;
1088
1088
  if ((options == null ? void 0 : options.limit) != null) payload.limit = options.limit;
1089
+ if ((options == null ? void 0 : options.userId) != null && options.userId !== "") payload.userId = options.userId;
1089
1090
  const msgs = await this._transport.request("get_history", payload);
1090
1091
  this._history = msgs;
1091
1092
  this._emit("historyLoaded", msgs);