@videosdk.live/react-sdk
Advanced tools
Comparing version 0.1.100 to 0.1.101
@@ -1013,3 +1013,38 @@ // Type definitions for @videosdk.live/react-sdk 0.1 | ||
/** | ||
* @returns - This will return `startWhiteboard()`, `stopWhiteboard()` and `whiteboardUrl`. | ||
* --- | ||
* **useWhiteboard example** | ||
* ```javascript | ||
* const { startWhiteboard, stopWhiteboard, whiteboardUrl } = useWhiteboard(); | ||
* | ||
* async function handleStartWhiteboard() { | ||
* await startWhiteboard(); | ||
* } | ||
* | ||
* async function handleStopWhiteboard() { | ||
* await stopWhiteboard(); | ||
* } | ||
* ``` | ||
*/ | ||
export function useWhiteboard(): | ||
{ | ||
/** | ||
* @description Starts the whiteboard for the meeting. | ||
*/ | ||
startWhiteboard: () => Promise<void>; | ||
/** | ||
* @description Stops the whiteboard session for the meeting. | ||
*/ | ||
stopWhiteboard: () => Promise<void>; | ||
/** | ||
* @description The URL of the active whiteboard, or `null` if the whiteboard is not currently active. | ||
*/ | ||
whiteboardUrl: string | null; | ||
}; | ||
/** | ||
* @param onTranscriptionStateChanged - This will triggered when a realtime transcription state is changed. | ||
@@ -1016,0 +1051,0 @@ * --- |
{ | ||
"name": "@videosdk.live/react-sdk", | ||
"version": "0.1.100", | ||
"version": "0.1.101", | ||
"license": "ISC", | ||
@@ -30,2 +30,3 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@types/react": "^18.3.5", | ||
"babel-eslint": "^10.0.1", | ||
@@ -77,5 +78,5 @@ "eslint": "^5.16.0", | ||
"dependencies": { | ||
"@videosdk.live/js-sdk": "0.0.96", | ||
"@videosdk.live/js-sdk": "0.0.97", | ||
"events": "^3.3.0" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
625400
6489
13
+ Added@videosdk.live/js-sdk@0.0.97(transitive)
- Removed@videosdk.live/js-sdk@0.0.96(transitive)
Updated@videosdk.live/js-sdk@0.0.97