[PR #6378] [CLOSED] fix: correct typos in adapter code #6625

Closed
opened 2026-03-13 13:05:58 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6378
Author: @yoshifumi-kondo
Created: 11/28/2025
Status: Closed

Base: canaryHead: fix/typos


📄 Description

Summary

  • Fix recievedreceived typos in mongodb-adapter.ts (2 occurrences)
  • Fix recievereceive typo in adapter-factory/index.ts
  • Fix enviromentenvironment typo in adapter.kysely.mssql.test.ts

Test plan

  • pnpm format - passed
  • pnpm lint - passed
  • pnpm --filter better-auth test - 1183 tests passed

Summary by cubic

Fixed typos in adapter code and tests (“recieved” → “received”, “recieve” → “receive”, “enviroment” → “environment”).

Also moved adapter utilities to core, enforced node: import protocol, and preserved user ID in stateless session cookies.

Written for commit fa78dcb3fb. 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/6378 **Author:** [@yoshifumi-kondo](https://github.com/yoshifumi-kondo) **Created:** 11/28/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `fix/typos` --- ### 📄 Description ## Summary - Fix `recieved` → `received` typos in mongodb-adapter.ts (2 occurrences) - Fix `recieve` → `receive` typo in adapter-factory/index.ts - Fix `enviroment` → `environment` typo in adapter.kysely.mssql.test.ts ## Test plan - [x] `pnpm format` - passed - [x] `pnpm lint` - passed - [x] `pnpm --filter better-auth test` - 1183 tests passed <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fixed typos in adapter code and tests (“recieved” → “received”, “recieve” → “receive”, “enviroment” → “environment”). Also moved adapter utilities to core, enforced node: import protocol, and preserved user ID in stateless session cookies. <sup>Written for commit fa78dcb3fb4ec10edf0edec22f22c5288816d0dd. 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-03-13 13:05:58 -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#6625