reddit-mcp-server 1.0.5 → 1.0.6

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.
@@ -25,7 +25,10 @@
25
25
  "Bash(mv:*)",
26
26
  "Bash(pnpm remove:*)",
27
27
  "Bash(npx tsc:*)",
28
- "Bash(touch:*)"
28
+ "Bash(touch:*)",
29
+ "Bash(node:*)",
30
+ "Bash(REDDIT_CLIENT_ID=test REDDIT_CLIENT_SECRET=test node dist/bin.js 2>&1)",
31
+ "Bash(REDDIT_CLIENT_ID=test REDDIT_CLIENT_SECRET=test pnpm start 2>&1)"
29
32
  ],
30
33
  "deny": []
31
34
  }
package/dist/bin.js CHANGED
@@ -1677,4 +1677,6 @@ if (require.main === module) {
1677
1677
 
1678
1678
  // src/bin.ts
1679
1679
  var server = new RedditServer();
1680
- server.run().catch(console.error);
1680
+ server.run().catch(() => {
1681
+ process.exit(1);
1682
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reddit-mcp-server",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "A Model Context Protocol (MCP) that provides tools for fetching and creating Reddit content. Fork of the alexandros-lekkas/reddit-mcp-server.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/bin.ts CHANGED
@@ -2,4 +2,6 @@
2
2
  import { RedditServer } from "./index"
3
3
 
4
4
  const server = new RedditServer()
5
- server.run().catch(console.error)
5
+ server.run().catch(() => {
6
+ process.exit(1)
7
+ })