bereach-openclaw 0.3.0 → 0.3.1

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "bereach",
3
3
  "name": "BeReach",
4
- "version": "0.3.0",
4
+ "version": "0.3.1",
5
5
  "description": "LinkedIn outreach automation — 33 tools, auto-reply commands",
6
6
  "configSchema": {
7
7
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bereach-openclaw",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "BeReach LinkedIn automation plugin for OpenClaw",
5
5
  "license": "AGPL-3.0",
6
6
  "exports": {
@@ -153,7 +153,7 @@ export async function findConversationForDmGuard(
153
153
  if (!data.found) return { skip: false, messages: [] };
154
154
 
155
155
  const messages = data.messages ?? [];
156
- const alreadySent = messages.some((m) => m.text.includes(resourceLink));
156
+ const alreadySent = messages.some((m) => (m.text ?? "").includes(resourceLink));
157
157
 
158
158
  if (alreadySent) {
159
159
  try {