@ultimat3/notify 25.1.0 → 26.0.0
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/package.json +5 -5
- package/src/errors.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/notify",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "26.0.0",
|
|
4
4
|
"description": "Notifications: one declaration, many channels — fan-out, preference gate, digest window, delivery ledger, in-app inbox",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"test": "bun test"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@ultimat3/core": "
|
|
39
|
-
"@ultimat3/jobs": "
|
|
40
|
-
"@ultimat3/schema": "
|
|
41
|
-
"@ultimat3/time": "
|
|
38
|
+
"@ultimat3/core": "26.0.0",
|
|
39
|
+
"@ultimat3/jobs": "26.0.0",
|
|
40
|
+
"@ultimat3/schema": "26.0.0",
|
|
41
|
+
"@ultimat3/time": "26.0.0"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/src/errors.ts
CHANGED
|
@@ -170,13 +170,13 @@ export class NotifyDeliveryFailedError extends UltimateError {
|
|
|
170
170
|
super({
|
|
171
171
|
code: 'X_NOTIFY_DELIVERY_FAILED',
|
|
172
172
|
cause: `channel "${input.channel}" of notifier "${input.notifier}" failed for ${String(input.recipients)} recipient(s): ${renderThrowable(input.cause)}`,
|
|
173
|
-
// `x jobs
|
|
173
|
+
// `x jobs list` first, and never `x jobs show` handed a notifier NAME: that command takes a job id
|
|
174
174
|
// positional and resolves it through `inspectJob`, which answers `X_JOB_UNKNOWN` for
|
|
175
175
|
// anything else — so a notifier NAME made the one command this refusal printed fail every
|
|
176
176
|
// time it was run. A `fix:` that fails is worse than none, because the reader spends their
|
|
177
177
|
// trust on it before finding out. The two-step shape is what `wiki/Error-Codes.md` already
|
|
178
178
|
// documents for this code.
|
|
179
|
-
fix: `x jobs
|
|
179
|
+
fix: `x jobs list --json # find the run, then: x jobs show <id> --json — the failing step is deliver:${input.channel}`,
|
|
180
180
|
meta: { notifier: input.notifier, channel: input.channel },
|
|
181
181
|
});
|
|
182
182
|
}
|