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/README.md +777 -777
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +52 -52
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);
|