@agenticmail/api 0.3.1 → 0.3.3
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/dist/index.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -117,7 +117,7 @@ function errorHandler(err, req, res, _next) {
|
|
|
117
117
|
res.status(400).json({ error: message });
|
|
118
118
|
return;
|
|
119
119
|
}
|
|
120
|
-
res.status(500).json({ error: "Internal server error" });
|
|
120
|
+
res.status(500).json({ error: message || "Internal server error" });
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
// src/routes/health.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agenticmail/api",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "REST API server for AgenticMail",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"build": "tsup src/index.ts --format esm --dts --clean",
|
|
23
23
|
"dev": "tsx watch src/index.ts",
|
|
24
24
|
"start": "node dist/index.js",
|
|
25
|
-
"test": "vitest run",
|
|
25
|
+
"test": "vitest run --passWithNoTests",
|
|
26
26
|
"test:watch": "vitest",
|
|
27
27
|
"prepublishOnly": "npm run build"
|
|
28
28
|
},
|