@fraku/video 0.1.78 → 0.1.79
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/i18n/locales/ca.json.d.ts +2 -0
- package/dist/i18n/locales/de.json.d.ts +2 -0
- package/dist/i18n/locales/en.json.d.ts +2 -0
- package/dist/i18n/locales/es.json.d.ts +2 -0
- package/dist/i18n/locales/fr.json.d.ts +2 -0
- package/dist/index.cjs +98 -98
- package/dist/index.js +7381 -7348
- package/dist/providers/VideoPluginProvider/VideoPluginProvider.d.ts +1 -0
- package/dist/providers/VideoPluginProvider/context.d.ts +1 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -23,6 +23,7 @@ export type VideoPluginProviderProps = {
|
|
|
23
23
|
}) => Promise<void>;
|
|
24
24
|
videoSessionStatus?: SessionStatus;
|
|
25
25
|
language?: string;
|
|
26
|
+
isFinishForAllEnabled?: boolean;
|
|
26
27
|
onInitVotingPreSession?: () => Promise<void>;
|
|
27
28
|
onInitVotingSession?: () => Promise<void>;
|
|
28
29
|
onCloseVotingSession?: () => Promise<void>;
|
|
@@ -23,6 +23,7 @@ export type VideoPluginContextType = {
|
|
|
23
23
|
restartSession: () => Promise<void>;
|
|
24
24
|
onJoin?: () => void;
|
|
25
25
|
onExit?: () => void;
|
|
26
|
+
isFinishForAllEnabled: boolean;
|
|
26
27
|
};
|
|
27
28
|
export declare const VideoPluginContext: import('react').Context<VideoPluginContextType>;
|
|
28
29
|
export declare const useVideoPluginContext: () => VideoPluginContextType;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -28,5 +28,7 @@ export type VideoPluginProps = {
|
|
|
28
28
|
devTools?: boolean;
|
|
29
29
|
/** Set to false to suppress all non-error logs (e.g. in production). Defaults to true. */
|
|
30
30
|
enableLogs?: boolean;
|
|
31
|
+
/** Controls whether "Finish for all" is available. Defaults to true. */
|
|
32
|
+
isFinishForAllEnabled?: boolean;
|
|
31
33
|
};
|
|
32
34
|
export type ReactSetter<T> = React.Dispatch<React.SetStateAction<T>>;
|