-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add support for Cloudflare Workers and Bun #3
Conversation
02657a1
to
8e0973f
Compare
803d234
to
8d7a351
Compare
README.md
Outdated
replace the old package with the new and adjust the import specifiers (as shown [here](#1-install-and-import-package)). | ||
|
||
> [!CAUTION] | ||
> Please note that the SDK is still under development and is currently in beta phase. You use it at your own risk. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "You use it at your own risk." part maybe not necessary, it sounds a bit harsh to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this disclaimer is needed here until we go GA. It should be "Use it at your own risk." though. With "you" it's harsh indeed. :)
async fetch(request, env, ctx): Promise<Response> { | ||
// Creating the ConfigCat client instance using the SDK Key | ||
const client = getClient( | ||
"PKDVCLf-Hq-h-kCzMp-L7Q/HhOWfwVtZ0mb30i9wi17GQ", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we should go with a V2 config here (and everywhere else)
0faa640
to
6fbefa3
Compare
Quality Gate failedFailed conditions See analysis details on SonarQube Cloud Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE |
Describe the purpose of your pull request
Adds experimental support for Cloudflare Workers and Bun.
Breaking changes:
proxy
from common client options (IOptions
) and make it available on the Node platform only. (Very low impact expected as proxy hasn't been supported on any other platform than Node so far.)Requirement checklist (only if applicable)