@laplace.live/internal 1.1.99 → 1.1.101

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.
Files changed (2) hide show
  1. package/index.d.ts +28 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -978,10 +978,15 @@ export declare namespace BilibiliInternal {
978
978
  * @link https://api.live.bilibili.com/xlive/web-room/v1/index/getDanmuInfo?id=${room_id}&type=0
979
979
  */
980
980
  export interface GetDanmuInfo {
981
+ /**
982
+ * - 0: 正常
983
+ * - -352: 封控
984
+ */
981
985
  code: number
982
986
  message: string
983
987
  ttl: number
984
- data: {
988
+ /** 封控或错误时此字段不存在 */
989
+ data?: {
985
990
  group: string
986
991
  business_id: number
987
992
  refresh_row_factor: number
@@ -5239,7 +5244,27 @@ export declare namespace BilibiliInternal {
5239
5244
  */
5240
5245
  level: number
5241
5246
  } | null
5242
- uhead_frame: null
5247
+ /**
5248
+ * 在某些特殊事件中会返回对应的头像框,目前已知返回:
5249
+ *
5250
+ * - `ONLINE_RANK_V2`
5251
+ *
5252
+ * 已知无:
5253
+ *
5254
+ * - `DANMU_MSG`
5255
+ * - `SEND_GIFT`
5256
+ * - `SUPER_CHAT_MESSAGE`
5257
+ */
5258
+ uhead_frame: {
5259
+ /**
5260
+ * @example `https://i0.hdslb.com/bfs/live/484a499a5b0091991e32c2fd6f0968503e95ce36.png`
5261
+ */
5262
+ frame_img: string
5263
+ /**
5264
+ * @example 1750
5265
+ */
5266
+ id: number
5267
+ } | null
5243
5268
  /**
5244
5269
  * 舰队指挥官对象,并非所有事件都有
5245
5270
  *
@@ -5250,6 +5275,7 @@ export declare namespace BilibiliInternal {
5250
5275
  *
5251
5276
  * 已知无:
5252
5277
  * - `SEND_GIFT`
5278
+ * - `ONLINE_RANK_V2`
5253
5279
  */
5254
5280
  guard_leader: {
5255
5281
  is_guard_leader: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.1.99",
3
+ "version": "1.1.101",
4
4
  "module": "index.d.ts",
5
5
  "devDependencies": {
6
6
  "@types/bun": "latest"