Skip to content

Commit ba15131

Browse files
committed
v3.1.8
1 parent 55c70fe commit ba15131

File tree

6 files changed

+20
-13
lines changed

6 files changed

+20
-13
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v3.1.8 (FEB 11, 2022)
4+
- Fixed duplicate file messages being sent by `sendFileMessage()` in React Native.
5+
- Fixed new messages not being fetched on websocket connect/reconnect in `MessageCollection`.
6+
-
37
## v3.1.7 (JAN 07, 2022)
48
- Applied type narrowing to `BaseMessage`, `BaseChannel` and `messageCallback`.
59
- Replaced all `File` type with the new `FileType` for React Native support.

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -341,13 +341,9 @@ Additionally, migration guide for clients currently using SyncManager will be av
341341

342342
## Changelogs
343343

344-
### v3.1.7 (JAN 07, 2022)
344+
### v3.1.8 (FEB 11, 2022)
345345

346346
If you want to check the record of other versions, go to [Change Log](https://github.com/sendbird/Sendbird-SDK-JavaScript/blob/master/CHANGELOG.md).
347347

348-
- Applied type narrowing to `BaseMessage`, `BaseChannel` and `messageCallback`.
349-
- Replaced all `File` type with the new `FileType` for React Native support.
350-
- Fixed create channel with cover image error in React Native.
351-
- Fixed child message's `parentMessage` update on parent message update when local cache is enabled.
352-
- Added `applyParentMessage` in `BaseMessage`.
353-
- Improved stability.
348+
- Fixed duplicate file messages being sent by `sendFileMessage()` in React Native.
349+
- Fixed new messages not being fetched on websocket connect/reconnect in `MessageCollection`.

SendBird.d.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Type Definitions for Sendbird SDK v3.1.7
2+
* Type Definitions for Sendbird SDK v3.1.8
33
* homepage: https://sendbird.com/
44
* git: https://github.com/sendbird/Sendbird-SDK-JavaScript
55
*/
@@ -9,15 +9,22 @@ export as namespace SendBird;
99

1010
declare const SendBird: SendBirdStatic;
1111

12+
declare interface SendBirdParams {
13+
appId: string;
14+
localCacheEnabled?: boolean;
15+
}
16+
1217
interface SendBirdStatic {
1318
version: number;
14-
new({ appId, localCacheEnabled }: { appId: string, localCacheEnabled?: boolean }): SendBird.SendBirdInstance;
19+
new(sendBirdParams: SendBirdParams): SendBird.SendBirdInstance;
1520
getInstance(): SendBird.SendBirdInstance;
1621

1722
LogLevel: SendBird.LogLevel;
1823

1924
getLogLevel(): typeof SendBird.LogLevel[keyof typeof SendBird.LogLevel];
2025
setLogLevel(logLevel: typeof SendBird.LogLevel[keyof typeof SendBird.LogLevel]): void;
26+
getAppVersion(): string;
27+
setAppVersion(appVersion: string): void;
2128
}
2229

2330
declare enum CollectionEventSource {

SendBird.min.js

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

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sendbird",
3-
"version": "3.1.7",
3+
"version": "3.1.8",
44
"authors": [
55
"Sendbird <[email protected]>"
66
],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sendbird",
3-
"version": "3.1.7",
3+
"version": "3.1.8",
44
"description": "Sendbird JavaScript SDK",
55
"main": "SendBird.min.js",
66
"dependencies": {

0 commit comments

Comments
 (0)