@laplace.live/internal 1.1.97 → 1.1.99
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 +40 -13
- package/package.json +1 -1
- package/tsconfig.json +3 -1
package/index.d.ts
CHANGED
|
@@ -5183,20 +5183,22 @@ export declare namespace BilibiliInternal {
|
|
|
5183
5183
|
}
|
|
5184
5184
|
/**
|
|
5185
5185
|
* 粉丝牌对象,有时候会直接返回 null,不知道什么原因(大概风控),目前已知下列事件永远返回 null
|
|
5186
|
-
* - DANMU_MSG
|
|
5187
|
-
* - LIKE_INFO_V3_CLICK
|
|
5188
|
-
* - ONLINE_RANK_V2
|
|
5189
|
-
* - POPULARITY_RED_POCKET_V2_START
|
|
5186
|
+
* - `DANMU_MSG`
|
|
5187
|
+
* - `LIKE_INFO_V3_CLICK`
|
|
5188
|
+
* - `ONLINE_RANK_V2`
|
|
5189
|
+
* - `POPULARITY_RED_POCKET_V2_START`
|
|
5190
|
+
* - `SEND_GIFT`
|
|
5190
5191
|
*/
|
|
5191
5192
|
medal: BilibiliInternal.HTTPS.Prod.MedalInfo | null
|
|
5192
5193
|
/**
|
|
5193
5194
|
* 荣耀等级,已知下列事件中包含:
|
|
5194
|
-
* - EFFECT_DANMAKU_MSG
|
|
5195
|
+
* - `EFFECT_DANMAKU_MSG`
|
|
5195
5196
|
*
|
|
5196
5197
|
* 已知下列事件中为 null
|
|
5197
|
-
* - ONLINE_RANK_V2
|
|
5198
|
-
* - SUPER_CHAT_MESSAGE
|
|
5199
|
-
* - POPULARITY_RED_POCKET_V2_START
|
|
5198
|
+
* - `ONLINE_RANK_V2`
|
|
5199
|
+
* - `SUPER_CHAT_MESSAGE`
|
|
5200
|
+
* - `POPULARITY_RED_POCKET_V2_START`
|
|
5201
|
+
* - `SEND_GIFT`
|
|
5200
5202
|
*/
|
|
5201
5203
|
wealth: {
|
|
5202
5204
|
/**
|
|
@@ -5217,9 +5219,12 @@ export declare namespace BilibiliInternal {
|
|
|
5217
5219
|
} | null
|
|
5218
5220
|
/**
|
|
5219
5221
|
* 大航海信息,已知下列事件中包含:
|
|
5220
|
-
* - ONLINE_RANK_V2
|
|
5221
|
-
* - EFFECT_DANMAKU_MSG
|
|
5222
|
-
* - SUPER_CHAT_MESSAGE
|
|
5222
|
+
* - `ONLINE_RANK_V2`
|
|
5223
|
+
* - `EFFECT_DANMAKU_MSG`
|
|
5224
|
+
* - `SUPER_CHAT_MESSAGE`
|
|
5225
|
+
*
|
|
5226
|
+
* 已知无:
|
|
5227
|
+
* - `SEND_GIFT`
|
|
5223
5228
|
*/
|
|
5224
5229
|
guard: {
|
|
5225
5230
|
/**
|
|
@@ -5235,6 +5240,17 @@ export declare namespace BilibiliInternal {
|
|
|
5235
5240
|
level: number
|
|
5236
5241
|
} | null
|
|
5237
5242
|
uhead_frame: null
|
|
5243
|
+
/**
|
|
5244
|
+
* 舰队指挥官对象,并非所有事件都有
|
|
5245
|
+
*
|
|
5246
|
+
* @updated May 25, 2025, 10:13:44 AM PDT
|
|
5247
|
+
*
|
|
5248
|
+
* 已知有:
|
|
5249
|
+
* - `DANMU_MSG`
|
|
5250
|
+
*
|
|
5251
|
+
* 已知无:
|
|
5252
|
+
* - `SEND_GIFT`
|
|
5253
|
+
*/
|
|
5238
5254
|
guard_leader: {
|
|
5239
5255
|
is_guard_leader: boolean
|
|
5240
5256
|
} | null
|
|
@@ -5275,7 +5291,11 @@ export declare namespace BilibiliInternal {
|
|
|
5275
5291
|
* 弹幕类型
|
|
5276
5292
|
*/
|
|
5277
5293
|
any, // [0][9]
|
|
5278
|
-
|
|
5294
|
+
/**
|
|
5295
|
+
* [0][10]: 未知
|
|
5296
|
+
* 已知: 2、5
|
|
5297
|
+
*/
|
|
5298
|
+
number, // [0][10]
|
|
5279
5299
|
string, // [0][11]: "#1453BAFF,#4C2263A2,#3353BAFF"
|
|
5280
5300
|
number, // [0][12]: 0, danmaku type
|
|
5281
5301
|
/**
|
|
@@ -6117,6 +6137,9 @@ export declare namespace BilibiliInternal {
|
|
|
6117
6137
|
guard_level: number
|
|
6118
6138
|
is_first: boolean
|
|
6119
6139
|
is_join_receiver: boolean
|
|
6140
|
+
/**
|
|
6141
|
+
* 冠名礼物?待调查
|
|
6142
|
+
*/
|
|
6120
6143
|
is_naming: boolean
|
|
6121
6144
|
is_special_batch: number
|
|
6122
6145
|
magnification: number
|
|
@@ -7425,7 +7448,11 @@ export declare namespace BilibiliInternal {
|
|
|
7425
7448
|
/** 连击有效期秒 */
|
|
7426
7449
|
combo_timeout: number
|
|
7427
7450
|
}
|
|
7428
|
-
/**
|
|
7451
|
+
/**
|
|
7452
|
+
* 盲盒信息
|
|
7453
|
+
*
|
|
7454
|
+
* 2025-05-21 新增
|
|
7455
|
+
*/
|
|
7429
7456
|
blind_gift: {
|
|
7430
7457
|
/** 是否是盲盒 */
|
|
7431
7458
|
status: true
|
package/package.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Enable latest features
|
|
4
4
|
"lib": ["ESNext", "DOM"],
|
|
5
5
|
"target": "ESNext",
|
|
6
|
-
"module": "
|
|
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,
|