@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.
- package/dist/notifier.js +3 -1
- 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
|
-
|
|
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)
|