@stream-io/feeds-client 0.3.22 → 0.3.24
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 +12 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/react-bindings.js +1 -1
- package/dist/es/index.mjs +2 -2
- package/dist/es/react-bindings.mjs +1 -1
- package/dist/{feeds-client-C46SYHa2.js → feeds-client-CuCL126K.js} +3 -6
- package/dist/feeds-client-CuCL126K.js.map +1 -0
- package/dist/{feeds-client-DN5Qgsws.mjs → feeds-client-DljxtRSI.mjs} +3 -6
- package/dist/feeds-client-DljxtRSI.mjs.map +1 -0
- package/dist/types/common/Poll.d.ts +6 -6
- package/dist/types/common/Poll.d.ts.map +1 -1
- package/dist/types/feeds-client/feeds-client.d.ts.map +1 -1
- package/dist/types/gen/feeds/FeedsApi.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/common/Poll.ts +13 -30
- package/src/feeds-client/feeds-client.ts +0 -2
- package/src/gen/feeds/FeedsApi.ts +1 -0
- package/dist/feeds-client-C46SYHa2.js.map +0 -1
- package/dist/feeds-client-DN5Qgsws.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.3.24](https://github.com/GetStream/stream-feeds-js/compare/@stream-io/feeds-client-0.3.23...@stream-io/feeds-client-0.3.24) (2025-12-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* proper poll typing with user response ([#196](https://github.com/GetStream/stream-feeds-js/issues/196)) ([6d83e88](https://github.com/GetStream/stream-feeds-js/commit/6d83e88d75f8810129f607ec61c1e0ac30b4074c)), closes [#171](https://github.com/GetStream/stream-feeds-js/issues/171)
|
|
11
|
+
|
|
12
|
+
## [0.3.23](https://github.com/GetStream/stream-feeds-js/compare/@stream-io/feeds-client-0.3.22...@stream-io/feeds-client-0.3.23) (2025-12-16)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
* add mentioned user id to updateActivity [FEEDS-748] ([#194](https://github.com/GetStream/stream-feeds-js/issues/194)) ([8351abe](https://github.com/GetStream/stream-feeds-js/commit/8351abe275c915900e40b5ef5a8ed252b428e0aa))
|
|
16
|
+
|
|
5
17
|
## [0.3.22](https://github.com/GetStream/stream-feeds-js/compare/@stream-io/feeds-client-0.3.21...@stream-io/feeds-client-0.3.22) (2025-12-16)
|
|
6
18
|
|
|
7
19
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const stateStore = require("@stream-io/state-store");
|
|
4
|
-
const feedsClient = require("../feeds-client-
|
|
4
|
+
const feedsClient = require("../feeds-client-CuCL126K.js");
|
|
5
5
|
const loggerInternal = require("@stream-io/logger");
|
|
6
6
|
const ChannelOwnCapability = {
|
|
7
7
|
BAN_CHANNEL_MEMBERS: "ban-channel-members",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const require$$0 = require("react");
|
|
4
4
|
require("@stream-io/state-store");
|
|
5
|
-
const feedsClient = require("../feeds-client-
|
|
5
|
+
const feedsClient = require("../feeds-client-CuCL126K.js");
|
|
6
6
|
var shim = { exports: {} };
|
|
7
7
|
var useSyncExternalStoreShim_production = {};
|
|
8
8
|
/**
|
package/dist/es/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StateStore } from "@stream-io/state-store";
|
|
2
2
|
export * from "@stream-io/state-store";
|
|
3
|
-
import { d as debounce } from "../feeds-client-
|
|
4
|
-
import { A, C, a, F, S, b, c, n, m, k, g, e, h, f, j, i, r, s, u, l } from "../feeds-client-
|
|
3
|
+
import { d as debounce } from "../feeds-client-DljxtRSI.mjs";
|
|
4
|
+
import { A, C, a, F, S, b, c, n, m, k, g, e, h, f, j, i, r, s, u, l } from "../feeds-client-DljxtRSI.mjs";
|
|
5
5
|
import { LogLevelEnum } from "@stream-io/logger";
|
|
6
6
|
const ChannelOwnCapability = {
|
|
7
7
|
BAN_CHANNEL_MEMBERS: "ban-channel-members",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import require$$0, { useCallback, useMemo, useState, useEffect, createContext, useContext, useRef } from "react";
|
|
2
2
|
import "@stream-io/state-store";
|
|
3
|
-
import { F as FeedsClient, g as isCommentResponse, c as checkHasAnotherPage } from "../feeds-client-
|
|
3
|
+
import { F as FeedsClient, g as isCommentResponse, c as checkHasAnotherPage } from "../feeds-client-DljxtRSI.mjs";
|
|
4
4
|
var shim = { exports: {} };
|
|
5
5
|
var useSyncExternalStoreShim_production = {};
|
|
6
6
|
/**
|
|
@@ -1977,6 +1977,7 @@ class FeedsApi {
|
|
|
1977
1977
|
feeds: request?.feeds,
|
|
1978
1978
|
filter_tags: request?.filter_tags,
|
|
1979
1979
|
interest_tags: request?.interest_tags,
|
|
1980
|
+
mentioned_user_ids: request?.mentioned_user_ids,
|
|
1980
1981
|
custom: request?.custom,
|
|
1981
1982
|
location: request?.location
|
|
1982
1983
|
};
|
|
@@ -3935,7 +3936,7 @@ const getRateLimitFromResponseHeader = (response_headers) => {
|
|
|
3935
3936
|
};
|
|
3936
3937
|
return result;
|
|
3937
3938
|
};
|
|
3938
|
-
const version = "0.3.
|
|
3939
|
+
const version = "0.3.24";
|
|
3939
3940
|
const axios = axiosImport.default ?? axiosImport;
|
|
3940
3941
|
class ApiClient {
|
|
3941
3942
|
constructor(apiKey, tokenManager, connectionIdManager, options) {
|
|
@@ -4438,7 +4439,6 @@ class StreamPoll {
|
|
|
4438
4439
|
} = event.poll;
|
|
4439
4440
|
this.state.partialNext({
|
|
4440
4441
|
answers_count,
|
|
4441
|
-
// @ts-expect-error Incompatibility between PollResponseData and Poll due to teams_role, remove when OpenAPI spec is fixed
|
|
4442
4442
|
latest_votes_by_option,
|
|
4443
4443
|
vote_count,
|
|
4444
4444
|
vote_counts_by_option,
|
|
@@ -4461,7 +4461,6 @@ class StreamPoll {
|
|
|
4461
4461
|
if (isOwnVote) {
|
|
4462
4462
|
if (isVoteAnswer(event.poll_vote)) {
|
|
4463
4463
|
latestAnswers = [
|
|
4464
|
-
// @ts-expect-error Incompatibility between PollResponseData and Poll due to teams_role, remove when OpenAPI spec is fixed
|
|
4465
4464
|
event.poll_vote,
|
|
4466
4465
|
...latestAnswers.filter((answer) => answer.id !== event.poll_vote.id)
|
|
4467
4466
|
];
|
|
@@ -4501,7 +4500,6 @@ class StreamPoll {
|
|
|
4501
4500
|
} = event.poll;
|
|
4502
4501
|
this.state.partialNext({
|
|
4503
4502
|
answers_count,
|
|
4504
|
-
// @ts-expect-error Incompatibility between PollResponseData and Poll due to teams_role, remove when OpenAPI spec is fixed
|
|
4505
4503
|
latest_votes_by_option,
|
|
4506
4504
|
vote_count,
|
|
4507
4505
|
vote_counts_by_option,
|
|
@@ -4544,7 +4542,6 @@ class StreamPoll {
|
|
|
4544
4542
|
} = event.poll;
|
|
4545
4543
|
this.state.partialNext({
|
|
4546
4544
|
answers_count,
|
|
4547
|
-
// @ts-expect-error Incompatibility between PollResponseData and Poll due to teams_role, remove when OpenAPI spec is fixed
|
|
4548
4545
|
latest_votes_by_option,
|
|
4549
4546
|
vote_count,
|
|
4550
4547
|
vote_counts_by_option,
|
|
@@ -7804,4 +7801,4 @@ exports.replaceUniqueArrayMerge = replaceUniqueArrayMerge;
|
|
|
7804
7801
|
exports.shouldUpdateState = shouldUpdateState;
|
|
7805
7802
|
exports.uniqueArrayMerge = uniqueArrayMerge;
|
|
7806
7803
|
exports.updateEntityInArray = updateEntityInArray;
|
|
7807
|
-
//# sourceMappingURL=feeds-client-
|
|
7804
|
+
//# sourceMappingURL=feeds-client-CuCL126K.js.map
|