javascript icon indicating copy to clipboard operation
javascript copied to clipboard

feat(clerk-js,types): Default to terms, privacy and help URLs set in the dashboard

Open desiprisg opened this issue 1 year ago • 1 comments

Description

We now get three new fields in the /v1/environment response. Inside display_config , we will find

  • terms_url
  • privacy_policy_url
  • help_url

These will be the defaults for our footer links. Props from appearance.layout are still prioritized.

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
  • [x] 🌟 New feature
  • [ ] 🔨 Breaking change
  • [ ] 📖 Refactoring / dependency upgrade / documentation
  • [ ] other:

desiprisg avatar Apr 15 '24 20:04 desiprisg

🦋 Changeset detected

Latest commit: 68bfeccd2b2a506ff2e9b2c6043caced3152b76c

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

This PR includes changesets to release 13 packages
Name Type
@clerk/clerk-js Minor
@clerk/types Minor
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch
@clerk/backend Patch
@clerk/express Patch
@clerk/fastify Patch
gatsby-plugin-clerk Patch
@clerk/nextjs Patch
@clerk/clerk-react Patch
@clerk/remix Patch
@clerk/clerk-sdk-node Patch
@clerk/themes Patch

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

changeset-bot[bot] avatar Apr 15 '24 20:04 changeset-bot[bot]

Folks I'm closing this one for now - let's reopen it when we resume working on this project.

nikosdouvlis avatar Jun 06 '24 10:06 nikosdouvlis