import { createApiClient } from "../../../auth/src";

const AUTH_BASE = import.meta.env.VITE_AUTH_BASE_URL;
const API_BASE = import.meta.env.VITE_API_BASE_URL;

/**
 * Auth service client
 * - login
 * - register
 * - me
 * - logout
 * - introspect
 */
export const auth = createApiClient(AUTH_BASE);

/**
 * Main application API (blog, articles, etc.)
 */
export const api = createApiClient(API_BASE);
