LicenseManager wraps the license fields of app.info (LICENSE, LICENSE_TYPE, LICENSE_FAMILY, LICENSE_PREVIOUS, LANGUAGE_ID). Created when LoadDataType.App is requested; reachable through B24HelperManager.licenseInfo.
On
initData, LicenseManager calls ParamsFactory.fromTariffPlan(license) and applies the result via b24.setRestrictionManagerParams(...). That swaps in enterprise-grade rate limits when the portal is on an enterprise tariff. See Limiters.Usage
import { useB24Helper, LoadDataType } from '@bitrix24/b24jssdk'
const { initB24Helper, getB24Helper } = useB24Helper()
await initB24Helper($b24, [LoadDataType.App])
const license = getB24Helper().licenseInfo.data
console.log(license.license, license.isSelfHosted)
Getter data
get data(): TypeLicense
Method makeRestrictionManagerParams
makeRestrictionManagerParams(): Promise<void>
Re-applies the tariff-derived restriction params. Called automatically from initData; you only need to invoke it manually if you have already overridden the limiter config and want to reset to the tariff defaults.