@peopl-health/nexus 6.4.5 → 6.4.6

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.
@@ -18,9 +18,9 @@ const MS_PER_HOUR = 60 * MS_PER_MINUTE;
18
18
  const EXPIRY_WINDOW_MULTIPLIER = 6;
19
19
  const EXPIRY_FLOOR_MS = 48 * MS_PER_HOUR;
20
20
  const EXPIRY_CEILING_MS = 14 * 24 * MS_PER_HOUR;
21
- const ESCALATION_SILENCE_MINUTES = { stat: null, asap: 60, urgent: 240 };
22
- // Nets armed before the change keep their level until they expire (stat 120, asap 180).
23
- const LEGACY_ESCALATION_SILENCE_MINUTES = { stat: 120, asap: 180 };
21
+ const ESCALATION_SILENCE_MINUTES = { stat: null, asap: 60, urgent: 120 };
22
+ // Urgent nets armed with the old 4 h window keep their level until they expire (48 h).
23
+ const LEGACY_ESCALATION_SILENCE_MINUTES = { urgent: 240 };
24
24
  const OPEN_CEILING_SILENCE_MINUTES = 720;
25
25
  const OPEN_CEILING_ORIGIN = 'open_ceiling';
26
26
  const OPEN_CEILING_CHECK_IN = 'Hola, quería saber cómo sigues. ¿Cómo va lo que me contaste?';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peopl-health/nexus",
3
- "version": "6.4.5",
3
+ "version": "6.4.6",
4
4
  "description": "Core messaging and assistant library for WhatsApp communication platforms",
5
5
  "keywords": [
6
6
  "whatsapp",