timetable-api-node 1.5.0 → 1.6.2

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.
Files changed (3) hide show
  1. package/README.md +2 -6
  2. package/index.js +0 -4
  3. package/package.json +2 -3
package/README.md CHANGED
@@ -31,12 +31,8 @@ nvm use && make test
31
31
 
32
32
  ## Monitoring
33
33
 
34
- Two optional integrations, both off unless their environment variable is set:
35
-
36
- | Variable | Effect |
37
- | --- | --- |
38
- | `SENTRY_DSN` | Error reporting via `instrument.js` |
39
- | `NEW_RELIC_LICENSE_KEY` | New Relic APM via `newrelic.cjs` |
34
+ New Relic APM, off unless `NEW_RELIC_LICENSE_KEY` is set. It also carries
35
+ errors and the custom metrics recorded through `utils/metrics.js`.
40
36
 
41
37
  New Relic runs as a preloaded agent, so `npm start` carries the flags:
42
38
 
package/index.js CHANGED
@@ -1,7 +1,5 @@
1
- import "./instrument.js";
2
1
  import "dotenv/config";
3
2
 
4
- import * as Sentry from "@sentry/node";
5
3
  import pkg from "./package.json" with { type: "json" };
6
4
  import path from "path";
7
5
  const __dirname = import.meta.dirname;
@@ -454,8 +452,6 @@ app.get("/server.json", (req, res) => {
454
452
 
455
453
  app.use(notFoundAction);
456
454
 
457
- Sentry.setupExpressErrorHandler(app);
458
-
459
455
  app.use(errorHandler);
460
456
 
461
457
  app.on("ready", () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "timetable-api-node",
3
- "version": "1.5.0",
3
+ "version": "1.6.2",
4
4
  "description": "Lviv (Ukraine) public transport REST API and read-only Model Context Protocol (MCP) server: stops, timetables, routes, live vehicle positions, GTFS/GTFS-RT. No API key required.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -33,9 +33,8 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@modelcontextprotocol/sdk": "^1.29.0",
36
- "@sentry/node": "^10.52.0",
37
36
  "cors": "^2.8.5",
38
- "dotenv": "^17.4",
37
+ "dotenv": "^18.0",
39
38
  "express": "^5.2.1",
40
39
  "express-rate-limit": "^8.6.2",
41
40
  "gtfs": "^4.18.5",