@dcl/js-runtime 7.3.7 → 7.3.8-5812704805.commit-961bb53

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.
Files changed (2) hide show
  1. package/apis.d.ts +26 -0
  2. package/package.json +2 -2
package/apis.d.ts CHANGED
@@ -1,4 +1,30 @@
1
1
 
2
+ /**
3
+ * CommsApi
4
+ */
5
+ declare module "~system/CommsApi" {
6
+
7
+ export enum VideoTrackSourceType {
8
+ VTST_UNKNOWN = 0,
9
+ VTST_CAMERA = 1,
10
+ VTST_SCREEN_SHARE = 2,
11
+ UNRECOGNIZED = -1
12
+ }
13
+ export interface VideoTracksActiveStreamsRequest {
14
+ }
15
+ export interface VideoTracksActiveStreamsResponse {
16
+ streams: VideoTracksActiveStreamsData[];
17
+ }
18
+ export interface VideoTracksActiveStreamsData {
19
+ identity: string;
20
+ trackSid: string;
21
+ sourceType: VideoTrackSourceType;
22
+ }
23
+
24
+ // Function declaration section
25
+ export function getActiveVideoStreams(body: VideoTracksActiveStreamsRequest): Promise<VideoTracksActiveStreamsResponse>;
26
+
27
+ }
2
28
  /**
3
29
  * CommunicationsController
4
30
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/js-runtime",
3
3
  "description": "JavaScript runtime definitions for Decentraland environments",
4
- "version": "7.3.7",
4
+ "version": "7.3.8-5812704805.commit-961bb53",
5
5
  "author": "",
6
6
  "files": [
7
7
  "index.d.ts",
@@ -20,5 +20,5 @@
20
20
  },
21
21
  "types": "./index.d.ts",
22
22
  "typings": "./index.d.ts",
23
- "commit": "50408a82d187087c810fdc111f1c959eda71243f"
23
+ "commit": "961bb533f8eba3eaab9ee5da48a9057e3ec35844"
24
24
  }