29 lines
1,000 B
JavaScript
29 lines
1,000 B
JavaScript
// Module ID: 1103
|
|
// Function ID: 1104
|
|
// Name: buildLaunchDarklyFlagUsedHandler
|
|
// Dependencies: [817]
|
|
// Exports: buildLaunchDarklyFlagUsedHandler
|
|
|
|
// Module 1103 (buildLaunchDarklyFlagUsedHandler)
|
|
import registerSpanErrorInstrumentation from "registerSpanErrorInstrumentation" /* 817 */;
|
|
|
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
|
export function buildLaunchDarklyFlagUsedHandler() {
|
|
return {
|
|
name: "sentry-flag-auditor",
|
|
type: "flag-used",
|
|
synchronous: true,
|
|
method(closure_2) {
|
|
const result = callback(817)._INTERNAL_insertFlagToScope(closure_2, arg1.value);
|
|
const obj = callback(817);
|
|
const result1 = callback(817)._INTERNAL_addFeatureFlagToActiveSpan(closure_2, arg1.value);
|
|
}
|
|
};
|
|
}
|
|
export const launchDarklyIntegration = registerSpanErrorInstrumentation.defineIntegration(() => ({
|
|
name: "LaunchDarkly",
|
|
processEvent(contexts) {
|
|
return callback(table[0])._INTERNAL_copyFlagsFromScopeToEvent(contexts);
|
|
}
|
|
}));
|