@netless/window-manager 0.4.9-canary.0 → 0.4.9

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/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.4.9
2
+
3
+ 1. 添加 `sceneState` 属性和 `sceneStateChange` 事件
4
+ 2. 修复刷新后 `dynamic DocsViewer` 页数会切换错误的问题
5
+
1
6
  ## 0.4.8
2
7
 
3
8
  1. 升级 `@netless/telebox-insider` 至 `0.2.25`
@@ -48,7 +48,7 @@ export declare class AppProxy {
48
48
  private appAttributesUpdateListener;
49
49
  private setFocusScenePathHandler;
50
50
  setScenePath(): void;
51
- setViewFocusScenePath(): void;
51
+ setViewFocusScenePath(): string | undefined;
52
52
  private createView;
53
53
  destroy(needCloseBox: boolean, cleanAttrs: boolean, skipUpdate: boolean, error?: Error): Promise<void>;
54
54
  close(): Promise<void>;
@@ -1,6 +1,6 @@
1
1
  import Emittery from "emittery";
2
2
  import type { TeleBoxColorScheme, TELE_BOX_STATE } from "@netless/telebox-insider";
3
- import type { CameraState, ViewVisionMode } from "white-web-sdk";
3
+ import type { CameraState, SceneState, ViewVisionMode } from "white-web-sdk";
4
4
  import type { LoadAppEvent } from "./Register";
5
5
  export declare type PublicEvent = {
6
6
  mainViewModeChange: ViewVisionMode;
@@ -16,6 +16,7 @@ export declare type PublicEvent = {
16
16
  canUndoStepsChange: number;
17
17
  loadApp: LoadAppEvent;
18
18
  ready: undefined;
19
+ sceneStateChange: SceneState;
19
20
  };
20
21
  export declare type CallbacksType = Emittery<PublicEvent>;
21
22
  export declare const callbacks: CallbacksType;