subos-frontend 1.0.1 → 1.0.2

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.
package/dist/index.js CHANGED
@@ -301,35 +301,6 @@ var useSubscription = () => {
301
301
 
302
302
  // src/utils/planUtils.ts
303
303
  var getPlanFeatures = (plan) => {
304
- const planName = plan.name.toLowerCase();
305
- if (planName.includes("starter")) {
306
- return [
307
- "Import/Export User",
308
- "Active Jobs",
309
- "Text Change Module",
310
- "Employers Auto Approval",
311
- "Create Page in Manage Portal",
312
- "Multi Select Master with action button"
313
- ];
314
- } else if (planName.includes("growth")) {
315
- return [
316
- "Resume Builder",
317
- "Custom Email Body",
318
- "View Candidate Resume",
319
- "Advanced Analytics",
320
- "Priority Support",
321
- "Custom Branding"
322
- ];
323
- } else if (planName.includes("scale")) {
324
- return [
325
- "AI-Powered Matching",
326
- "Advanced Reporting",
327
- "API Access",
328
- "White-label Solution",
329
- "Dedicated Account Manager",
330
- "Custom Integrations"
331
- ];
332
- }
333
304
  const features = [];
334
305
  if (plan.charges && plan.charges.length > 0) {
335
306
  plan.charges.forEach((charge) => {
@@ -339,7 +310,7 @@ var getPlanFeatures = (plan) => {
339
310
  }
340
311
  });
341
312
  }
342
- return features.length > 0 ? features : ["Core features included"];
313
+ return features.length > 0 ? features.slice(0, 7) : ["Core features included"];
343
314
  };
344
315
  var getCandidateUnits = (plan) => {
345
316
  var _a;