@peopl-health/nexus 1.6.5 → 1.6.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.
@@ -353,7 +353,7 @@ const replyAssistant = async function (code, message_ = null, thread_ = null, ru
353
353
  console.log('THREAD STOPPED', code, thread?.active);
354
354
  if (!thread || !thread.active) return null;
355
355
 
356
- const patientReply = message_ ? [message_] : await getLastMessages(code);
356
+ const patientReply = await getLastMessages(code);
357
357
  console.log('UNREAD DATA', patientReply);
358
358
  if (!patientReply) {
359
359
  console.log('No relevant data found for this assistant.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peopl-health/nexus",
3
- "version": "1.6.5",
3
+ "version": "1.6.6",
4
4
  "description": "Core messaging and assistant library for WhatsApp communication platforms",
5
5
  "keywords": [
6
6
  "whatsapp",