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