Skip to content

Commit b15786c

Browse files
committed
v3.0.130
1 parent 3df3d70 commit b15786c

File tree

6 files changed

+28
-20
lines changed

6 files changed

+28
-20
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## v3.0.130(AUG 7, 2020)
4+
5+
- Added `order` in `GroupChannelMemberListQuery`. The value could be `member_nickname_alphabetical` (default) or `operator_then_member_alphabetical`.
6+
- Added `isMuted` in `Member`.
7+
- Removed value type check in `channel.createMetaData()` and `channel.updateMetaData()`.
8+
- Bug-fix on `profileUrl` setter.
9+
310
## v3.0.129(JUL 24, 2020)
411

512
- Renamed `includeReaction` to `includeReactions` in `channel.getMessageChangeLogs()` (`includeReaction` is deprecated).

README.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,14 @@ Check out [Basic Sample with SyncManager](https://github.com/sendbird/SendBird-J
5252

5353
# [Documentation](https://docs.sendbird.com/javascript)
5454

55-
## v3.0.129(JUL 24, 2020)
55+
## v3.0.130(AUG 7, 2020)
5656

5757
If you want to check the record of other version, go to [Change Log](https://github.com/sendbird/SendBird-SDK-JavaScript/blob/master/CHANGELOG.md).
5858

59-
- Renamed `includeReaction` to `includeReactions` in `channel.getMessageChangeLogs()` (`includeReaction` is deprecated).
60-
- Added `ogMetaData` in `BaseMessage`.
61-
- `ogMetaData` holds open graph properties including `title`, `url`, `description`, and `defaultImage`.
62-
- `ogMetaData.defaultImage` has the image-related properties including `url`, `secureUrl`, `type`, `width`, `height`, `alt` as defined in the target website.
63-
- `ogMetaData` may not be set at the moment of sending. Once the message is sent, Sendbird service would fetch and analyze the open graph property and give the result as a form of message update event.
59+
- Added `order` in `GroupChannelMemberListQuery`. The value could be `member_nickname_alphabetical` (default) or `operator_then_member_alphabetical`.
60+
- Added `isMuted` in `Member`.
61+
- Removed value type check in `channel.createMetaData()` and `channel.updateMetaData()`.
62+
- Bug-fix on `profileUrl` setter.
6463

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

SendBird.d.ts

+12-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Type Definitions for SendBird SDK v3.0.129
2+
* Type Definitions for SendBird SDK v3.0.130
33
* homepage: https://sendbird.com/
44
* git: https://github.com/sendbird/SendBird-SDK-JavaScript
55
*/
@@ -60,6 +60,8 @@ declare namespace SendBird {
6060
}
6161
interface SendBirdInstance {
6262
currentUser: User;
63+
appInfo: AppInfo;
64+
6365
User: UserStatic;
6466
Member: MemberStatic;
6567
OpenChannel: OpenChannelStatic;
@@ -255,11 +257,13 @@ declare namespace SendBird {
255257
typingIndicatorThrottle: number;
256258
}
257259
interface AppInfo {
258-
emojiHash: string;
259260
uploadSizeLimit: number;
260-
useReaction: boolean;
261+
emojiHash: string;
261262
premiumFeatureList: Array<string>;
263+
applicationAttributes: Array<string>;
264+
isUsingReaction: boolean;
262265
}
266+
263267
interface FriendListQuery {
264268
hasMore: boolean;
265269
isLoading: boolean;
@@ -466,9 +470,8 @@ declare namespace SendBird {
466470
messageType: 'file';
467471
sender: Sender;
468472
reqId: string;
469-
url: string; // DEPRECATED
470473
plainUrl: string;
471-
secureUrl: string;
474+
url: string;
472475
name: string;
473476
size: number;
474477
type: string;
@@ -532,9 +535,8 @@ declare namespace SendBird {
532535
}
533536

534537
interface ThumbnailObject {
535-
url: string; // DEPRECATED
538+
url: string;
536539
plainUrl: string;
537-
secureUrl: string;
538540
height: number;
539541
width: number;
540542
real_height: number;
@@ -551,9 +553,8 @@ declare namespace SendBird {
551553
interface User {
552554
userId: string;
553555
nickname: string;
554-
profileUrl: string; // DEPRECATED
556+
profileUrl: string;
555557
plainProfileUrl: string;
556-
secureProfileUrl: string;
557558
metaData: Object;
558559
connectionStatus: string;
559560
lastSeenAt: string;
@@ -586,6 +587,7 @@ declare namespace SendBird {
586587
interface Member extends User {
587588
state: 'invited' | 'joined';
588589
role: 'none' | 'operator';
590+
isMuted: boolean;
589591
isBlockedByMe: boolean;
590592
isBlockingMe: boolean;
591593
}
@@ -1789,6 +1791,7 @@ declare namespace SendBird {
17891791
limit: number;
17901792
hasNext: boolean;
17911793
isLoading: boolean;
1794+
order: 'member_nickname_alphabetical' | 'operator_then_member_alphabetical';
17921795
mutedMemberFilter: 'all' | 'muted' | 'unmuted';
17931796
operatorFilter: 'all' | 'operator' | 'nonoperator'; // DEPRECATED
17941797
memberStateFilter: 'all' | 'joined_only' | 'invited_only' | 'invited_by_friend' | 'invited_by_non_friend';

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.129",
3+
"version": "3.0.130",
44
"authors": ["SendBird <[email protected]>"],
55
"homepage": "https://github.com/sendbird/SendBird-SDK-JavaScript",
66
"description": "SendBird JavaScript SDK",

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
22
"name": "sendbird",
3-
"version": "3.0.129",
3+
"version": "3.0.130",
44
"description": "SendBird JavaScript SDK",
55
"main": "SendBird.min.js",
66
"dependencies": {
77
"ws": "6.0.0",
8-
"xhr2": "0.1.4",
98
"agentkeepalive": "2.2.0",
109
"axios": "^0.19.2",
1110
"form-data": "^3.0.0"

0 commit comments

Comments
 (0)