donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
17 lines • 889 B
TypeScript
export declare class SupabaseClient {
private readonly tokenManager;
private readonly supabaseBaseUrl;
private readonly supabasePublishableApiKey;
private static readonly DEFAULT_SUPABASE_URL;
private static readonly DEFAULT_SUPABASE_PUBLISHABLE_API_KEY;
private constructor();
static createClient(userAccessToken: string, supabaseJwtSecretKey: string): SupabaseClient;
static createClientWithConfig(userAccessToken: string, supabaseBaseUrl: string, supabasePublishableApiKey: string, supabaseJwtSecretKey: string): SupabaseClient;
/**
* Makes a request with automatic token refresh handling.
*/
private makeRequest;
executeGet(path: string, headers?: Record<string, string>): Promise<string | null>;
executeMethod(path: string, method: string, body?: string): Promise<string | null>;
}
//# sourceMappingURL=SupabaseClient.d.ts.map