Skip to content

Commit

Permalink
v4.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcho committed Jul 8, 2022
1 parent 0ef8b1f commit 36950f7
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@

# Changelog

## v4.0.6 (Jul 8, 2022)
- Fixed a bug `messageRequestHandler.onFailed()` to always return a failed message.
- Improved stability.

## v4.0.5 (Jul 6, 2022)
- Fixed a bug on AppStateChangeDetector in ReactNative.

Expand Down
2 changes: 1 addition & 1 deletion __bundle-7adb182e.js → __bundle-60410655.js

Large diffs are not rendered by default.

16 changes: 15 additions & 1 deletion __bundle-6ad866bc.js → __bundle-9e4a3d2f.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion __bundle-d587d064.js → __bundle-ba710a09.js

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

2 changes: 1 addition & 1 deletion __bundle-6a7d08c8.js → __bundle-f6fc1cc7.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion groupChannel.js

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion lib/__definition.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,11 @@ export declare class MessageMetaArray {
constructor(payload: MessageMetaArrayPayload);
}

declare interface MessageMetaArrayPayload {
'key': string;
'value'?: string[];
}

export declare class MessageModule extends Module {
name: 'message';
buildMessageFromSerializedData(serialized: object): UserMessage | FileMessage | AdminMessage;
Expand Down Expand Up @@ -1068,7 +1073,7 @@ export declare class SendbirdChat {
addExtension(key: string, version: string): void;
initializeCache(userId: string): Promise<void>;
clearCachedData(): Promise<void>;
clearCachedMessages(channelUrls: string[]): Promise<void[]>;
clearCachedMessages(channelUrls: string[]): Promise<void>;
connect(userId: string, authToken?: string): Promise<User>;
reconnect(): boolean;
disconnect(): Promise<void>;
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.0.5",
"version": "4.0.6",
"description": "Sendbird SDK for JavaScript",
"name": "@sendbird/chat",
"author": "Sendbird <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion sendbird.js

Large diffs are not rendered by default.

0 comments on commit 36950f7

Please sign in to comment.