2026-07-20 16:05:17 +00:00
|
|
|
// Module ID: 1079
|
2026-07-25 08:10:48 +00:00
|
|
|
// Function ID: 12434
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: buildLaunchDarklyFlagUsedHandler
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [794]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: buildLaunchDarklyFlagUsedHandler
|
|
|
|
|
|
|
|
|
|
// Module 1079 (buildLaunchDarklyFlagUsedHandler)
|
2026-07-23 10:11:24 +00:00
|
|
|
import registerSpanErrorInstrumentation from "registerSpanErrorInstrumentation";
|
|
|
|
|
|
2026-07-20 16:05:17 +00:00
|
|
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
|
|
|
|
|
|
|
export const buildLaunchDarklyFlagUsedHandler = function buildLaunchDarklyFlagUsedHandler() {
|
2026-07-23 10:11:24 +00:00
|
|
|
let obj = {
|
|
|
|
|
name: "sentry-flag-auditor",
|
|
|
|
|
type: "flag-used",
|
|
|
|
|
synchronous: true,
|
2026-07-20 16:05:17 +00:00
|
|
|
method(first) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const result = outer1_0(outer1_1[0])._INTERNAL_insertFlagToScope(first, arg1.value);
|
|
|
|
|
const obj = outer1_0(outer1_1[0]);
|
|
|
|
|
const result1 = outer1_0(outer1_1[0])._INTERNAL_addFeatureFlagToActiveSpan(first, arg1.value);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
2026-07-22 07:54:56 +00:00
|
|
|
return obj;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
2026-07-23 10:11:24 +00:00
|
|
|
export const launchDarklyIntegration = registerSpanErrorInstrumentation.defineIntegration(() => ({
|
2026-07-20 16:05:17 +00:00
|
|
|
name: "LaunchDarkly",
|
|
|
|
|
processEvent(contexts) {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_0(outer1_1[0])._INTERNAL_copyFlagsFromScopeToEvent(contexts);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}));
|