UNPKG

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.

19 lines (15 loc) 526 B
import { createClient } from "@supabase/supabase-js"; import { secureFetch } from "../utils/secureFetch.js"; import { validateHash, getHash } from "../utils/getHash.js"; const hash = validateHash(getHash()); const supabase = await createClient( "https://teddi.app", // Replace with your real Supabase project URL "public-anon-key", // Do not insert your own key here, leave as is { global: { fetch: secureFetch(hash, "1"), }, } ); console.log(supabase); export default supabase;