sentry 0.29.0 → 0.30.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 +15 -7
- package/dist/index.cjs +904 -687
- package/dist/index.d.cts +27 -0
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -259,6 +259,8 @@ export type AuthLoginParams = {
|
|
|
259
259
|
timeout?: number;
|
|
260
260
|
/** Re-authenticate without prompting */
|
|
261
261
|
force?: boolean;
|
|
262
|
+
/** Sentry instance URL to authenticate against (e.g. https://sentry.example.com). Required for self-hosted; defaults to SaaS (https://sentry.io). */
|
|
263
|
+
url?: string;
|
|
262
264
|
};
|
|
263
265
|
|
|
264
266
|
export type AuthRefreshParams = {
|
|
@@ -628,6 +630,25 @@ export type EventListParams = {
|
|
|
628
630
|
cursor?: string;
|
|
629
631
|
};
|
|
630
632
|
|
|
633
|
+
export type ExploreParams = {
|
|
634
|
+
/** Positional argument */
|
|
635
|
+
target?: string;
|
|
636
|
+
/** API field or aggregate (repeatable). E.g., title, "count()", "p50(transaction.duration)" */
|
|
637
|
+
field?: string;
|
|
638
|
+
/** Dataset to query (errors, spans, metrics, logs) */
|
|
639
|
+
dataset?: string;
|
|
640
|
+
/** Search query (Sentry search syntax) */
|
|
641
|
+
query?: string;
|
|
642
|
+
/** Sort field (prefix with - for desc, e.g., "-count()") */
|
|
643
|
+
sort?: string;
|
|
644
|
+
/** Number of rows (1-1000) */
|
|
645
|
+
limit?: number;
|
|
646
|
+
/** Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" */
|
|
647
|
+
period?: string;
|
|
648
|
+
/** Navigate pages: "next", "prev", "first" (or raw cursor string) */
|
|
649
|
+
cursor?: string;
|
|
650
|
+
};
|
|
651
|
+
|
|
631
652
|
export type LogListParams = {
|
|
632
653
|
/** Number of log entries (1-1000) */
|
|
633
654
|
limit?: number;
|
|
@@ -648,6 +669,8 @@ export type SourcemapInjectParams = {
|
|
|
648
669
|
ext?: string;
|
|
649
670
|
/** Show what would be modified without writing */
|
|
650
671
|
dryRun?: boolean;
|
|
672
|
+
/** Exit successfully when no JS + sourcemap pairs are found (default: error out to catch silent build misconfigurations) */
|
|
673
|
+
allowEmpty?: boolean;
|
|
651
674
|
};
|
|
652
675
|
|
|
653
676
|
export type SourcemapUploadParams = {
|
|
@@ -657,6 +680,8 @@ export type SourcemapUploadParams = {
|
|
|
657
680
|
release?: string;
|
|
658
681
|
/** URL prefix for uploaded files (default: ~/) */
|
|
659
682
|
urlPrefix?: string;
|
|
683
|
+
/** Exit successfully when no JS + sourcemap pairs are found (default: error out to catch silent build misconfigurations) */
|
|
684
|
+
allowEmpty?: boolean;
|
|
660
685
|
};
|
|
661
686
|
|
|
662
687
|
export type SpanListParams = {
|
|
@@ -766,6 +791,8 @@ export type SchemaParams = {
|
|
|
766
791
|
export type SentrySDK = {
|
|
767
792
|
/** Display help for a command */
|
|
768
793
|
help(...positional: string[]): Promise<unknown>;
|
|
794
|
+
/** Query aggregate event data (Explore) */
|
|
795
|
+
explore(params?: ExploreParams): Promise<unknown>;
|
|
769
796
|
/** Initialize Sentry in your project (experimental) */
|
|
770
797
|
init(params?: InitParams): Promise<unknown>;
|
|
771
798
|
/** Make an authenticated API request */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sentry",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/getsentry/cli.git"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"dist/index.d.cts"
|
|
66
66
|
],
|
|
67
67
|
"license": "FSL-1.1-Apache-2.0",
|
|
68
|
-
"packageManager": "bun@1.3.
|
|
68
|
+
"packageManager": "bun@1.3.13",
|
|
69
69
|
"patchedDependencies": {
|
|
70
70
|
"@stricli/core@1.2.5": "patches/@stricli%2Fcore@1.2.5.patch",
|
|
71
71
|
"@sentry/node-core@10.50.0": "patches/@sentry%2Fnode-core@10.50.0.patch",
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
"typecheck": "bun run generate:docs && bun run generate:sdk && tsc --noEmit",
|
|
80
80
|
"lint": "bunx ultracite check",
|
|
81
81
|
"lint:fix": "bunx ultracite fix",
|
|
82
|
-
"test": "bun run test:unit
|
|
83
|
-
"test:unit": "bun run generate:docs && bun run generate:sdk && bun test --timeout 15000 test/lib test/commands test/types --coverage --coverage-reporter=lcov",
|
|
84
|
-
"test:
|
|
82
|
+
"test": "bun run test:unit",
|
|
83
|
+
"test:unit": "bun run generate:docs && bun run generate:sdk && bun test --timeout 15000 --isolate --parallel test/lib test/commands test/types --coverage --coverage-reporter=lcov",
|
|
84
|
+
"test:changed": "bun run generate:docs && bun run generate:sdk && bun test --timeout 15000 --isolate --changed",
|
|
85
85
|
"test:e2e": "bun run generate:docs && bun run generate:sdk && bun test --timeout 15000 test/e2e",
|
|
86
86
|
"test:init-eval": "bun test test/init-eval --timeout 600000 --concurrency 6",
|
|
87
87
|
"generate:parser": "bun run script/generate-parser.ts",
|