openzca 0.1.14 → 0.1.15

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/cli.js +6 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -2781,7 +2781,12 @@ ${replyContextText}` : replyContextText;
2781
2781
  }
2782
2782
  const chatType = message.type === ThreadType.Group ? "group" : "user";
2783
2783
  const senderId = getStringCandidate(messageData, ["uidFrom"]) || message.data.uidFrom;
2784
- const senderDisplayNameRaw = getStringCandidate(messageData, ["dName"]);
2784
+ const senderDisplayNameRaw = getStringCandidate(messageData, [
2785
+ "dName",
2786
+ "fromD",
2787
+ "senderName",
2788
+ "displayName"
2789
+ ]);
2785
2790
  const senderDisplayName = senderDisplayNameRaw || void 0;
2786
2791
  const senderNameForMetadata = message.type === ThreadType.Group ? senderDisplayName : void 0;
2787
2792
  const toId = getStringCandidate(messageData, ["idTo"]) || void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openzca",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Open-source zca-compatible CLI to integrate Zalo with OpenClaw",
5
5
  "type": "module",
6
6
  "bin": {