@peopl-health/nexus 5.58.0-dev.10498 → 5.58.0-dev.10499

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.
@@ -88,7 +88,7 @@ function validateProposal(proposal, context = {}) {
88
88
  return { valid: issues.length === 0, issues, activeModifiers, pendingRuleOut, alwaysEscalate: entry.alwaysEscalate ?? null };
89
89
  }
90
90
 
91
- const namesOf = (drug) => [drug.drug, ...String(drug.brand ?? '').split('/')].map(key).filter((name) => name.length >= 4);
91
+ const namesOf = (drug) => [drug.drug, ...drug.drug.split('/'), ...String(drug.brand ?? '').split('/')].map(key).filter((name) => name.length >= 4);
92
92
 
93
93
  const DRUG_NAMES = [...new Set(TREATMENT_FORMULARY
94
94
  .flatMap((entry) => entry.drugs)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peopl-health/nexus",
3
- "version": "5.58.0-dev.10498",
3
+ "version": "5.58.0-dev.10499",
4
4
  "description": "Core messaging and assistant library for WhatsApp communication platforms",
5
5
  "keywords": [
6
6
  "whatsapp",