@stream-io/node-sdk 0.8.10 → 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 +7 -0
- package/dist/index.cjs.js +11 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +11 -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 +22 -1
- package/package.json +1 -1
- package/src/gen/feeds/FeedsApi.ts +10 -0
- package/src/gen/models/index.ts +22 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
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
|
+
|
|
3
10
|
## [0.8.10](https://github.com/GetStream/stream-node/compare/v0.8.9...v0.8.10) (2026-10-01)
|
|
4
11
|
|
|
5
12
|
|
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);
|
|
@@ -13324,11 +13327,16 @@ var FeedsApi = class {
|
|
|
13324
13327
|
};
|
|
13325
13328
|
const body = {
|
|
13326
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,
|
|
13327
13333
|
limit: request?.limit,
|
|
13328
13334
|
next: request?.next,
|
|
13329
13335
|
prev: request?.prev,
|
|
13336
|
+
user_id: request?.user_id,
|
|
13330
13337
|
sort: request?.sort,
|
|
13331
|
-
filter: request?.filter
|
|
13338
|
+
filter: request?.filter,
|
|
13339
|
+
user: request?.user
|
|
13332
13340
|
};
|
|
13333
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);
|
|
13334
13342
|
decoders["QueryPinnedActivitiesResponse"]?.(response);
|