@ikenxuan/amagi 6.0.0-beta.1 → 6.0.0-beta.3

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.
@@ -4043,7 +4043,7 @@ const DouyinData = async (data$1, cookie, requestConfig) => {
4043
4043
  ...params,
4044
4044
  max_cursor: resp.max_cursor?.toString() ?? "0"
4045
4045
  }),
4046
- hasMore: (resp) => resp.has_more === 1,
4046
+ hasMore: (resp) => resp.has_more === true,
4047
4047
  formatFinalResponse: (resp, list) => ({
4048
4048
  ...resp,
4049
4049
  aweme_list: list
@@ -8008,7 +8008,7 @@ function getApiRoute(platform, methodType) {
8008
8008
  * 构建后使用 __VERSION__,开发环境从 package.json 读取
8009
8009
  */
8010
8010
  const getVersion = () => {
8011
- return "6.0.0-beta.0";
8011
+ return "6.0.0-beta.2";
8012
8012
  };
8013
8013
  const VERSION = getVersion();
8014
8014
  /**
@@ -25691,7 +25691,7 @@ interface IXiaohongshuFetcher {
25691
25691
  /** 搜索小红书笔记 */
25692
25692
  searchNotes: MethodOverload<XiaohongshuSearchNotesOptions, XiaohongshuReturnTypeMap['searchNotes']>;
25693
25693
  /** 获取小红书表情列表 */
25694
- fetchEmojiList: OptionalParamMethodOverload<Record<string, never>, XiaohongshuReturnTypeMap['emojiList']>;
25694
+ fetchEmojiList: NoParamMethodOverload<XiaohongshuReturnTypeMap['emojiList']>;
25695
25695
  }
25696
25696
  /**
25697
25697
  * 绑定了 Cookie 的小红书 Fetcher 接口
@@ -25711,7 +25711,7 @@ interface IBoundXiaohongshuFetcher {
25711
25711
  /** 搜索小红书笔记 */
25712
25712
  searchNotes: BoundMethodOverload<XiaohongshuSearchNotesOptions, XiaohongshuReturnTypeMap['searchNotes']>;
25713
25713
  /** 获取小红书表情列表 */
25714
- fetchEmojiList: BoundOptionalParamMethodOverload<Record<string, never>, XiaohongshuReturnTypeMap['emojiList']>;
25714
+ fetchEmojiList: BoundNoParamMethodOverload<XiaohongshuReturnTypeMap['emojiList']>;
25715
25715
  }
25716
25716
  //#endregion
25717
25717
  //#region src/model/fetchers/types.d.ts
@@ -4035,7 +4035,7 @@ const DouyinData = async (data$1, cookie, requestConfig) => {
4035
4035
  ...params,
4036
4036
  max_cursor: resp.max_cursor?.toString() ?? "0"
4037
4037
  }),
4038
- hasMore: (resp) => resp.has_more === 1,
4038
+ hasMore: (resp) => resp.has_more === true,
4039
4039
  formatFinalResponse: (resp, list) => ({
4040
4040
  ...resp,
4041
4041
  aweme_list: list
@@ -8000,7 +8000,7 @@ function getApiRoute(platform, methodType) {
8000
8000
  * 构建后使用 __VERSION__,开发环境从 package.json 读取
8001
8001
  */
8002
8002
  const getVersion = () => {
8003
- return "6.0.0-beta.0";
8003
+ return "6.0.0-beta.2";
8004
8004
  };
8005
8005
  const VERSION = getVersion();
8006
8006
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikenxuan/amagi",
3
- "version": "6.0.0-beta.1",
3
+ "version": "6.0.0-beta.3",
4
4
  "description": "抖音、B站的 web 端相关数据接口基于 Node.js 的实现",
5
5
  "keywords": [
6
6
  "douyin",
@@ -53,7 +53,7 @@
53
53
  "README.md"
54
54
  ],
55
55
  "dependencies": {
56
- "@ikenxuan/xhshow-ts": "^1.0.1",
56
+ "@ikenxuan/xhshow-ts": "^1.0.6",
57
57
  "axios": "^1.13.2",
58
58
  "chalk": "5.6.2",
59
59
  "express": "^5.2.1",