@spotlightjs/overlay 2.3.0 → 2.4.0-next.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/index-b5d12201.js +27243 -0
- package/dist/index-b5d12201.js.map +1 -0
- package/dist/{main-7291faaa.js → main-1dfdd51f.js} +2 -2
- package/dist/main-1dfdd51f.js.map +1 -0
- package/dist/sentry-spotlight.iife.js +125 -292
- package/dist/sentry-spotlight.iife.js.map +1 -1
- package/dist/sentry-spotlight.js +1 -1
- package/dist/src/integrations/sentry/sentry-integration.d.ts +3 -5
- package/package.json +1 -1
- package/dist/index-b149f078.js +0 -36373
- package/dist/index-b149f078.js.map +0 -1
- package/dist/main-7291faaa.js.map +0 -1
package/dist/sentry-spotlight.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as o, D as t, a as e, b as n, R as i, d as E, h as r, m as l, n as p, l as S, o as D, e as R, i as T, j as g, k as h, f as N, s as _, t as c, v as A } from "./index-
|
|
1
|
+
import { C as o, D as t, a as e, b as n, R as i, d as E, h as r, m as l, n as p, l as S, o as D, e as R, i as T, j as g, k as h, f as N, s as _, t as c, v as A } from "./index-b5d12201.js";
|
|
2
2
|
window.Spotlight && Spotlight.init();
|
|
3
3
|
export {
|
|
4
4
|
o as CONTEXT_LINES_ENDPOINT,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Client, Event } from '@sentry/types';
|
|
1
|
+
import type { Client, Event } from '@sentry/types';
|
|
2
2
|
type SpotlightBrowserIntegrationOptions = {
|
|
3
3
|
/**
|
|
4
4
|
* The URL of the Sidecar instance to connect and forward events to.
|
|
@@ -10,10 +10,8 @@ type SpotlightBrowserIntegrationOptions = {
|
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* A Sentry integration for Spotlight integration that the Overlay will inject automatically.
|
|
13
|
-
* This integration does
|
|
13
|
+
* This integration does the following:
|
|
14
14
|
*
|
|
15
|
-
* - Try to enrich stack traces by querying a potentially existing context lines integration
|
|
16
|
-
* on the server side (@see packages/astro/src/vite/source-context.ts)
|
|
17
15
|
* - Drop transactions created from interactions with the Spotlight UI
|
|
18
16
|
* - Forward Sentry events sent from the browser SDK to the Sidecar instance running on
|
|
19
17
|
* either on http://localhost:8969/stream or on the supplied `sidecarUrl` option.
|
|
@@ -26,7 +24,7 @@ export declare const spotlightIntegration: (options?: SpotlightBrowserIntegratio
|
|
|
26
24
|
name: string;
|
|
27
25
|
setupOnce: () => void;
|
|
28
26
|
setup: () => void;
|
|
29
|
-
processEvent: (event: Event) =>
|
|
27
|
+
processEvent: (event: Event) => Event | null;
|
|
30
28
|
afterAllSetup: (client: Client) => void;
|
|
31
29
|
};
|
|
32
30
|
export {};
|