@laplace.live/internal 1.1.97 → 1.1.98

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/index.d.ts CHANGED
@@ -5235,6 +5235,12 @@ export declare namespace BilibiliInternal {
5235
5235
  level: number
5236
5236
  } | null
5237
5237
  uhead_frame: null
5238
+ /**
5239
+ * 舰队指挥官对象,并非所有事件都有
5240
+ *
5241
+ * 已知有:
5242
+ * - `DANMU_MSG`
5243
+ */
5238
5244
  guard_leader: {
5239
5245
  is_guard_leader: boolean
5240
5246
  } | null
@@ -5275,7 +5281,11 @@ export declare namespace BilibiliInternal {
5275
5281
  * 弹幕类型
5276
5282
  */
5277
5283
  any, // [0][9]
5278
- any, // [0][10]
5284
+ /**
5285
+ * [0][10]: 未知
5286
+ * 已知: 2、5
5287
+ */
5288
+ number, // [0][10]
5279
5289
  string, // [0][11]: "#1453BAFF,#4C2263A2,#3353BAFF"
5280
5290
  number, // [0][12]: 0, danmaku type
5281
5291
  /**
@@ -7425,7 +7435,11 @@ export declare namespace BilibiliInternal {
7425
7435
  /** 连击有效期秒 */
7426
7436
  combo_timeout: number
7427
7437
  }
7428
- /** 盲盒信息 */
7438
+ /**
7439
+ * 盲盒信息
7440
+ *
7441
+ * 2025-05-21 新增
7442
+ */
7429
7443
  blind_gift: {
7430
7444
  /** 是否是盲盒 */
7431
7445
  status: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.1.97",
3
+ "version": "1.1.98",
4
4
  "module": "index.d.ts",
5
5
  "devDependencies": {
6
6
  "@types/bun": "latest"
package/tsconfig.json CHANGED
@@ -3,7 +3,7 @@
3
3
  // Enable latest features
4
4
  "lib": ["ESNext", "DOM"],
5
5
  "target": "ESNext",
6
- "module": "ESNext",
6
+ "module": "Preserve",
7
7
  "moduleDetection": "force",
8
8
  "jsx": "react-jsx",
9
9
  "allowJs": true,
@@ -18,6 +18,8 @@
18
18
  "strict": true,
19
19
  // "skipLibCheck": true,
20
20
  "noFallthroughCasesInSwitch": true,
21
+ "noUncheckedIndexedAccess": true,
22
+ "noImplicitOverride": true,
21
23
 
22
24
  // Some stricter flags (disabled by default)
23
25
  "noUnusedLocals": false,