@livekit/components-js-docs 0.1.49 → 0.1.50

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.
@@ -14,11 +14,11 @@
14
14
  ```typescript
15
15
  export declare function setupDeviceSelector(
16
16
  kind: MediaDeviceKind,
17
- room?: Room,
17
+ room: Room,
18
18
  localTrack?: LocalAudioTrack | LocalVideoTrack
19
19
  ): {
20
20
  className: string;
21
- activeDeviceObservable: import("rxjs").Observable<string | undefined>;
21
+ activeDeviceObservable: import("rxjs").Observable<string>;
22
22
  setActiveMediaDevice: (id: string, options?: SetMediaDeviceOptions) => Promise<void>;
23
23
  };
24
24
  ```
@@ -9,6 +9,12 @@
9
9
 
10
10
  # usePreviewDevice
11
11
 
12
+ {% callout type="caution" variation="normal" %}
13
+
14
+ This API is deprecated: use `usePreviewTracks` instead
15
+
16
+ {% /callout %}
17
+
12
18
  ## Import
13
19
 
14
20
  ```typescript
@@ -9,12 +9,6 @@
9
9
 
10
10
  # usePreviewTracks
11
11
 
12
- {% callout type="note" variation="normal" %}
13
-
14
- This feature is experimental and may change or be removed based on developer feedback and real-world usage.
15
-
16
- {% /callout %}
17
-
18
12
  ## Import
19
13
 
20
14
  ```typescript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/components-js-docs",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "description": "Automatically generated documentation pages for LiveKit Components JS. Intended to be consumed by the documentation page.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,7 +8,7 @@
8
8
  "directory": "/docs/beta-docs"
9
9
  },
10
10
  "dependencies": {
11
- "@livekit/components-react": "2.6.11"
11
+ "@livekit/components-react": "2.7.0"
12
12
  },
13
13
  "author": "",
14
14
  "license": "Apache-2.0",