@stream-io/feeds-client 0.3.28 → 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-Dr24iZo9.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);
@@ -2336,6 +2337,9 @@ class FeedsApi {
2336
2337
  feed_id: request?.feed_id
2337
2338
  };
2338
2339
  const body = {
2340
+ description: request?.description,
2341
+ name: request?.name,
2342
+ filter_tags: request?.filter_tags,
2339
2343
  custom: request?.custom
2340
2344
  };
2341
2345
  const response = await this.apiClient.sendRequest(
@@ -3918,7 +3922,7 @@ const getRateLimitFromResponseHeader = (response_headers) => {
3918
3922
  };
3919
3923
  return result;
3920
3924
  };
3921
- const version = "0.3.28";
3925
+ const version = "0.3.30";
3922
3926
  const axios = axiosImport.default ?? axiosImport;
3923
3927
  class ApiClient {
3924
3928
  constructor(apiKey, tokenManager, connectionIdManager, options) {
@@ -7854,4 +7858,4 @@ export {
7854
7858
  shouldUpdateState as s,
7855
7859
  uniqueArrayMerge as u
7856
7860
  };
7857
- //# sourceMappingURL=feeds-client-Dr24iZo9.mjs.map
7861
+ //# sourceMappingURL=feeds-client-BASqBaM8.mjs.map