@ikenxuan/amagi 2.3.1 → 3.1.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 +2 -2
- package/lib/business/bilibili/getdata.d.ts +1 -1
- package/lib/business/bilibili/getdata.js +71 -21
- package/lib/business/bilibili/getid.d.ts +1 -21
- package/lib/business/bilibili/result.d.ts +2 -2
- package/lib/business/bilibili/result.js +20 -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 +2 -2
- package/lib/business/douyin/getdata.d.ts +1 -1
- package/lib/business/douyin/getdata.js +58 -21
- package/lib/business/douyin/result.d.ts +1 -1
- package/lib/business/douyin/result.js +7 -11
- 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 +37 -22
- package/lib/types/DataType.d.ts +8 -1
- package/lib/types/DouyinAPIParams.d.ts +27 -14
- package/lib/types/OptionsType.d.ts +24 -6
- 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 +28 -25
package/lib/types/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './Request.js'
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdHlwZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUUEsY0FBYyxXQUFXLENBQUEifQ==
|
package/package.json
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikenxuan/amagi",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
|
+
"homepage": "https://github.com/ikenxuan/amagi",
|
|
5
|
+
"bugs": {
|
|
6
|
+
"url": "https://github.com/ikenxuan/amagi/issues"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/ikenxuan/amagi.git"
|
|
11
|
+
},
|
|
4
12
|
"type": "module",
|
|
5
13
|
"main": "lib/index.js",
|
|
6
14
|
"types": "lib/index.d.ts",
|
|
7
|
-
"homepage": "https://github.com/ikenxuan/amagi",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"dev": "tsx watch src/dev.ts",
|
|
10
|
-
"fix": "eslint lib/**/*.js --fix && eslint lib/**/*.d.ts --fix",
|
|
11
|
-
"build": "tsc --project tsconfig.json && tsc-alias -p tsconfig.json && npm run fix"
|
|
12
|
-
},
|
|
13
15
|
"files": [
|
|
14
16
|
"lib/**/*.js",
|
|
15
17
|
"lib/**/*.d.ts",
|
|
@@ -17,34 +19,35 @@
|
|
|
17
19
|
"package.json",
|
|
18
20
|
"README.md"
|
|
19
21
|
],
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
"publishConfig": {
|
|
28
|
-
"access": "public",
|
|
29
|
-
"registry": "https://registry.npmjs.org"
|
|
22
|
+
"scripts": {
|
|
23
|
+
"build": "tsc --project tsconfig.json && tsc-alias -p tsconfig.json && npm run fix",
|
|
24
|
+
"dev": "tsx watch src/dev.ts",
|
|
25
|
+
"dev:js": "node src/dev.js",
|
|
26
|
+
"fix": "eslint lib/**/*.js --fix && eslint lib/**/*.d.ts --fix",
|
|
27
|
+
"sort": "npx sort-package-json",
|
|
28
|
+
"test": "node lib/test.js"
|
|
30
29
|
},
|
|
31
30
|
"dependencies": {
|
|
32
31
|
"axios": "^1.7.7",
|
|
33
|
-
"fastify": "^
|
|
32
|
+
"fastify": "^5.0.0",
|
|
34
33
|
"lodash": "^4.17.21",
|
|
35
34
|
"log4js": "6.9.0",
|
|
36
|
-
"md5": "^2.3.0",
|
|
37
35
|
"pino-pretty": "^11.2.2"
|
|
38
36
|
},
|
|
39
37
|
"devDependencies": {
|
|
40
|
-
"@types/lodash": "^4.17.
|
|
41
|
-
"@types/
|
|
42
|
-
"@
|
|
43
|
-
"
|
|
44
|
-
"eslint": "^9.10.0",
|
|
38
|
+
"@types/lodash": "^4.17.9",
|
|
39
|
+
"@types/node": "^22.7.3",
|
|
40
|
+
"@typescript-eslint/parser": "^8.7.0",
|
|
41
|
+
"eslint": "^9.11.1",
|
|
45
42
|
"globals": "^15.9.0",
|
|
43
|
+
"neostandard": "^0.11.6",
|
|
44
|
+
"sort-package-json": "^2.10.1",
|
|
46
45
|
"tsc-alias": "^1.8.10",
|
|
47
46
|
"tsx": "^4.19.1",
|
|
48
|
-
"typescript": "^5.
|
|
47
|
+
"typescript": "^5.6.2"
|
|
48
|
+
},
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"access": "public",
|
|
51
|
+
"registry": "https://registry.npmjs.org"
|
|
49
52
|
}
|
|
50
53
|
}
|