[PR #5800] chore(api): export ip util functions #14480

Closed
opened 2026-04-13 09:29:47 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5800

State: closed
Merged: Yes


makes it easier to match what better-auth does under the hood. no need to copy from source code anymore.


Summary by cubic

Exported getIp from the API package so consumers can parse request IPs without reaching into internal utils. This matches Better Auth’s internal behavior and avoids copying code.

Written for commit 943a099ab6. Summary will update automatically on new commits.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5800 **State:** closed **Merged:** Yes --- makes it easier to match what better-auth does under the hood. no need to copy from source code anymore. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Exported getIp from the API package so consumers can parse request IPs without reaching into internal utils. This matches Better Auth’s internal behavior and avoids copying code. <sup>Written for commit 943a099ab6227f5cf970b0e2e02bdef4c111d4ef. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:29:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14480