@4players/odin-common 8.0.3 → 8.0.5

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/package.json +1 -1
  2. package/plugin/api.d.ts +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@4players/odin-common",
3
- "version": "8.0.3",
3
+ "version": "8.0.5",
4
4
  "description": "A collection of commonly used type definitions and utility functions across ODIN web projects",
5
5
  "author": "Josho Bleicker <josho.bleicker@4players.io> (https://www.4players.io)",
6
6
  "homepage": "https://www.4players.io",
package/plugin/api.d.ts CHANGED
@@ -84,6 +84,7 @@ export declare namespace Backend {
84
84
  readonly customType?: string;
85
85
  }
86
86
  interface CreateVideoPlaybackParameters {
87
+ id: string;
87
88
  readonly uid: UID;
88
89
  readonly customType?: string;
89
90
  }
@@ -120,8 +121,9 @@ export declare namespace Backend {
120
121
  audioCapture?: AudioCapture;
121
122
  }
122
123
  interface VideoPlayback extends Media {
123
- readonly mediaStream?: MediaStream;
124
+ readonly id: string;
124
125
  readonly uid: UID;
126
+ readonly mediaStream?: MediaStream;
125
127
  }
126
128
  type PlaybackVolume = [number, number];
127
129
  type CaptureVolume = 'muted' | number;