Skip to content

Commit

Permalink
fix: ESM imports for Pages router (#1798)
Browse files Browse the repository at this point in the history
  • Loading branch information
guabu authored Nov 11, 2024
1 parent f8dd690 commit 46e30ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "@auth0/nextjs-auth0",
"version": "4.0.0-beta.0",
"version": "4.0.0-beta.1",
"description": "Auth0 Next.js SDK",
"main": "dist/index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/client/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { useUser } from "./hooks/use-user"
export { getAccessToken } from "./helpers/get-access-token"
export { useUser } from "./hooks/use-user.js"
export { getAccessToken } from "./helpers/get-access-token.js"

0 comments on commit 46e30ad

Please sign in to comment.