sentry 0.21.0 → 0.22.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/README.md +3 -0
- package/dist/index.cjs +553 -546
- package/dist/index.d.cts +38 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -112,6 +112,9 @@ Options (all optional):
|
|
|
112
112
|
- `project` — Default project slug.
|
|
113
113
|
- `text` — Return human-readable string instead of parsed JSON (affects `run()` only).
|
|
114
114
|
- `cwd` — Working directory for DSN auto-detection. Defaults to `process.cwd()`.
|
|
115
|
+
- `signal` — `AbortSignal` to cancel streaming commands (`--follow`, `--refresh`).
|
|
116
|
+
|
|
117
|
+
Streaming commands return `AsyncIterable` — use `for await...of` and `break` to stop.
|
|
115
118
|
|
|
116
119
|
Errors are thrown as `SentryError` with `.exitCode` and `.stderr`.
|
|
117
120
|
|