@livekit/components-js-docs 0.1.77 → 0.1.78

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.
@@ -20,7 +20,8 @@ export declare function createDataObserver(
20
20
  participant?: import("livekit-client").RemoteParticipant | undefined,
21
21
  kind?: import("livekit-client").DataPacket_Kind | undefined,
22
22
  topic?: string | undefined,
23
- encryptionType?: import("livekit-client").Encryption_Type | undefined
23
+ encryptionType?: import("livekit-client").Encryption_Type | undefined,
24
+ participantIdentity?: string | undefined
24
25
  ]
25
26
  >;
26
27
  ```
@@ -13,7 +13,7 @@
13
13
 
14
14
  ```typescript
15
15
  export declare function setupChatMessageHandler(room: Room): {
16
- chatObservable: Observable<
16
+ chatObservable: import("rxjs").Observable<
17
17
  [
18
18
  message: ChatMessage,
19
19
  participant?: LocalParticipant | import("livekit-client").RemoteParticipant | undefined
@@ -17,12 +17,12 @@ export declare function setupDataMessageHandler<T extends string>(
17
17
  topic?: T | [T, ...T[]],
18
18
  onMessage?: (msg: ReceivedDataMessage<T>) => void
19
19
  ): {
20
- messageObservable: Observable<{
20
+ messageObservable: import("rxjs").Observable<{
21
21
  payload: Uint8Array<ArrayBuffer>;
22
22
  topic: T;
23
23
  from: import("livekit-client").RemoteParticipant | undefined;
24
24
  }>;
25
- isSendingObservable: Observable<boolean>;
25
+ isSendingObservable: import("rxjs").Observable<boolean>;
26
26
  send: (payload: Uint8Array, options?: DataPublishOptions) => Promise<void>;
27
27
  };
28
28
  ```
@@ -43,7 +43,11 @@ this will call getUserMedia if the permissions are not yet given to enumerate th
43
43
  {% parameter name="input.room" type="Room" optional=true %}
44
44
  {% /parameter %}
45
45
 
46
- {% parameter name="input.track" type="LocalAudioTrack | LocalVideoTrack" optional=true %}
46
+ {% parameter name="input.track" type="LocalAudioTrack | LocalVideoTrack" optional=true deprecated=true %}
47
+ {% callout type="caution" variation="compact" %}
48
+ Passing a local track is no longer needed. Without a `room`<!-- -->, the hook falls back to the room from the context or to a new, unconnected `Room`<!-- -->, and tracks the active device through that room.
49
+
50
+ {% /callout %}
47
51
  {% /parameter %}
48
52
 
49
53
  ## Returns
@@ -6,6 +6,12 @@
6
6
 
7
7
  # UseMediaDeviceSelectProps.track property
8
8
 
9
+ {% callout type="caution" variation="normal" %}
10
+
11
+ This API is deprecated: Passing a local track is no longer needed. Without a `room`<!-- -->, the hook falls back to the room from the context or to a new, unconnected `Room`<!-- -->, and tracks the active device through that room.
12
+
13
+ {% /callout %}
14
+
9
15
  **Signature:**
10
16
 
11
17
  ```typescript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/components-js-docs",
3
- "version": "0.1.77",
3
+ "version": "0.1.78",
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.9.24"
11
+ "@livekit/components-react": "2.9.25"
12
12
  },
13
13
  "author": "",
14
14
  "license": "Apache-2.0",