Files
klz-cables.com/.pnpm-store/v10/files/6c/cc09703034b0e9f011d02e9cbc505bd3f9c14418a29a04b45d7b3d9756d9fdc1e16a335e7997620f8c91c2390212d0945793c9cebb5fd540c42a0cb1cb7554
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

39 lines
1.1 KiB
Plaintext

Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const core = require('@sentry/core');
const openFeatureIntegration = core.defineIntegration(() => {
return {
name: 'OpenFeature',
processEvent(event, _hint, _client) {
return core._INTERNAL_copyFlagsFromScopeToEvent(event);
},
};
}) ;
/**
* OpenFeature Hook class implementation.
*/
class OpenFeatureIntegrationHook {
/**
* Successful evaluation result.
*/
after(_hookContext, evaluationDetails) {
core._INTERNAL_insertFlagToScope(evaluationDetails.flagKey, evaluationDetails.value);
core._INTERNAL_addFeatureFlagToActiveSpan(evaluationDetails.flagKey, evaluationDetails.value);
}
/**
* On error evaluation result.
*/
error(hookContext, _error, _hookHints) {
core._INTERNAL_insertFlagToScope(hookContext.flagKey, hookContext.defaultValue);
core._INTERNAL_addFeatureFlagToActiveSpan(hookContext.flagKey, hookContext.defaultValue);
}
}
exports.OpenFeatureIntegrationHook = OpenFeatureIntegrationHook;
exports.openFeatureIntegration = openFeatureIntegration;
//# sourceMappingURL=integration.js.map