@jx3box/jx3box-ui 2.4.9 → 2.4.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.
@@ -3,7 +3,7 @@
3
3
  `CommonHeader` 为引用公共头的普通 PC 项目接入新版客户端实例 heartbeat。
4
4
 
5
5
  - 接口:`POST /api/cms/system/stat/heartbeat`。
6
- - SDK 版本:当前固定为 `v0.0.2`,只在统计组件协议升级时调整。
6
+ - SDK 版本:当前固定为 `v0.0.3`,只在统计组件协议升级时调整。
7
7
  - 实例 ID:复用本地 `jx3box:device_id` 随机 UUID;不使用硬件指纹。
8
8
  - 普通桌面浏览器为 `client=pc_web`;手机浏览器访问 PC 页面为 `client=mobile_web`。
9
9
  - 小程序和 App 容器按统一客户端枚举识别;游戏内页面的 `pc_game/mobile_game` 由对应页面以后主动指定,不在公共头推断。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-ui",
3
- "version": "2.4.9",
3
+ "version": "2.4.10",
4
4
  "description": "JX3BOX Vue3 UI",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@element-plus/icons-vue": "^2.3.2",
37
- "@jx3box/jx3box-common": "^9.5.6",
38
- "@jx3box/jx3box-data": "^3.9.7",
37
+ "@jx3box/jx3box-common": "^9.5.8",
38
+ "@jx3box/jx3box-data": "^3.9.8",
39
39
  "@jx3box/jx3box-editor": "^3.2.13",
40
40
  "@jx3box/jx3box-emotion": "^1.3.2",
41
41
  "@jx3box/jx3box-macro": "^1.0.4",
@@ -7,7 +7,7 @@ import packageInfo from "../../package.json";
7
7
  const INSTANCE_ID_KEY = "jx3box:device_id";
8
8
  const REPORT_DATE_KEY = "jx3box:client-stat-report-date";
9
9
  const REPORT_SIGNATURE_KEY = "jx3box:client-stat-report-signature";
10
- const STAT_SDK_VERSION = "v0.0.2";
10
+ const STAT_SDK_VERSION = "v0.0.3";
11
11
  const PACKAGE_VERSION = packageInfo.version;
12
12
  const WEB_VERSION = `jx3box-ui@${PACKAGE_VERSION}`;
13
13
  const STARTUP_DELAY_MIN = 3 * 1000;
@@ -28,7 +28,7 @@ assert(
28
28
  "PC heartbeat should namespace its web version"
29
29
  );
30
30
  assert(clientStat.includes("web_version: WEB_VERSION"), "PC heartbeat should report the namespaced web version");
31
- assert(clientStat.includes('const STAT_SDK_VERSION = "v0.0.2"'), "statistics SDK version should remain explicit");
31
+ assert(clientStat.includes('const STAT_SDK_VERSION = "v0.0.3"'), "statistics SDK version should remain explicit");
32
32
  assert(clientStat.includes('return "pc_web"'), "desktop browser traffic should report pc_web");
33
33
  assert(clientStat.includes('return "mobile_web"'), "mobile browsers visiting PC pages should report mobile_web");
34
34
  assert(