Skip to content

Commit

Permalink
chore: add contact-id-verification and teams-voip modules to bundle * (
Browse files Browse the repository at this point in the history
…#33629)

Co-authored-by: Pierre Lehnen <[email protected]>
  • Loading branch information
ggazzo and pierre-lehnen-rc authored Oct 17, 2024
1 parent bed0d40 commit d92d8f1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ee/packages/license/src/v2/bundles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ const bundles: IBundle = {
'custom-roles',
'accessibility-certification',
'unlimited-presence',
'contact-id-verification',
'teams-voip',
],
pro: [],
};
Expand Down
2 changes: 1 addition & 1 deletion ee/packages/license/src/v2/convertToV3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const convertToV3 = (v2: ILicenseV2): ILicenseV3 => {
},
grantedModules: [
...new Set(
['hide-watermark', ...v2.modules]
['teams-voip', 'contact-id-verification', 'hide-watermark', ...v2.modules]
.map((licenseModule) => (isBundle(licenseModule) ? getBundleModules(licenseModule) : [licenseModule]))
.reduce((prev, curr) => [...prev, ...curr], [])
.map((licenseModule) => ({ module: licenseModule as LicenseModule })),
Expand Down
4 changes: 3 additions & 1 deletion packages/core-typings/src/license/LicenseModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ export type LicenseModule =
| 'hide-watermark'
| 'custom-roles'
| 'accessibility-certification'
| 'unlimited-presence';
| 'unlimited-presence'
| 'contact-id-verification'
| 'teams-voip';

0 comments on commit d92d8f1

Please sign in to comment.