@livekit/components-js-docs 0.1.42 → 0.1.43

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.
@@ -12,5 +12,5 @@
12
12
  **Signature:**
13
13
 
14
14
  ```typescript
15
- export declare function isLocal(p: Participant): boolean;
15
+ export declare function isLocal(p: Participant): p is LocalParticipant;
16
16
  ```
@@ -12,5 +12,5 @@
12
12
  **Signature:**
13
13
 
14
14
  ```typescript
15
- export declare function isRemote(p: Participant): boolean;
15
+ export declare function isRemote(p: Participant): p is RemoteParticipant;
16
16
  ```
@@ -9,5 +9,5 @@
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- ignore?: true;
12
+ ignore?: boolean;
13
13
  ```
@@ -19,6 +19,6 @@ export interface LegacyChatMessage extends ChatMessage
19
19
 
20
20
  ## Properties
21
21
 
22
- | Property | Type | Description |
23
- | --------------------------------------------- | ---- | ------------ |
24
- | [ignore?](./core/legacychatmessage.ignore.md) | true | _(Optional)_ |
22
+ | Property | Type | Description |
23
+ | --------------------------------------------- | ------- | ------------ |
24
+ | [ignore?](./core/legacychatmessage.ignore.md) | boolean | _(Optional)_ |
@@ -9,5 +9,5 @@
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- ignore?: true;
12
+ ignore?: boolean;
13
13
  ```
@@ -19,6 +19,6 @@ export interface LegacyReceivedChatMessage extends ReceivedChatMessage
19
19
 
20
20
  ## Properties
21
21
 
22
- | Property | Type | Description |
23
- | ----------------------------------------------------- | ---- | ------------ |
24
- | [ignore?](./core/legacyreceivedchatmessage.ignore.md) | true | _(Optional)_ |
22
+ | Property | Type | Description |
23
+ | ----------------------------------------------------- | ------- | ------------ |
24
+ | [ignore?](./core/legacyreceivedchatmessage.ignore.md) | boolean | _(Optional)_ |
@@ -55,6 +55,6 @@ this will call getUserMedia if the permissions are not yet given to enumerate th
55
55
  devices: MediaDeviceInfo[];
56
56
  className: string;
57
57
  activeDeviceId: string;
58
- setActiveMediaDevice: (id: string, options?: import('@livekit/components-core').SetMediaDeviceOptions | undefined) => Promise<void>;
58
+ setActiveMediaDevice: (id: string, options?: import('@livekit/components-core').SetMediaDeviceOptions) => Promise<void>;
59
59
  }
60
60
  ```
@@ -30,9 +30,9 @@ return <button {...buttonProps}>{enabled ? "disable" : "enable"}</button>;
30
30
 
31
31
  ```typescript
32
32
  {
33
- toggle: ((forceState?: boolean | undefined) => Promise<void>) |
33
+ toggle: ((forceState?: boolean) => Promise<void>) |
34
34
  ((
35
- forceState?: boolean | undefined,
35
+ forceState?: boolean,
36
36
  captureOptions?: import("@livekit/components-core").CaptureOptionsBySource<T> | undefined
37
37
  ) => Promise<boolean | undefined>);
38
38
  enabled: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/components-js-docs",
3
- "version": "0.1.42",
3
+ "version": "0.1.43",
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.4"
11
+ "@livekit/components-react": "2.6.5"
12
12
  },
13
13
  "author": "",
14
14
  "license": "Apache-2.0",