Skip to content

Commit

Permalink
feat(nextjs): Export MultisessionAppSupport from @clerk/nextjs/internal
Browse files Browse the repository at this point in the history
  • Loading branch information
nikosdouvlis committed Jan 11, 2024
1 parent 36b03dd commit d6723bc
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/wild-emus-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/nextjs': patch
---

Export MultisessionAppSupport from @clerk/nextjs/internal
5 changes: 5 additions & 0 deletions packages/nextjs/internal/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"main": "../dist/cjs/internal.js",
"module": "../dist/esm/internal.js",
"types": "../dist/types/internal.d.ts"
}
2 changes: 2 additions & 0 deletions packages/nextjs/src/client-boundary/controlComponents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ export {
RedirectToCreateOrganization,
RedirectToOrganizationProfile,
} from '@clerk/clerk-react';

export { MultisessionAppSupport } from '@clerk/clerk-react/internal';
5 changes: 5 additions & 0 deletions packages/nextjs/src/internal.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/**
* These need to be explicitly listed. Do not use an * here.
* If you do, app router will break.
*/
export { MultisessionAppSupport } from './client-boundary/controlComponents';

0 comments on commit d6723bc

Please sign in to comment.