Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@foxitsoftware/mcp-server-foxit-cloudapi

Package Overview
Dependencies
Maintainers
20
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@foxitsoftware/mcp-server-foxit-cloudapi - npm Package Compare versions

Comparing version
1.0.2
to
1.0.3
+0
-22
build/common/service.js

@@ -9,3 +9,2 @@ "use strict";

exports.requestTask = requestTask;
exports.requestProjectAll = requestProjectAll;
exports.saveFile = saveFile;

@@ -145,23 +144,2 @@ exports.requestCombine = requestCombine;

}
async function requestProjectAll(params) {
(0, util_1.logToFile)('==>', 'post', `/api/client/sn`, params);
// const cacheManager = getApp().get(CACHE_MANAGER) as Cache;
// const keys = Object.keys(params).sort();
// let cacheKey = 'sn_';
// for (const k of keys) {
// cacheKey += `${k}_${params[k]}_`;
// }
// const cacheValue = await cacheManager.get(cacheKey);
// if (cacheValue) {
// const res = { code: 0, data: { sn: cacheValue } };
// logToFile('<== axios.response.cache', res);
// return res;
// }
const { data: res } = await axios_1.default.post(`${constant_1.SERVICE_API_BASE}/api/project/all`, params);
(0, util_1.logToFile)('<==', res);
// if (res.data?.sn) {
// await cacheManager.set(cacheKey, res.data.sn, 60 * 60 * 24);
// }
return res;
}
async function saveFile(params, env) {

@@ -168,0 +146,0 @@ (0, util_1.logToFile)('saveFile params', params);

+1
-1
{
"name": "@foxitsoftware/mcp-server-foxit-cloudapi",
"version": "1.0.2",
"version": "1.0.3",
"description": "MCP server for using the Foxit Cloud API",

@@ -5,0 +5,0 @@ "author": "Foxit Software Inc.",

# MCP server for using the Foxit Cloud API
## Requirements
- Node.js >= 18.0.0
- 本地需要安装[Node.js](https://nodejs.org/)且版本大于等于18.0.0
## Features

@@ -7,0 +8,0 @@ - PDF创建和转换:支持从其他文件格式创建PDF文件,并将PDF转换为其他格式,如HTML、Word等。