stream-chat 9.0.0-rc.7 → 9.0.0-rc.8
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/cjs/index.browser.cjs +3 -2
- package/dist/cjs/index.browser.cjs.map +2 -2
- package/dist/cjs/index.node.cjs +3 -2
- package/dist/cjs/index.node.cjs.map +2 -2
- package/dist/esm/index.js +3 -2
- package/dist/esm/index.js.map +2 -2
- package/dist/types/types.d.ts +14 -15
- package/package.json +1 -1
- package/src/poll.ts +1 -1
- package/src/thread.ts +1 -0
- package/src/types.ts +17 -17
|
@@ -6607,6 +6607,7 @@ var Thread = class {
|
|
|
6607
6607
|
}
|
|
6608
6608
|
};
|
|
6609
6609
|
const channel = client.channel(threadData.channel.type, threadData.channel.id, {
|
|
6610
|
+
// @ts-expect-error name is a "custom" property
|
|
6610
6611
|
name: threadData.channel.name
|
|
6611
6612
|
});
|
|
6612
6613
|
channel._hydrateMembers({
|
|
@@ -7246,7 +7247,7 @@ var Poll = class {
|
|
|
7246
7247
|
];
|
|
7247
7248
|
ownAnswer = event.poll_vote;
|
|
7248
7249
|
} else if (event.poll_vote.option_id) {
|
|
7249
|
-
if (event.poll.
|
|
7250
|
+
if (event.poll.enforce_unique_vote) {
|
|
7250
7251
|
ownVotesByOptionId = { [event.poll_vote.option_id]: event.poll_vote };
|
|
7251
7252
|
} else {
|
|
7252
7253
|
ownVotesByOptionId = Object.entries(ownVotesByOptionId).reduce((acc, [optionId, vote]) => {
|
|
@@ -10030,7 +10031,7 @@ var StreamChat = class _StreamChat {
|
|
|
10030
10031
|
if (this.userAgent) {
|
|
10031
10032
|
return this.userAgent;
|
|
10032
10033
|
}
|
|
10033
|
-
const version = "9.0.0-rc.
|
|
10034
|
+
const version = "9.0.0-rc.8";
|
|
10034
10035
|
const clientBundle = "browser-cjs";
|
|
10035
10036
|
let userAgentString = "";
|
|
10036
10037
|
if (this.sdkIdentifier) {
|