@laplace.live/internal 1.3.23 → 1.3.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laplace.live/internal",
3
- "version": "1.3.23",
3
+ "version": "1.3.25",
4
4
  "module": "src/index.d.ts",
5
5
  "exports": {
6
6
  ".": "./src/index.d.ts",
@@ -10,7 +10,7 @@
10
10
  "@types/bun": "latest"
11
11
  },
12
12
  "peerDependencies": {
13
- "typescript": "^5.9.3"
13
+ "typescript": "^5.9.2 || ^6"
14
14
  },
15
15
  "license": "Apache-2.0",
16
16
  "scripts": {
@@ -4265,6 +4265,32 @@ export declare namespace BilibiliInternal {
4265
4265
  msg: string
4266
4266
  }
4267
4267
 
4268
+ /**
4269
+ * 举报直播间弹幕
4270
+ *
4271
+ * 举报类型可通过 https://api.live.bilibili.com/xlive/web-ucenter/v1/dMReport/ForReason 获取
4272
+ * @link https://api.live.bilibili.com/xlive/web-ucenter/v1/dMReport/Report
4273
+ */
4274
+ export interface DanmuReport {
4275
+ /**
4276
+ * - `0`: 举报成功
4277
+ * - `-101`: 账号未登录
4278
+ * - `-111`: csrf 校验失败
4279
+ * - `-400`: 请求错误
4280
+ * - `-403`: 无权限
4281
+ */
4282
+ code: number
4283
+ /**
4284
+ * 通常为 `"0"`
4285
+ */
4286
+ message: string
4287
+ data: {
4288
+ /** 举报 ID */
4289
+ id: number
4290
+ }
4291
+ ttl: number
4292
+ }
4293
+
4268
4294
  /**
4269
4295
  * 创建订单
4270
4296
  *