@spotlightjs/overlay 2.4.0-next.4 → 2.5.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/dist/{src/App.d.ts → App.d.ts} +1 -1
- package/dist/{src/components → components}/Debugger.d.ts +1 -2
- package/dist/{index-019c1b35.js → index-4373983e.js} +3314 -3270
- package/dist/index-4373983e.js.map +1 -0
- package/dist/{src/index.d.ts → index.d.ts} +14 -10
- package/dist/{src/integrations → integrations}/integration.d.ts +4 -5
- package/dist/{src/integrations → integrations}/sentry/data/sentryDataCache.d.ts +2 -2
- package/dist/integrations/sentry/sentry-integration.d.ts +18 -0
- package/dist/lib/db.d.ts +8 -0
- package/dist/lib/useKeyPress.d.ts +10 -0
- package/dist/{main-fcd9d91e.js → main-6b16141c.js} +2 -2
- package/dist/{main-fcd9d91e.js.map → main-6b16141c.js.map} +1 -1
- package/dist/sentry-spotlight.d.ts +1 -1
- package/dist/sentry-spotlight.iife.js +77 -77
- package/dist/sentry-spotlight.iife.js.map +1 -1
- package/dist/sentry-spotlight.js +8 -7
- package/dist/sidecar.d.ts +2 -0
- package/dist/{src/types.d.ts → types.d.ts} +6 -6
- package/package.json +2 -2
- package/dist/index-019c1b35.js.map +0 -1
- package/dist/src/integrations/sentry/sentry-integration.d.ts +0 -30
- package/dist/src/lib/useKeyPress.d.ts +0 -7
- package/dist/src/sidecar.d.ts +0 -3
- /package/dist/{src/components → components}/CardList.d.ts +0 -0
- /package/dist/{src/components → components}/Overview.d.ts +0 -0
- /package/dist/{src/components → components}/Tabs.d.ts +0 -0
- /package/dist/{src/components → components}/Time.d.ts +0 -0
- /package/dist/{src/components → components}/TimeSince.d.ts +0 -0
- /package/dist/{src/components → components}/Trigger.d.ts +0 -0
- /package/dist/{src/constants.d.ts → constants.d.ts} +0 -0
- /package/dist/{src/integrations → integrations}/console/console-tab.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/console/index.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/console/types.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/hydration-error/HydrationErrorDisplay.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/hydration-error/index.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/DateTime.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/HiddenItemsButton.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/PlatformIcon.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/SdkList.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/SpanResizer.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/Tags.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/developerInfo/EnvelopeDetails.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/developerInfo/EnvelopeList.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/developerInfo/JsonViewer.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/events/Event.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/events/EventBreadcrumbs.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/events/EventContexts.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/events/EventDetails.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/events/EventList.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/events/error/Error.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/events/error/Frame.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/performance/PerformanceTabDetails.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/performance/Queries.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/performance/QuerySummary.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/performance/Resources.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/performance/webVitals/PerformanceChart.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/performance/webVitals/WebVitalsDetail.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/performance/webVitals/index.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/traces/TraceDetails.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/traces/TraceIcon.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/traces/TraceList.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/traces/spans/SpanDetails.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/traces/spans/SpanItem.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/traces/spans/SpanTree.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/traces/traceDetail/TraceDetailHeader.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/traces/traceDetail/index.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/traces/traceInfo/TraceGeneralInfo.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/traces/traceInfo/TraceTags.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/components/traces/traceInfo/index.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/constants.d.ts +0 -0
- /package/dist/{test/integrations/sentry/data/sentryDataCache.test.d.ts → integrations/sentry/data/sentryDataCache.spec.d.ts} +0 -0
- /package/dist/{src/integrations → integrations}/sentry/data/sentryEventsContext.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/data/useSentryEnvelopes.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/data/useSentryEvents.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/data/useSentryHelpers.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/data/useSentrySdks.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/data/useSentrySpans.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/data/useSentryTraces.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/hooks/useDebounce.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/hooks/useMouseTracking.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/index.d.ts +0 -0
- /package/dist/{test/integrations/sentry/index.test.d.ts → integrations/sentry/index.spec.d.ts} +0 -0
- /package/dist/{src/integrations → integrations}/sentry/tabs/DeveloperInfo.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/tabs/ErrorsTab.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/tabs/PerformanceTab.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/tabs/SdksTab.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/tabs/TracesTab.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/types.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/utils/bytes.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/utils/duration.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/utils/fetch.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/utils/sdkToPlatform.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/sentry/utils/traces.d.ts +0 -0
- /package/dist/{test/integrations/sentry/utils/traces.test.d.ts → integrations/sentry/utils/traces.spec.d.ts} +0 -0
- /package/dist/{src/integrations → integrations}/sentry/utils/webVitals.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/vite-inspect/index.d.ts +0 -0
- /package/dist/{src/integrations → integrations}/vite-inspect/vite-inspect.d.ts +0 -0
- /package/dist/{src/lib → lib}/classNames.d.ts +0 -0
- /package/dist/{src/lib → lib}/eventTarget.d.ts +0 -0
- /package/dist/{src/lib → lib}/logger.d.ts +0 -0
- /package/dist/{src/lib → lib}/useSpotlightContext.d.ts +0 -0
- /package/dist/{src/lib → lib}/uuid.d.ts +0 -0
- /package/dist/{src/react-instance.d.ts → react-instance.d.ts} +0 -0
- /package/dist/{src/ui → ui}/Badge/Badge.d.ts +0 -0
- /package/dist/{src/ui → ui}/Badge/index.d.ts +0 -0
- /package/dist/{src/ui → ui}/Breadcrumbs/Breadcrumbs.d.ts +0 -0
- /package/dist/{src/ui → ui}/Breadcrumbs/index.d.ts +0 -0
- /package/dist/{src/ui → ui}/Chart/RingChart/RingChart.d.ts +0 -0
- /package/dist/{src/ui → ui}/Chart/RingChart/index.d.ts +0 -0
- /package/dist/{src/ui → ui}/Chart/index.d.ts +0 -0
- /package/dist/{src/ui → ui}/SidePanel/SidePanel.d.ts +0 -0
- /package/dist/{src/ui → ui}/SidePanel/index.d.ts +0 -0
- /package/dist/{src/ui → ui}/Tag/Tag.d.ts +0 -0
- /package/dist/{src/ui → ui}/Tag/index.d.ts +0 -0
- /package/dist/{src/ui → ui}/Tooltip/Tooltip.d.ts +0 -0
- /package/dist/{src/ui → ui}/Tooltip/index.d.ts +0 -0
- /package/dist/{src/utils → utils}/values.d.ts +0 -0
package/dist/sentry-spotlight.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { C as
|
|
1
|
+
import { C as t, D as o, a as e, b as n, R as i, d as E, h as r, m as p, n as l, l as S, o as D, e as R, i as T, j as g, k as h, f as N, s as _, p as c, t as v, v as A } from "./index-4373983e.js";
|
|
2
2
|
window.Spotlight && Spotlight.init();
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
t as CONTEXT_LINES_ENDPOINT,
|
|
5
|
+
o as DEFAULT_ANCHOR,
|
|
6
6
|
e as DEFAULT_EXPERIMENTS,
|
|
7
7
|
n as DEFAULT_SIDECAR_URL,
|
|
8
8
|
i as React,
|
|
9
9
|
E as ReactDOM,
|
|
10
10
|
r as closeSpotlight,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
p as console,
|
|
12
|
+
l as hydrationError,
|
|
13
13
|
S as init,
|
|
14
14
|
D as off,
|
|
15
15
|
R as on,
|
|
@@ -17,8 +17,9 @@ export {
|
|
|
17
17
|
g as onOpen,
|
|
18
18
|
h as onSevereEvent,
|
|
19
19
|
N as openSpotlight,
|
|
20
|
-
_ as
|
|
21
|
-
c as
|
|
20
|
+
_ as sendEvent,
|
|
21
|
+
c as sentry,
|
|
22
|
+
v as trigger,
|
|
22
23
|
A as viteInspect
|
|
23
24
|
};
|
|
24
25
|
//# sourceMappingURL=sentry-spotlight.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Integration } from './integrations/integration';
|
|
2
2
|
export type ExperimentName = 'sentry:focus-local-events';
|
|
3
3
|
export type ExperimentsConfig = Record<ExperimentName, boolean>;
|
|
4
4
|
export type AnchorConfig = 'bottomRight' | 'bottomLeft' | 'centerRight' | 'centerLeft' | 'topLeft' | 'topRight';
|
|
@@ -73,7 +73,7 @@ export type SpotlightOverlayOptions = {
|
|
|
73
73
|
/**
|
|
74
74
|
* If set to `true`, the Spotlight overlay will be rendered in full page mode.
|
|
75
75
|
* It can't be closed nor minimized.
|
|
76
|
-
* This is useful for
|
|
76
|
+
* This is useful for replacing error page or in when directly rendered as an html page
|
|
77
77
|
*/
|
|
78
78
|
fullPage?: boolean;
|
|
79
79
|
/**
|
|
@@ -84,12 +84,11 @@ export type SpotlightOverlayOptions = {
|
|
|
84
84
|
*/
|
|
85
85
|
showClearEventsButton?: boolean;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
88
|
-
* This is useful if you want to add data manually to Spotlight.
|
|
87
|
+
* Events to be sent into Spotlight (bypassing the sidecar) right after init
|
|
89
88
|
*
|
|
90
|
-
*
|
|
89
|
+
* This is useful when replacing error pages of frameworks etc. Implies "injectImmediately".
|
|
91
90
|
*/
|
|
92
|
-
|
|
91
|
+
initialEvents?: Record<string, (string | Uint8Array)[]>;
|
|
93
92
|
};
|
|
94
93
|
export type NotificationCount = {
|
|
95
94
|
/**
|
|
@@ -105,5 +104,6 @@ export type NotificationCount = {
|
|
|
105
104
|
export type WindowWithSpotlight = Window & {
|
|
106
105
|
__spotlight?: {
|
|
107
106
|
eventTarget?: EventTarget;
|
|
107
|
+
initOptions?: SpotlightOverlayOptions;
|
|
108
108
|
};
|
|
109
109
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spotlightjs/overlay",
|
|
3
3
|
"description": "The overlay of Spotlight to add debug interface to your web app.",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.5.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"files": [
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@types/beautify": "^0.0.3",
|
|
52
52
|
"react-json-view": "^1.21.3",
|
|
53
53
|
"@spotlightjs/tsconfig": "1.0.0",
|
|
54
|
-
"@spotlightjs/sidecar": "1.
|
|
54
|
+
"@spotlightjs/sidecar": "1.8.0"
|
|
55
55
|
},
|
|
56
56
|
"volta": {
|
|
57
57
|
"extends": "../../package.json"
|