@stream-io/node-sdk 0.9.5 → 0.9.6

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.9.6](https://github.com/GetStream/stream-node/compare/v0.9.5...v0.9.6) (2026-11-19)
4
+
5
+
6
+ ### Features
7
+
8
+ * add queryFeedsReactions ([#401](https://github.com/GetStream/stream-node/issues/401)) ([ec57879](https://github.com/GetStream/stream-node/commit/ec578790278757551a80749560b226d26e3f561d))
9
+
3
10
  ## [0.9.5](https://github.com/GetStream/stream-node/compare/v0.9.4...v0.9.5) (2026-11-18)
4
11
 
5
12
 
package/dist/index.cjs.js CHANGED
@@ -4849,7 +4849,7 @@ var ApiClient = class {
4849
4849
  const headers = {
4850
4850
  Authorization: this.apiConfig.token,
4851
4851
  "stream-auth-type": "jwt",
4852
- "X-Stream-Client": "stream-node-0.9.5",
4852
+ "X-Stream-Client": "stream-node-0.9.6",
4853
4853
  "Accept-Encoding": "gzip",
4854
4854
  "x-client-request-id": clientRequestId
4855
4855
  };
@@ -6296,6 +6296,20 @@ var FeedsApi = class {
6296
6296
  decoders["UpdateMembershipLevelResponse"]?.(response);
6297
6297
  return response;
6298
6298
  }
6299
+ async queryFeedsReactions(request) {
6300
+ const body = {
6301
+ object_type: request?.object_type,
6302
+ user_id: request?.user_id,
6303
+ limit: request?.limit,
6304
+ next: request?.next,
6305
+ prev: request?.prev,
6306
+ sort: request?.sort,
6307
+ filter: request?.filter
6308
+ };
6309
+ const response = await this.apiClient.sendRequest("POST", "/api/v2/feeds/reactions/query", void 0, void 0, body);
6310
+ decoders["QueryFeedsReactionsResponse"]?.(response);
6311
+ return response;
6312
+ }
6299
6313
  async feedsGetRetentionPolicy() {
6300
6314
  const response = await this.apiClient.sendRequest("GET", "/api/v2/feeds/retention_policy", void 0, void 0);
6301
6315
  decoders["GetFeedsRetentionPolicyResponse"]?.(response);