reddit-mcp-server 1.4.1 → 1.4.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.
- package/dist/bin.js +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
process.env.TRANSPORT_TYPE ??= "stdio";
|
|
4
4
|
const args = process.argv.slice(2);
|
|
5
5
|
if (args.includes("--version") || args.includes("-v")) {
|
|
6
|
-
console.log("1.4.
|
|
6
|
+
console.log("1.4.2");
|
|
7
7
|
process.exit(0);
|
|
8
8
|
}
|
|
9
9
|
if (args.includes("--help") || args.includes("-h")) {
|
|
10
10
|
console.log(`
|
|
11
|
-
Reddit MCP Server v1.4.
|
|
11
|
+
Reddit MCP Server v1.4.2
|
|
12
12
|
|
|
13
13
|
Usage: reddit-mcp-server [options]
|
|
14
14
|
|
package/dist/index.js
CHANGED
|
@@ -667,7 +667,7 @@ function formatSubredditInfo(subreddit) {
|
|
|
667
667
|
//#endregion
|
|
668
668
|
//#region src/index.ts
|
|
669
669
|
dotenv.config();
|
|
670
|
-
const VERSION = "1.4.
|
|
670
|
+
const VERSION = "1.4.2";
|
|
671
671
|
function validateUserAgent(userAgent, username) {
|
|
672
672
|
if (!/^[\w-]+:[\w-]+:[\d.]+ \(by \/u\/\w+\)$/.test(userAgent)) {
|
|
673
673
|
console.error("[Warning] User-Agent does not follow Reddit's recommended format");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reddit-mcp-server",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "A Model Context Protocol (MCP) server for Reddit with full read AND write operations - create posts, reply, edit, and delete content.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|