mirror of
https://github.com/better-auth/better-auth.git
synced 2026-07-30 17:12:35 -05:00
* fix: access of undefined in open-nextjs hosted runtime - This change follows the "duck typing" principle which is often more robust than strict instance checking, especially in complex JavaScript environments where objects might come from different contexts or realms. - Fixes issue where in an opennext hosted runtime, instanceof usage is not sufficent. * feat: use in operator for better reliabiltiy across runtimes * fix: linting issue