MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getSubscriptionName

Function getSubscriptionName

source code/utils/auth.ts:1716–1731  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1714}
1715
1716export function getSubscriptionName(): string {
1717 const subscriptionType = getSubscriptionType()
1718
1719 switch (subscriptionType) {
1720 case 'enterprise':
1721 return 'Claude Enterprise'
1722 case 'team':
1723 return 'Claude Team'
1724 case 'max':
1725 return 'Claude Max'
1726 case 'pro':
1727 return 'Claude Pro'
1728 default:
1729 return 'Claude API'
1730 }
1731}
1732
1733/** Check if using third-party services (Bedrock or Vertex or Foundry) */
1734export function isUsing3PServices(): boolean {

Callers 2

getAccountInformationFunction · 0.85
getLogoDisplayDataFunction · 0.85

Calls 1

getSubscriptionTypeFunction · 0.85

Tested by

no test coverage detected