@peopl-health/nexus 1.7.3 → 1.7.4

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.
@@ -103,6 +103,8 @@ class TwilioProvider extends MessageProvider {
103
103
  throw new Error('Message must have body, media URL, or content SID');
104
104
  }
105
105
 
106
+ console.log('[TwilioProvider] Sending message', messageParams);
107
+
106
108
  try {
107
109
  const result = await this.twilioClient.messages.create(messageParams);
108
110
  if (this.messageStorage && typeof this.messageStorage.saveMessage === 'function') {
@@ -338,6 +338,7 @@ class NexusMessaging {
338
338
  return await this.handleFlow(messageData);
339
339
  } else {
340
340
  // For regular messages, use batching if enabled
341
+ console.log('Batching config:', this.batchingConfig);
341
342
  if (this.batchingConfig.enabled && chatId) {
342
343
  return await this._handleWithBatching(messageData, chatId);
343
344
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peopl-health/nexus",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "description": "Core messaging and assistant library for WhatsApp communication platforms",
5
5
  "keywords": [
6
6
  "whatsapp",