@daolmedo/openclaw-twilio-whatsapp 1.1.21 → 1.1.22

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -58,7 +58,7 @@ function splitMessage(text) {
58
58
  return chunks;
59
59
  }
60
60
  async function sendTwilioWhatsappMessage(opts) {
61
- const client = twilio(opts.accountSid, opts.authToken);
61
+ const client = twilio(opts.accountSid, opts.authToken, { timeout: 3e4 });
62
62
  const from = opts.from.startsWith("whatsapp:") ? opts.from : `whatsapp:${opts.from}`;
63
63
  const to = opts.to.startsWith("whatsapp:") ? opts.to : `whatsapp:${opts.to}`;
64
64
  const chunks = opts.body ? splitMessage(opts.body) : [void 0];
@@ -502,9 +502,6 @@ ${text}`;
502
502
  recordInboundSession: stored.channelRuntime.session.recordInboundSession,
503
503
  dispatchReplyWithBufferedBlockDispatcher: stored.channelRuntime.reply.dispatchReplyWithBufferedBlockDispatcher,
504
504
  delivery: {
505
- durable: () => ({
506
- to: senderAddress
507
- }),
508
505
  deliver: async (payload) => {
509
506
  const outbound = payload;
510
507
  const text = outbound.text ?? "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daolmedo/openclaw-twilio-whatsapp",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "description": "Twilio WhatsApp channel plugin for OpenClaw (Cody ISV)",
5
5
  "type": "module",
6
6
  "exports": {