@fraku/video 0.1.69 → 0.1.71

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.
@@ -0,0 +1,22 @@
1
+ export declare const setLogsEnabled: (enabled: boolean) => void;
2
+ export type Logger = {
3
+ debug: (...args: unknown[]) => void;
4
+ log: (...args: unknown[]) => void;
5
+ info: (...args: unknown[]) => void;
6
+ warn: (...args: unknown[]) => void;
7
+ error: (...args: unknown[]) => void;
8
+ };
9
+ export declare const createLogger: (prefix: string, color: string) => Logger;
10
+ export declare const loggers: {
11
+ plugin: Logger;
12
+ session: Logger;
13
+ video: Logger;
14
+ audio: Logger;
15
+ users: Logger;
16
+ shared: Logger;
17
+ recording: Logger;
18
+ videoAttachment: Logger;
19
+ virtualBackground: Logger;
20
+ utils: Logger;
21
+ pip: Logger;
22
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -5,6 +5,7 @@ type AccordionHeaderTemplateProps = {
5
5
  onClose?: () => void;
6
6
  showBadge?: boolean;
7
7
  badgeValue?: string | number;
8
+ badgeTestId?: string;
8
9
  };
9
- declare const AccordionHeaderTemplate: ({ activeSection, label, tabIdx, onClose, showBadge, badgeValue }: AccordionHeaderTemplateProps) => import("react/jsx-runtime").JSX.Element;
10
+ declare const AccordionHeaderTemplate: ({ activeSection, label, tabIdx, onClose, showBadge, badgeValue, badgeTestId }: AccordionHeaderTemplateProps) => import("react/jsx-runtime").JSX.Element;
10
11
  export default AccordionHeaderTemplate;
@@ -22,5 +22,7 @@ export type VideoPluginProps = {
22
22
  className?: string;
23
23
  /** Renders a floating panel to simulate active-media-failed errors. For development only. */
24
24
  devTools?: boolean;
25
+ /** Set to false to suppress all non-error logs (e.g. in production). Defaults to true. */
26
+ enableLogs?: boolean;
25
27
  };
26
28
  export type ReactSetter<T> = React.Dispatch<React.SetStateAction<T>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fraku/video",
3
3
  "private": false,
4
- "version": "0.1.69",
4
+ "version": "0.1.71",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -52,12 +52,12 @@
52
52
  "classnames": "^2.5.1",
53
53
  "clsx": "^2.1.1",
54
54
  "i18n": "^0.15.3",
55
- "i18next": "^25.8.18",
55
+ "i18next": "^25.10.5",
56
56
  "i18next-browser-languagedetector": "^8.2.1",
57
57
  "jsrsasign": "^11.1.1",
58
58
  "primeicons": "^7.0.0",
59
59
  "primereact": "^10.9.6",
60
- "react-i18next": "^16.5.8",
60
+ "react-i18next": "^16.6.2",
61
61
  "react-use": "^17.6.0",
62
62
  "styled-components": "^5.3.11",
63
63
  "tailwind-merge": "^3.5.0",
@@ -65,8 +65,8 @@
65
65
  },
66
66
  "devDependencies": {
67
67
  "@playwright/test": "^1.58.2",
68
- "@storybook/react-vite": "^10.2.19",
69
- "@storybook/test-runner": "^0.24.2",
68
+ "@storybook/react-vite": "^10.3.2",
69
+ "@storybook/test-runner": "^0.24.3",
70
70
  "@tailwindcss/container-queries": "^0.1.1",
71
71
  "@testing-library/jest-dom": "^6.9.1",
72
72
  "@testing-library/react": "^16.3.2",
@@ -81,23 +81,23 @@
81
81
  "@vitest/coverage-v8": "^4.1.0",
82
82
  "@vitest/ui": "^4.1.0",
83
83
  "autoprefixer": "^10.4.27",
84
- "baseline-browser-mapping": "^2.10.8",
84
+ "baseline-browser-mapping": "^2.10.10",
85
85
  "eslint": "^8.55.0",
86
86
  "eslint-plugin-react": "^7.37.5",
87
87
  "eslint-plugin-react-hooks": "^4.6.0",
88
88
  "eslint-plugin-react-refresh": "^0.4.5",
89
- "eslint-plugin-storybook": "^10.2.19",
89
+ "eslint-plugin-storybook": "^10.3.2",
90
90
  "husky": "^9.1.7",
91
91
  "jsdom": "^27.4.0",
92
92
  "postcss": "^8.5.8",
93
93
  "react": "^18.2.0",
94
94
  "react-dom": "^18.2.0",
95
- "storybook": "^10.2.19",
95
+ "storybook": "^10.3.2",
96
96
  "tailwindcss": "^3.4.17",
97
97
  "typescript": "^5.2.2",
98
98
  "vite": "^6.0.7",
99
99
  "vite-plugin-dts": "^3.6.4",
100
- "vite-plugin-static-copy": "^3.3.0",
100
+ "vite-plugin-static-copy": "^3.4.0",
101
101
  "vitest": "^4.1.0"
102
102
  },
103
103
  "keywords": [