Rocky_Mountain_Vending/.pnpm-store/v10/files/7c/e0ab600a7ac52dbc343b874a4002ee4539bfb87b43e253406bf78ac4c607ac02ffc54f27d825707494d91403aa95c026837608ef9a967db5439940da00561a
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

27 lines
786 B
Text

import { addNonEnumerableProperty } from './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) {
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];
}
export { _getSpanForScope, _setSpanForScope };
//# sourceMappingURL=spanOnScope.js.map