@ikenxuan/amagi 2.3.1 → 3.0.0
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 +33 -31
- package/lib/business/bilibili/API.d.ts +13 -13
- package/lib/business/bilibili/API.js +1 -1
- package/lib/business/bilibili/getdata.d.ts +1 -1
- package/lib/business/bilibili/getdata.js +1 -1
- package/lib/business/bilibili/result.d.ts +2 -2
- package/lib/business/bilibili/result.js +15 -6
- package/lib/business/bilibili/sign/wbi.js +3 -3
- package/lib/business/douyin/API.d.ts +12 -12
- package/lib/business/douyin/API.js +1 -1
- package/lib/business/douyin/getdata.d.ts +1 -1
- package/lib/business/douyin/getdata.js +8 -1
- package/lib/business/douyin/result.d.ts +1 -1
- package/lib/business/douyin/result.js +3 -1
- package/lib/business/index.d.ts +1 -0
- package/lib/business/index.js +2 -1
- package/lib/business/xiaohongshu/AIP.d.ts +14 -0
- package/lib/business/xiaohongshu/AIP.js +17 -0
- package/lib/business/xiaohongshu/getdata.d.ts +13 -0
- package/lib/business/xiaohongshu/getdata.js +58 -0
- package/lib/business/xiaohongshu/index.d.ts +5 -0
- package/lib/business/xiaohongshu/index.js +6 -0
- package/lib/business/xiaohongshu/result.d.ts +9 -0
- package/lib/business/xiaohongshu/result.js +19 -0
- package/lib/business/xiaohongshu/sign/generateX_S.d.ts +2 -0
- package/lib/business/xiaohongshu/sign/generateX_S.js +207 -0
- package/lib/business/xiaohongshu/sign/generateX_S_Common.d.ts +6 -0
- package/lib/business/xiaohongshu/sign/generateX_S_Common.js +141 -0
- package/lib/business/xiaohongshu/sign/index.d.ts +16 -0
- package/lib/business/xiaohongshu/sign/index.js +29 -0
- package/lib/index.d.ts +1 -19
- package/lib/index.js +2 -26
- package/lib/model/DataFetchers.d.ts +40 -0
- package/lib/model/DataFetchers.js +50 -0
- package/lib/model/index.d.ts +3 -3
- package/lib/model/index.js +4 -4
- package/lib/model/logger.d.ts +1 -1
- package/lib/model/logger.js +2 -2
- package/lib/model/networks.d.ts +1 -1
- package/lib/model/networks.js +7 -4
- package/lib/server/client.d.ts +26 -31
- package/lib/server/client.js +15 -30
- package/lib/server/listen.d.ts +5 -0
- package/lib/server/listen.js +7 -2
- package/lib/test.d.ts +1 -0
- package/lib/test.js +17 -0
- package/lib/types/BilibiliAPIParams.d.ts +10 -8
- package/lib/types/DataType.d.ts +8 -1
- package/lib/types/DouyinAPIParams.d.ts +21 -7
- package/lib/types/OptionsType.d.ts +14 -0
- package/lib/types/XiaohongshuAPIParams.d.ts +13 -0
- package/lib/types/XiaohongshuAPIParams.js +2 -0
- package/lib/types/index.d.ts +9 -8
- package/lib/types/index.js +1 -1
- package/package.json +9 -9
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikenxuan/amagi",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
7
7
|
"homepage": "https://github.com/ikenxuan/amagi",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"dev": "tsx watch src/dev.ts",
|
|
10
|
+
"dev:js": "node src/dev.js",
|
|
11
|
+
"test": "node lib/test.js",
|
|
10
12
|
"fix": "eslint lib/**/*.js --fix && eslint lib/**/*.d.ts --fix",
|
|
11
13
|
"build": "tsc --project tsconfig.json && tsc-alias -p tsconfig.json && npm run fix"
|
|
12
14
|
},
|
|
@@ -30,21 +32,19 @@
|
|
|
30
32
|
},
|
|
31
33
|
"dependencies": {
|
|
32
34
|
"axios": "^1.7.7",
|
|
33
|
-
"fastify": "^
|
|
35
|
+
"fastify": "^5.0.0",
|
|
34
36
|
"lodash": "^4.17.21",
|
|
35
37
|
"log4js": "6.9.0",
|
|
36
|
-
"md5": "^2.3.0",
|
|
37
38
|
"pino-pretty": "^11.2.2"
|
|
38
39
|
},
|
|
39
40
|
"devDependencies": {
|
|
40
|
-
"@types/lodash": "^4.17.
|
|
41
|
-
"@types/
|
|
42
|
-
"@
|
|
43
|
-
"
|
|
44
|
-
"eslint": "^9.10.0",
|
|
41
|
+
"@types/lodash": "^4.17.9",
|
|
42
|
+
"@types/node": "^22.6.1",
|
|
43
|
+
"@typescript-eslint/parser": "^8.7.0",
|
|
44
|
+
"eslint": "^9.11.1",
|
|
45
45
|
"globals": "^15.9.0",
|
|
46
46
|
"tsc-alias": "^1.8.10",
|
|
47
47
|
"tsx": "^4.19.1",
|
|
48
|
-
"typescript": "^5.
|
|
48
|
+
"typescript": "^5.6.2"
|
|
49
49
|
}
|
|
50
50
|
}
|