[PR #5643] [MERGED] fix(social-providers): core module import #31735

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5643
Author: @himself65
Created: 10/28/2025
Status: Merged
Merged: 10/28/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/10/28/import


📝 Commits (1)

  • d9bc43d fix(social-providers): core module import

📊 Changes

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

View changed files

📝 packages/core/src/social-providers/polar.ts (+3 -3)

📄 Description

This will fix expo runtime issue because of it resolves the wrong path


Summary by cubic

Fix incorrect OAuth module imports in social-providers/polar to prevent Expo runtime from resolving the wrong path. Switched from @better-auth/core/oauth2 to local ../oauth2 imports.


🔄 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/5643 **Author:** [@himself65](https://github.com/himself65) **Created:** 10/28/2025 **Status:** ✅ Merged **Merged:** 10/28/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/10/28/import` --- ### 📝 Commits (1) - [`d9bc43d`](https://github.com/better-auth/better-auth/commit/d9bc43d729f53e80f5f72c22932565515bbb4807) fix(social-providers): core module import ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/src/social-providers/polar.ts` (+3 -3) </details> ### 📄 Description This will fix expo runtime issue because of it resolves the wrong path <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fix incorrect OAuth module imports in social-providers/polar to prevent Expo runtime from resolving the wrong path. Switched from @better-auth/core/oauth2 to local ../oauth2 imports. <!-- 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:37:18 -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#31735