@sanseng/livekit-ws-sdk 0.1.14 → 0.1.16

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +3 -2
package/dist/index.d.ts CHANGED
@@ -1145,13 +1145,13 @@ declare class SDKClient extends Disposable {
1145
1145
  * @returns MediaStream | null
1146
1146
  * @author sansen
1147
1147
  */
1148
- getCameraStream(): MediaStream | null;
1148
+ private getCameraStream;
1149
1149
  /**
1150
1150
  * Get the local camera video track (null if camera not running)
1151
1151
  * @returns MediaStreamTrack | null
1152
1152
  * @author sansen
1153
1153
  */
1154
- getCameraTrack(): MediaStreamTrack | null;
1154
+ private getCameraTrack;
1155
1155
  /**
1156
1156
  * Attach the local camera stream to a video element for preview
1157
1157
  * @param videoElement HTML video element to show the stream
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanseng/livekit-ws-sdk",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "authors": "sansen",
5
5
  "description": "Real-time playback SDK based on LiveKit Client with integrated WebSocket dialog communication",
6
6
  "main": "dist/index.cjs.js",
@@ -24,7 +24,8 @@
24
24
  "dev": "rollup -c rollup.config.js -w",
25
25
  "build": "rimraf dist && rollup -c rollup.config.js",
26
26
  "lint": "eslint .",
27
- "format": "prettier --write \"src/**/*.ts\""
27
+ "format": "prettier --write \"src/**/*.ts\"",
28
+ "prepublishOnly": "npm run build"
28
29
  },
29
30
  "keywords": [
30
31
  "webrtc",