@netless/window-manager 0.4.31 → 0.4.34

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,17 @@
1
+ ## 0.4.34 (2022-06-29)
2
+
3
+ - 修复: 重连之后 `app` 没有正确创建的问题
4
+ - 修复: `app` 创建之后初始化宽高没有同步的问题
5
+
6
+ ## 0.4.33 (2022-06-29)
7
+
8
+ - 修复: 多人同时调用 `WindowManager.mount` 有概率出现错误的问题
9
+ - 修复: 只读用户的重连刷新问题
10
+
11
+ ## 0.4.32 (2022-06-10)
12
+
13
+ - 功能: `WindowManager.mount` 添加 `applianceIcons` 选项配置光标使用的图片
14
+
1
15
  ## 0.4.31 (2022-06-09)
2
16
 
3
17
  - 修复: `bindContainer` 在回放模式下直接抛出错误的问题
@@ -1,4 +1,5 @@
1
1
  import { Cursor } from "./Cursor";
2
+ import type { ApplianceIcons } from "../index";
2
3
  import type { PositionType } from "../AttributesDelegate";
3
4
  import type { RoomMember, View } from "white-web-sdk";
4
5
  import type { AppManager } from "../AppManager";
@@ -21,7 +22,8 @@ export declare class CursorManager {
21
22
  private mainViewElement?;
22
23
  private sideEffectManager;
23
24
  private store;
24
- constructor(manager: AppManager, enableCursor: boolean);
25
+ applianceIcons: ApplianceIcons;
26
+ constructor(manager: AppManager, enableCursor: boolean, applianceIcons?: ApplianceIcons);
25
27
  private onCursorMove;
26
28
  private initCursorInstance;
27
29
  private canMoveCursor;
package/dist/Helper.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { WindowManager } from "./index";
1
2
  import type { Room } from "white-web-sdk";
2
3
  export declare const setupWrapper: (root: HTMLElement) => {
3
4
  playground: HTMLDivElement;
@@ -7,3 +8,4 @@ export declare const setupWrapper: (root: HTMLElement) => {
7
8
  };
8
9
  export declare const checkVersion: () => void;
9
10
  export declare const findMemberByUid: (room: Room | undefined, uid: string) => import("white-web-sdk").RoomMember | undefined;
11
+ export declare const createInvisiblePlugin: (room: Room) => Promise<WindowManager | undefined>;