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

chore: add codemod for custom http headers #369

Merged
merged 1 commit into from
Sep 6, 2024
Merged

Conversation

smeijer
Copy link
Member

@smeijer smeijer commented Sep 5, 2024

This adds a codemod, which adds support for custom headers to the project-client. Basically, adding support for:

import { Client } from '@magicbell/project-client';

const client = new Client({
  headers: {
    'x-custom-header': 'value',
  }
}

Copy link

vercel bot commented Sep 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 6, 2024 8:06am

Copy link

pkg-pr-new bot commented Sep 6, 2024

@magicbell/cli

yarn add https://pkg.pr.new/@magicbell/[email protected]

@magicbell/core

yarn add https://pkg.pr.new/@magicbell/[email protected]

@magicbell/embeddable

yarn add https://pkg.pr.new/@magicbell/[email protected]

@magicbell/in-app

yarn add https://pkg.pr.new/@magicbell/[email protected]

magicbell

yarn add https://pkg.pr.new/[email protected]

@magicbell/project-client

yarn add https://pkg.pr.new/@magicbell/[email protected]

@magicbell/magicbell-react

yarn add https://pkg.pr.new/@magicbell/[email protected]

@magicbell/react-headless

yarn add https://pkg.pr.new/@magicbell/[email protected]

@magicbell/user-client

yarn add https://pkg.pr.new/@magicbell/[email protected]

@magicbell/webpush

yarn add https://pkg.pr.new/@magicbell/[email protected]

commit: 06309cc

@smeijer smeijer merged commit 3172d78 into main Sep 6, 2024
8 checks passed
@smeijer smeijer deleted the feature/codemod branch September 6, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants