decord/source/__polyfill/00xxx/module_968.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

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);
}
}));