@tunnelbox/core 0.1.9 → 0.1.10

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/dist/index.js CHANGED
@@ -1643,7 +1643,7 @@ async function printPairing(code, type, name, lang) {
1643
1643
  }
1644
1644
 
1645
1645
  // src/messages.ts
1646
- var DEFAULT_PAGE_SIZE = 50;
1646
+ var DEFAULT_PAGE_SIZE = 20;
1647
1647
  var MAX_PART_TEXT = 16e3;
1648
1648
  var MAX_PART_ARGS = 4e3;
1649
1649
  var MAX_PAGE_BYTES = 15e5;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tunnelbox/core",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "tunnelbox 共享核心:协议类型、中继客户端、状态持久化、二维码配对",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/messages.ts CHANGED
@@ -18,8 +18,8 @@
18
18
  */
19
19
  import type { ChatMessage, Part } from "./types";
20
20
 
21
- /** 单页默认条数(手机端首屏展示窗口)。 */
22
- export const DEFAULT_PAGE_SIZE = 50;
21
+ /** 单页默认条数(手机端首屏/每次"加载更早"的展示窗口)。 */
22
+ export const DEFAULT_PAGE_SIZE = 20;
23
23
 
24
24
  /** 单条 part 文本(text/thinking)展示上限(字符)。 */
25
25
  export const MAX_PART_TEXT = 16000;