@socialneuron/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/http.js CHANGED
@@ -1304,7 +1304,7 @@ function sanitizeDbError(error) {
1304
1304
  init_request_context();
1305
1305
 
1306
1306
  // src/lib/version.ts
1307
- var MCP_VERSION = "1.4.1";
1307
+ var MCP_VERSION = "1.4.2";
1308
1308
 
1309
1309
  // src/tools/content.ts
1310
1310
  var MAX_CREDITS_PER_RUN = Math.max(
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ var MCP_VERSION;
14
14
  var init_version = __esm({
15
15
  "src/lib/version.ts"() {
16
16
  "use strict";
17
- MCP_VERSION = "1.4.1";
17
+ MCP_VERSION = "1.4.2";
18
18
  }
19
19
  });
20
20
 
@@ -3305,17 +3305,13 @@ async function runLoginDevice() {
3305
3305
  if (pollResponse.status === 200) {
3306
3306
  const pollData = await pollResponse.json();
3307
3307
  if (pollData.api_key) {
3308
- const validation = await validateApiKey(pollData.api_key);
3309
- if (validation.valid) {
3310
- await saveApiKey(pollData.api_key);
3311
- await saveSupabaseUrl(supabaseUrl);
3312
- console.error("");
3313
- console.error(" Authorized!");
3314
- console.error(` User: ${validation.email || "unknown"}`);
3315
- console.error(` Key prefix: ${pollData.api_key.substring(0, 12)}...`);
3316
- console.error("");
3317
- return;
3318
- }
3308
+ await saveApiKey(pollData.api_key);
3309
+ await saveSupabaseUrl(supabaseUrl);
3310
+ console.error("");
3311
+ console.error(" Authorized!");
3312
+ console.error(` Key prefix: ${pollData.api_key.substring(0, 12)}...`);
3313
+ console.error("");
3314
+ return;
3319
3315
  }
3320
3316
  }
3321
3317
  if (pollResponse.status === 410) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socialneuron/mcp-server",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "MCP server for Social Neuron - AI content creation platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",