@stream-io/node-sdk 0.8.9 → 0.8.11
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 +14 -0
- package/dist/index.cjs.js +12 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +12 -3
- package/dist/index.es.mjs.map +1 -1
- package/dist/src/gen/feeds/FeedsApi.d.ts +2 -0
- package/dist/src/gen/models/index.d.ts +26 -1
- package/package.json +1 -1
- package/src/gen/feeds/FeedsApi.ts +11 -0
- package/src/gen/models/index.ts +26 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.8.11](https://github.com/GetStream/stream-node/compare/v0.8.10...v0.8.11) (2026-10-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add include_moderated_activities and feeds read scope flags ([#364](https://github.com/GetStream/stream-node/issues/364)) ([c9dbd11](https://github.com/GetStream/stream-node/commit/c9dbd11e213ac4480fc608e39ea3ec32d2ae0379))
|
|
9
|
+
|
|
10
|
+
## [0.8.10](https://github.com/GetStream/stream-node/compare/v0.8.9...v0.8.10) (2026-10-01)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* Add include_soft_deleted_comments ([#362](https://github.com/GetStream/stream-node/issues/362)) ([0702ce4](https://github.com/GetStream/stream-node/commit/0702ce427afcdfecdc1b877b095c09cc422a8bb8))
|
|
16
|
+
|
|
3
17
|
## [0.8.9](https://github.com/GetStream/stream-node/compare/v0.8.8...v0.8.9) (2026-09-29)
|
|
4
18
|
|
|
5
19
|
|
package/dist/index.cjs.js
CHANGED
|
@@ -12325,7 +12325,7 @@ var ApiClient = class {
|
|
|
12325
12325
|
const headers = {
|
|
12326
12326
|
Authorization: this.apiConfig.token,
|
|
12327
12327
|
"stream-auth-type": "jwt",
|
|
12328
|
-
"X-Stream-Client": "stream-node-0.8.
|
|
12328
|
+
"X-Stream-Client": "stream-node-0.8.11",
|
|
12329
12329
|
"Accept-Encoding": "gzip",
|
|
12330
12330
|
"x-client-request-id": clientRequestId
|
|
12331
12331
|
};
|
|
@@ -12485,6 +12485,7 @@ var FeedsApi = class {
|
|
|
12485
12485
|
const body = {
|
|
12486
12486
|
enrich_own_fields: request?.enrich_own_fields,
|
|
12487
12487
|
include_expired_activities: request?.include_expired_activities,
|
|
12488
|
+
include_moderated_activities: request?.include_moderated_activities,
|
|
12488
12489
|
include_private_activities: request?.include_private_activities,
|
|
12489
12490
|
include_soft_deleted_activities: request?.include_soft_deleted_activities,
|
|
12490
12491
|
limit: request?.limit,
|
|
@@ -12662,7 +12663,9 @@ var FeedsApi = class {
|
|
|
12662
12663
|
user_id: request?.user_id,
|
|
12663
12664
|
language: request?.language,
|
|
12664
12665
|
translate_text: request?.translate_text,
|
|
12665
|
-
include_top_level_comment_count: request?.include_top_level_comment_count
|
|
12666
|
+
include_top_level_comment_count: request?.include_top_level_comment_count,
|
|
12667
|
+
include_soft_deleted_activities: request?.include_soft_deleted_activities,
|
|
12668
|
+
include_moderated_activities: request?.include_moderated_activities
|
|
12666
12669
|
};
|
|
12667
12670
|
const pathParams = { id: request?.id };
|
|
12668
12671
|
const response = await this.apiClient.sendRequest("GET", "/api/v2/feeds/activities/{id}", pathParams, queryParams);
|
|
@@ -12895,6 +12898,7 @@ var FeedsApi = class {
|
|
|
12895
12898
|
const body = {
|
|
12896
12899
|
filter: request?.filter,
|
|
12897
12900
|
id_around: request?.id_around,
|
|
12901
|
+
include_soft_deleted_comments: request?.include_soft_deleted_comments,
|
|
12898
12902
|
limit: request?.limit,
|
|
12899
12903
|
next: request?.next,
|
|
12900
12904
|
prev: request?.prev,
|
|
@@ -13323,11 +13327,16 @@ var FeedsApi = class {
|
|
|
13323
13327
|
};
|
|
13324
13328
|
const body = {
|
|
13325
13329
|
enrich_own_fields: request?.enrich_own_fields,
|
|
13330
|
+
include_expired_activities: request?.include_expired_activities,
|
|
13331
|
+
include_moderated_activities: request?.include_moderated_activities,
|
|
13332
|
+
include_soft_deleted_activities: request?.include_soft_deleted_activities,
|
|
13326
13333
|
limit: request?.limit,
|
|
13327
13334
|
next: request?.next,
|
|
13328
13335
|
prev: request?.prev,
|
|
13336
|
+
user_id: request?.user_id,
|
|
13329
13337
|
sort: request?.sort,
|
|
13330
|
-
filter: request?.filter
|
|
13338
|
+
filter: request?.filter,
|
|
13339
|
+
user: request?.user
|
|
13331
13340
|
};
|
|
13332
13341
|
const response = await this.apiClient.sendRequest("POST", "/api/v2/feeds/feed_groups/{feed_group_id}/feeds/{feed_id}/pinned_activities/query", pathParams, queryParams, body);
|
|
13333
13342
|
decoders["QueryPinnedActivitiesResponse"]?.(response);
|