docs: add missing documentation for namespace parameter in RatelimitConfig @unkey/ratelimit#2250
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@Vardhaman619 is attempting to deploy a commit to the Unkey Team on Vercel. A member of the Team first needs to authorize it. |
|
Warning Rate limit exceeded@github-actions[bot] has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 22 minutes and 40 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📝 Walkthrough📝 Walkthrough📝 WalkthroughWalkthroughThe pull request includes modifications to two documentation files. The Changes
Assessment against linked issues
Possibly related PRs
Suggested labels
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Thank you for following the naming conventions for pull request titles! 🙏 |
|
Awarding Vardhaman619: 150 points 🕹️ Well done! Check out your new contribution on oss.gg/Vardhaman619 |
What does this PR do?
This PR adds the missing documentation for the namespace parameter in the
RatelimitConfigobject in the@unkey/ratelimitSDK. The namespace parameter was previously missing from the documentation and was incorrectly described under therootKeyproperty. The addition of this information will provide users with clear guidance on how to properly configure the ratelimiting functionality using the SDK.Fixes #2241
Type of change
How should this be tested?
RatelimitConfigsection in the@unkey/ratelimitSDK documentation.Checklist
Required
pnpm buildpnpm fmtconsole.logsgit pull origin mainAppreciated
Summary by CodeRabbit
New Features
namespaceparameter in theRatelimitconfiguration for better application area management.timeoutparameter with a fallback mechanism inRatelimitConfig.Documentation
timeoutconfiguration andonErrorhandler in the@unkey/ratelimitlibrary documentation.