Skip to content

Commit 63bb770

Browse files
committed
fix(client): use direct imports to fix bundler re-export type resolution (#8261)
1 parent c668c9b commit 63bb770

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/better-auth/src/plugins/jwt/types.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import type { Awaitable } from "@better-auth/core";
1+
import type { Awaitable, GenericEndpointContext } from "@better-auth/core";
22
import type { JWTPayload } from "jose";
3-
import type { GenericEndpointContext } from "../..";
43
import type { InferOptionSchema, Session, User } from "../../types";
54
import type { schema } from "./schema";
65

packages/better-auth/src/types/models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { BetterAuthOptions, BetterAuthPlugin } from "@better-auth/core";
22
import type {
33
InferDBFieldsFromOptionsInput,
44
InferDBFieldsFromPluginsInput,
5-
} from "../db";
5+
} from "@better-auth/core/db";
66
import type { UnionToIntersection } from "./helper";
77

88
export type AdditionalUserFieldsInput<Options extends BetterAuthOptions> =

0 commit comments

Comments
 (0)