Skip to content

Commit

Permalink
v4.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcho committed Jan 11, 2023
1 parent f951a49 commit d97314b
Show file tree
Hide file tree
Showing 13 changed files with 53 additions and 13 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@

# Changelog

## v4.2.4 (Jan 11, 2023)
### **Improvements**
- Fixed a bug in `MessageCollection` where old messages are being added to the view when app reconnects
- Added argument validation in `GroupChannel.pinMessage()` and `GroupChannel.unpinMessage()`
- Fixed a bug where `GroupChannelHandler.onChannelChanged()` and `GroupChannelHandler.onPinnedMessageUpdated()` events are not called when `channel.lastPinnedMessage` is updated
- Improved stability

## v4.2.3 (Dec 29, 2022)
### **Improvements**
- Fixed a bug in `GroupChannelCollection.dispose()` not to clear the event handler
Expand Down
2 changes: 1 addition & 1 deletion __bundle-8c220832.js → __bundle-24084a02.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion __bundle-69c76074.js → __bundle-59f48b44.js

Large diffs are not rendered by default.

16 changes: 15 additions & 1 deletion __bundle-8e00afa4.js → __bundle-5b780592.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion __bundle-9eb5395e.js → __bundle-bf956db4.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion groupChannel.js

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions lib/__definition.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@ declare class AppInfo {
readonly applicationAttributes: string[];
readonly premiumFeatureList: string[];
readonly enabledChannelMemberShipHistory: boolean;
static payloadify(appInfo: AppInfo): AppInfoParams;
}

export declare class AppleCriticalAlertOptions {
readonly name: string;
readonly volume: number;
serialize(): AppleCriticalAlertOptionsPayload;
}

export declare class ApplicationUserListQuery extends BaseListQuery {
Expand Down Expand Up @@ -156,6 +154,7 @@ export declare class BaseMessage {
createdAt: number;
updatedAt?: number;
scheduledInfo?: ScheduledInfo;
extendedMessage?: object;
isIdentical(message: BaseMessage): boolean;
isEqual(message: BaseMessage): boolean;
isUserMessage(): this is UserMessage;
Expand Down Expand Up @@ -214,6 +213,12 @@ declare abstract class BaseStore {
removeMany(keys: string[]): Promise<string[]>;
}

declare interface BaseStoreParams {
encryption?: Encryption;
itemSizeLimit?: number;
metadataBuffer?: number;
}

export declare class BlockedUserListQuery extends BaseListQuery {
readonly userIdsFilter: string[];
next(): Promise<User[]>;
Expand Down
2 changes: 1 addition & 1 deletion message.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion openChannel.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "4.2.3",
"version": "4.2.4",
"description": "Sendbird SDK for JavaScript",
"name": "@sendbird/chat",
"author": "Sendbird <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion poll.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sendbird.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 15 additions & 1 deletion sendbird.min.js

Large diffs are not rendered by default.

0 comments on commit d97314b

Please sign in to comment.