@stream-io/feeds-client 0.3.29 → 0.3.31

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-DYnxEI2D.mjs";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  const useCreateFeedsClient = ({
7
7
  apiKey,
@@ -1127,6 +1127,7 @@ decoders.PollVoteRemovedFeedEvent = (input) => {
1127
1127
  };
1128
1128
  decoders.PollVoteResponse = (input) => {
1129
1129
  const typeMappings = {
1130
+ poll: { type: "PollResponseData", isSingle: true },
1130
1131
  vote: { type: "PollVoteResponseData", isSingle: true }
1131
1132
  };
1132
1133
  return decode(typeMappings, input);
@@ -2209,6 +2210,7 @@ class FeedsApi {
2209
2210
  comment: request?.comment,
2210
2211
  skip_enrich_url: request?.skip_enrich_url,
2211
2212
  skip_push: request?.skip_push,
2213
+ attachments: request?.attachments,
2212
2214
  custom: request?.custom
2213
2215
  };
2214
2216
  const response = await this.apiClient.sendRequest(
@@ -3939,7 +3941,7 @@ const getRateLimitFromResponseHeader = (response_headers) => {
3939
3941
  };
3940
3942
  return result;
3941
3943
  };
3942
- const version = "0.3.29";
3944
+ const version = "0.3.31";
3943
3945
  const axios = axiosImport.default ?? axiosImport;
3944
3946
  class ApiClient {
3945
3947
  constructor(apiKey, tokenManager, connectionIdManager, options) {
@@ -7873,4 +7875,4 @@ exports.replaceUniqueArrayMerge = replaceUniqueArrayMerge;
7873
7875
  exports.shouldUpdateState = shouldUpdateState;
7874
7876
  exports.uniqueArrayMerge = uniqueArrayMerge;
7875
7877
  exports.updateEntityInArray = updateEntityInArray;
7876
- //# sourceMappingURL=feeds-client-BoUs914A.js.map
7878
+ //# sourceMappingURL=feeds-client-BUsd5D-y.js.map