@video-lab/react 3.0.1 → 3.1.0

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/index.d.cts CHANGED
@@ -12,7 +12,7 @@ type PlayerHandle = PlayerCoreHandle;
12
12
  /**
13
13
  * `<VideoPlayer />` 的 props(inline 高性能模式)。
14
14
  *
15
- * 刻意和 react-frame 的 `VideoPlayerFrameProps` 对齐(去掉 iframe 专属的 origin / version)——
15
+ * 刻意和 react-frame 的 `VideoPlayerFrameProps` 对齐(去掉 iframe 专属的 origin / iframeVersion)——
16
16
  * 团队封装层在 inline / iframe 两种模式间切换时,props 面尽量一致(cross-mode-parity)。
17
17
  * 播放字段最终拼进 player-core 的 `PlayerConfig`;事件走 React 惯例 `onCamelCase` 回调,
18
18
  * payload 形状对齐 protocol 的 PlayerEvent。
package/dist/index.d.mts CHANGED
@@ -12,7 +12,7 @@ type PlayerHandle = PlayerCoreHandle;
12
12
  /**
13
13
  * `<VideoPlayer />` 的 props(inline 高性能模式)。
14
14
  *
15
- * 刻意和 react-frame 的 `VideoPlayerFrameProps` 对齐(去掉 iframe 专属的 origin / version)——
15
+ * 刻意和 react-frame 的 `VideoPlayerFrameProps` 对齐(去掉 iframe 专属的 origin / iframeVersion)——
16
16
  * 团队封装层在 inline / iframe 两种模式间切换时,props 面尽量一致(cross-mode-parity)。
17
17
  * 播放字段最终拼进 player-core 的 `PlayerConfig`;事件走 React 惯例 `onCamelCase` 回调,
18
18
  * payload 形状对齐 protocol 的 PlayerEvent。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@video-lab/react",
3
- "version": "3.0.1",
3
+ "version": "3.1.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -34,9 +34,9 @@
34
34
  "react-dom": ">=19.0.0"
35
35
  },
36
36
  "dependencies": {
37
- "@video-lab/protocol": "3.0.1",
38
- "@video-lab/player-core": "3.0.1",
39
- "@video-lab/player-ui": "3.0.1"
37
+ "@video-lab/protocol": "3.1.0",
38
+ "@video-lab/player-core": "3.1.0",
39
+ "@video-lab/player-ui": "3.1.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@testing-library/jest-dom": "^6.0.0",