decord/source/1083_statsigIntegration.js
2026-07-20 16:05:17 +00:00

25 lines
914 B
JavaScript

// Module ID: 1083
// Function ID: 12442
// Name: statsigIntegration
// Dependencies: []
// Module 1083 (statsigIntegration)
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const _module = require(dependencyMap[0]);
export const statsigIntegration = _module.defineIntegration((featureFlagClient) => {
const require = featureFlagClient.featureFlagClient;
return {
name: "Statsig",
setup(arg0) {
featureFlagClient.on("gate_evaluation", (gate) => {
const result = callback(closure_1[0])._INTERNAL_insertFlagToScope(gate.gate.name, gate.gate.value);
const obj = callback(closure_1[0]);
const result1 = callback(closure_1[0])._INTERNAL_addFeatureFlagToActiveSpan(gate.gate.name, gate.gate.value);
});
},
processEvent(contexts) {
return featureFlagClient(closure_1[0])._INTERNAL_copyFlagsFromScopeToEvent(contexts);
}
};
});