Skip to content

Commit

Permalink
1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
git-babel committed Oct 8, 2021
1 parent 462005f commit e23cb5a
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 6 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

### 1.7.2 (October 8, 2021 UTC)
* Added push token registration APIs
* Below methods are added in `SendBirdCall`
* `registerPushToken(pushToken: string, tokenType: TokenType): Promise<void>`
* `unregisterPushToken(pushToken: string, tokenType: TokenType): Promise<void>`
* `unregisterAllPushTokens(tokenType: TokenType): Promise<void>`
* Below enum is added in `SendBirdCall`
* `TokenType`

### 1.7.1 (July 21, 2021 UTC)
* Bug fix
* Fixed the bug that `audioEnabled` and `videoEnabled` in `DirectCallOption` doesn't work.
Expand Down
10 changes: 9 additions & 1 deletion SendBirdCall.min.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** 1.7.1 */
/** 1.7.2 */
// eslint-disable-next-line no-undef,max-classes-per-file
export as namespace SendBirdCall;

Expand Down Expand Up @@ -40,6 +40,9 @@ export function createRoom(params: RoomParams): Promise<Room>;
export function getCachedRoomById(roomId: string): Room;
export function fetchRoomById(roomId: string): Promise<Room>;
export function createRoomListQuery(params: RoomListQueryParams): RoomListQuery;
export function registerPushToken(pushToken: string, tokenType: TokenType);
export function unregisterPushToken(pushToken: string, tokenType: TokenType);
export function unregisterAllPushTokens(tokenType: TokenType);
export const sdkVersion: string;
export const appId: string;
export const currentUser: User;
Expand Down Expand Up @@ -88,6 +91,11 @@ export enum DirectCallEndResult {
UNKNOWN = 'unknown'
}

export enum TokenType {
APNS = 'apns_voip',
FCM = 'fcm_voip',
}

export enum ErrorCode {
// Call
DIAL_CANCELED= 1800100,
Expand Down
4 changes: 2 additions & 2 deletions SendBirdCall.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-calls",
"version": "1.7.1",
"version": "1.7.2",
"authors": [
"SendBird <support@sendbird.com>"
],
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sendbird-calls",
"version": "1.7.1",
"version": "1.7.2",
"description": "SendBird Calls JavaScript SDK",
"main": "SendBirdCall.min.js",
"types": "SendBirdCall.min.d.ts",
Expand Down

0 comments on commit e23cb5a

Please sign in to comment.