@peopl-health/nexus 5.53.0-dev.7794 → 5.53.0-dev.7800

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.
@@ -55,10 +55,8 @@ const tapClaims = () => {
55
55
  return tapClaimStore;
56
56
  };
57
57
 
58
- const safetyNetPrefixes = () => [PAYLOAD_PREFIX, ...CHOICES.map(getSafetyNetLabel).filter(Boolean)];
59
-
60
58
  const disarmSafetyNet = () => {
61
- safetyNetPrefixes().forEach(unregisterInteractiveRoute);
59
+ unregisterInteractiveRoute(PAYLOAD_PREFIX);
62
60
  stopSafetyNetSweep();
63
61
  };
64
62
 
@@ -281,10 +279,6 @@ function registerSafetyNetRoutes() {
281
279
  }
282
280
 
283
281
  registerInteractiveRoute(PAYLOAD_PREFIX, handleSafetyNetTap);
284
- for (const choice of CHOICES) {
285
- const label = getSafetyNetLabel(choice);
286
- if (label) registerInteractiveRoute(label, handleSafetyNetTap);
287
- }
288
282
  return true;
289
283
  }
290
284
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peopl-health/nexus",
3
- "version": "5.53.0-dev.7794",
3
+ "version": "5.53.0-dev.7800",
4
4
  "description": "Core messaging and assistant library for WhatsApp communication platforms",
5
5
  "keywords": [
6
6
  "whatsapp",