@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/dist/index.es.mjs CHANGED
@@ -4824,7 +4824,7 @@ var ApiClient = class {
4824
4824
  const headers = {
4825
4825
  Authorization: this.apiConfig.token,
4826
4826
  "stream-auth-type": "jwt",
4827
- "X-Stream-Client": "stream-node-0.9.5",
4827
+ "X-Stream-Client": "stream-node-0.9.6",
4828
4828
  "Accept-Encoding": "gzip",
4829
4829
  "x-client-request-id": clientRequestId
4830
4830
  };
@@ -6271,6 +6271,20 @@ var FeedsApi = class {
6271
6271
  decoders["UpdateMembershipLevelResponse"]?.(response);
6272
6272
  return response;
6273
6273
  }
6274
+ async queryFeedsReactions(request) {
6275
+ const body = {
6276
+ object_type: request?.object_type,
6277
+ user_id: request?.user_id,
6278
+ limit: request?.limit,
6279
+ next: request?.next,
6280
+ prev: request?.prev,
6281
+ sort: request?.sort,
6282
+ filter: request?.filter
6283
+ };
6284
+ const response = await this.apiClient.sendRequest("POST", "/api/v2/feeds/reactions/query", void 0, void 0, body);
6285
+ decoders["QueryFeedsReactionsResponse"]?.(response);
6286
+ return response;
6287
+ }
6274
6288
  async feedsGetRetentionPolicy() {
6275
6289
  const response = await this.apiClient.sendRequest("GET", "/api/v2/feeds/retention_policy", void 0, void 0);
6276
6290
  decoders["GetFeedsRetentionPolicyResponse"]?.(response);