@vybesec/supabase
v0.1.9
Published
VybeSec Supabase Edge Functions SDK for server-side error monitoring.
Downloads
104
Maintainers
Readme
@vybesec/supabase
Server-side error monitoring for Supabase Edge Functions (Deno).
Install
npm install @vybesec/supabaseInit
import { init, withVybesec } from "@vybesec/supabase";
init({
key: "pk_live_YOUR_KEY",
platform: "other",
environment: "production",
});
export default withVybesec(async (req: Request) => {
// ...
return new Response("ok");
});Manual capture
import { captureError } from "@vybesec/supabase";
try {
// ...
} catch (err) {
captureError(err, { route: "/webhook", method: "POST", statusCode: 500 });
}