From b1429b1992e0d4df6f714bc2b2e139dd07ae066b Mon Sep 17 00:00:00 2001 From: Luke Hagar Date: Sun, 26 Oct 2025 22:06:09 -0500 Subject: [PATCH] Update import statements to include .js extension This resolves unrecoverable errors downstream when using this package. --- src/client/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client/index.ts b/src/client/index.ts index a1701a5..f2387eb 100644 --- a/src/client/index.ts +++ b/src/client/index.ts @@ -1,4 +1,4 @@ -import "./polyfill"; +import "./polyfill.js"; import { PolarCore } from "@polar-sh/sdk/core.js"; import { customersCreate } from "@polar-sh/sdk/funcs/customersCreate.js"; import { checkoutsCreate } from "@polar-sh/sdk/funcs/checkoutsCreate.js"; @@ -26,7 +26,7 @@ import { } from "convex/server"; import { type Infer, v } from "convex/values"; import { mapValues } from "remeda"; -import schema from "../component/schema"; +import schema from "../component/schema.js"; import { type ComponentApi, type RunMutationCtx, @@ -34,7 +34,7 @@ import { convertToDatabaseProduct, convertToDatabaseSubscription, RunActionCtx, -} from "../component/util"; +} from "../component/util.js"; export const subscriptionValidator = schema.tables.subscriptions.validator; export type Subscription = Infer;