moyan-security-audit 1.0.0 → 1.0.1
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 +1 -1
- package/dist/audit.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/audit.js
CHANGED
|
@@ -8,7 +8,7 @@ const axios_1 = __importDefault(require("axios"));
|
|
|
8
8
|
const zod_1 = require("zod");
|
|
9
9
|
const config_1 = require("./config");
|
|
10
10
|
const utils_1 = require("./utils");
|
|
11
|
-
const API_BASE = 'https://sixu-ai.net.cn/api/v1/audit';
|
|
11
|
+
const API_BASE = 'https://api.sixu-ai.net.cn/api/v1/audit';
|
|
12
12
|
const optionsSchema = zod_1.z.object({
|
|
13
13
|
code: zod_1.z.string().min(1, 'code must be non-empty'),
|
|
14
14
|
language: zod_1.z.enum(['sql', 'python', 'javascript', 'typescript', 'java', 'go', 'rust', 'solidity']),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "moyan-security-audit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Agent-native security audit SDK — audit(code, language, auditLevel) → { audit_id, pmi_score, severity, violations, recommendation }",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|