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