Skip to content

Commit d97314b

Browse files
committed
v4.2.4
1 parent f951a49 commit d97314b

13 files changed

+53
-13
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11

22
# Changelog
33

4+
## v4.2.4 (Jan 11, 2023)
5+
### **Improvements**
6+
- Fixed a bug in `MessageCollection` where old messages are being added to the view when app reconnects
7+
- Added argument validation in `GroupChannel.pinMessage()` and `GroupChannel.unpinMessage()`
8+
- Fixed a bug where `GroupChannelHandler.onChannelChanged()` and `GroupChannelHandler.onPinnedMessageUpdated()` events are not called when `channel.lastPinnedMessage` is updated
9+
- Improved stability
10+
411
## v4.2.3 (Dec 29, 2022)
512
### **Improvements**
613
- Fixed a bug in `GroupChannelCollection.dispose()` not to clear the event handler

__bundle-8c220832.js renamed to __bundle-24084a02.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

__bundle-69c76074.js renamed to __bundle-59f48b44.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

__bundle-8e00afa4.js renamed to __bundle-5b780592.js

Lines changed: 15 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

__bundle-9eb5395e.js renamed to __bundle-bf956db4.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

groupChannel.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/__definition.d.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@ declare class AppInfo {
1919
readonly applicationAttributes: string[];
2020
readonly premiumFeatureList: string[];
2121
readonly enabledChannelMemberShipHistory: boolean;
22-
static payloadify(appInfo: AppInfo): AppInfoParams;
2322
}
2423

2524
export declare class AppleCriticalAlertOptions {
2625
readonly name: string;
2726
readonly volume: number;
28-
serialize(): AppleCriticalAlertOptionsPayload;
2927
}
3028

3129
export declare class ApplicationUserListQuery extends BaseListQuery {
@@ -156,6 +154,7 @@ export declare class BaseMessage {
156154
createdAt: number;
157155
updatedAt?: number;
158156
scheduledInfo?: ScheduledInfo;
157+
extendedMessage?: object;
159158
isIdentical(message: BaseMessage): boolean;
160159
isEqual(message: BaseMessage): boolean;
161160
isUserMessage(): this is UserMessage;
@@ -214,6 +213,12 @@ declare abstract class BaseStore {
214213
removeMany(keys: string[]): Promise<string[]>;
215214
}
216215

216+
declare interface BaseStoreParams {
217+
encryption?: Encryption;
218+
itemSizeLimit?: number;
219+
metadataBuffer?: number;
220+
}
221+
217222
export declare class BlockedUserListQuery extends BaseListQuery {
218223
readonly userIdsFilter: string[];
219224
next(): Promise<User[]>;

message.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openChannel.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "4.2.3",
2+
"version": "4.2.4",
33
"description": "Sendbird SDK for JavaScript",
44
"name": "@sendbird/chat",
55
"author": "Sendbird <[email protected]>",

0 commit comments

Comments
 (0)