@meshagent/meshagent-ts-auth 0.41.0 → 0.41.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.41.1]
2
+ - TypeScript feed subscription requests and responses now carry an optional `filename_datetime_format`.
3
+ - The chatbot UI template now builds and runs as a standalone Next.js app, deploys as a private websocket-enabled service with the `/messages` port, keeps messages pinned to the bottom, and updates Next.js to `16.2.6`.
4
+
1
5
  ## [0.41.0]
2
6
  - Added spec-based route models and route CRUD/listing APIs, including room and agent routes, with legacy-payload compatibility.
3
7
  - Managed-agent toolkit descriptions were simplified to omit `thumbnailUrl` and `pricing`.
@@ -38245,11 +38245,12 @@ ${newlined}
38245
38245
  if (!data || typeof data !== "object") {
38246
38246
  throw new requirement_1.RoomException("Invalid feed subscription payload");
38247
38247
  }
38248
- const { id: id2, feed_id: feedIdRaw, feedId, project_id: projectIdRaw, projectId, room, room_id: roomIdRaw, roomId, path, created_at: createdAtRaw, createdAt, annotations } = data;
38248
+ const { id: id2, feed_id: feedIdRaw, feedId, project_id: projectIdRaw, projectId, room, room_id: roomIdRaw, roomId, path, filename_datetime_format: filenameDatetimeFormatRaw, filenameDatetimeFormat, created_at: createdAtRaw, createdAt, annotations } = data;
38249
38249
  const feedIdValue = typeof feedId === "string" ? feedId : feedIdRaw;
38250
38250
  const projectIdValue = typeof projectId === "string" ? projectId : projectIdRaw;
38251
38251
  const createdAtValue = typeof createdAt === "string" ? createdAt : createdAtRaw;
38252
38252
  const roomIdValue = typeof roomId === "string" ? roomId : roomIdRaw;
38253
+ const filenameDatetimeFormatValue = typeof filenameDatetimeFormat === "string" ? filenameDatetimeFormat : typeof filenameDatetimeFormatRaw === "string" ? filenameDatetimeFormatRaw : void 0;
38253
38254
  if (typeof id2 !== "string" || typeof feedIdValue !== "string" || typeof projectIdValue !== "string" || typeof room !== "string" || typeof path !== "string" || typeof createdAtValue !== "string") {
38254
38255
  throw new requirement_1.RoomException("Invalid feed subscription payload: missing required fields");
38255
38256
  }
@@ -38260,6 +38261,7 @@ ${newlined}
38260
38261
  room,
38261
38262
  roomId: typeof roomIdValue === "string" ? roomIdValue : void 0,
38262
38263
  path,
38264
+ filenameDatetimeFormat: filenameDatetimeFormatValue,
38263
38265
  createdAt: new Date(createdAtValue),
38264
38266
  annotations: annotations && typeof annotations === "object" ? annotations : {}
38265
38267
  };
@@ -39066,19 +39068,27 @@ ${newlined}
39066
39068
  });
39067
39069
  }
39068
39070
  async createFeedSubscription(params2) {
39069
- const { projectId, feedId, room, path, annotations = {} } = params2;
39071
+ const { projectId, feedId, room, path, filenameDatetimeFormat, annotations = {} } = params2;
39070
39072
  const data = await this.request(`/accounts/projects/${projectId}/feeds/${feedId}/subscriptions`, {
39071
39073
  method: "POST",
39072
- json: { room, path, annotations },
39074
+ json: {
39075
+ room,
39076
+ path,
39077
+ ...filenameDatetimeFormat !== void 0 ? { filename_datetime_format: filenameDatetimeFormat } : {},
39078
+ annotations
39079
+ },
39073
39080
  action: "create feed subscription"
39074
39081
  });
39075
39082
  return this.parseFeedSubscription(data.subscription);
39076
39083
  }
39077
39084
  async updateFeedSubscription(params2) {
39078
- const { projectId, feedId, subscriptionId, annotations = {} } = params2;
39085
+ const { projectId, feedId, subscriptionId, filenameDatetimeFormat, annotations = {} } = params2;
39079
39086
  await this.request(`/accounts/projects/${projectId}/feeds/${feedId}/subscriptions/${subscriptionId}`, {
39080
39087
  method: "PUT",
39081
- json: { annotations },
39088
+ json: {
39089
+ ...filenameDatetimeFormat !== void 0 ? { filename_datetime_format: filenameDatetimeFormat } : {},
39090
+ annotations
39091
+ },
39082
39092
  action: "update feed subscription",
39083
39093
  responseType: "void"
39084
39094
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshagent/meshagent-ts-auth",
3
- "version": "0.41.0",
3
+ "version": "0.41.1",
4
4
  "description": "Meshagent Typescript Auth",
5
5
  "homepage": "https://github.com/meshagent/meshagent-ts-auth",
6
6
  "scripts": {
@@ -39,7 +39,7 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "@meshagent/meshagent": "^0.41.0",
42
+ "@meshagent/meshagent": "^0.41.1",
43
43
  "typescript": "^5.8.3"
44
44
  },
45
45
  "devDependencies": {