@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 +5 -0
- package/dist/AppProxy.d.ts +1 -1
- package/dist/callback.d.ts +2 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/docs/api.md +1 -0
- package/package.json +1 -1
- package/src/AppManager.ts +1 -0
- package/src/AppProxy.ts +2 -1
- package/src/callback.ts +2 -1
- package/src/index.ts +2 -3
package/CHANGELOG.md
CHANGED
package/dist/AppProxy.d.ts
CHANGED
@@ -48,7 +48,7 @@ export declare class AppProxy {
|
|
48
48
|
private appAttributesUpdateListener;
|
49
49
|
private setFocusScenePathHandler;
|
50
50
|
setScenePath(): void;
|
51
|
-
setViewFocusScenePath():
|
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>;
|
package/dist/callback.d.ts
CHANGED
@@ -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;
|