Skip to content

Commit

Permalink
expose customFetch symbol from next-auth
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Oct 5, 2024
1 parent 64b52ca commit 5896e7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/next-auth/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
* @module next-auth
*/

import { Auth } from "@auth/core"
import { Auth, customFetch } from "@auth/core"
import { reqWithEnvURL, setEnvDefaults } from "./lib/env.js"
import { initAuth } from "./lib/index.js"
import { signIn, signOut, update } from "./lib/actions.js"
Expand All @@ -88,6 +88,8 @@ import type { NextRequest } from "next/server"
import type { NextAuthConfig, NextAuthRequest } from "./lib/index.js"
export { AuthError, CredentialsSignin } from "@auth/core/errors"

export { customFetch }

export type {
Session,
Account,
Expand Down

0 comments on commit 5896e7a

Please sign in to comment.