@netless/window-manager 0.4.49 → 0.4.51

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,6 +1,15 @@
1
+ ## 0.4.51 (2022-11-18)
2
+
3
+ - 增强: 导出 PDF 现在需要额外安装 jspdf 才能使用(优化打包体积)
4
+
5
+ ## 0.4.50 (2022-11-16)
6
+
7
+ - 修复: 重连后 `pageStage.length` 没有刷新的问题
8
+ - 新增: docs viewer 增加导出 pdf 功能
9
+
1
10
  ## 0.4.49 (2022-10-13)
2
11
 
3
- - 修复: 切换 `viewMode` 为 `freedom` 总是同步远端的 `camera`
12
+ - 增强: 切换 `viewMode` 为 `follower` 总是同步远端的 `camera`
4
13
 
5
14
  ## 0.4.48 (2022-10-13)
6
15
 
@@ -8,7 +17,7 @@
8
17
 
9
18
  ## 0.4.47 (2022-10-13)
10
19
 
11
- - 修复: 禁用光标功能时, 不再发送光标移动事件
20
+ - 增强: 禁用光标功能时, 不再发送光标移动事件
12
21
 
13
22
  ## 0.4.46 (2022-10-11)
14
23
 
package/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 netless
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -22,6 +22,7 @@ This application provides the following.
22
22
  - [advanced use](docs/advanced.md)
23
23
  - [view-follow](docs/advanced.md#view-mode)
24
24
  - [Develop custom APP](docs/develop-app.md)
25
+ - [Export PDF](docs/export-pdf.md)
25
26
 
26
27
  ## Install
27
28
 
@@ -87,8 +88,7 @@ Because of the multiple windows, we abstracted out a main whiteboard, and migrat
87
88
  sdk.joinRoom({
88
89
  // cursorAdapter: cursorAdapter, the original cursorAdapter in sdk needs to be turned off
89
90
  userPayload: {
90
- userId: "user id",
91
- cursorName: "cursor name",
91
+ nickName: "cursor name",
92
92
  avatar: "User avatar link",
93
93
  },
94
94
  });
@@ -246,4 +246,4 @@ cd example
246
246
  pnpm install
247
247
 
248
248
  pnpm dev
249
- ```
249
+ ```
package/README.zh-cn.md CHANGED
@@ -8,6 +8,7 @@
8
8
  - [进阶使用](docs/advanced.md)
9
9
  - [视角跟随](docs/advanced.md#view-mode)
10
10
  - [开发自定义 APP](docs/develop-app.md)
11
+ - [导出 PDF](docs/export-pdf.md)
11
12
  ## MainView
12
13
 
13
14
  `MainView` 也就是主白板, 是垫在所有窗口下面的主白板
@@ -61,8 +62,7 @@ sdk.joinRoom({
61
62
  sdk.joinRoom({
62
63
  // cursorAdapter: cursorAdapter, 原本开启 sdk 中的 cursorAdapter 需要关闭
63
64
  userPayload: {
64
- userId: "用户 id",
65
- cursorName: "光标名称",
65
+ nickName: "光标名称",
66
66
  avatar: "用户头像链接",
67
67
  },
68
68
  });
@@ -220,4 +220,4 @@ cd example
220
220
  pnpm install
221
221
 
222
222
  pnpm dev
223
- ```
223
+ ```