Skip to content

Commit 56f1e1e

Browse files
committed
fix: fix .js imports
1 parent f8ddb3c commit 56f1e1e

File tree

11 files changed

+199
-94
lines changed

11 files changed

+199
-94
lines changed

packages/core/src/lib/actions/signin/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type {
66
InternalOptions,
77
RequestInternal,
88
ResponseInternal,
9-
} from "../../../types"
9+
} from "../../../types.js"
1010

1111
export async function signIn(
1212
request: RequestInternal,

packages/core/src/lib/utils/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { AuthAction, AuthConfig } from "../../types"
1+
import type { AuthAction, AuthConfig } from "../../types.js"
22

33
/** Set default env variables on the config object */
44
export function setEnvDefaults(envObject: any, config: AuthConfig) {

packages/core/src/lib/utils/session.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { InternalOptions, User } from "../../types";
2-
import type { SessionStore } from "./cookie";
1+
import type { InternalOptions, User } from "../../types.js"
2+
import type { SessionStore } from "./cookie.js"
33

44
/**
55
* Returns the currently logged in user, if any.

0 commit comments

Comments
 (0)