@ikenxuan/amagi 4.4.6 → 4.4.7-pr103.21e3451

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.
@@ -1,5 +1,5 @@
1
1
  import chalk from 'chalk';
2
- import express, { Request, Response, NextFunction, Router } from 'express';
2
+ import express, { RequestHandler, Request, Router } from 'express';
3
3
  import { AxiosRequestConfig, AxiosResponse } from 'axios';
4
4
 
5
5
  interface BilibiliMethodOptionsMap {
@@ -13664,7 +13664,7 @@ declare class CustomLogger {
13664
13664
  }
13665
13665
  declare const logger: CustomLogger;
13666
13666
 
13667
- declare const logMiddleware: (req: Request, res: Response, next: NextFunction) => void;
13667
+ declare const logMiddleware: RequestHandler;
13668
13668
 
13669
13669
  interface HeadersObject {
13670
13670
  [key: string]: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikenxuan/amagi",
3
- "version": "4.4.6",
3
+ "version": "4.4.7-pr103.21e3451",
4
4
  "description": "抖音、B站的 web 端相关数据接口基于 Node.js 的实现",
5
5
  "keywords": [
6
6
  "douyin",
@@ -62,24 +62,6 @@
62
62
  "log4js": "6.9.0",
63
63
  "pino-pretty": "^13.0.0"
64
64
  },
65
- "devDependencies": {
66
- "@eslint/js": "^9.17.0",
67
- "@swc/core": "^1.10.12",
68
- "@types/express": "^5.0.0",
69
- "@types/lodash": "^4.17.13",
70
- "@types/node": "^22.10.2",
71
- "@typescript-eslint/eslint-plugin": "^8.18.1",
72
- "@typescript-eslint/parser": "^8.18.1",
73
- "eslint": "^9.17.0",
74
- "eslint-plugin-simple-import-sort": "^12.1.1",
75
- "globals": "^15.14.0",
76
- "neostandard": "^0.12.0",
77
- "sort-package-json": "^2.12.0",
78
- "tsc-alias": "^1.8.10",
79
- "tsup": "^8.3.6",
80
- "tsx": "^4.19.2",
81
- "typescript": "^5.7.2"
82
- },
83
65
  "publishConfig": {
84
66
  "access": "public",
85
67
  "registry": "https://registry.npmjs.org"