@stream-io/feeds-client 0.3.29 → 0.3.30

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.
@@ -1,7 +1,7 @@
1
1
  import { useStateStore } from "@stream-io/state-store/react-bindings";
2
2
  export * from "@stream-io/state-store/react-bindings";
3
3
  import { useState, useEffect, createContext, useContext, useRef, useCallback, useMemo } from "react";
4
- import { F as FeedsClient, g as isCommentResponse, c as checkHasAnotherPage } from "../feeds-client-B-2hdWUU.mjs";
4
+ import { F as FeedsClient, g as isCommentResponse, c as checkHasAnotherPage } from "../feeds-client-BASqBaM8.mjs";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  const useCreateFeedsClient = ({
7
7
  apiKey,
@@ -1109,6 +1109,7 @@ decoders.PollVoteRemovedFeedEvent = (input) => {
1109
1109
  };
1110
1110
  decoders.PollVoteResponse = (input) => {
1111
1111
  const typeMappings = {
1112
+ poll: { type: "PollResponseData", isSingle: true },
1112
1113
  vote: { type: "PollVoteResponseData", isSingle: true }
1113
1114
  };
1114
1115
  return decode(typeMappings, input);
@@ -3921,7 +3922,7 @@ const getRateLimitFromResponseHeader = (response_headers) => {
3921
3922
  };
3922
3923
  return result;
3923
3924
  };
3924
- const version = "0.3.29";
3925
+ const version = "0.3.30";
3925
3926
  const axios = axiosImport.default ?? axiosImport;
3926
3927
  class ApiClient {
3927
3928
  constructor(apiKey, tokenManager, connectionIdManager, options) {
@@ -7857,4 +7858,4 @@ export {
7857
7858
  shouldUpdateState as s,
7858
7859
  uniqueArrayMerge as u
7859
7860
  };
7860
- //# sourceMappingURL=feeds-client-B-2hdWUU.mjs.map
7861
+ //# sourceMappingURL=feeds-client-BASqBaM8.mjs.map