@zegocloud/zego-uikit-prebuilt 2.10.2 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -90,6 +90,12 @@ declare enum ScreenSharingResolution {
90
90
  Auto = "auto",
91
91
  Custom = "custom",
92
92
  }
93
+
94
+ interface CallingInvitationListConfig {
95
+ waitingSelectUsers: ZegoUser[]; // Waiting for selected members
96
+ defaultChecked?: boolean; // Whether it is selected by default, the default value is true
97
+ }
98
+
93
99
  declare interface ZegoCloudRoomConfig {
94
100
  // 1 UI controls
95
101
  // 1.1 Global
@@ -197,6 +203,12 @@ declare interface ZegoCloudRoomConfig {
197
203
  // 2.8.0
198
204
  liveNotStartedTextForAudience?: string; // Custom text displayed for the audience before the live broadcast starts.
199
205
  startLiveButtonText?: string; // Custom Start Live button Text.
206
+ // 2.11.0
207
+ // When a user is invited during a call, the Invite User window appears on the inviting party. If you want to hide this view, set it to false. Display by default.
208
+ // You can cancel the invitation to this user in this view.
209
+ showWaitingCallAcceptAudioVideoView?: boolean;
210
+ // Configure the call invitation list during a call
211
+ callingInvitationListConfig?: CallingInvitationListConfig;
200
212
  }
201
213
 
202
214
  export enum RightPanelExpandedType {
@@ -275,6 +287,15 @@ declare interface ZegoCallInvitationConfig {
275
287
  onOutgoingCallTimeout?: (callID: string, callees: ZegoUser[]) => void;
276
288
  // 2.1.0
277
289
  language?: ZegoUIKitLanguage // set language
290
+ // 2.11.0
291
+ // Whether to allow invitations to be sent during a call, The default value is false.
292
+ canInvitingInCalling?: boolean;
293
+ // Whether only the call initiator has the permission to invite others to join the call, The default value is false.
294
+ // If it is set to false, all participants in the call can invite others.
295
+ onlyInitiatorCanInvite?: boolean;
296
+ // Whether the whole call should end when the call originator leaves the call (causing other participants to leave together), The default value is false.
297
+ // If it is set to false, the call can continue even if the initiator leaves.
298
+ endCallWhenInitiatorLeave?: boolean;
278
299
  }
279
300
 
280
301
  declare interface ZegoSignalingPluginNotificationConfig {
@@ -365,4 +386,6 @@ export declare class ZegoUIKitPrebuilt {
365
386
  // 2.3.0
366
387
  autoLeaveRoomWhenOnlySelfInRoom: boolean;
367
388
  getRoomID(): string;
389
+ // 2.11.0
390
+ updateCallingInvitationListConfig(config: CallingInvitationListConfig): void
368
391
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zegocloud/zego-uikit-prebuilt",
3
- "version": "2.10.2",
3
+ "version": "2.11.0",
4
4
  "description": "zegocloud prebuilt meeting webrtc sdk",
5
5
  "keywords": [
6
6
  "sdk",