You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Create fetchWithInit wrapper once in constructor
Move the createFetchWithInit() call from _authThenStart() to the
constructor to avoid recreating the wrapper function on every auth
attempt. This is more efficient and follows better practices.
The wrapped fetch function is now stored in _fetchWithInit and reused
across all auth-related calls in _authThenStart(), finishAuth(), and
send().
Addresses code review feedback from @pcarleton
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments