Skip to content

Commit 0343a09

Browse files
committed
v3.0.22 release
1 parent d36cbc4 commit 0343a09

File tree

6 files changed

+23
-12
lines changed

6 files changed

+23
-12
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Changelog
22
=========
3+
## v3.0.22
4+
### update
5+
* Fixed a bug in calling markAsRead().
6+
* Added supports for video/image thumbnail generations and file encryption/access control.
7+
38
## v3.0.19
49
### update
510
* connect()/disconnect() doesn't clear out connection/channel handlers anymore.

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ SendBird-SDK-JavaScript
2727
# [Documentation](https://docs.sendbird.com/javascript)
2828

2929

30-
## Upgrading to v3.0.19
30+
## Upgrading to v3.0.22
3131
If you want to check the record of other version, go to [Change Log](https://github.com/smilefam/SendBird-SDK-JavaScript/blob/master/CHANGELOG.md).
32-
* connect()/disconnect() doesn't clear out connection/channel handlers anymore.
33-
Instead you should use removeAllConnectionHandlers() and removeAllChannelHandlers().
34-
* Fixed a bug in removing ios push tokens.
35-
* Now reconnect() method has been added which you can use when you want to manually trigger reconnect logic when network condition gets better.
32+
* Fixed a bug in calling markAsRead().
33+
* Added supports for video/image thumbnail generations and file encryptio
34+
n/access control.
3635

3736

3837
## [Change Log](https://github.com/smilefam/SendBird-SDK-JavaScript/blob/master/CHANGELOG.md)

SendBird.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,11 @@ interface FileMessage extends BaseMessage {
140140
data: string;
141141
}
142142

143+
interface ThumbnailSize {
144+
maxWidth: number;
145+
maxHeight: number;
146+
}
147+
143148
interface MessageListQuery {
144149
next(messageTimestamp: number, limit: number, reverse: boolean, callback: Function): void;
145150
prev(messageTimestamp: number, limit: number, reverse: boolean, callback: Function): void;
@@ -174,8 +179,10 @@ interface BaseChannel {
174179
sendFileMessage(file: any, callback: Function): void;
175180
sendFileMessage(file: any, data: string, callback: Function): void;
176181
sendFileMessage(file: any, data: string, customType: string, callback: Function): void;
182+
sendFileMessage(file: any, data: string, customType: string, thumbnailSizes: [ThumbnailSize], callback: Function): void;
177183
sendFileMessage(file: any, name: string, type: string, size: number, data: string, callback: Function): void;
178184
sendFileMessage(file: any, name: string, type: string, size: number, data: string, customType: string, callback: Function): void;
185+
sendFileMessage(file: any, name: string, type: string, size: number, data: string, customType: string, thumbnailSizes: [ThumbnailSize], callback: Function): void;
179186

180187
sendUserMessage(message: string, callback: Function): void;
181188
sendUserMessage(message: string, data: string, callback: Function): void;

SendBird.min.js

Lines changed: 5 additions & 5 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.0.19",
3+
"version": "3.0.22",
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.0.21",
3+
"version": "3.0.22",
44
"description": "SendBird JavaScript SDK",
55
"main": "SendBird.min.js",
66
"dependencies": {

0 commit comments

Comments
 (0)