@stream-io/feeds-client 0.3.22 → 0.3.24

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.
@@ -1959,6 +1959,7 @@ class FeedsApi {
1959
1959
  feeds: request?.feeds,
1960
1960
  filter_tags: request?.filter_tags,
1961
1961
  interest_tags: request?.interest_tags,
1962
+ mentioned_user_ids: request?.mentioned_user_ids,
1962
1963
  custom: request?.custom,
1963
1964
  location: request?.location
1964
1965
  };
@@ -3917,7 +3918,7 @@ const getRateLimitFromResponseHeader = (response_headers) => {
3917
3918
  };
3918
3919
  return result;
3919
3920
  };
3920
- const version = "0.3.22";
3921
+ const version = "0.3.24";
3921
3922
  const axios = axiosImport.default ?? axiosImport;
3922
3923
  class ApiClient {
3923
3924
  constructor(apiKey, tokenManager, connectionIdManager, options) {
@@ -4420,7 +4421,6 @@ class StreamPoll {
4420
4421
  } = event.poll;
4421
4422
  this.state.partialNext({
4422
4423
  answers_count,
4423
- // @ts-expect-error Incompatibility between PollResponseData and Poll due to teams_role, remove when OpenAPI spec is fixed
4424
4424
  latest_votes_by_option,
4425
4425
  vote_count,
4426
4426
  vote_counts_by_option,
@@ -4443,7 +4443,6 @@ class StreamPoll {
4443
4443
  if (isOwnVote) {
4444
4444
  if (isVoteAnswer(event.poll_vote)) {
4445
4445
  latestAnswers = [
4446
- // @ts-expect-error Incompatibility between PollResponseData and Poll due to teams_role, remove when OpenAPI spec is fixed
4447
4446
  event.poll_vote,
4448
4447
  ...latestAnswers.filter((answer) => answer.id !== event.poll_vote.id)
4449
4448
  ];
@@ -4483,7 +4482,6 @@ class StreamPoll {
4483
4482
  } = event.poll;
4484
4483
  this.state.partialNext({
4485
4484
  answers_count,
4486
- // @ts-expect-error Incompatibility between PollResponseData and Poll due to teams_role, remove when OpenAPI spec is fixed
4487
4485
  latest_votes_by_option,
4488
4486
  vote_count,
4489
4487
  vote_counts_by_option,
@@ -4526,7 +4524,6 @@ class StreamPoll {
4526
4524
  } = event.poll;
4527
4525
  this.state.partialNext({
4528
4526
  answers_count,
4529
- // @ts-expect-error Incompatibility between PollResponseData and Poll due to teams_role, remove when OpenAPI spec is fixed
4530
4527
  latest_votes_by_option,
4531
4528
  vote_count,
4532
4529
  vote_counts_by_option,
@@ -7788,4 +7785,4 @@ export {
7788
7785
  shouldUpdateState as s,
7789
7786
  uniqueArrayMerge as u
7790
7787
  };
7791
- //# sourceMappingURL=feeds-client-DN5Qgsws.mjs.map
7788
+ //# sourceMappingURL=feeds-client-DljxtRSI.mjs.map