(current)
| 35 | }; |
| 36 | } |
| 37 | function _temp(current) { |
| 38 | return { |
| 39 | ...current, |
| 40 | subscriptionNoticeCount: (current.subscriptionNoticeCount ?? 0) + 1 |
| 41 | }; |
| 42 | } |
| 43 | async function getExistingClaudeSubscription(): Promise<'Max' | 'Pro' | null> { |
| 44 | // If already using subscription auth, there is nothing to switch to |
| 45 | if (isClaudeAISubscriber()) { |
nothing calls this directly
no outgoing calls
no test coverage detected