teddi-x
Version:
Teddi (teddi-x) is a Node package that extends security to vertical agents., applications, and tooling built on, for, or with AI.
13 lines (12 loc) • 419 B
JavaScript
import { createClient } from "@supabase/supabase-js";
import { withSecureFetch } from "../utils/withSecureFetch.js";
// Import individual functions instead of the whole module to avoid circular dependencies
export const createSupabase = (teddiHash) => {
const supabase = withSecureFetch(
createClient,
"http://localhost:6999/proxy-api",
teddiHash,
"1"
);
return supabase;
};