@stream-io/feeds-client 0.3.36 → 0.3.37

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-BAM-n--9.mjs";
4
+ import { F as FeedsClient, g as isCommentResponse, c as checkHasAnotherPage } from "../feeds-client-CExHb6GS.mjs";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  const useCreateFeedsClient = ({
7
7
  apiKey,
@@ -508,6 +508,7 @@ decoders.CommentResponse = (input) => {
508
508
  own_reactions: { type: "FeedsReactionResponse", isSingle: false },
509
509
  user: { type: "UserResponse", isSingle: true },
510
510
  deleted_at: { type: "DatetimeType", isSingle: true },
511
+ edited_at: { type: "DatetimeType", isSingle: true },
511
512
  latest_reactions: { type: "FeedsReactionResponse", isSingle: false },
512
513
  reaction_groups: { type: "ReactionGroupResponse", isSingle: false }
513
514
  };
@@ -1372,6 +1373,7 @@ decoders.ThreadedCommentResponse = (input) => {
1372
1373
  own_reactions: { type: "FeedsReactionResponse", isSingle: false },
1373
1374
  user: { type: "UserResponse", isSingle: true },
1374
1375
  deleted_at: { type: "DatetimeType", isSingle: true },
1376
+ edited_at: { type: "DatetimeType", isSingle: true },
1375
1377
  latest_reactions: { type: "FeedsReactionResponse", isSingle: false },
1376
1378
  replies: { type: "ThreadedCommentResponse", isSingle: false },
1377
1379
  reaction_groups: { type: "ReactionGroupResponse", isSingle: false }
@@ -1726,6 +1728,7 @@ class FeedsApi {
1726
1728
  async deleteActivities(request) {
1727
1729
  const body = {
1728
1730
  ids: request?.ids,
1731
+ delete_notification_activity: request?.delete_notification_activity,
1729
1732
  hard_delete: request?.hard_delete
1730
1733
  };
1731
1734
  const response = await this.apiClient.sendRequest(
@@ -1935,7 +1938,8 @@ class FeedsApi {
1935
1938
  }
1936
1939
  async deleteActivity(request) {
1937
1940
  const queryParams = {
1938
- hard_delete: request?.hard_delete
1941
+ hard_delete: request?.hard_delete,
1942
+ delete_notification_activity: request?.delete_notification_activity
1939
1943
  };
1940
1944
  const pathParams = {
1941
1945
  id: request?.id
@@ -3963,7 +3967,7 @@ const getRateLimitFromResponseHeader = (response_headers) => {
3963
3967
  };
3964
3968
  return result;
3965
3969
  };
3966
- const version = "0.3.36";
3970
+ const version = "0.3.37";
3967
3971
  const axios = axiosImport.default ?? axiosImport;
3968
3972
  class ApiClient {
3969
3973
  constructor(apiKey, tokenManager, connectionIdManager, options) {
@@ -7968,4 +7972,4 @@ export {
7968
7972
  shouldUpdateState as s,
7969
7973
  uniqueArrayMerge as u
7970
7974
  };
7971
- //# sourceMappingURL=feeds-client-BAM-n--9.mjs.map
7975
+ //# sourceMappingURL=feeds-client-CExHb6GS.mjs.map