@laplace.live/internal 1.2.4 → 1.2.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/index.d.ts +24 -5
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -5219,10 +5219,11 @@ export declare namespace BilibiliInternal {
|
|
|
5219
5219
|
title_css_id: string
|
|
5220
5220
|
} | null
|
|
5221
5221
|
/**
|
|
5222
|
-
*
|
|
5222
|
+
* 当前直播间的大航海信息(非粉丝牌的大航海状态),已知下列事件中包含:
|
|
5223
5223
|
* - `ONLINE_RANK_V2`
|
|
5224
5224
|
* - `EFFECT_DANMAKU_MSG`
|
|
5225
5225
|
* - `SUPER_CHAT_MESSAGE`
|
|
5226
|
+
* - `LIKE_INFO_V3_CLICK`
|
|
5226
5227
|
*
|
|
5227
5228
|
* 已知无:
|
|
5228
5229
|
* - `SEND_GIFT`
|
|
@@ -6244,7 +6245,10 @@ export declare namespace BilibiliInternal {
|
|
|
6244
6245
|
/** Item of `INTERACT_WORD` */
|
|
6245
6246
|
export interface FansMedalItem {
|
|
6246
6247
|
/**
|
|
6247
|
-
*
|
|
6248
|
+
* 直播间号
|
|
6249
|
+
*
|
|
6250
|
+
* 在下列事件中返回 0 😅,其他类型事件需要更多确认:
|
|
6251
|
+
* - LIKE_INFO_V3_CLICK
|
|
6248
6252
|
*/
|
|
6249
6253
|
anchor_roomid: number
|
|
6250
6254
|
/**
|
|
@@ -7273,15 +7277,30 @@ export declare namespace BilibiliInternal {
|
|
|
7273
7277
|
export interface LIVE {
|
|
7274
7278
|
cmd: 'LIVE'
|
|
7275
7279
|
live_key: string
|
|
7280
|
+
/**
|
|
7281
|
+
* 语音直播时,此处不为空
|
|
7282
|
+
*
|
|
7283
|
+
* @default ''
|
|
7284
|
+
*/
|
|
7276
7285
|
voice_background: string
|
|
7277
7286
|
sub_session_key: string
|
|
7278
7287
|
/** 开播平台:例如 pc */
|
|
7279
7288
|
live_platform: string
|
|
7280
|
-
/**
|
|
7289
|
+
/**
|
|
7290
|
+
* 使用内置 Live2D 模式直播时,此处不为 0
|
|
7291
|
+
*
|
|
7292
|
+
* @default 0
|
|
7293
|
+
*/
|
|
7281
7294
|
live_model: number
|
|
7282
7295
|
roomid: number
|
|
7283
|
-
/**
|
|
7284
|
-
|
|
7296
|
+
/**
|
|
7297
|
+
* 开播 unix 时间戳
|
|
7298
|
+
*
|
|
7299
|
+
* 开播时,必会触发两次,通常情况下,第一次带 `live_time` 以及额外的 `special_types` 字段,第二次触发的则不带这两个字段
|
|
7300
|
+
*
|
|
7301
|
+
* @example 1718132706
|
|
7302
|
+
*/
|
|
7303
|
+
live_time?: number
|
|
7285
7304
|
}
|
|
7286
7305
|
|
|
7287
7306
|
/**
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@laplace.live/internal",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"module": "index.d.ts",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@types/bun": "latest"
|
|
7
7
|
},
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"typescript": "^5.
|
|
9
|
+
"typescript": "^5.9.2"
|
|
10
10
|
},
|
|
11
11
|
"license": "AGPL-3.0",
|
|
12
12
|
"scripts": {
|