stream-chat 9.35.1 → 9.36.0

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.
@@ -470,34 +470,6 @@ var ChannelBatchUpdater = class {
470
470
  data
471
471
  });
472
472
  }
473
- /**
474
- * addFilterTags - Add filter tags to channels matching the filter
475
- *
476
- * @param {UpdateChannelsBatchFilters} filter Filter to select channels
477
- * @param {string[]} tags Tags to add
478
- * @return {Promise<APIResponse & UpdateChannelsBatchResponse>} The server response
479
- */
480
- async addFilterTags(filter, tags) {
481
- return await this.client.updateChannelsBatch({
482
- operation: "addFilterTags",
483
- filter,
484
- filter_tags_update: tags
485
- });
486
- }
487
- /**
488
- * removeFilterTags - Remove filter tags from channels matching the filter
489
- *
490
- * @param {UpdateChannelsBatchFilters} filter Filter to select channels
491
- * @param {string[]} tags Tags to remove
492
- * @return {Promise<APIResponse & UpdateChannelsBatchResponse>} The server response
493
- */
494
- async removeFilterTags(filter, tags) {
495
- return await this.client.updateChannelsBatch({
496
- operation: "removeFilterTags",
497
- filter,
498
- filter_tags_update: tags
499
- });
500
- }
501
473
  };
502
474
 
503
475
  // src/client.ts
@@ -15039,6 +15011,8 @@ var StreamChat = class _StreamChat {
15039
15011
  `${this.baseURL}/threads`,
15040
15012
  requestBody
15041
15013
  );
15014
+ const parentMessages = response.threads.map((thread) => thread.parent_message);
15015
+ this.polls.hydratePollCache(parentMessages);
15042
15016
  return {
15043
15017
  threads: response.threads.map(
15044
15018
  (thread) => new Thread({ client: this, threadData: thread })
@@ -15113,7 +15087,7 @@ var StreamChat = class _StreamChat {
15113
15087
  if (this.userAgent) {
15114
15088
  return this.userAgent;
15115
15089
  }
15116
- const version = "9.35.1";
15090
+ const version = "9.36.0";
15117
15091
  const clientBundle = "node-cjs";
15118
15092
  let userAgentString = "";
15119
15093
  if (this.sdkIdentifier) {