@mexty/cli 1.8.0 → 1.9.0

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/package.json +1 -1
  2. package/src/utils/api.ts +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mexty/cli",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "MEXT CLI for managing blocks and repositories",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/utils/api.ts CHANGED
@@ -314,22 +314,22 @@ class ApiClient {
314
314
 
315
315
  // GitHub OAuth methods
316
316
  async getGitHubAuthUrl(): Promise<{ success: boolean; url?: string; message: string }> {
317
- const response = await this.client.get("https://api.mexty.ai/api/auth/github/url");
317
+ const response = await this.client.get("https://api.staging.mexty.ai/api/auth/github/url");
318
318
  return response.data;
319
319
  }
320
320
 
321
321
  async getGitHubStatus(): Promise<{ success: boolean; connected: boolean; githubUsername?: string; message: string }> {
322
- const response = await this.client.get("https/api/auth/github/status");
322
+ const response = await this.client.get("https://api.staging.mexty.ai/api/auth/github/status");
323
323
  return response.data;
324
324
  }
325
325
 
326
326
  async getGitHubToken(): Promise<{ success: boolean; token?: string; username?: string; expiresAt?: Date; message?: string; expired?: boolean }> {
327
- const response = await this.client.get("https/api/auth/github/token");
327
+ const response = await this.client.get("https://api.staging.mexty.ai/api/auth/github/token");
328
328
  return response.data;
329
329
  }
330
330
 
331
331
  async disconnectGitHub(): Promise<{ success: boolean; message: string }> {
332
- const response = await this.client.post("https/api/auth/github/disconnect");
332
+ const response = await this.client.post("https://api.staging.mexty.ai/api/auth/github/disconnect");
333
333
  return response.data;
334
334
  }
335
335