Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
27 lines
935 B
JavaScript
27 lines
935 B
JavaScript
// Module ID: 968
|
|
// Function ID: 969
|
|
// Dependencies: [682]
|
|
// Exports: buildLaunchDarklyFlagUsedHandler
|
|
|
|
// Module 968
|
|
import registerSpanErrorInstrumentation from "module_682" /* 682 */;
|
|
|
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
|
export function buildLaunchDarklyFlagUsedHandler() {
|
|
return {
|
|
name: "sentry-flag-auditor",
|
|
type: "flag-used",
|
|
synchronous: true,
|
|
method(flagKey, arg1, arg2) {
|
|
const result = registerSpanErrorInstrumentation._INTERNAL_insertFlagToScope(flagKey, arg1.value);
|
|
const result1 = registerSpanErrorInstrumentation._INTERNAL_addFeatureFlagToActiveSpan(flagKey, arg1.value);
|
|
}
|
|
};
|
|
}
|
|
export const launchDarklyIntegration = registerSpanErrorInstrumentation.defineIntegration(() => ({
|
|
name: "LaunchDarkly",
|
|
processEvent(contexts, arg1, arg2) {
|
|
return registerSpanErrorInstrumentation._INTERNAL_copyFlagsFromScopeToEvent(contexts);
|
|
}
|
|
}));
|