livekit-client 0.17.6-rc1 → 0.18.0

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/dist/logger.d.ts CHANGED
@@ -6,6 +6,7 @@ export declare enum LogLevel {
6
6
  error = 4,
7
7
  silent = 5
8
8
  }
9
+ declare type LogLevelString = keyof typeof LogLevel;
9
10
  declare type StructuredLogger = {
10
11
  trace: (msg: string, context?: object) => void;
11
12
  debug: (msg: string, context?: object) => void;
@@ -15,7 +16,7 @@ declare type StructuredLogger = {
15
16
  };
16
17
  declare const _default: StructuredLogger;
17
18
  export default _default;
18
- export declare function setLogLevel(level: LogLevel): void;
19
+ export declare function setLogLevel(level: LogLevel | LogLevelString): void;
19
20
  export declare type LogExtension = (level: LogLevel, msg: string, context?: object) => void;
20
21
  /**
21
22
  * use this to hook into the logging function to allow sending internal livekit logs to third party services
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const version = "0.17.5";
1
+ export declare const version = "0.18.0";
2
2
  export declare const protocolVersion = 7;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livekit-client",
3
- "version": "0.17.6-rc1",
3
+ "version": "0.18.0",
4
4
  "description": "JavaScript/TypeScript client SDK for LiveKit",
5
5
  "main": "./dist/livekit-client.umd.js",
6
6
  "unpkg": "./dist/livekit-client.umd.js",
package/CHANGELOG.md DELETED
@@ -1,5 +0,0 @@
1
- # Change Log
2
-
3
- ## 0.12.0
4
-
5
- - Updated API to create screen share tracks.