@thejrsoft/subway-protocol 1.4.5 → 1.4.6

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,12 +1,15 @@
1
1
  # Changelog
2
2
 
3
- ## [1.4.5] - 2026-04-01
3
+ ## [1.4.6] - 2026-04-01
4
4
 
5
5
  ### Added
6
6
  - `ProgressPhase.EXPORT = 'EXPORT'`:新增数据导出阶段
7
7
  - 适用于监播表导出、测速值导出等长时间数据回收操作
8
8
  - 命令方向与部署流程相反(设备 → Edge/云端),用于数据采集类指令的进度跟踪
9
9
 
10
+ ### Fixed
11
+ - `PROTOCOL_VERSION` 常量同步更新为 `'1.4.6'`(1.4.5 因重复发布限制未能同步)
12
+
10
13
  ## [1.4.4] - 2026-03-25
11
14
 
12
15
  ### Changed
package/dist/index.d.ts CHANGED
@@ -426,7 +426,7 @@ export declare class MessageFactory {
426
426
  success: boolean, message?: string, routeCount?: number): UpdateRoutesAckMessage;
427
427
  }
428
428
  export type AnyMessage = RegisterMessage | RegisterAckMessage | UnregisterMessage | UnregisterAckMessage | CommandMessage | CommandResponseMessage | ProgramMessage | ProgramResponseMessage | HeartbeatMessage | HeartbeatAckMessage | ProgressUpdateMessage | UpdateRoutesMessage | UpdateRoutesAckMessage | ErrorMessage;
429
- export declare const PROTOCOL_VERSION = "1.4.4";
429
+ export declare const PROTOCOL_VERSION = "1.4.6";
430
430
  export declare const DEFAULT_TIMEOUT = 10000;
431
431
  export declare const DEFAULT_PRIORITY = Priority.NORMAL;
432
432
  export * from './command-types';
package/dist/index.js CHANGED
@@ -440,7 +440,7 @@ class MessageFactory {
440
440
  }
441
441
  exports.MessageFactory = MessageFactory;
442
442
  // 导出常量
443
- exports.PROTOCOL_VERSION = '1.4.4';
443
+ exports.PROTOCOL_VERSION = '1.4.6';
444
444
  exports.DEFAULT_TIMEOUT = 10000;
445
445
  exports.DEFAULT_PRIORITY = Priority.NORMAL;
446
446
  // 导出强类型命令系统
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thejrsoft/subway-protocol",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "Shared WebSocket protocol definitions for JRSoft Subway - Enhanced with clientId fields for response tracking",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -847,7 +847,7 @@ export type AnyMessage =
847
847
  | ErrorMessage;
848
848
 
849
849
  // 导出常量
850
- export const PROTOCOL_VERSION = '1.4.4';
850
+ export const PROTOCOL_VERSION = '1.4.6';
851
851
  export const DEFAULT_TIMEOUT = 10000;
852
852
  export const DEFAULT_PRIORITY = Priority.NORMAL;
853
853