livekit-server-sdk 2.0.3 → 2.0.4

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # livekit-server-sdk
2
2
 
3
+ ## 2.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Add agent field to VideoGrant - [#141](https://github.com/livekit/server-sdk-js/pull/141) ([@lukasIO](https://github.com/lukasIO))
8
+
3
9
  ## 2.0.3
4
10
 
5
11
  ### Patch Changes
package/dist/grants.d.ts CHANGED
@@ -44,6 +44,8 @@ export interface VideoGrant {
44
44
  hidden?: boolean;
45
45
  /** participant is recording the room, when set, allows room to indicate it's being recorded */
46
46
  recorder?: boolean;
47
+ /** participant acts as a server side participant/bot/agent */
48
+ agent?: boolean;
47
49
  }
48
50
  /** @internal */
49
51
  export interface ClaimGrants extends JWTPayload {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livekit-server-sdk",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Server-side SDK for LiveKit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",