Files
klz-cables.com/.pnpm-store/v10/files/5c/fddfd41481bc6339985017a9e06f2a02725f340c9fa9ca0f2e69616216bb9c198a4cc4bd4a8a0906b70eb9c04651842a39f1ce7c67f0a9762b51982544400d
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

31 lines
893 B
Plaintext

Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const object = require('./object.js');
const SCOPE_SPAN_FIELD = '_sentrySpan';
/**
* Set the active span for a given scope.
* NOTE: This should NOT be used directly, but is only used internally by the trace methods.
*/
function _setSpanForScope(scope, span) {
if (span) {
object.addNonEnumerableProperty(scope , SCOPE_SPAN_FIELD, span);
} else {
// eslint-disable-next-line @typescript-eslint/no-dynamic-delete
delete (scope )[SCOPE_SPAN_FIELD];
}
}
/**
* Get the active span for a given scope.
* NOTE: This should NOT be used directly, but is only used internally by the trace methods.
*/
function _getSpanForScope(scope) {
return scope[SCOPE_SPAN_FIELD];
}
exports._getSpanForScope = _getSpanForScope;
exports._setSpanForScope = _setSpanForScope;
//# sourceMappingURL=spanOnScope.js.map