(entitlement: Entitlement)
| 13 | } |
| 14 | |
| 15 | export const hasEntitlement = async (entitlement: Entitlement): Promise<boolean> => { |
| 16 | const license = await getLicense(); |
| 17 | return _hasEntitlement(entitlement, license); |
| 18 | } |
| 19 | |
| 20 | export const getEntitlements = async (): Promise<Entitlement[]> => { |
| 21 | const license = await getLicense(); |
no test coverage detected