[PR #7833] [MERGED] chore(electron): construct channel prefix consistently #33181

Closed
opened 2026-04-17 23:50:41 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7833
Author: @jslno
Created: 2/7/2026
Status: Merged
Merged: 2/7/2026
Merged by: @himself65

Base: canaryHead: 02-06-2026/electron-channel-prefix


📝 Commits (1)

  • f60b5d2 chore(electron): construct channel prefix consistently

📊 Changes

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

View changed files

📝 packages/electron/src/authenticate.ts (+2 -1)

📄 Description

Summary by cubic

Use getChannelPrefixWithDelimiter to build the IPC channel for the "authenticated" event in Electron. This standardizes the prefix and delimiter and avoids mismatched listeners when a custom channelPrefix is used.

Written for commit f60b5d29e6. Summary will update 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/7833 **Author:** [@jslno](https://github.com/jslno) **Created:** 2/7/2026 **Status:** ✅ Merged **Merged:** 2/7/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `02-06-2026/electron-channel-prefix` --- ### 📝 Commits (1) - [`f60b5d2`](https://github.com/better-auth/better-auth/commit/f60b5d29e6c2b59dc95d883272034b6b639b12d6) chore(electron): construct channel prefix consistently ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/electron/src/authenticate.ts` (+2 -1) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Use getChannelPrefixWithDelimiter to build the IPC channel for the "authenticated" event in Electron. This standardizes the prefix and delimiter and avoids mismatched listeners when a custom channelPrefix is used. <sup>Written for commit f60b5d29e6c2b59dc95d883272034b6b639b12d6. Summary will update 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 23:50:41 -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#33181