@netless/window-manager 0.4.28 → 0.4.29
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/App/AppContext.d.ts +1 -1
- package/dist/App/AppProxy.d.ts +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.es.js +11 -9
- 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 +3 -1
- package/package.json +1 -1
- package/src/App/AppContext.ts +8 -4
- package/src/App/AppProxy.ts +2 -5
- package/src/index.ts +9 -3
package/CHANGELOG.md
CHANGED
package/dist/App/AppContext.d.ts
CHANGED
@@ -70,6 +70,6 @@ export declare class AppContext<TAttributes = any, TMagixEventPayloads = any, TA
|
|
70
70
|
nextPage: () => Promise<boolean>;
|
71
71
|
prevPage: () => Promise<boolean>;
|
72
72
|
addPage: (params?: AddPageParams | undefined) => Promise<void>;
|
73
|
-
removePage: (index
|
73
|
+
removePage: (index?: number | undefined) => Promise<boolean>;
|
74
74
|
get pageState(): PageState;
|
75
75
|
}
|
package/dist/App/AppProxy.d.ts
CHANGED
@@ -5,7 +5,7 @@ import type { SceneState, View, SceneDefinition } from "white-web-sdk";
|
|
5
5
|
import type { AppManager } from "../AppManager";
|
6
6
|
import type { NetlessApp } from "../typings";
|
7
7
|
import type { ReadonlyTeleBox } from "@netless/telebox-insider";
|
8
|
-
import { PageRemoveService, PageState } from "../Page";
|
8
|
+
import type { PageRemoveService, PageState } from "../Page";
|
9
9
|
export declare type AppEmitter = Emittery<AppEmitterEvent>;
|
10
10
|
export declare class AppProxy implements PageRemoveService {
|
11
11
|
private params;
|