Skip to content

Commit 9e94536

Browse files
committed
v3.0.156
1 parent 7d5a698 commit 9e94536

File tree

7 files changed

+29
-12
lines changed

7 files changed

+29
-12
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v3.0.156(SEP 24, 2021)
4+
- Added `markAsRead(callback)` in `GroupChannel`.
5+
- Deprecated `markAsRead()` in `GroupChannel`.
6+
37
## v3.0.155(SEP 1, 2021)
48
- Added `includeReactions` in `MessageRetrievalParams`.
59
- Resolved security advisory on `ws` dependency with version upgrade.

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,9 @@ The `sb.setErrorFirstCallback(false)` returns callbacks to their original parame
325325

326326
## Changelogs
327327

328-
### v3.0.155(SEP 1, 2021)
328+
### v3.0.156(SEP 24, 2021)
329329

330330
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).
331331

332-
- Added `includeReactions` in `MessageRetrievalParams`.
333-
- Resolved security advisory on `ws` dependency with version upgrade.
332+
- Added `markAsRead(callback)` in `GroupChannel`.
333+
- Deprecated `markAsRead()` in `GroupChannel`.

SendBird.d.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Type Definitions for Sendbird SDK v3.0.155
2+
* Type Definitions for Sendbird SDK v3.0.156
33
* homepage: https://sendbird.com/
44
* git: https://github.com/sendbird/Sendbird-SDK-JavaScript
55
*/
@@ -2123,6 +2123,10 @@ declare namespace SendBird {
21232123
hide(hidePreviousMessages: boolean, allowAutoUnhide: boolean, callback?: commonCallback): Promise<Object>;
21242124
unhide(callback?: commonCallback): Promise<Object>;
21252125

2126+
markAsRead(callback?: voidCallback): Promise<void>;
2127+
/**
2128+
* @deprecated since version v3.0.156
2129+
*/
21262130
markAsRead(): void;
21272131
/**
21282132
* @deprecated since version v3.0.127, please use {@link getUnreadMemberCount()} instead

SendBird.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sendbird",
3-
"version": "3.0.155",
3+
"version": "3.0.156",
44
"authors": [
55
"Sendbird <[email protected]>"
66
],

deprecated.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
# Deprecated classes, methods, properties
22

33

4+
## v3.0.156
5+
6+
### Methods
7+
8+
| Old class | Old pmethod | New class | New method |
9+
| --------- | ----------- | --------- | ---------- |
10+
| GroupChannel | markAsRead(): void | GroupChannel | markAsRead(callback: VoidCallback): Promise&lt;void&gt; |
11+
12+
413
## v3.0.143
514

615
### Methods

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "sendbird",
3-
"version": "3.0.155",
3+
"version": "3.0.156",
44
"description": "Sendbird JavaScript SDK",
55
"main": "SendBird.min.js",
66
"dependencies": {
7-
"agentkeepalive": "2.2.0",
8-
"axios": "^0.21.1",
9-
"form-data": "^3.0.0",
10-
"ws": "^7.3.1"
7+
"agentkeepalive": "4.1.4",
8+
"axios": "^0.21.4",
9+
"form-data": "^4.0.0",
10+
"ws": "^8.2.2"
1111
},
1212
"scripts": {
1313
"test": "echo \"Error: no test specified\" && exit 1"

0 commit comments

Comments
 (0)