@cometchat/calls-sdk-javascript 4.1.0 → 4.1.2

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.
@@ -102,6 +102,7 @@ export declare const CallConstants: {
102
102
  readonly KEYS: {
103
103
  readonly POSITION: "position";
104
104
  readonly VISIBILITY: "visible";
105
+ readonly LEGACY_VISIBILITY: "visibility";
105
106
  readonly COLOR: "color";
106
107
  };
107
108
  };
@@ -6,7 +6,7 @@ interface IOngoingCallListener {
6
6
  onUserListUpdated: (userList: Partial<ICallEventsData["onUserListUpdated"]>) => void;
7
7
  onMediaDeviceListUpdated: (devices: Partial<ICallEventsData["onMediaDeviceListUpdated"]>) => void;
8
8
  onRecordingStarted: (event: Partial<ICallEventsData["onRecordingStarted"]>) => void;
9
- onRecordingStopped: (event: Partial<ICallEventsData["onRecordingStopped"]>) => void;
9
+ onRecordingStopped: () => void;
10
10
  onScreenShareStarted: () => void;
11
11
  onScreenShareStopped: () => void;
12
12
  onUserMuted: (event: Partial<ICallEventsData["onUserMuted"]>) => void;
@@ -52,12 +52,7 @@ export interface ICallEventsData {
52
52
  onScreenShareStarted: {};
53
53
  onScreenShareStopped: {};
54
54
  onRecordingStarted: {
55
- recordingStarted: true;
56
- user: Partial<IUserWithExtraData>;
57
- };
58
- onRecordingStopped: {
59
- recordingStarted: false;
60
- user: Partial<IUserWithExtraData>;
55
+ user: Pick<IUserWithExtraData, "name" | "uid">;
61
56
  };
62
57
  onMediaDeviceListUpdated: {
63
58
  videoInputDevices: IAVDevice[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cometchat/calls-sdk-javascript",
3
- "version": "4.1.0",
3
+ "version": "4.1.2",
4
4
  "description": "Cometchat's Javascript SDK for In-app Calling.",
5
5
  "main": "pack/index.js",
6
6
  "module": "pack/index.js",