@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.cjs.js CHANGED
@@ -7363,7 +7363,7 @@ class ApiClient {
7363
7363
  const headers = {
7364
7364
  Authorization: this.apiConfig.token,
7365
7365
  'stream-auth-type': 'jwt',
7366
- 'X-Stream-Client': 'stream-node-' + "0.7.37",
7366
+ 'X-Stream-Client': 'stream-node-' + "0.7.38",
7367
7367
  'Accept-Encoding': 'gzip',
7368
7368
  'x-client-request-id': clientRequestId,
7369
7369
  };
@@ -7720,7 +7720,7 @@ class FeedsApi {
7720
7720
  user_id: request?.user_id,
7721
7721
  user: request?.user,
7722
7722
  };
7723
- const response = await this.apiClient.sendRequest('PUT', '/api/v2/feeds/activities/{id}/restore', pathParams, undefined, body, 'application/json');
7723
+ const response = await this.apiClient.sendRequest('POST', '/api/v2/feeds/activities/{id}/restore', pathParams, undefined, body, 'application/json');
7724
7724
  decoders.RestoreActivityResponse?.(response.body);
7725
7725
  return { ...response.body, metadata: response.metadata };
7726
7726
  }