@nainudhin/video-meeting-sdk 1.10.1 → 1.11.1

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.
@@ -76,6 +76,14 @@ export interface MeetSDKConfig {
76
76
  * Default: ['chat'].
77
77
  */
78
78
  panels?: Array<'chat' | 'code' | 'whiteboard'>;
79
+
80
+ /**
81
+ * Called after `leave()` finishes teardown. Fires whether the user clicked
82
+ * the SDK's Leave button or the app called `sdk.leave()` directly. The SDK
83
+ * instance is passed so REST helpers (listRecordings, getRecording) can
84
+ * still run after the socket + peer are torn down.
85
+ */
86
+ onLeave?: (sdk: MeetSDK) => void | Promise<void>;
79
87
  }
80
88
 
81
89
  export interface RecordingSummary {