Files
klz-cables.com/.pnpm-store/v10/files/36/e3e053ecf544fa2b779c4eb398d904fbce063e393b552ea870653a2bd79b0f14bf82874868dd3ca8d369c89b639d1de68ff7ea4412ab3cd0512f03c1c6dd6d
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

36 lines
1005 B
Plaintext

Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const carrier = require('../carrier.js');
const stackStrategy = require('./stackStrategy.js');
/**
* @private Private API with no semver guarantees!
*
* Sets the global async context strategy
*/
function setAsyncContextStrategy(strategy) {
// Get main carrier (global for every environment)
const registry = carrier.getMainCarrier();
const sentry = carrier.getSentryCarrier(registry);
sentry.acs = strategy;
}
/**
* Get the current async context strategy.
* If none has been setup, the default will be used.
*/
function getAsyncContextStrategy(carrier$1) {
const sentry = carrier.getSentryCarrier(carrier$1);
if (sentry.acs) {
return sentry.acs;
}
// Otherwise, use the default one (stack)
return stackStrategy.getStackAsyncContextStrategy();
}
exports.getAsyncContextStrategy = getAsyncContextStrategy;
exports.setAsyncContextStrategy = setAsyncContextStrategy;
//# sourceMappingURL=index.js.map