taro-bluetooth-print 2.4.0 → 2.4.1

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
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.4.1] - 2026-03-24
9
+
10
+ ### 修复
11
+
12
+ - **MultiPrinterManager**: 修复使用字符串字面量 `'connected'` 而非 `PrinterState.CONNECTED` 枚举值的类型安全问题
13
+ - **事件系统**: 添加 eslint-disable 注释,修复类型断言导致的 lint 警告
14
+ - **print 方法**: 移除不必要的 async 关键字,修复 `require-await` 警告
15
+ - **broadcast 方法**: 添加 eslint-disable 注释,修复 async 回调无 await 警告
16
+ - **CI**: 添加 pnpm 缓存加速 CI 构建
17
+
18
+ ### 代码质量
19
+
20
+ - TypeScript 类型检查通过
21
+ - ESLint 0 errors
22
+ - 测试 84 passed
23
+
24
+ ---
25
+
8
26
  ## [2.4.0] - 2026-03-24
9
27
 
10
28
  ### 新增