@ray-js/ipc-player-integration 0.0.50 → 0.0.51-beta.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.
@@ -126,7 +126,10 @@ export const isSwitchChannelSupported = () => {
126
126
  const supported = typeof ((_ty = ty) === null || _ty === void 0 || (_ty = _ty.ipc) === null || _ty === void 0 ? void 0 : _ty.switchChannel) === 'function';
127
127
  if (!supported && !switchChannelMissingLogged) {
128
128
  switchChannelMissingLogged = true;
129
- console.warn('[zoomTurntable] 宿主不支持 ty.ipc.switchChannel,焦距转盘入口不展示');
129
+ // 只能用 log:本判定会在 render 期被调用,而 IDE 宿主下 render 期的 console.warn
130
+ // 会打坏 Ray 运行时,整个面板崩在 areHookInputsEqual / TDZ —— 且症状伪装成
131
+ // 「hook 顺序错位」(报 change in the order of Hooks),极难归因,勿改回 warn
132
+ console.log('[zoomTurntable] 宿主不支持 ty.ipc.switchChannel,焦距转盘入口不展示');
130
133
  dumpChannelApis();
131
134
  }
132
135
  return supported;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/ipc-player-integration",
3
- "version": "0.0.50",
3
+ "version": "0.0.51-beta.0",
4
4
  "description": "IPC 融合播放器",
5
5
  "main": "lib/index",
6
6
  "files": [