@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 +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +2 -2
- package/dist/index.es.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/feeds/FeedsApi.ts +1 -1
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.
|
|
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('
|
|
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
|
}
|