Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(nextjs): Fix Protect type #2373

Merged
merged 7 commits into from
Dec 18, 2023
Merged

fix(nextjs): Fix Protect type #2373

merged 7 commits into from
Dec 18, 2023

Conversation

nikosdouvlis
Copy link
Member

@nikosdouvlis nikosdouvlis commented Dec 15, 2023

Description

Review commit by commit

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Packages affected

  • @clerk/backend
  • @clerk/chrome-extension
  • @clerk/clerk-js
  • @clerk/clerk-expo
  • @clerk/fastify
  • gatsby-plugin-clerk
  • @clerk/localizations
  • @clerk/nextjs
  • @clerk/clerk-react
  • @clerk/remix
  • @clerk/clerk-sdk-node
  • @clerk/shared
  • @clerk/themes
  • @clerk/types
  • build/tooling/chore

Copy link

changeset-bot bot commented Dec 15, 2023

🦋 Changeset detected

Latest commit: 8a13642

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@nikosdouvlis nikosdouvlis force-pushed the nikos/fix-next-integration branch from 06d2a9d to 5de3829 Compare December 15, 2023 16:37
Copy link
Member

@panteliselef panteliselef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this something that needs to go to v4 ? Or was caused by other recent changes after the release ?

@nikosdouvlis nikosdouvlis force-pushed the nikos/fix-next-integration branch from 5de3829 to b3fa4b3 Compare December 15, 2023 18:56
@nikosdouvlis nikosdouvlis force-pushed the nikos/fix-next-integration branch 4 times, most recently from 4359fef to 9343eb5 Compare December 15, 2023 19:56
const { children } = props;
const { userId } = auth();
return userId ? null : <>{children}</>;
}

type ProtectServerComponentProps = React.ComponentProps<typeof ProtectClientComponent>;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nikosdouvlis Was there an issue with this ?

@nikosdouvlis nikosdouvlis force-pushed the nikos/fix-next-integration branch from 9343eb5 to f353ac2 Compare December 16, 2023 02:41
@nikosdouvlis nikosdouvlis force-pushed the nikos/fix-next-integration branch 2 times, most recently from 1dbaa81 to 281308b Compare December 16, 2023 02:49
@nikosdouvlis nikosdouvlis force-pushed the nikos/fix-next-integration branch from 3116a3a to 6f2c17a Compare December 16, 2023 19:26
package.json Outdated Show resolved Hide resolved
@nikosdouvlis nikosdouvlis force-pushed the nikos/fix-next-integration branch from 6f2c17a to 75d0a25 Compare December 18, 2023 10:50
@nikosdouvlis nikosdouvlis force-pushed the nikos/fix-next-integration branch 3 times, most recently from 7046c23 to 6ba6482 Compare December 18, 2023 11:13
@nikosdouvlis nikosdouvlis force-pushed the nikos/fix-next-integration branch from 6ba6482 to 2581524 Compare December 18, 2023 11:17
@nikosdouvlis nikosdouvlis merged commit 35f406e into main Dec 18, 2023
5 of 7 checks passed
@nikosdouvlis nikosdouvlis deleted the nikos/fix-next-integration branch December 18, 2023 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants