diff --git a/README.md b/README.md index 39e0cfd67c..45aed36c4a 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,10 @@ npm install livekit-client --save Examples below are in TypeScript, if using JS/CommonJS imports replace import with: ```javascript -const LiveKit = require('livekit-client'); +const livekit = require('livekit-client'); -LiveKit.connect(...); +const room = new livekit.Room(...); +await room.connect(...); ``` ### Connecting to a room, publish video & audio diff --git a/package.json b/package.json index f55ffb1aa9..458e5d56ed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "livekit-client", - "version": "0.14.3", + "version": "0.15.0", "description": "JavaScript/TypeScript client SDK for LiveKit", "main": "dist/index.js", "source": "src/index.ts", diff --git a/src/room/track/options.ts b/src/room/track/options.ts index c199441773..63d401c285 100644 --- a/src/room/track/options.ts +++ b/src/room/track/options.ts @@ -22,7 +22,7 @@ export interface TrackPublishDefaults { audioBitrate?: number; /** - * dtx (Discontinuous Tranmission of audio), defaults to true + * dtx (Discontinuous Transmission of audio), defaults to true */ dtx?: boolean; diff --git a/src/version.ts b/src/version.ts index 8031e1ff0e..f00232983b 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,2 +1,2 @@ -export const version = '0.14.3'; +export const version = '0.15.0'; export const protocolVersion = 5;