Update imports batch 28

cgen-c1da95dc141849ea909b37399f09c90c
This commit is contained in:
Builder.io 2025-11-16 05:03:40 +00:00
parent 98e5d30339
commit 932b4bd491
5 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
import type { VercelRequest, VercelResponse } from "@vercel/node";
import { randomUUID } from "crypto";
import { createHash } from "crypto";
import { getAdminClient } from "../_supabase";
import { getAdminClient } from "../_supabase.js";
const generateDeterministicUUID = (str: string): string => {
const hash = createHash("sha256").update(str).digest("hex");

View file

@ -1,6 +1,6 @@
import { createClient } from "@supabase/supabase-js";
import { notifyAccountLinked } from "../../_notifications";
import { getAdminClient } from "../../_supabase";
import { notifyAccountLinked } from "../../_notifications.js";
import { getAdminClient } from "../../_supabase.js";
export const config = {
runtime: "nodejs",

View file

@ -1,5 +1,5 @@
import type { VercelRequest, VercelResponse } from "@vercel/node";
import { getAdminClient } from "./_supabase";
import { getAdminClient } from "./_supabase.js";
export default async function handler(req: VercelRequest, res: VercelResponse) {
if (req.method !== "POST")

View file

@ -1,5 +1,5 @@
import type { VercelRequest, VercelResponse } from "@vercel/node";
import { getAdminClient } from "../../_supabase";
import { getAdminClient } from "../../_supabase.js";
export default async function handler(req: VercelRequest, res: VercelResponse) {
if (req.method !== "GET") {

View file

@ -1,6 +1,6 @@
import type { VercelRequest, VercelResponse } from "@vercel/node";
import Stripe from "stripe";
import { getAdminClient } from "../../_supabase";
import { getAdminClient } from "../../_supabase.js";
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY || "", {
apiVersion: "2024-11-20",