@stream-io/node-sdk 0.7.37 → 0.7.38

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
@@ -7344,7 +7344,7 @@ class ApiClient {
7344
7344
  const headers = {
7345
7345
  Authorization: this.apiConfig.token,
7346
7346
  'stream-auth-type': 'jwt',
7347
- 'X-Stream-Client': 'stream-node-' + "0.7.37",
7347
+ 'X-Stream-Client': 'stream-node-' + "0.7.38",
7348
7348
  'Accept-Encoding': 'gzip',
7349
7349
  'x-client-request-id': clientRequestId,
7350
7350
  };
@@ -7701,7 +7701,7 @@ class FeedsApi {
7701
7701
  user_id: request?.user_id,
7702
7702
  user: request?.user,
7703
7703
  };
7704
- const response = await this.apiClient.sendRequest('PUT', '/api/v2/feeds/activities/{id}/restore', pathParams, undefined, body, 'application/json');
7704
+ const response = await this.apiClient.sendRequest('POST', '/api/v2/feeds/activities/{id}/restore', pathParams, undefined, body, 'application/json');
7705
7705
  decoders.RestoreActivityResponse?.(response.body);
7706
7706
  return { ...response.body, metadata: response.metadata };
7707
7707
  }