Skip to content

Commit

Permalink
Fix default exports in entrypoints
Browse files Browse the repository at this point in the history
  • Loading branch information
iaincollins committed May 25, 2020
1 parent d5a231f commit 74b334f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion adapters.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./dist/adapters')
module.exports = require('./dist/adapters').default
2 changes: 1 addition & 1 deletion client.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./dist/client')
module.exports = require('./dist/client').default
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-auth",
"version": "2.0.0-beta.43",
"version": "2.0.0-beta.44",
"description": "An authentication library for Next.js",
"repository": "https://github.com/iaincollins/next-auth.git",
"author": "Iain Collins <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion providers.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./dist/providers')
module.exports = require('./dist/providers').default
1 change: 0 additions & 1 deletion src/client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,5 @@ const _getUrlPrefixFromCookies = (cookies, baseUrlCookieName) => {
export default {
session,
useSession,
baseUrl: _baseUrl,
Provider
}

0 comments on commit 74b334f

Please sign in to comment.