@spotlightjs/overlay 2.4.0-next.1 → 2.4.0-next.3
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-047a72e8.js → index-f526f404.js} +18 -14
- package/dist/index-f526f404.js.map +1 -0
- package/dist/{main-fb88ae23.js → main-9dde9a86.js} +2 -2
- package/dist/{main-fb88ae23.js.map → main-9dde9a86.js.map} +1 -1
- package/dist/sentry-spotlight.iife.js +1 -1
- package/dist/sentry-spotlight.iife.js.map +1 -1
- package/dist/sentry-spotlight.js +1 -1
- package/dist/src/integrations/sentry/data/sentryDataCache.d.ts +1 -1
- package/package.json +1 -1
- package/dist/index-047a72e8.js.map +0 -1
|
@@ -2206,6 +2206,10 @@ class Np {
|
|
|
2206
2206
|
t.forEach((n) => this.pushEvent(n));
|
|
2207
2207
|
}
|
|
2208
2208
|
setSidecarUrl(t) {
|
|
2209
|
+
if (!t) {
|
|
2210
|
+
this.contextLinesProvider = null;
|
|
2211
|
+
return;
|
|
2212
|
+
}
|
|
2209
2213
|
const { origin: n } = new URL(t);
|
|
2210
2214
|
this.contextLinesProvider = n + bu;
|
|
2211
2215
|
}
|
|
@@ -2354,18 +2358,18 @@ class Np {
|
|
|
2354
2358
|
ee("Skipping contextlines request for", n);
|
|
2355
2359
|
return;
|
|
2356
2360
|
}
|
|
2357
|
-
n.stacktrace.frames.reverse()
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2361
|
+
if (n.stacktrace.frames.reverse(), this.contextLinesProvider)
|
|
2362
|
+
try {
|
|
2363
|
+
const s = await cR()(this.contextLinesProvider, {
|
|
2364
|
+
method: "PUT",
|
|
2365
|
+
body: JSON.stringify(n.stacktrace)
|
|
2366
|
+
});
|
|
2367
|
+
if (!s.ok || s.status !== 200)
|
|
2368
|
+
return;
|
|
2369
|
+
const a = await s.json();
|
|
2370
|
+
n.stacktrace = a;
|
|
2371
|
+
} catch {
|
|
2372
|
+
}
|
|
2369
2373
|
})
|
|
2370
2374
|
);
|
|
2371
2375
|
}
|
|
@@ -3220,7 +3224,7 @@ function hl(e) {
|
|
|
3220
3224
|
}
|
|
3221
3225
|
);
|
|
3222
3226
|
}
|
|
3223
|
-
const oO = P.lazy(() => import("./main-
|
|
3227
|
+
const oO = P.lazy(() => import("./main-9dde9a86.js").then((e) => e.m)), EO = () => {
|
|
3224
3228
|
};
|
|
3225
3229
|
function Eo({
|
|
3226
3230
|
data: e,
|
|
@@ -27248,4 +27252,4 @@ export {
|
|
|
27248
27252
|
lR as t,
|
|
27249
27253
|
zP as v
|
|
27250
27254
|
};
|
|
27251
|
-
//# sourceMappingURL=index-
|
|
27255
|
+
//# sourceMappingURL=index-f526f404.js.map
|