Skip to content

Commit 460a5e6

Browse files
committed
1.8.1
1 parent acf26fe commit 460a5e6

File tree

6 files changed

+25
-6
lines changed

6 files changed

+25
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11
# Change Log
22

3+
### 1.8.1 (November 1, 2021 UTC)
4+
* Bug fix
5+
* Fixed the bug that the permission dosen't be revoked after `Room.exit()`.
6+
* Added missing type declarations.
7+
38
### 1.8.0 (October 27, 2021 UTC)
49
For 1.8.0, a new feature is released for both Group call and Direct call features respectively.
10+
511
For the Group call feature, you can now add and manage custom items to store additional information for a room.
612
* Added custom items feature in Group Call
713
* Added `customItems` in `Room`.
814
* Added `customItems` in `RoomParams`.
915
* Added `updateCustomItems(customItems: CustomItems): Promise<CustomItemsResult>` and `deleteCustomItems(customItemKeys: string[]): Promise<CustomItemsResult>` in `Room`.
1016
* Added `customItemsUpdated` and `customItemsDeleted` in `RoomEventMap`.
17+
1118
For the Direct call feature, you can now hold and resume calls which allows you to accept an incoming call or switch between calls.
1219
* Added hold and resume feature in Direct Call
1320
* Added `hold(): Promise<void>` and `unhold(force: boolean): Promise<void>` in `DirectCall`.

SendBirdCall.min.d.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** 1.8.0 */
1+
/** 1.8.1 */
22
// eslint-disable-next-line no-undef,max-classes-per-file
33
export as namespace SendBirdCall;
44

@@ -29,6 +29,7 @@ export function updateCustomItems(callId: string, customItems: CustomItems, call
2929
export function deleteCustomItems(callId: string, customItemKeys: string[], callback?: CustomItemsHandler): Promise<CustomItemsResult>;
3030
export function deleteAllCustomItems(callId: string, callback?: CustomItemsHandler): Promise<CustomItemsResult>;
3131
export function setLoggerLevel(level: LoggerLevel): LoggerLevel;
32+
export function getOngoingCalls(): DirectCall[];
3233
export function getOngoingCallCount(): number;
3334
export function setRingingTimeout(timeout: number): void;
3435
export function setCallConnectionTimeout(timeout: number): void;
@@ -472,6 +473,8 @@ declare type RoomEventMap = {
472473
remoteParticipantStreamStarted: { args: [RemoteParticipant]; };
473474
remoteAudioSettingsChanged: { args: [RemoteParticipant]; };
474475
remoteVideoSettingsChanged: { args: [RemoteParticipant]; };
476+
customItemsUpdated: { args: [CustomItems, string[]] };
477+
customItemsDeleted: { args: [CustomItems, string[]] };
475478
error: { args: [Error, Participant?] };
476479
};
477480

@@ -530,6 +533,11 @@ export declare class Room extends EventTarget<RoomEventMap> {
530533
*/
531534
readonly state: RoomState;
532535

536+
/**
537+
* The customItems of room
538+
*/
539+
customItems: CustomItems;
540+
533541
/**
534542
* Room type
535543
*/
@@ -597,6 +605,10 @@ export type RoomParams = {
597605
* An enum that represents different types of a room.
598606
*/
599607
roomType: RoomType;
608+
/**
609+
* The custom items of room
610+
*/
611+
customItems?: CustomItems;
600612
}
601613

602614
/**

SendBirdCall.min.js

Lines changed: 2 additions & 2 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-calls",
3-
"version": "1.8.0",
3+
"version": "1.8.1",
44
"authors": [
55
"SendBird <[email protected]>"
66
],

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sendbird-calls",
3-
"version": "1.8.0",
3+
"version": "1.8.1",
44
"description": "SendBird Calls JavaScript SDK",
55
"main": "SendBirdCall.min.js",
66
"types": "SendBirdCall.min.d.ts",

0 commit comments

Comments
 (0)