@ikenxuan/amagi 4.4.14 → 4.4.16

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.
@@ -14055,86 +14055,41 @@ declare class amagiClient {
14055
14055
  type AmagiConstructor = {
14056
14056
  new (options: cookiesOptions): amagiClient;
14057
14057
  (options: cookiesOptions): amagiClient;
14058
- };
14059
- /** After instantiation, it can interact with the specified platform API to quickly obtain data. */
14060
- declare const CreateApp: AmagiConstructor & {
14061
14058
  /** 抖音相关功能模块 (工具集) */
14062
- douyin: {
14063
- sign: typeof douyinSign;
14064
- douyinApiUrls: typeof douyinApiUrls;
14065
- getDouyinData: typeof getDouyinData;
14066
- api: typeof douyin;
14067
- };
14059
+ douyin: typeof douyinUtils;
14068
14060
  /** B站相关功能模块 (工具集) */
14069
- bilibili: {
14070
- sign: {
14071
- wbi_sign: typeof wbi_sign;
14072
- av2bv: typeof av2bv;
14073
- bv2av: typeof bv2av;
14074
- };
14075
- bilibiliApiUrls: typeof bilibiliApiUrls;
14076
- getBilibiliData: typeof getBilibiliData;
14077
- api: typeof bilibili;
14078
- };
14061
+ bilibili: typeof bilibiliUtils;
14079
14062
  /** 快手相关功能模块 (工具集) */
14080
- kuaishou: {
14081
- kuaishouApiUrls: typeof kuaishouApiUrls;
14082
- getKuaishouData: typeof getKuaishouData;
14083
- api: typeof kuaishou;
14084
- };
14063
+ kuaishou: typeof kuaishouUtils;
14064
+ /**
14065
+ * 快捷获取抖音数据
14066
+ * @param type - 请求数据类型
14067
+ * @param cookie - 有效的用户Cookie
14068
+ * @param options - 请求参数,是一个对象
14069
+ * @returns 返回接口的原始数据
14070
+ */
14071
+ getDouyinData: () => typeof douyinUtils.getDouyinData;
14072
+ /**
14073
+ * 快捷获取B站数据
14074
+ * @param type - 请求数据类型
14075
+ * @param cookie - 有效的用户Cookie
14076
+ * @param options - 请求参数,是一个对象
14077
+ * @returns 返回接口的原始数据
14078
+ */
14079
+ getBilibiliData: () => typeof bilibiliUtils.getBilibiliData;
14080
+ /**
14081
+ * 快捷获取快手数据
14082
+ * @param type - 请求数据类型
14083
+ * @param cookie - 有效的用户Cookie
14084
+ * @param options - 请求参数,是一个对象
14085
+ * @returns 返回接口的原始数据
14086
+ */
14087
+ getKuaishouData: () => typeof kuaishouUtils.getKuaishouData;
14085
14088
  };
14086
14089
  /** After instantiation, it can interact with the specified platform API to quickly obtain data. */
14087
- declare const Client: AmagiConstructor & {
14088
- /** 抖音相关功能模块 (工具集) */
14089
- douyin: {
14090
- sign: typeof douyinSign;
14091
- douyinApiUrls: typeof douyinApiUrls;
14092
- getDouyinData: typeof getDouyinData;
14093
- api: typeof douyin;
14094
- };
14095
- /** B站相关功能模块 (工具集) */
14096
- bilibili: {
14097
- sign: {
14098
- wbi_sign: typeof wbi_sign;
14099
- av2bv: typeof av2bv;
14100
- bv2av: typeof bv2av;
14101
- };
14102
- bilibiliApiUrls: typeof bilibiliApiUrls;
14103
- getBilibiliData: typeof getBilibiliData;
14104
- api: typeof bilibili;
14105
- };
14106
- /** 快手相关功能模块 (工具集) */
14107
- kuaishou: {
14108
- kuaishouApiUrls: typeof kuaishouApiUrls;
14109
- getKuaishouData: typeof getKuaishouData;
14110
- api: typeof kuaishou;
14111
- };
14112
- };
14113
- declare const amagi: AmagiConstructor & {
14114
- /** 抖音相关功能模块 (工具集) */
14115
- douyin: {
14116
- sign: typeof douyinSign;
14117
- douyinApiUrls: typeof douyinApiUrls;
14118
- getDouyinData: typeof getDouyinData;
14119
- api: typeof douyin;
14120
- };
14121
- /** B站相关功能模块 (工具集) */
14122
- bilibili: {
14123
- sign: {
14124
- wbi_sign: typeof wbi_sign;
14125
- av2bv: typeof av2bv;
14126
- bv2av: typeof bv2av;
14127
- };
14128
- bilibiliApiUrls: typeof bilibiliApiUrls;
14129
- getBilibiliData: typeof getBilibiliData;
14130
- api: typeof bilibili;
14131
- };
14132
- /** 快手相关功能模块 (工具集) */
14133
- kuaishou: {
14134
- kuaishouApiUrls: typeof kuaishouApiUrls;
14135
- getKuaishouData: typeof getKuaishouData;
14136
- api: typeof kuaishou;
14137
- };
14138
- };
14090
+ declare const CreateApp: AmagiConstructor;
14091
+ /** After instantiation, it can interact with the specified platform API to quickly obtain data. */
14092
+ declare const Client: AmagiConstructor;
14093
+ declare const amagi: AmagiConstructor;
14139
14094
 
14140
14095
  export { type BiliAv2Bv, type BiliBangumiVideoInfo, type BiliBangumiVideoPlayurlIsLogin, type BiliBangumiVideoPlayurlNoLogin, type BiliBiliVideoPlayurlNoLogin, type BiliBv2AV, type BiliCheckQrcode, type BiliDynamicCard, type BiliDynamicInfo, type BiliEmojiList, type BiliLiveRoomDef, type BiliLiveRoomDetail, type BiliNewLoginQrcode, type BiliOneWork, type BiliUserDynamic, type BiliUserFullView, type BiliUserProfile, type BiliVideoPlayurlIsLogin, type BiliWorkComments, type BilibiliDataOptions, type BilibiliDataOptionsMap, type BilibiliMethodOptionsMap, type BilibiliRequest, BilibiliValidateData, CreateApp, type DouyinDataOptions, type DouyinDataOptionsMap, type DouyinMethodOptionsMap, type DouyinRequest, DouyinValidateData, type DyEmojiList, type DyEmojiProList, type DyImageAlbumWork, type DyMusicWork, type DySearchInfo, type DySlidesWork, type DySuggestWords, type DyUserInfo, type DyUserLiveVideos, type DyUserPostVideos, type DyVideoWork, type DyWorkComments, type KsEmojiList, type KsOneWork, type KsWorkComments, KuaishouAPI, type KuaishouDataOptions, type KuaishouDataOptionsMap, type KuaishouMethodOptionsMap, type KusiahouRequest, KusiahouValidateData, Networks, type NetworksConfigType, type OmitMethodType, type TypeControl, amagi, amagiClient, av2bv, bilibili, bilibiliAPI, bilibiliApiUrls, bilibiliUtils, bv2av, type cookiesOptions, Client as default, douyin, douyinAPI, douyinApiUrls, douyinSign, douyinUtils, fetchBilibiliData, fetchDouyinData, fetchKuaishouData, getBilibiliData, getDouyinData, getKuaishouData, kuaishou, kuaishouAPI, kuaishouApiUrls, kuaishouUtils, logMiddleware, logger, qtparam, registerBilibiliRoutes, registerDouyinRoutes, registerKuaishouRoutes, wbi_sign };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikenxuan/amagi",
3
- "version": "4.4.14",
3
+ "version": "4.4.16",
4
4
  "description": "抖音、B站的 web 端相关数据接口基于 Node.js 的实现",
5
5
  "keywords": [
6
6
  "douyin",
@@ -69,10 +69,12 @@
69
69
  "devDependencies": {
70
70
  "@eslint/js": "^9.17.0",
71
71
  "@swc/core": "^1.10.12",
72
+ "@types/crypto-js": "^4.2.2",
72
73
  "@types/express": "^4.17.21",
73
74
  "@types/node": "^22.10.2",
74
75
  "@typescript-eslint/eslint-plugin": "^8.18.1",
75
76
  "@typescript-eslint/parser": "^8.18.1",
77
+ "crypto-js": "^4.2.0",
76
78
  "eslint": "^9.17.0",
77
79
  "eslint-plugin-simple-import-sort": "^12.1.1",
78
80
  "globals": "^15.14.0",