Skip to content

Commit

Permalink
v3.0.126
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisallo committed Jun 16, 2020
1 parent 407b3b5 commit 584c756
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 38 deletions.
21 changes: 13 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# Changelog

## v3.0.125(JUNE 1, 2020)
## v3.0.126(JUN 16, 2020)

* Added `includeFrozen` property in `GroupChannelListQuery`, `PublicGroupChannelListQuery`, `OpenChannelListQuery` and `GroupChannelChangeLogsParams`.
* Added `GroupChannelChangeLogsParams`.
* Added `getMyGroupChannelChangeLogsByToken()` and `getMyGroupChannelChangeLogsByTimestamp()` with `GroupChannelChangeLogsParams` in `SendBird`.
* Deprecated some `getMyGroupChannelChangeLogsByToken()` and `getMyGroupChannelChangeLogsByTimestamp()` in `SendBird`.
* Bug-fix: Failure in applying reactions.
* Bug-fix: Invalid `channelUrl` on `getMessage()`.
- Bug-fixes in message threading.
- Improved stability.

## v3.0.125(JUN 1, 2020)

- Added `includeFrozen` property in `GroupChannelListQuery`, `PublicGroupChannelListQuery`, `OpenChannelListQuery` and `GroupChannelChangeLogsParams`.
- Added `GroupChannelChangeLogsParams`.
- Added `getMyGroupChannelChangeLogsByToken()` and `getMyGroupChannelChangeLogsByTimestamp()` with `GroupChannelChangeLogsParams` in `SendBird`.
- Deprecated some `getMyGroupChannelChangeLogsByToken()` and `getMyGroupChannelChangeLogsByTimestamp()` in `SendBird`.
- Bug-fix: Failure in applying reactions.
- Bug-fix: Invalid `channelUrl` on `getMessage()`.

## v3.0.124(MAY 23, 2020)

Expand Down Expand Up @@ -571,7 +576,7 @@

- Updated TypeScript Definition file(SendBird.d.ts).
> **NOTE**
> Install via NPM and import like below in your TypeScript file:
> Install via NPM and import like below in your TypeScript file:
```javascript
import * as SendBird from "SendBird";
Expand Down
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,12 @@ Check out [Basic Sample with SyncManager](https://github.com/sendbird/SendBird-J

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

## v3.0.125(JUNE 1, 2020)
## v3.0.126(JUN 16, 2020)

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

* Added `includeFrozen` property in `GroupChannelListQuery`, `PublicGroupChannelListQuery`, `OpenChannelListQuery` and `GroupChannelChangeLogsParams`.
* Added `GroupChannelChangeLogsParams`.
* Added `getMyGroupChannelChangeLogsByToken()` and `getMyGroupChannelChangeLogsByTimestamp()` with `GroupChannelChangeLogsParams` in `SendBird`.
* Deprecated some `getMyGroupChannelChangeLogsByToken()` and `getMyGroupChannelChangeLogsByTimestamp()` in `SendBird`.
* Bug-fix: Failure in applying reactions.
* Bug-fix: Invalid `channelUrl` on `getMessage()`.
- Bug-fixes in message threading.
- Improved stability.

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

Expand Down
39 changes: 20 additions & 19 deletions SendBird.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Type Definitions for SendBird SDK v3.0.125
* Type Definitions for SendBird SDK v3.0.126
* homepage: https://sendbird.com/
* git: https://github.com/sendbird/SendBird-SDK-JavaScript
*/
Expand All @@ -11,7 +11,7 @@ declare const SendBird: SendBirdStatic;

interface SendBirdStatic {
version: number;
new({ appId }: { appId: string }): SendBird.SendBirdInstance;
new ({ appId }: { appId: string }): SendBird.SendBirdInstance;
getInstance(): SendBird.SendBirdInstance;
}

Expand Down Expand Up @@ -277,15 +277,15 @@ declare namespace SendBird {
}

interface UserEventHandlerStatic {
new(): UserEventHandler;
new (): UserEventHandler;
}
interface UserEventHandler {
onFriendsDiscovered(users: Array<User>): void;
onTotalUnreadMessageCountUpdated(totalCount: Number, countByCustomTypes: Object): void;
}

interface ChannelHandlerStatic {
new(): ChannelHandler;
new (): ChannelHandler;
}
interface ChannelHandler {
onMessageReceived(channel: OpenChannel | GroupChannel, message: AdminMessage | UserMessage | FileMessage): void;
Expand Down Expand Up @@ -321,7 +321,7 @@ declare namespace SendBird {
}

interface ConnectionHandlerStatic {
new(): ConnectionHandler;
new (): ConnectionHandler;
}
interface ConnectionHandler {
onReconnectStarted(): void;
Expand All @@ -343,6 +343,7 @@ declare namespace SendBird {
reactions: Array<Reaction>;
mentionType: string;
mentionedUsers: Array<User>;
silent: boolean;
createdAt: number;
updatedAt: number;
parentMessageId: number;
Expand Down Expand Up @@ -381,7 +382,7 @@ declare namespace SendBird {
}

interface GroupChannelTotalUnreadMessageCountParams {
new(): GroupChannelTotalUnreadMessageCountParams;
new (): GroupChannelTotalUnreadMessageCountParams;
channelCustomTypesFilter: Array<string>;
superChannelFilter: 'all' | 'super' | 'nonsuper';
}
Expand All @@ -404,7 +405,7 @@ declare namespace SendBird {
}

interface UserMessageParams {
new(): UserMessageParams;
new (): UserMessageParams;
message: string;
data: string;
customType: string;
Expand Down Expand Up @@ -437,7 +438,7 @@ declare namespace SendBird {
}

interface FileMessageParams {
new(): FileMessageParams;
new (): FileMessageParams;
file: File;
fileUrl: string;
fileName: string;
Expand Down Expand Up @@ -476,7 +477,7 @@ declare namespace SendBird {
}

interface MessageRetrievalParams {
new(): MessageRetrievalParams;
new (): MessageRetrievalParams;
channelUrl: string;
channelType: string;
messageId: number;
Expand All @@ -485,7 +486,7 @@ declare namespace SendBird {
includeThreadInfo: boolean;
}
interface MessageListParams {
new(): MessageListParams;
new (): MessageListParams;
prevResultSize: number;
nextResultSize: number;
isInclusive: boolean;
Expand All @@ -500,7 +501,7 @@ declare namespace SendBird {
includeThreadInfo: boolean;
}
interface ThreadedMessageListParams {
new(): ThreadedMessageListParams;
new (): ThreadedMessageListParams;
prevResultSize: number;
nextResultSize: number;
isInclusive: boolean;
Expand All @@ -513,7 +514,7 @@ declare namespace SendBird {
includeParentMessageText: boolean;
}
interface MessageChangeLogsParams {
new(): MessageChangeLogsParams;
new (): MessageChangeLogsParams;
includeMetaArray: boolean;
includeReactions: boolean;
includeReplies: boolean;
Expand Down Expand Up @@ -1445,7 +1446,7 @@ declare namespace SendBird {
* GroupChannel
*/
interface GroupChannelParams {
new(): GroupChannelParams;
new (): GroupChannelParams;
isDistinct: boolean;
isSuper: boolean;
isBroadcast: boolean;
Expand All @@ -1471,7 +1472,7 @@ declare namespace SendBird {
}

interface ScheduledUserMessageParams {
new(): ScheduledUserMessageParams;
new (): ScheduledUserMessageParams;
message: string;
data: string;
customType: string;
Expand Down Expand Up @@ -1505,18 +1506,18 @@ declare namespace SendBird {
}

interface MessageMetaArray {
new(key: string, value: Array<string>): MessageMetaArray;
new (key: string, value: Array<string>): MessageMetaArray;
key: string;
value: Array<string>;
}
interface Reaction {
new(): Reaction;
new (): Reaction;
key: string;
userIds: Array<string>;
updatedAt: number;
}
interface ReactionEvent {
new(): ReactionEvent;
new (): ReactionEvent;
messageId: string;
userId: string;
key: string;
Expand All @@ -1525,14 +1526,14 @@ declare namespace SendBird {
}

interface ThreadInfo {
new(): ThreadInfo;
new (): ThreadInfo;
replyCount: number;
mostRepliedUsers: Array<User>;
lastRepliedAt: number;
updatedAt: number;
}
interface ThreadInfoUpdateEvent {
new(): ThreadInfoUpdateEvent;
new (): ThreadInfoUpdateEvent;
threadInfo: ThreadInfo;
targetMessageId: number;
channelUrl: string;
Expand Down
4 changes: 2 additions & 2 deletions SendBird.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sendbird",
"version": "3.0.125",
"version": "3.0.126",
"authors": ["SendBird <[email protected]>"],
"homepage": "https://github.com/sendbird/SendBird-SDK-JavaScript",
"description": "SendBird JavaScript SDK",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sendbird",
"version": "3.0.125",
"version": "3.0.126",
"description": "SendBird JavaScript SDK",
"main": "SendBird.min.js",
"dependencies": {
Expand Down

0 comments on commit 584c756

Please sign in to comment.