@gonzih/cc-discord 0.2.18 → 0.2.20

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/notifier.js +3 -1
  2. package/package.json +1 -1
package/dist/notifier.js CHANGED
@@ -109,8 +109,10 @@ export function parseNotification(raw) {
109
109
  isCron = parsed.is_cron;
110
110
  }
111
111
  catch {
112
- return { text, isCron };
112
+ // non-JSON: fall through to text-based check below
113
113
  }
114
+ if (text.startsWith("⏰"))
115
+ return null;
114
116
  // Parse eval_report if present — this field is non-standard and not in NotificationPayload type
115
117
  const evalReport = parseEvalReport(raw);
116
118
  if (!driver)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gonzih/cc-discord",
3
- "version": "0.2.18",
3
+ "version": "0.2.20",
4
4
  "description": "Claude Code Discord bot — chat with Claude Code via Discord",
5
5
  "type": "module",
6
6
  "bin": {