suparank 1.4.0 → 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.
Files changed (2) hide show
  1. package/bin/suparank.js +2 -4
  2. package/package.json +1 -1
package/bin/suparank.js CHANGED
@@ -15,7 +15,7 @@ import * as fs from 'fs'
15
15
  import * as path from 'path'
16
16
  import * as os from 'os'
17
17
  import * as readline from 'readline'
18
- import { spawn, execSync } from 'child_process'
18
+ import { spawn, execSync, exec } from 'child_process'
19
19
  import { fileURLToPath } from 'url'
20
20
 
21
21
  const SUPARANK_DIR = path.join(os.homedir(), '.suparank')
@@ -210,7 +210,6 @@ function sleep(ms) {
210
210
 
211
211
  // Helper to open URL in browser
212
212
  function openBrowser(url) {
213
- const { exec } = require('child_process')
214
213
  const platform = process.platform
215
214
 
216
215
  let command
@@ -237,8 +236,7 @@ async function runDeviceAuthSetup() {
237
236
  let deviceResponse
238
237
  try {
239
238
  const response = await fetch(`${SUPARANK_API_URL}/auth/device`, {
240
- method: 'POST',
241
- headers: { 'Content-Type': 'application/json' }
239
+ method: 'POST'
242
240
  })
243
241
 
244
242
  if (!response.ok) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suparank",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "description": "AI-powered SEO content creation MCP - generate and publish optimized blog posts with your AI assistant",
5
5
  "type": "module",
6
6
  "bin": {