update to 4.30.0

This commit is contained in:
MoeFurina
2026-03-20 19:54:16 +08:00
parent d10296ccd8
commit b8af386082
9 changed files with 142 additions and 15 deletions
+2
View File
@@ -237,6 +237,7 @@ const createRequest = (uri, data, options) => {
headers['User-Agent'] = options.ua || chooseUserAgent('api', 'iphone')
if (crypto === 'eapi') {
// headers['x-aeapi'] = true // 服务器会使用gzip压缩返回值
data.header = header
data.e_r = toBoolean(
options.e_r !== undefined
@@ -320,6 +321,7 @@ const createRequest = (uri, data, options) => {
if (crypto === 'eapi' && data.e_r) {
answer.body = encrypt.eapiResDecrypt(
body.toString('hex').toUpperCase(),
headers['x-aeapi'],
)
} else {
answer.body =