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

Closed
opened 2026-04-17 22:42:34 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5800
Author: @aarmful
Created: 11/6/2025
Status: Merged
Merged: 11/7/2025
Merged by: @Bekacru

Base: canaryHead: canary


📝 Commits (5)

  • b614f5c chore(api): export ip util functions
  • 48d7fff fix: remove invalid export
  • cf40239 fix: organize imports
  • d5ec5b6 Merge branch 'canary' into canary
  • 943a099 Merge branch 'canary' into canary

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 packages/better-auth/src/api/index.ts (+1 -0)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/5800 **Author:** [@aarmful](https://github.com/aarmful) **Created:** 11/6/2025 **Status:** ✅ Merged **Merged:** 11/7/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `canary` --- ### 📝 Commits (5) - [`b614f5c`](https://github.com/better-auth/better-auth/commit/b614f5cf1700ac767f87effa48585cd9103f8430) chore(api): export ip util functions - [`48d7fff`](https://github.com/better-auth/better-auth/commit/48d7fffae2626d17cc7188b4ca226ba043d15fa1) fix: remove invalid export - [`cf40239`](https://github.com/better-auth/better-auth/commit/cf40239b145294d693315b01eaef764cefa5b812) fix: organize imports - [`d5ec5b6`](https://github.com/better-auth/better-auth/commit/d5ec5b6565362e91dda4cd2c7d683234c852a332) Merge branch 'canary' into canary - [`943a099`](https://github.com/better-auth/better-auth/commit/943a099ab6227f5cf970b0e2e02bdef4c111d4ef) Merge branch 'canary' into canary ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/index.ts` (+1 -0) </details> ### 📄 Description 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. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-17 22:42:34 -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#31834