@getsupertab/supertab-js 3.4.3 → 3.6.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/pkg/prod/browser-ponyfill-DBYK0yUF.js +340 -0
- package/dist/pkg/prod/sdk-BfgNasCt.js +64255 -0
- package/dist/pkg/prod/sdk.js +1 -1
- package/dist/pkg/prod/sentry-x1V_uTsb.js +12528 -0
- package/package.json +11 -17
- package/dist/pkg/prod/sdk-BkB1ahBa.js +0 -33666
- package/dist/pkg/prod/sentry-D9KGWpW4.js +0 -42
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import * as a from "@sentry/react";
|
|
2
|
-
import { T as l, P as m, a as c, V as E } from "./sdk-BkB1ahBa.js";
|
|
3
|
-
a.init({
|
|
4
|
-
dsn: E,
|
|
5
|
-
release: `${m}@${c}`,
|
|
6
|
-
environment: l,
|
|
7
|
-
integrations: [
|
|
8
|
-
a.browserTracingIntegration(),
|
|
9
|
-
a.replayIntegration()
|
|
10
|
-
],
|
|
11
|
-
beforeSend: (e) => {
|
|
12
|
-
var r, t;
|
|
13
|
-
return ((t = (r = e.exception) == null ? void 0 : r.values) == null ? void 0 : t.some(
|
|
14
|
-
(i) => {
|
|
15
|
-
var n, s;
|
|
16
|
-
return (s = (n = i.stacktrace) == null ? void 0 : n.frames) == null ? void 0 : s.some(
|
|
17
|
-
(p) => {
|
|
18
|
-
var o;
|
|
19
|
-
return (o = p.filename) == null ? void 0 : o.match(/tab\.js|bundle\.js/);
|
|
20
|
-
}
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
)) ? e : null;
|
|
24
|
-
},
|
|
25
|
-
tracesSampleRate: 1,
|
|
26
|
-
// Capture 100% of the transactions
|
|
27
|
-
// Set profilesSampleRate to 1.0 to profile every transaction.
|
|
28
|
-
// Since profilesSampleRate is relative to tracesSampleRate,
|
|
29
|
-
// the final profiling rate can be computed as tracesSampleRate * profilesSampleRate
|
|
30
|
-
// For example, a tracesSampleRate of 0.5 and profilesSampleRate of 0.5 would
|
|
31
|
-
// results in 25% of transactions being profiled (0.5*0.5=0.25)
|
|
32
|
-
profilesSampleRate: 1,
|
|
33
|
-
// Session Replay
|
|
34
|
-
replaysSessionSampleRate: 0.1,
|
|
35
|
-
// This sets the sample rate at 10%. You may want to change it to 100% while in development and then sample at a lower rate in production.
|
|
36
|
-
replaysOnErrorSampleRate: 1
|
|
37
|
-
// If you're not already sampling the entire session, change the sample rate to 100% when sampling sessions where errors occur.
|
|
38
|
-
});
|
|
39
|
-
const u = (e) => a.captureException(e);
|
|
40
|
-
export {
|
|
41
|
-
u as captureException
|
|
42
|
-
};
|