@lls/common 24.11.0-36f11c19 → 24.11.0-38fedbd3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/index.js +0 -3
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -175,9 +175,6 @@ var getPlanRights = ({ user, bookUri }) => {
175
175
  };
176
176
  var hasFeatureAccess = ({ feature, user, bookUri }) => {
177
177
  if (!feature) return false;
178
- if (feature === FEATURES.FEATURE_CLASSROOM && user?.plans?.[PLANS.CLASSROOM_PLAN]?.length) {
179
- return true;
180
- }
181
178
  const planRights = getPlanRights({ user, bookUri });
182
179
  if (feature in planRights) return planRights[feature] ?? false;
183
180
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/common",
3
- "version": "24.11.0-36f11c19",
3
+ "version": "24.11.0-38fedbd3",
4
4
  "description": "utils and constants shared between front and backend",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
@@ -34,7 +34,7 @@
34
34
  "lodash": "4.17.21",
35
35
  "esbuild": "0.24.0",
36
36
  "typescript": "5.6.3",
37
- "@lls/vitescripts": "24.11.0-36f11c19"
37
+ "@lls/vitescripts": "24.11.0-38fedbd3"
38
38
  },
39
39
  "dependencies": {},
40
40
  "scripts": {