MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / getSubscriptionName

Function getSubscriptionName

src/utils/auth.ts:1764–1779  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1762}
1763
1764export function getSubscriptionName(): string {
1765 const subscriptionType = getSubscriptionType()
1766
1767 switch (subscriptionType) {
1768 case 'enterprise':
1769 return 'Claude Enterprise'
1770 case 'team':
1771 return 'Claude Team'
1772 case 'max':
1773 return 'Claude Max'
1774 case 'pro':
1775 return 'Claude Pro'
1776 default:
1777 return 'Claude API'
1778 }
1779}
1780
1781/** Check if using third-party services (Bedrock or Vertex or Foundry) */
1782export function isUsing3PServices(): boolean {

Callers 2

getAccountInformationFunction · 0.85
getLogoDisplayDataFunction · 0.85

Calls 1

getSubscriptionTypeFunction · 0.85

Tested by

no test coverage detected