@ikenxuan/amagi 5.8.0 → 5.8.1

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/README.md CHANGED
@@ -11,6 +11,12 @@
11
11
 
12
12
  当然,如果你的下游有新的业务需求,欢迎提 issue 或 pr。(作者本人很菜,尤其不会逆向工程,所以 issue 不一定能解决)
13
13
 
14
+ ## 重要变更
15
+
16
+ **自 v5.8.1 起,`直播间信息数据` 接口仅支持通过 `room_id` + `web_rid` 获取,不再接受 `sec_uid` 作为参数。**
17
+ > [旧版本(≤ v5.8.0)](https://github.com/ikenxuan/amagi/blob/e086ef0a8be9e9a731618098c8680370970d4300/src/platform/douyin/getdata.ts#L308)会在内部额外调用一次「用户主页信息」接口,以换取 `room_id` 与 `web_rid`,再请求「直播间信息数据」。
18
+ > 后续版本将彻底移除这种 **接口套娃** 行为,每个接口都保持纯粹,不再为调用 A 而隐式调用 B。
19
+
14
20
  ## 特性
15
21
 
16
22
  - 多平台支持:抖音、B站、快手、小红书的主流数据接口