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: Edge runtime compatibility for bot detection #861

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

This PR fixes TypeScript errors and edge runtime compatibility issues in the bot detection implementation.

Changes

  • Fixed TypeScript errors in lib/api.ts for edge runtime compatibility
  • Removed punycode dependency for edge runtime compatibility
  • Updated handleShareRequest function to be edge runtime compatible
  • Added type casting for proper TypeScript compatibility
  • Updated test endpoint documentation

Link to Devin run: https://app.devin.ai/sessions/fec341d7198b48b9a6080ca137afeabb
Requested by: Nathan Clevenger

Copy link

vercel bot commented Apr 6, 2025

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

Name Status Preview Comments Updated (UTC)
ai ❌ Failed (Inspect) Apr 6, 2025 0:38am

Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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.

0 participants