@laplace.live/internal 1.1.95 → 1.1.97

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 +25 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -972,6 +972,9 @@ export declare namespace BilibiliInternal {
972
972
  * Mar 29, 2025 发现需要传入 w_rid 和 wts,目前不传也没什么问题
973
973
  * @example https://api.live.bilibili.com/xlive/web-room/v1/index/getDanmuInfo?id=21756924&type=0&w_rid=a51251c3b57edf22b0e54cb13902aa5b&wts=1743276182
974
974
  *
975
+ * May 20, 2025 发现需要传入 web_location 字段了,目前不传也没什么问题
976
+ * @example https://api.live.bilibili.com/xlive/web-room/v1/index/getDanmuInfo?id=30858592&type=0&web_location=444.8&w_rid=2067505b9fe82c4a46ebfad51d6f47a2&wts=1747742639
977
+ *
975
978
  * @link https://api.live.bilibili.com/xlive/web-room/v1/index/getDanmuInfo?id=${room_id}&type=0
976
979
  */
977
980
  export interface GetDanmuInfo {
@@ -7422,6 +7425,13 @@ export declare namespace BilibiliInternal {
7422
7425
  /** 连击有效期秒 */
7423
7426
  combo_timeout: number
7424
7427
  }
7428
+ /** 盲盒信息 */
7429
+ blind_gift: {
7430
+ /** 是否是盲盒 */
7431
+ status: true
7432
+ /** 盲盒id */
7433
+ blind_gift_id: number
7434
+ }
7425
7435
  }
7426
7436
  }
7427
7437
 
@@ -7616,7 +7626,7 @@ export declare namespace BilibiliInternal {
7616
7626
  }
7617
7627
 
7618
7628
  /**
7619
- * 点赞事件
7629
+ * 进入直播间事件
7620
7630
  */
7621
7631
  export interface LIVE_OPEN_PLATFORM_LIVE_ROOM_ENTER {
7622
7632
  cmd: 'LIVE_OPEN_PLATFORM_LIVE_ROOM_ENTER'
@@ -7664,6 +7674,20 @@ export declare namespace BilibiliInternal {
7664
7674
  room_id: number
7665
7675
  }
7666
7676
  }
7677
+
7678
+ /**
7679
+ * 消息推送结束通知事件
7680
+ */
7681
+ export interface LIVE_OPEN_PLATFORM_INTERACTION_END {
7682
+ cmd: 'LIVE_OPEN_PLATFORM_INTERACTION_END'
7683
+ data: {
7684
+ game_id: string
7685
+ /**
7686
+ * @example `1714113037`
7687
+ */
7688
+ timestamp: number
7689
+ }
7690
+ }
7667
7691
  }
7668
7692
  }
7669
7693
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.1.95",
3
+ "version": "1.1.97",
4
4
  "module": "index.d.ts",
5
5
  "devDependencies": {
6
6
  "@types/bun": "latest"